:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#25352e;background:#f5f7f3;--line:#d5dfd7;--muted:#52695c;--green:#195a42;--white:#fff;--light:#e8f1e9}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{border:1px solid #a9bcaf;background:white;color:var(--green);border-radius:7px;padding:9px 14px;cursor:pointer;font-weight:600}button:hover{background:var(--light)}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--green);color:white}.primary:hover{background:#124531}a{color:#195a42}input,select,textarea{border:1px solid #a9bcaf;border-radius:6px;padding:10px;width:100%;color:inherit;background:white}textarea{min-height:110px;resize:vertical;line-height:1.6}textarea[data-field=body]{min-height:250px;font-family:ui-monospace,monospace}input[type=checkbox]{width:auto;min-height:24px;min-width:24px}label{display:block;font-size:13px;font-weight:650;margin:10px 0 6px}header{display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--line);padding:18px 28px;background:white;min-height:80px}.brand{font-size:25px;font-weight:750;text-decoration:none;letter-spacing:-1px}.brand span{display:block;font-size:12px;font-weight:450;letter-spacing:0;color:var(--muted)}#identity{font-size:13px;margin-left:auto}.badge{border-radius:16px;padding:5px 10px;font-size:12px;background:var(--light);display:inline-block;white-space:normal}.pending{background:#fff1d4;color:#714c11}.approved{background:#e0f3e8}.muted{color:var(--muted);font-size:13px;line-height:1.6}.eyebrow{color:var(--green);font-weight:650;letter-spacing:.04em;text-transform:uppercase;font-size:11px}.login{margin:9vh auto;max-width:1050px;padding:30px;display:grid;grid-template-columns:1.4fr 1fr;gap:70px}.welcome h1{font-size:46px;line-height:1.12;letter-spacing:-1.5px}.welcome p{line-height:1.8;max-width:540px}.login form{padding:28px;background:white;border:1px solid var(--line);border-radius:12px;align-self:center}.shell{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:calc(100vh - 125px)}aside{background:#edf3ec;border-right:1px solid var(--line);padding:24px 16px}nav{margin:24px 0}nav button{display:block;width:100%;text-align:left;margin:4px 0;background:transparent;border-color:transparent;font-weight:500}nav button[aria-current=page]{background:var(--green);color:white}main{padding:30px 38px;max-width:1450px;width:100%}h1{margin:0;font-size:28px;letter-spacing:-.5px}h2{font-size:20px}h3{font-size:16px}.toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center}.toolbar button{margin-left:8px}.search{display:flex;gap:10px;max-width:750px;margin:24px 0}.view{display:grid;gap:12px}.card{padding:18px 20px;border:1px solid var(--line);border-radius:10px;background:white}.card h2{margin:7px 0;font-size:18px}.card button.title{font-weight:650;border:0;padding:0;text-align:left;background:none;color:#25352e;font-size:18px}.card small{color:var(--muted)}.card .summary{color:var(--muted);font-size:14px;line-height:1.6;margin:8px 0;white-space:pre-wrap}.card .meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.card-actions{margin-top:12px;display:flex;gap:8px;flex-wrap:wrap}.empty{padding:45px;border:1px dashed #b4c7b9;border-radius:10px;text-align:center;color:var(--muted)}.detail{margin-top:24px;background:white;border:1px solid var(--line);border-radius:12px;padding:24px}.detail:focus{outline:none}.detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.detail .body{line-height:1.75;overflow-wrap:anywhere;white-space:pre-wrap;font-family:inherit}.detail pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.detail .evidence{border-left:3px solid #89ac96;padding:0 14px}.section-button{display:block;text-align:left;margin:6px 0;width:100%}.policy{background:#f4f6e9;padding:12px;border-radius:8px}.comment{border-top:1px solid var(--line);padding:14px 0}.comment pre{font-family:inherit}.notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;border:1px solid #9db5a6;padding:12px 20px;background:#fff;border-radius:8px;box-shadow:0 5px 20px #193b2220;z-index:5}.notice:empty{display:none}dialog{width:min(850px,94vw);max-height:90vh;border:1px solid var(--line);border-radius:12px;padding:24px;color:inherit}dialog::backdrop{background:#132d2180}.dialog-head,.dialog-foot{display:flex;justify-content:space-between;align-items:center;gap:12px}.dialog-head h2{margin:0}.dialog-foot{justify-content:flex-end;margin-top:20px}.field-group{padding:10px 14px;border:1px solid var(--line);border-radius:7px;margin:10px 0}.field-group>summary{font-weight:650;font-size:14px;cursor:pointer}.field-array>div{padding:8px;border-left:2px solid var(--line);margin:6px 0}.field-array button{font-size:12px;margin-top:6px}.row{display:flex;align-items:center;gap:10px}.row>*{flex:1}.field-error,#editor-error{color:#9d2020;font-size:13px}footer{font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding:14px 28px}.skip{position:absolute;left:20px;top:-60px;background:white;padding:12px;z-index:9}.skip:focus{top:10px}.sr{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}[hidden]{display:none!important}:focus-visible{outline:3px solid #517dff;outline-offset:3px}@media(min-width:1050px){.view.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){header{padding:14px;gap:10px;flex-wrap:wrap}.brand span{display:none}.shell{grid-template-columns:1fr}aside{padding:12px;border-right:0;border-bottom:1px solid var(--line)}nav{display:flex;flex-wrap:wrap;margin:10px 0}nav button{width:auto;font-size:13px;padding:8px}main{padding:22px 14px}.toolbar{flex-wrap:wrap}.toolbar button{margin:5px}.login{display:block;margin:25px auto;padding:20px}.welcome h1{font-size:32px}.welcome{margin-bottom:25px}.detail{padding:16px}.detail-head{flex-wrap:wrap}}

