:root { color-scheme: light; --ink:#09213a; --muted:#64748b; --navy:#05294f; --cyan:#0a8c9d; --blue:#1677e8; --line:#d4e3eb; --paper:#f4f9fc; --white:#fff; --danger:#b63b3b; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; min-height:100vh; color:var(--ink); background:linear-gradient(rgba(5,41,79,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(5,41,79,.035) 1px,transparent 1px),var(--paper); background-size:40px 40px; font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
button,input,textarea { font:inherit; }
button,a { -webkit-tap-highlight-color:transparent; }
.admin-topbar { min-height:68px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:10px max(22px,calc((100vw - 1240px)/2)); color:#fff; background:var(--navy); }
.admin-brand { display:flex; align-items:center; gap:10px; color:#fff; text-decoration:none; }
.admin-brand>span { width:30px; height:30px; border:2px solid #65d7e2; border-radius:6px; background:linear-gradient(135deg,#0e7286,#1d80ec); }
.admin-brand strong { display:grid; line-height:1.05; }.admin-brand small { margin-top:4px; color:#bfeef3; font-size:10px; }
.admin-back { color:#d8f8fb; font-weight:800; text-decoration:none; }
.admin-shell { width:min(1240px,100%); margin:0 auto; padding:24px; }
.login-view { width:min(430px,100%); margin:9vh auto 0; border:1px solid var(--line); border-radius:8px; background:#fff; padding:28px; box-shadow:0 24px 70px rgba(8,42,71,.12); }
.login-heading p,.dashboard-header p,.panel-heading p { margin:0 0 6px; color:var(--cyan); font-size:12px; font-weight:900; letter-spacing:.08em; }
.login-heading h1 { margin:0 0 24px; font-size:36px; }
form { display:grid; gap:14px; }
.login-options { display:flex; flex-wrap:wrap; gap:18px; }.login-options label { display:flex; align-items:center; gap:7px; color:var(--ink); }.login-options input { width:18px; min-height:18px; }
label { display:grid; gap:7px; color:var(--muted); font-size:14px; font-weight:800; }
input,textarea { width:100%; border:1px solid var(--line); border-radius:6px; background:#fff; color:var(--ink); padding:12px; outline:none; }
input { min-height:50px; } input:focus,textarea:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(22,119,232,.1); }
button,.secondary-button,.download-link { min-height:44px; border:1px solid transparent; border-radius:6px; padding:9px 15px; background:var(--blue); color:#fff; font-weight:850; cursor:pointer; text-decoration:none; }
button:disabled { cursor:not-allowed; opacity:.45; }
.secondary-button,.download-link { border-color:var(--line); background:#fff; color:var(--cyan); box-shadow:none; }
.notice { min-height:24px; margin-top:14px; color:var(--danger); font-size:14px; font-weight:700; }
.dashboard-view { display:grid; gap:16px; }
.dashboard-header { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; border-bottom:1px solid var(--line); padding:8px 0 18px; }
.dashboard-header h1 { margin:0; font-size:38px; }.dashboard-header span { color:var(--muted); font-size:13px; font-weight:700; }
.account-actions { display:flex; align-items:center; gap:10px; }.role-badge { border:1px solid #9ad5dc; border-radius:999px; background:#e7f8fa; padding:7px 11px; color:#087887 !important; }.logout-button { min-height:38px; border-color:var(--line); background:#fff; color:var(--ink); }.workspace-switch { display:inline-flex; align-items:center; min-height:38px; }
.dashboard-nav { display:flex; gap:4px; overflow-x:auto; border-bottom:1px solid var(--line); }
.dashboard-nav button,.dashboard-nav a { display:inline-flex; align-items:center; min-height:42px; border:0; border-bottom:3px solid transparent; border-radius:0; background:transparent; color:var(--muted); padding:9px 15px; font-weight:850; white-space:nowrap; box-shadow:none; text-decoration:none; }
.dashboard-nav button.is-active { border-bottom-color:var(--blue); color:var(--ink); }
.dashboard-panel { display:grid; gap:16px; }.panel-heading { display:flex; align-items:end; justify-content:space-between; gap:18px; }.panel-heading h2 { margin:0; font-size:27px; }
.review-layout { display:grid; grid-template-columns:330px minmax(0,1fr); gap:14px; align-items:start; }
.review-list { display:grid; gap:8px; max-height:calc(100vh - 230px); overflow:auto; }.review-list--wide { grid-template-columns:repeat(2,minmax(0,1fr)); max-height:none; }
.review-card { display:grid; gap:5px; min-height:0; border:1px solid var(--line); border-radius:6px; background:#fff; padding:14px; color:var(--ink); text-align:left; box-shadow:none; }
.review-card:hover,.review-card:focus-visible { border-color:#77b8eb; background:#f8fcff; }.review-card strong { font-size:17px; }.review-card span { color:var(--muted); font-size:12px; }.review-card p { margin:3px 0 0; color:#334b62; font-size:13px; line-height:1.45; }
.research-export { display:grid; gap:13px; border:1px solid #b8d9e7; border-radius:8px; background:#f8fcff; padding:16px; }.research-export__heading { display:flex; align-items:start; justify-content:space-between; gap:18px; }.research-export h3,.research-export p { margin:0; }.research-export h3 { font-size:18px; }.research-export p { margin-top:4px; color:var(--muted); font-size:13px; line-height:1.5; }.research-export__heading>strong { flex:0 0 auto; color:var(--cyan); font-size:13px; }.research-export__filters { display:grid; grid-template-columns:repeat(2,minmax(160px,220px)) 1fr; gap:10px; align-items:end; }.research-export select { min-height:42px; border:1px solid var(--line); border-radius:6px; background:#fff; color:var(--ink); padding:8px 10px; font:inherit; }.select-all-reviewed { display:flex; align-items:center; gap:8px; min-height:42px; color:var(--ink); }.select-all-reviewed input,.history-record__select input { width:18px; min-height:18px; }.research-export__actions { display:flex; flex-wrap:wrap; gap:8px; }.research-export__status { min-height:20px; color:var(--cyan)!important; font-weight:750; }.history-record { display:grid; gap:10px; border:1px solid var(--line); border-radius:7px; background:#fff; padding:13px; }.history-record__top { display:flex; align-items:center; justify-content:space-between; gap:10px; }.history-record__select { display:flex; align-items:center; gap:7px; color:var(--ink); font-size:12px; }.history-record__evidence { color:var(--muted); font-size:12px; }.history-record>.review-card { border:0; padding:0; }.history-record__actions { display:flex; flex-wrap:wrap; gap:7px; border-top:1px solid var(--line); padding-top:10px; }.history-record__actions button { min-height:36px; padding:6px 10px; font-size:12px; }
.sample-kind { width:max-content; border-radius:999px; background:#e5f7f8; padding:4px 8px; color:#087b88 !important; font-size:11px !important; font-weight:900; }
.review-detail { min-height:420px; border:1px solid var(--line); border-radius:8px; background:#fff; padding:18px; }.empty-state { margin:0; color:var(--muted); line-height:1.5; }.error-text { color:var(--danger); }
.sample-detail { display:grid; gap:16px; }.sample-detail>header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }.sample-detail h2 { margin:7px 0 0; font-size:26px; }.sample-detail>header>span { color:var(--muted); font-weight:800; }
.system-result { display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:start; border-left:4px solid var(--blue); background:#eef7ff; padding:14px; }.system-result h3,.system-result p { margin:0; }.system-result span { color:var(--muted); font-size:12px; }
.issue-review-list { display:grid; gap:7px; margin:0; padding:0; list-style:none; }.issue-review-list li { display:flex; align-items:center; justify-content:space-between; gap:12px; border:1px solid var(--line); border-radius:6px; padding:10px 12px; }.issue-review-list li>div { display:grid; gap:3px; }.issue-review-list strong { font-size:14px; }.issue-review-list span { color:var(--muted); font-size:13px; line-height:1.4; }.issue-seek { min-height:34px; flex:0 0 auto; border-color:#9ad5dc; background:#e9f8fa; color:#087887; padding:5px 10px; font-size:12px; box-shadow:none; }
.evidence-block { display:grid; gap:10px; border-top:1px solid var(--line); padding-top:15px; }.evidence-block h3,.review-form h3,.owner-actions h3 { margin:0; font-size:17px; }.evidence-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }.evidence-heading>div { display:flex; flex-wrap:wrap; gap:6px; }
.artifact-link { min-height:32px; border-color:var(--line); background:#fff; color:var(--cyan); padding:5px 9px; font-size:12px; box-shadow:none; }
.score-viewer { min-height:180px; overflow:auto; border:1px solid var(--line); border-radius:6px; background:#fffefa; padding:10px; }.score-viewer img { display:block; max-width:100%; height:auto; margin:auto; }.score-pdf { width:100%; min-height:520px; border:0; }.performance-viewer video { width:100%; max-height:430px; background:#061d33; }.performance-viewer audio { width:100%; }
.review-form,.owner-actions { display:grid; gap:12px; border-top:1px solid var(--line); padding-top:16px; }.verdict-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }.verdict-grid button { border-color:var(--line); background:#fff; color:var(--ink); box-shadow:none; }.verdict-grid button.is-selected { border-color:var(--blue); background:#eaf4ff; color:#075fb7; }
fieldset { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin:0; border:1px solid var(--line); border-radius:6px; padding:12px; } fieldset legend { color:var(--muted); font-size:13px; font-weight:800; } fieldset label { display:flex; align-items:center; gap:8px; color:var(--ink); } fieldset input { width:18px; min-height:18px; }
.review-note { font-size:13px; }.form-status { margin:0; color:var(--cyan); font-size:13px; font-weight:800; }.saved-review { display:flex; align-items:center; justify-content:space-between; border-top:1px solid var(--line); padding-top:15px; }.saved-review span { color:var(--muted); font-size:12px; }
.owner-actions>div { display:flex; flex-wrap:wrap; gap:7px; }.owner-actions button { min-height:38px; font-size:13px; }.owner-actions [data-owner-decision="return"] { background:#ab4545; }
.metric-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }.metric-grid>div { display:grid; gap:6px; border:1px solid var(--line); border-radius:6px; background:#fff; padding:16px; }.metric-grid span { color:var(--muted); font-size:13px; font-weight:800; }.metric-grid strong { color:var(--cyan); font-size:34px; }.compact-metrics strong { font-size:28px; }
.dashboard-section { display:grid; gap:9px; }.dashboard-section h3 { margin:0; font-size:16px; }.module-list,.recent-list { display:grid; gap:7px; }.module-item,.recent-item { display:grid; grid-template-columns:1fr auto; gap:8px; border:1px solid var(--line); border-radius:6px; background:#fff; padding:11px 13px; }.recent-item { grid-template-columns:auto 1fr auto; }.module-item span,.recent-item span,.recent-item em { color:var(--muted); font-size:12px; font-style:normal; }.privacy-note { border-left:4px solid var(--cyan); background:#fff; margin:0; padding:14px; color:var(--muted); line-height:1.5; }
@media (max-width:900px) { .review-layout { grid-template-columns:1fr; }.review-list { max-height:320px; }.metric-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:620px) { .admin-shell { padding:14px; }.admin-topbar { min-height:60px; padding:9px 14px; }.admin-back { font-size:13px; }.dashboard-header { align-items:flex-start; }.dashboard-header h1 { font-size:30px; }.account-actions { align-items:flex-end; flex-direction:column; }.review-list--wide,.metric-grid,.verdict-grid,fieldset,.research-export__filters { grid-template-columns:1fr; }.research-export__heading { display:grid; }.review-detail { padding:14px; }.sample-detail>header,.system-result { grid-template-columns:1fr; }.sample-detail>header { display:grid; }.evidence-heading { align-items:flex-start; flex-direction:column; }.issue-review-list li { align-items:flex-start; flex-direction:column; } }
