.annotation-workspace { min-width:0; max-width:1440px; margin:0 auto; color:#142c43; }
.annotation-workspace [hidden] { display:none!important; }
.annotation-workspace .workspace-top { padding:0 0 24px; background:none; border:0; display:flex; gap:20px; align-items:center; }
.annotation-workspace .workspace-title { min-width:0; }
.annotation-workspace .workspace-title h1 { font-size:28px; line-height:1.3; letter-spacing:-.8px; }
.annotation-workspace .workspace-title p { font-size:13px; margin:9px 0 0; line-height:1.7; }
.annotation-workspace .workspace-top-actions { flex-wrap:wrap; flex-shrink:0; margin:0; }
.annotation-workspace .workspace-top-actions .btn { min-height:39px; font-size:12px; }
.annotation-steps { display:flex; align-items:center; gap:28px; margin:0 0 22px; border-bottom:1px solid #dce8f0; padding-bottom:16px; }
.annotation-steps button { display:flex; align-items:center; gap:8px; background:none; color:#8196a7; font-size:12px; padding:3px 0; }
.annotation-steps button span { display:grid; place-items:center; width:24px; height:24px; border:1px solid #dce6ee; border-radius:50%; font-size:11px; }
.annotation-steps button.active { color:#168dcc; }
.annotation-steps button.active span { background:#e8f5fd; border-color:#c2e6fa; }
.annotation-steps button:disabled { opacity:.55; cursor:default; }
.annotation-source { background:white; border:1px solid #dfebf3; border-radius:14px; margin-bottom:18px; min-width:0; }
.annotation-source>summary { display:flex; align-items:center; justify-content:space-between; gap:16px; cursor:pointer; padding:14px 18px; list-style:none; }
.annotation-source>summary::-webkit-details-marker,.annotation-finish>summary::-webkit-details-marker { display:none; }
.annotation-source summary>div { display:flex; align-items:center; gap:12px; min-width:0; }
.annotation-source summary>div>svg { width:21px; height:21px; color:#64a8cf; flex-shrink:0; }
.annotation-source summary>div>span { display:block; min-width:0; }
.annotation-source strong { display:block; color:#36566d; font-size:12px; font-weight:550; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.annotation-source small { display:block; color:#8499a9; margin-top:4px; font-size:10px; }
.annotation-source-change { color:#388fbf; display:flex; align-items:center; gap:7px; font-size:11px; white-space:nowrap; }
.annotation-source-change svg { width:14px; height:14px; transform:rotate(90deg); transition:transform .15s; }
.annotation-source[open] .annotation-source-change svg { transform:rotate(-90deg); }
.annotation-source-options { border-top:1px solid #edf3f7; padding:18px; display:grid; grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto; gap:20px; align-items:center; }
.annotation-source-options .field-label { margin-bottom:8px; font-size:11px; }
.annotation-source-options .field-input { font-size:12px; width:100%; }
.annotation-source-options .upload-zone { margin:0; padding:13px; display:grid; grid-template-columns:28px 1fr; gap:4px 10px; text-align:left; align-items:center; }
.annotation-source-options .upload-zone svg { grid-row:span 2; width:21px; height:21px; margin:0; display:block; }
.annotation-source-options .upload-zone strong { font-size:12px; }
.annotation-source-options .upload-zone small { font-size:10px; margin:0; }
.annotation-case-link { font-size:11px; color:#278fca; display:flex; align-items:center; gap:8px; }
.annotation-case-link svg { width:14px; height:14px; }
.annotation-workspace .workspace-layout { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:18px; min-height:0; align-items:start; }
.annotation-workspace .workspace-main { border:1px solid #dfebf3; background:#fff; border-radius:16px; padding:18px; }
.annotation-workspace .workspace-right { display:block; padding:0 18px 18px; background:#fff; border:1px solid #dfebf3; border-radius:16px; min-width:0; }
.annotation-workspace .view-toolbar { margin-bottom:14px; gap:10px; }
.annotation-workspace .view-toolbar .source-label { min-width:0; font-size:12px; }
.annotation-workspace #view-title { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.annotation-workspace .view-toolbar .source-label>svg { flex-shrink:0; width:16px; }
.annotation-workspace .mode-toggle { flex-shrink:0; }
.annotation-workspace .mode-toggle button { font-size:10px; padding:6px 10px; }
.annotation-workspace .workspace-stage { aspect-ratio:16/10; height:auto; min-height:200px; max-height:600px; border-radius:12px; box-shadow:none; background:#e5edf3; border:1px solid #e1eaf1; }
.annotation-workspace .workspace-stage.loading:after { background:#edf4fa; color:#698297; }
.annotation-workspace .workspace-tools { margin-top:14px; gap:8px; }
.annotation-workspace .workspace-tools .btn { min-height:38px; padding:8px 12px; font-size:11px; }
.annotation-workspace .player-controls { gap:8px; }
.annotation-workspace .infer-status { margin-top:12px; min-height:32px; font-size:11px; }
.annotation-workspace .evidence-header { margin-top:9px; padding-top:18px; }
.annotation-workspace .evidence-header h2 { font-size:12px; }
.annotation-workspace .evidence-strip { padding:13px 1px 0; min-height:76px; }
.annotation-workspace .evidence-thumb { flex-basis:130px; }
.annotation-workspace .evidence-thumb span { font-size:10px; }
.annotation-inspector-tabs { display:flex; border-bottom:1px solid #e2edf4; gap:20px; margin:0 0 20px; }
.annotation-inspector-tabs button { background:none; color:#8b9cab; padding:16px 0 13px; font-size:12px; border-bottom:2px solid transparent; }
.annotation-inspector-tabs button[aria-selected=true] { color:#198ece; border-color:#329ddf; }
.annotation-workspace .workspace-right h2 { font-size:12px; margin:0 0 14px; }
.annotation-workspace .workspace-right .evidence-detail { margin:0; border:0; padding:0; }
.annotation-workspace .workspace-right .field-input { font-size:12px; margin-bottom:14px; padding:10px; }
.annotation-workspace .workspace-right .field-label { font-size:11px; }
.annotation-workspace .workspace-right .field-help { font-size:11px; }
.annotation-workspace .workspace-right .btn { width:100%; font-size:11px; }
.annotation-workspace .workspace-right .detection-list { max-height:260px; margin:0 0 18px; }
.annotation-workspace .detection-row { font-size:11px; }
.annotation-workspace .mini-empty { font-size:11px; line-height:1.8; background:#f8fbfe; border:0; padding:14px; border-radius:9px; }
.annotation-settings { border-top:1px solid #e7eff5; padding-top:14px; margin-top:18px; }
.annotation-settings>summary { font-size:11px; color:#6d879a; cursor:pointer; }
.annotation-settings .control-row { display:block; margin:18px 0 10px; }
.annotation-settings .control-row label { display:flex; justify-content:space-between; margin-bottom:10px; font-size:11px; }
.annotation-settings .control-row input[type=range] { width:100%; }
.annotation-workspace #manual-fields { padding-top:1px; }
.annotation-workspace .annotation-evidence-preview { width:100%; max-height:180px; object-fit:contain; background:#f1f6fa; border-radius:8px; display:block; }
.annotation-workspace .evidence-detail .mini-note { margin:9px 0 12px; font-size:10px; overflow-wrap:anywhere; }
.annotation-locate { border:0; background:#eff8ff; color:#288dc7; border-radius:7px; padding:7px 10px; font-size:11px; margin-bottom:15px; }
.annotation-save-state { border-top:1px solid #e7eff5; margin:20px 0 0; padding-top:12px; color:#849baa; font-size:10px; }
.annotation-finish { margin:18px 0 28px; border:1px solid #dfebf3; background:white; border-radius:14px; scroll-margin-top:90px; }
.annotation-finish>summary { padding:18px; display:flex; justify-content:space-between; align-items:center; list-style:none; cursor:pointer; gap:16px; }
.annotation-finish>summary>span { display:flex; align-items:center; gap:9px; color:#36566d; font-size:13px; }
.annotation-finish summary b { display:grid; place-items:center; font-weight:500; font-size:10px; width:22px; height:22px; border:1px solid #d6e7f2; border-radius:50%; color:#3f95c6; }
.annotation-finish summary small { font-size:11px; color:#829aaa; }
.annotation-finish-content { padding:2px 18px 18px; }
.annotation-record-fields { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.annotation-record-fields .field-label { display:block; font-size:11px; margin-bottom:7px; }
.annotation-record-fields .field-input { width:100%; font-size:12px; }
.annotation-record-fields .annotation-summary { grid-column:1/-1; }
.annotation-record-fields textarea { min-height:90px; resize:vertical; }
.annotation-finish-actions { display:flex; align-items:center; gap:10px; margin-top:18px; flex-wrap:wrap; }
.annotation-finish-actions p { flex:1; color:#829aaa; font-size:11px; min-width:180px; margin:0; }
.annotation-finish-actions p a { color:#278fca; white-space:nowrap; }
.annotation-finish-actions .btn { min-height:38px; font-size:11px; }
@media(max-width:1150px) { .annotation-workspace .workspace-layout { grid-template-columns:minmax(0,1fr) 245px; gap:14px; } .annotation-workspace .workspace-main { padding:14px; } .annotation-workspace .workspace-right { padding:0 14px 14px; } .annotation-source-options { grid-template-columns:1fr 1fr; } .annotation-case-link { grid-column:1/-1; } }
@media(max-width:1000px) { .annotation-workspace .workspace-layout { grid-template-columns:1fr; } .annotation-workspace .workspace-right { max-width:none; } .annotation-workspace .workspace-right .detection-list { max-height:180px; } .annotation-workspace .annotation-evidence-preview { max-height:220px; } .annotation-workspace .workspace-stage { max-height:520px; } }
@media(max-width:600px) { .annotation-workspace .workspace-top { display:block; padding-bottom:20px; } .annotation-workspace .workspace-title h1 { font-size:24px; } .annotation-workspace .workspace-title p { font-size:12px; } .annotation-workspace .workspace-top-actions { margin-top:15px; gap:8px; } .annotation-workspace .workspace-top-actions .btn { font-size:11px; padding:9px 12px; } .annotation-steps { gap:0; justify-content:space-between; margin-bottom:16px; } .annotation-steps button { font-size:10px; gap:5px; } .annotation-steps button span { width:19px; height:19px; font-size:9px; } .annotation-source>summary { padding:13px; gap:8px; } .annotation-source summary>div>svg { display:none; } .annotation-source-options { padding:13px; grid-template-columns:1fr; gap:14px; } .annotation-source-change { font-size:10px; gap:4px; } .annotation-source strong { font-size:11px; } .annotation-workspace .workspace-main { padding:12px; } .annotation-workspace .workspace-stage { min-height:180px; aspect-ratio:4/3; } .annotation-workspace .view-toolbar { align-items:flex-start; flex-wrap:wrap; } .annotation-workspace .view-toolbar .source-label { font-size:11px; } .annotation-workspace .workspace-tools { display:grid; grid-template-columns:1fr 1fr; } .annotation-workspace .workspace-tools .btn { font-size:10px; padding:9px; } .annotation-workspace #capture-button { grid-column:1/-1; } .annotation-workspace .player-controls { display:grid; grid-template-columns:30px minmax(0,1fr) auto; gap:5px; } .annotation-workspace #step-back,.annotation-workspace #step-next { display:none; } .annotation-workspace #seek { width:100%; } .annotation-workspace #playback-rate { grid-column:3; grid-row:2; } .annotation-workspace #time-display { grid-column:2; grid-row:2; font-size:10px; } .annotation-workspace .workspace-right { padding:0 14px 14px; } .annotation-finish>summary { display:block; padding:15px; } .annotation-finish>summary small { display:block; margin:8px 0 0 31px; } .annotation-record-fields { grid-template-columns:1fr; gap:13px; } .annotation-finish-content { padding:0 14px 14px; } .annotation-finish-actions .btn { flex:1 1 auto; } .annotation-finish-actions p { flex-basis:100%; margin-bottom:4px; } }
.annotation-workspace .awaiting-source .media-container { width:100%; height:100%; max-width:none; max-height:none; }
.annotation-saved-image { display:block; width:100%; height:100%; object-fit:contain; opacity:.55; }
.annotation-restore { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:16px; line-height:1.6; color:#30536d; background:#e8f1f57a; backdrop-filter:blur(2px); }
.annotation-restore>span { font-size:13px; background:#ffffffe8; border-radius:8px; padding:8px 12px; }
.annotation-workspace .awaiting-source .stage-zoom { display:none; }
@media(min-width:1001px) { .annotation-workspace .workspace-stage { max-height:min(480px,calc(100dvh - 550px)); } }
