:root{font-family:Inter,system-ui,sans-serif;color:#172033;background:#f4f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input{font:inherit}button{border:0;border-radius:10px;padding:.7rem 1rem;background:#1857b7;color:#fff;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #f2a900;outline-offset:3px}.shell{display:flex;min-height:100vh}.sidebar{width:260px;flex:0 0 260px;background:#102344;color:#fff;padding:1.25rem;display:flex;flex-direction:column;gap:2rem}.brand{font-weight:800;letter-spacing:.02em}nav{display:grid;gap:.5rem}nav a{color:#cbd8f0;text-decoration:none;padding:.7rem .8rem;border-radius:8px}nav a.active,nav a:hover{color:#fff;background:#1e4f91}.secondary{margin-top:auto;background:transparent;border:1px solid #8ea7cf}.content{max-width:1200px;width:100%;padding:clamp(1rem,4vw,3rem);margin:0 auto}.page-header{margin-bottom:1.5rem}.eyebrow{color:#55709d;text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;font-weight:700}h1{margin:0;font-size:clamp(1.8rem,4vw,3rem)}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:1rem}.card{background:#fff;border:1px solid #dce4f0;border-radius:14px;padding:1.25rem;box-shadow:0 8px 24px #18335b0d}.card h2{margin-top:0}.progress{background:#e5ebf5;border-radius:99px;height:10px;overflow:hidden}.progress span{display:block;height:100%;background:#26936f}.citation{border-left:4px solid #1857b7;padding-left:1rem;margin:1rem 0 0}.citation blockquote{margin:0 0 .5rem}.citation figcaption{color:#55709d;font-size:.9rem}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:.8rem;border-bottom:1px solid #e2e8f1}label{display:grid;gap:.4rem;margin-bottom:1rem}input{border:1px solid #a9b9d0;border-radius:8px;padding:.7rem}.login{min-height:100vh;display:grid;place-items:center;padding:1rem}.login .card{width:min(100%,420px)}.notice{background:#eef7ee;color:#235c2a;border:1px solid #a8d3ad;padding:.8rem;border-radius:8px}.error{background:#fff0f0;color:#9c2727;border:1px solid #e6a5a5;padding:.8rem;border-radius:8px}@media (max-width: 720px){.shell{display:block}.sidebar{width:100%;min-height:auto}nav{grid-template-columns:repeat(2,minmax(0,1fr))}.secondary{margin-top:0}.grid{grid-template-columns:1fr}table{font-size:.88rem}}button:disabled{opacity:.55;cursor:not-allowed}button.link{background:transparent;color:#1857b7;padding:.2rem .4rem}button.danger{background:#b23a3a}select,textarea{font:inherit;border:1px solid #a9b9d0;border-radius:8px;padding:.7rem;background:#fff}textarea{min-height:6rem;resize:vertical}.row{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.row.between{justify-content:space-between}.row>label{margin-bottom:0}.stack{display:grid;gap:1rem}section.card+section.card,.grid+section.card,section.card+.grid{margin-top:1rem}.muted{color:#55709d}.table-wrap{overflow-x:auto}tr.clickable{cursor:pointer}tr.clickable:hover{background:#f1f5fb}tr.selected{background:#e3edfb}.details{display:grid;gap:.35rem;margin:0}.details>div{display:grid;grid-template-columns:minmax(8rem,14rem) 1fr;gap:.75rem;border-bottom:1px solid #eef2f8;padding:.3rem 0}.details dt{color:#55709d;font-weight:600}.details dd{margin:0;overflow-wrap:anywhere}.json{background:#f6f8fc;border:1px solid #e2e8f1;border-radius:8px;padding:.6rem;overflow-x:auto;font-size:.82rem;margin:0;white-space:pre-wrap}.tabs{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1rem}.tab{background:#e5ebf5;color:#172033}.tab.active{background:#1857b7;color:#fff}.badge{display:inline-block;padding:.15rem .55rem;border-radius:99px;background:#e5ebf5;font-size:.85rem}.answer{white-space:pre-wrap;line-height:1.55}.refusal{background:#fff7e6;border:1px solid #f0c36a;border-radius:8px;padding:.8rem}@media (max-width: 720px){.details>div{grid-template-columns:1fr}}button.secondary-light{background:#e5ebf5;color:#172033}.small{font-size:.85rem}label.choice{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}label.choice input{width:auto}.mono{font-family:ui-monospace,Consolas,monospace;font-size:.85rem;min-height:8rem}.section-editor{border-top:1px solid #e2e8f1;padding-top:1rem;display:grid;gap:.6rem}.request-row{padding:.5rem 0;border-bottom:1px solid #eef2f8}.result{border-top:1px dashed #dce4f0;margin-top:1rem;padding-top:.8rem}fieldset{border:1px solid #dce4f0;border-radius:8px;margin:0 0 1rem}h3{margin:1rem 0 .5rem}.advanced{margin-bottom:1rem}.advanced>summary{cursor:pointer;color:#55709d;margin-bottom:.75rem}.search-form{display:grid;gap:.75rem;justify-items:start;margin-bottom:1rem}.search-form textarea{width:100%;box-sizing:border-box;min-height:4.5rem}.workspace{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{display:flex;justify-content:flex-end;align-items:center;gap:1rem;padding:.75rem clamp(1rem,4vw,3rem);border-bottom:1px solid #dce4f0;background:#fff}.topbar .who{display:grid;text-align:right;line-height:1.3}.topbar .who span{color:#55709d;font-size:.85rem}button.link{background:none;border:none;padding:0;color:#1f5fbf;text-decoration:underline;cursor:pointer;font:inherit}.document-view{max-height:60vh;overflow-y:auto;line-height:1.55}.document-view p{margin:0 0 .75rem;padding:.35rem .5rem;border-radius:6px}.document-view p.cited{background:#fff4c2;outline:1px solid #e3c34d}.graph-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:1rem;margin:.75rem 0}.graph-canvas{border:1px solid #dce4f0;border-radius:10px;background:#fbfcfe;overflow:auto}.graph-canvas svg{display:block;width:100%;height:auto;min-width:560px}.graph-node{cursor:pointer}.graph-label{font-size:12px;fill:#172033;paint-order:stroke;stroke:#fbfcfe;stroke-width:3px}.graph-edge-label{font-size:11px;fill:#1857b7;text-anchor:middle;paint-order:stroke;stroke:#fbfcfe;stroke-width:3px}.graph-dot{display:inline-block;width:.7rem;height:.7rem;border-radius:50%;vertical-align:middle}.graph-side h3{margin:.25rem 0 .75rem}.graph-links{margin:0 0 .75rem;padding-left:1rem}.graph-links li{margin-bottom:.25rem}.graph-quote{max-height:16rem;overflow-y:auto;background:#f4f7fb;padding:.5rem .75rem;border-radius:8px}.graph-table{margin-top:1rem}.graph-table summary{cursor:pointer;color:#1857b7;margin-bottom:.5rem}@media (max-width: 720px){.graph-layout{grid-template-columns:1fr}}
