*{box-sizing:border-box} :root{--ink:#203b43;--muted:#637a80;--accent:#087f76;--line:#dce6e5;--soft:#edf5f3;--bg:#f5f7f6;--white:#fff}body{margin:0;font:14px/1.85 Tahoma,Arial,sans-serif;color:var(--ink);background:var(--bg)}button,input,textarea,select{font:inherit}button,.button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 15px;border:1px solid var(--line);border-radius:10px;background:var(--white);color:var(--ink);text-decoration:none;transition:background .15s}button:hover,.button:hover{background:var(--soft)}button:disabled{opacity:.55;cursor:wait}a{color:var(--accent)}input,textarea,select{width:100%;border:1px solid #ccd9d7;border-radius:9px;background:#fff;color:var(--ink);padding:10px 12px;min-height:44px}textarea{resize:vertical}label{display:block;margin:12px 0 6px;font-size:13px}input[type=checkbox],input[type=radio]{width:18px;height:18px;min-height:0;accent-color:var(--accent)}h1,h2,p{margin-top:0}h1{font-size:25px;line-height:1.75}h2{font-size:18px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #47bfb2;outline-offset:3px}.primary{background:var(--accent);color:white;border-color:var(--accent);font-weight:bold}.primary:hover{background:#056b64}.quiet{border-color:transparent;background:transparent}.wide{width:100%;justify-content:space-between;margin-top:18px}.eyebrow{font-size:11px;letter-spacing:.03em;font-weight:bold;color:var(--accent)}.caption{color:var(--muted);font-size:11px;line-height:1.9}.card{background:white;border:1px solid var(--line);border-radius:16px;padding:20px}.topbar{height:84px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:20px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);font-size:17px;font-weight:bold}.brand small{display:block;font-size:10px;color:var(--muted);font-weight:normal}.mini-mark{background:var(--accent);color:white;border-radius:12px;width:39px;height:39px;display:grid;place-items:center;font-size:28px}.topbar nav{display:flex;align-items:center;gap:14px;font-size:12px}.save-state{background:var(--soft);color:var(--accent);padding:4px 12px;border-radius:30px}.save-state.error{background:#fff0e7;color:#a44f20}.notice{padding:12px 28px;background:#fff4d7;border-bottom:1px solid #e8d8ab;margin:0}.notice.error{background:#ffebe5;color:#8e3425}.dashboard{max-width:1150px;margin:45px auto;padding:0 24px}.welcome{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}.welcome h1{font-size:29px;margin:10px 0}.welcome p{color:var(--muted);max-width:640px}.overall{display:flex;align-items:center;gap:24px;padding:23px 28px;border:1px solid var(--line);background:#fff;border-radius:16px;margin-bottom:24px}.overall strong{font-size:24px;display:block;white-space:nowrap}.overall span,.overall small{font-size:11px;color:var(--muted)}progress{appearance:none;height:8px;width:100%;border:none;border-radius:8px;background:#e7efed}progress::-webkit-progress-bar{background:#e7efed;border-radius:8px}progress::-webkit-progress-value{background:var(--accent);border-radius:8px}.group-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.group-card{padding:23px;text-align:right;display:block;border-radius:16px;position:relative}.group-card .group-icon{font-size:25px;width:49px;height:49px;display:grid;place-items:center;border-radius:14px;background:var(--soft);margin-bottom:17px;color:var(--accent)}.group-card h2{margin-bottom:6px}.group-card p{font-size:12px;color:var(--muted);margin-bottom:19px}.group-card .card-count{display:flex;justify-content:space-between;font-size:11px;margin-bottom:10px;color:var(--muted)}.dashboard-note{display:flex;gap:17px;background:#e8f1ef;border-radius:14px;padding:22px;margin:28px 0}.dashboard-note>span{border:1px solid var(--accent);border-radius:50%;height:24px;min-width:24px;display:grid;place-items:center;color:var(--accent);font-family:serif}.dashboard-note p{font-size:12px;color:var(--muted);margin:5px 0 0}.exports{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.workspace-heading{display:flex;align-items:center;gap:20px;padding:18px 24px}.workspace-heading>div{flex:1}.workspace-heading small{display:block;color:var(--muted);font-size:11px}.workspace-grid{display:grid;grid-template-columns:235px minmax(360px,1fr) 365px;gap:20px;padding:0 24px 30px;max-width:1800px;margin:auto;align-items:start}.case-list{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px;position:sticky;top:12px}.filters{display:flex;gap:7px;margin:10px 0}.filters select{font-size:11px;padding:7px;min-width:0}#items{display:grid;gap:7px;max-height:68vh;overflow:auto;padding:2px}#items button{display:block;text-align:right;font-size:12px;padding:10px 11px;line-height:1.9}#items small{display:block;color:var(--muted);font-size:10px}#items button.active{background:var(--soft);border-color:var(--accent);box-shadow:inset -3px 0 var(--accent)}.observation{min-width:0}.case-heading{padding:4px 3px 10px}.case-heading h1{font-size:22px;margin:7px 0}.case-heading p{font-size:13px}.scope{font-size:11px!important;color:#79581c;background:#fff6df;padding:10px 12px;border-radius:9px}.evidence{padding:14px}.evidence-header{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.tabs{display:flex;gap:5px;background:var(--bg);padding:4px;border-radius:10px}.tabs button{border:0;background:transparent;font-size:12px;padding:7px 11px}.tabs button[aria-pressed=true]{background:#fff;box-shadow:0 1px 5px #223c4215;color:var(--accent);font-weight:bold}#annotate{font-size:11px}.evidence img{width:100%;display:block;background:#192b38;border-radius:10px;margin-top:12px}.evidence select{font-size:12px}#stage{height:480px;background:#14252d;border-radius:10px;position:relative;overflow:hidden}#stage canvas{display:block;width:100%;height:100%;touch-action:none}#model-status{position:absolute;bottom:0;inset-inline:10px;color:#fff;font-size:10px;background:#14252de6;pointer-events:none;padding:8px;border-radius:8px}.model-controls{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.model-controls button,.model-controls label{font-size:11px}.model-controls label{display:inline-flex;align-items:center;gap:4px;margin:0}.technical{padding:18px 4px;color:var(--muted);font-size:11px}.technical summary{cursor:pointer}.technical pre{direction:ltr;text-align:left;overflow-wrap:anywhere;white-space:pre-wrap;font-size:10px;max-height:220px;overflow:auto}.feedback{position:sticky;top:12px;max-height:calc(100vh - 24px);overflow:auto}.feedback-title{display:flex;align-items:center;justify-content:space-between}.state-pill{font-size:10px;color:var(--muted);background:var(--bg);padding:3px 8px;border-radius:6px}.votes{padding:0;border:0;margin:20px 0}.votes legend{font-weight:bold;font-size:14px;margin-bottom:8px}.votes label{border:1px solid var(--line);border-radius:9px;display:flex;align-items:center;gap:9px;min-height:45px;margin:7px 0;padding:9px 12px}.votes label:has(input:checked){background:var(--soft);border-color:var(--accent)}.votes input{position:absolute;opacity:0}.votes label:has(input:focus-visible){outline:3px solid #47bfb2}.vote-dot{width:9px;height:9px;border-radius:50%;display:inline-block}.good{background:#0d8c75}.change{background:#d48d35}.unsure{background:#8196a1}.chips{display:flex;gap:6px;flex-wrap:wrap}.chips button{min-height:35px;padding:5px 10px;font-size:11px;border-radius:30px}.chips button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:var(--soft)}.feedback input,.feedback textarea,.feedback select{font-size:12px}.extra-fields{margin-top:17px;font-size:12px;color:var(--muted)}.extra-fields summary{cursor:pointer}.submit-bar{display:flex;gap:8px;margin-top:20px}.submit-bar .primary{flex:1}.history-button{font-size:11px;margin-top:12px}#history{font-size:11px;max-height:230px;overflow:auto}#history p{padding:10px;background:var(--bg);border-radius:8px}.conflict{background:#fff0df;padding:12px;border-radius:10px;margin-top:12px;font-size:12px}.conflict button{font-size:11px}.error-field{border-color:#b5432d!important}#form-error,#login-error{color:#a33e29;font-size:12px;margin-top:12px}footer{text-align:center;font-size:10px;color:var(--muted);padding:30px 15px}.login-wrap{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#f7faf8}.login-card{max-width:460px;width:100%;margin:auto;padding:45px 35px}.login-card h1{font-size:35px;margin:18px 0}.login-card p{color:var(--muted)}.login-card small{display:block;margin-top:20px;color:var(--muted);font-size:11px}.brand-mark{font-size:50px;color:var(--accent);margin-top:28px}.login-art{background:#dcece6;position:relative;overflow:hidden;display:grid;place-items:center}.login-art>span{font-size:55px;line-height:2.4;color:#488176;font-weight:normal;z-index:1}.login-art b{color:#125f54}.orbit{position:absolute;border:1px solid #9bbfb280;border-radius:50%;width:650px;height:650px;transform:rotate(-25deg) scaleX(.55)}.orbit.two{transform:rotate(35deg) scaleX(.55)}.orbit.three{transform:rotate(90deg) scaleX(.55)}.admin form{max-width:600px}.admin output{display:block;direction:ltr;overflow-wrap:anywhere;font-size:12px;user-select:all;margin-top:15px}.user-row{padding:14px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.user-row small{display:block;color:var(--muted)}dialog{border:0;border-radius:18px;padding:22px;max-width:min(960px,95vw);max-height:94vh;overflow:auto;color:var(--ink)}dialog::backdrop{background:#18353acc;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between}.dialog-heading h2{margin:0}dialog p{font-size:12px;color:var(--muted)}#annotation-canvas{display:block;max-width:100%;max-height:62vh;touch-action:none;background:#172d39;border-radius:8px;margin:15px auto}.buttons{display:flex;gap:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}
.mobile-tabs{display:none}
@media(min-width:1600px){.workspace-grid{grid-template-columns:260px minmax(400px,1fr) 400px}#stage{height:590px}}
@media(max-width:1199px){.workspace-grid{grid-template-columns:210px minmax(0,1fr)}.feedback{grid-column:2;position:static;max-height:none}.case-list{grid-row:span 2}.topbar{padding:0 18px}.topbar nav{gap:6px}.feedback form{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.feedback form>*{grid-column:1/-1}.votes{display:flex;flex-wrap:wrap;gap:8px}.votes label{flex:1;white-space:nowrap}.submit-bar{position:sticky;bottom:0;padding:12px 0;background:#fff}.workspace-grid{gap:15px;padding:0 15px 25px}}
@media(max-width:720px){body{font-size:13px}.topbar{height:auto;min-height:75px;padding:12px;flex-wrap:wrap;gap:8px}.brand{font-size:15px}.topbar nav{width:100%;justify-content:space-between}#user-label{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard{margin:24px auto;padding:0 14px}.welcome{display:block}.welcome h1{font-size:23px}.welcome .primary{width:100%}.overall{gap:13px;padding:18px;flex-wrap:wrap}.overall progress{flex:1;min-width:100px}.group-cards{grid-template-columns:1fr 1fr;gap:10px}.group-card{padding:15px}.group-card h2{font-size:15px}.group-card p{font-size:10px;min-height:38px}.group-card .group-icon{width:38px;height:38px;font-size:20px}.workspace-heading{padding:14px 10px;gap:8px}.workspace-heading button{font-size:11px;padding:7px}.workspace-grid{display:flex;flex-direction:column;padding:0 10px 20px;gap:14px}.case-list{position:static;width:100%;padding:11px}.case-list>label,.case-list #search{display:none}.filters{margin:0 0 9px}#items{display:flex;max-height:none;overflow:auto;gap:7px;padding-bottom:6px}#items button{min-width:160px;max-width:185px;font-size:11px}#items small{font-size:9px}.observation,.feedback{width:100%;position:static;max-height:none}.case-heading h1{font-size:19px}.evidence{padding:10px}.tabs{width:100%}.tabs button{flex:1}#annotate{width:100%}#stage{height:350px}.feedback{padding:17px}.votes{display:block}.votes label{margin:7px 0}.submit-bar{position:sticky;bottom:0;z-index:2;margin-bottom:2px;padding:10px 0}.login-wrap{display:block}.login-art{display:none}.login-card{padding:30px 24px}.login-card h1{font-size:30px}.login-card .brand-mark{margin-top:15px}.notice{padding:12px}.exports button,.exports .button{font-size:11px;flex:1}.technical{padding:12px 3px}.user-row{align-items:start}.user-row button{font-size:10px}}
@media(max-width:720px){.mobile-tabs{display:flex;position:sticky;top:0;z-index:5;gap:5px;padding:8px 10px;background:var(--bg);border-block:1px solid var(--line);margin-bottom:12px}.mobile-tabs button{flex:1;font-size:11px;padding:7px 4px}.mobile-tabs button[aria-pressed=true]{background:var(--accent);color:white;border-color:var(--accent)}body[data-mobile-panel=evidence] .case-list,body[data-mobile-panel=evidence] .feedback,body[data-mobile-panel=feedback] .case-list,body[data-mobile-panel=feedback] .observation,body[data-mobile-panel=list] .observation,body[data-mobile-panel=list] .feedback{display:none}.case-list #search{display:block;margin-bottom:8px}#items{display:grid;grid-template-columns:1fr 1fr;max-height:65vh;overflow:auto}#items button{min-width:0;max-width:none}}