.field-body{border:0;padding:0;margin:0;min-width:0}.selection{display:flex;align-items:center;gap:8px;font-weight:500}.selection input{order:-1}pre{max-width:100%}.row{min-width:0}.row>*{min-width:0}#actions{display:flex;flex-wrap:wrap;gap:8px}.toolbar #actions button{margin-left:0}
.view{grid-template-columns:minmax(0,1fr)}main,.card,.detail,.detail-head>*{min-width:0}.card .summary,.card button.title{overflow-wrap:anywhere}pre{white-space:pre-wrap;overflow-wrap:anywhere}button{max-width:100%;overflow-wrap:anywhere}.search input{min-width:0}
.search button{flex-shrink:0}
.knowledge-graph{display:block;width:100%;height:600px;min-height:300px;border:1px solid var(--line);border-radius:8px;background:#f8fbf7;touch-action:none;cursor:grab}.graph-edge{fill:none;stroke:#758e80;stroke-width:1.5}.graph-arrow{fill:#758e80}.graph-node{cursor:pointer}.graph-node circle{stroke:white;stroke-width:var(--graph-active-node-stroke,2px)}.graph-node text{font-size:14px;fill:#25352e}.graph-node:focus circle{fill:#395acc;stroke:#102b78;stroke-width:4}.graph-panel .card-actions{margin:0 0 10px}@media(max-width:760px){.knowledge-graph{height:420px}}
.graph-inferred{stroke:#395acc;stroke-dasharray:8 5}
@media(min-width:1050px){.view.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

.graph-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.graph-edge{stroke-width:var(--graph-edge-width,.75px);opacity:.36}.graph-node text{font-size:11px}.graph-node text{display:none;pointer-events:none;paint-order:stroke;stroke:#f8fbf7;stroke-width:3px;stroke-linejoin:round}.graph-node.graph-label-visible text{display:block}.graph-node circle{stroke-width:var(--graph-node-stroke,1.5px)}.graph-node.graph-active circle{fill:#8052c9;stroke:#50319a;stroke-width:var(--graph-active-node-stroke,2px)}.graph-node:focus circle{stroke-width:var(--graph-active-node-stroke,2px)}.graph-node.graph-dim{opacity:.15}.graph-edge.graph-edge-active{stroke:#8052c9;stroke-width:var(--graph-active-edge-width,1.4px);opacity:.9}.graph-edge.graph-edge-dim{opacity:.07}.graph-panel{position:relative}.graph-focus-caption{position:absolute;left:32px;right:32px;bottom:32px;z-index:1;max-width:520px;max-height:70%;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.96);box-shadow:0 2px 12px #25352e18;overflow:auto;overflow-wrap:anywhere;pointer-events:none;visibility:hidden}.graph-panel .knowledge-graph{height:70vh;min-height:420px}.reference-results{font-size:13px;overflow-wrap:anywhere}@media(max-width:760px){.graph-filters{grid-template-columns:1fr}.graph-panel .knowledge-graph{height:60vh;min-height:300px}}

.knowledge-graph.graph-has-active .graph-node{opacity:.15}.knowledge-graph.graph-has-active .graph-node.graph-active,.knowledge-graph.graph-has-active .graph-node.graph-neighbor{opacity:1}.knowledge-graph.graph-has-active .graph-edge{opacity:.07}.knowledge-graph.graph-has-active .graph-edge.graph-edge-active{opacity:.9}

.knowledge-graph.graph-zooming .graph-node text{display:none}
.catalogue-scope{grid-column:1/-1}.knowledge-table th[scope=row],.knowledge-table thead th:first-child{min-width:96px}@media(max-width:760px){.knowledge-table{min-width:420px}}
summary{min-width:24px;min-height:24px;padding-block:4px;cursor:pointer}.detail>details+details{margin-top:8px}
.knowledge-table-wrap{overflow-x:auto;margin:12px 0}.knowledge-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.knowledge-table th,.knowledge-table td{padding:10px;vertical-align:top;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.knowledge-table th{font-weight:650}.knowledge-table td{min-width:120px}.knowledge-table p{margin:5px 0}.knowledge-datum{margin:7px 0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.knowledge-inspection{padding:16px;border:1px solid var(--line);border-radius:8px;margin:16px 0}.knowledge-inspection>summary{font-weight:650;cursor:pointer}.inspection-section{border-top:1px solid var(--line);padding:12px 0;margin-top:12px}.knowledge-reference{padding:10px 0;border-bottom:1px solid var(--line)}.knowledge-reference>.badge{margin-left:8px}.external-evidence{margin:10px 0;padding:10px;border-left:2px solid var(--line);overflow-wrap:anywhere}.catalogue-scope label{max-width:420px}.catalogue-scope p{margin:8px 0}.knowledge-range{display:flex;gap:12px;flex-wrap:wrap}.knowledge-range label{flex:1;min-width:120px}.enrichment button,.knowledge-inspection button,.inspection-section button{margin:5px 8px 5px 0}.knowledge-table .external-evidence{margin:0;padding:0;border:0}@media(max-width:760px){.knowledge-inspection{padding:12px}.knowledge-table th,.knowledge-table td{padding:8px}.knowledge-reference>.badge{margin-left:0}}
.kanban{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:12px;overflow-x:auto;align-items:start;padding:4px 4px 14px}.kanban-column{min-width:0;background:#edf3ec;border:1px solid var(--line);border-radius:10px;padding:12px}.kanban-column>h2{font-size:15px;margin:0 0 12px}.task-card{margin:10px 0;padding:14px}.task-card>.badge{margin:5px 6px 5px 0}.task-card button.title{font-size:16px}.task-card>.knowledge-datum{font-size:12px}.task-card>button{margin-top:7px}.task-dependency{border-top:1px solid var(--line);margin-top:10px;padding-top:5px}.board-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.board-filters>h2,.board-filters>p{grid-column:1/-1;margin:0}.board-filters>label{margin:0}.board-controls>.reference-picker{max-width:700px}.board-controls>label{max-width:180px}.reference-picker{border:1px solid var(--line);padding:12px;border-radius:7px;margin:8px 0;min-width:0}.reference-picker>button{margin:6px 6px 6px 0}.reference-picker>.card-actions{margin:6px 0}.business-concept{border-top:1px solid var(--line);margin-top:12px;padding-top:8px}.board-coverage{overflow-wrap:anywhere}@media(max-width:760px){.board-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.kanban{grid-template-columns:repeat(4,minmax(240px,1fr))}}@media(max-width:460px){.board-filters{grid-template-columns:minmax(0,1fr)}}
