:root{--company-red:#d9282f;--company-graphite:#121a20;--company-steel:#66737d;--ink:#18242c;--muted:#78848d;--line:#e1e6e9;--blue:var(--company-red);--bg:#f4f6f7}
body{transition:background-color .2s,color .2s}
.brand-mark{background:var(--company-red)!important}.eyebrow,.edit-link,.result-card b{color:var(--company-red)}
button.primary,.archive-upload{background:var(--company-red);color:#fff}button.primary:hover,.archive-upload:hover{background:#b91f28}
.icon{background:#ffebec;color:var(--company-red)}.project-icon{background:#ffebec;color:#b91f28}
.result-icon.red{background:#ffebec;color:var(--company-red)}
.account .theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #687983;background:#202d38;color:#e4ebef;border-radius:20px;min-width:70px;height:30px;cursor:pointer;font:700 11px Manrope;padding:0 10px;line-height:1;transition:.2s}.account .theme-toggle:hover{border-color:var(--company-red);background:#2b3943;color:#fff}.theme-label{font-size:10px}
.theme-toggle .moon{display:none}.theme-toggle .sun{display:block}
.work-form{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 20px;padding:20px 24px;border:1px solid #f1c6c8;border-radius:12px;background:#fff7f7}.work-form strong,.work-form span{display:block}.work-form strong{font-size:12px}.work-form span{margin-top:5px;color:var(--muted);font-size:11px}
html[data-theme="dark"]{--ink:#e8edf0;--muted:#9aa7af;--line:#2b3942;--bg:#0e151a}
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] main{background:var(--bg)}
html[data-theme="dark"] .upload-card,html[data-theme="dark"] .results,html[data-theme="dark"] .meta,html[data-theme="dark"] .project-list,html[data-theme="dark"] .form-card,html[data-theme="dark"] .login-card{background:#172229;border-color:var(--line);box-shadow:0 8px 30px #0003}
html[data-theme="dark"] .project-row:hover,html[data-theme="dark"] .result-card:hover{background:#1c2b34}
html[data-theme="dark"] .result-card{border-color:var(--line)}
html[data-theme="dark"] .result-icon.blue{background:#3d2025;color:#f27a7e}
html[data-theme="dark"] .result-icon.orange{background:#3d2025;color:#f27a7e}
html[data-theme="dark"] .result-icon.green{background:#17372d;color:#62c99b}
html[data-theme="dark"] .result-icon.red{background:#3d2025;color:#f27a7e}
html[data-theme="dark"] .icon,html[data-theme="dark"] .project-icon{background:#3d2025;color:#f27a7e}
html[data-theme="dark"] .count{background:#293740;color:#aab6bc}
html[data-theme="dark"] .login-card input,html[data-theme="dark"] .form-card input,html[data-theme="dark"] .form-card textarea{background:#10191e;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .work-form{background:#2a1b20;border-color:#64343b}
html[data-theme="dark"] .account .theme-toggle{border-color:#c74a50;background:#3d2025;color:#fff;box-shadow:0 0 0 3px #d9282f1c}html[data-theme="dark"] .account .theme-toggle:hover{background:#52252b}html[data-theme="dark"] .theme-toggle .sun{display:none}html[data-theme="dark"] .theme-toggle .moon{display:block;color:#ff9da0}
html[data-theme="dark"] .upload-modal{background:#172229;border-color:var(--line);box-shadow:0 20px 70px #0008}
html[data-theme="dark"] .dropzone{background:#10191e;border-color:#526571}
html[data-theme="dark"] .dropzone:hover,html[data-theme="dark"] .dropzone.dragover{background:#182c38;border-color:var(--company-red)}
html[data-theme="dark"] .dropzone-icon{background:#3d2025;color:#f27a7e}
html[data-theme="dark"] .file-preview{background:#10191e}
html[data-theme="dark"] .precheck.valid{background:#17372d;color:#62c99b}
html[data-theme="dark"] .precheck.invalid{background:#3d2025;color:#ff9da0}
@media(max-width:800px){.theme-toggle{margin-left:auto}}
html[data-theme="dark"] .archive-summary{background:linear-gradient(105deg,#20252d,#172229);border-color:#35434d}
html[data-theme="dark"] .summary-divider{background:#35434d}
html[data-theme="dark"] .summary-hint{color:#9aa7af}
html[data-theme="dark"] .archive-filters,html[data-theme="dark"] .archive-list{background:#172229;border-color:var(--line)}
html[data-theme="dark"] .search-field,html[data-theme="dark"] .filter-select select{background:#10191e;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .search-field input{color:var(--ink)}
html[data-theme="dark"] .filter-submit{background:#3d2025;color:#f27a7e}
html[data-theme="dark"] .filter-submit:hover{background:#52252b}
html[data-theme="dark"] .archive-row:hover{background:#1c2b34}
html[data-theme="dark"] .archive-empty p,html[data-theme="dark"] .archive-info small{color:#85939d}
html[data-theme="dark"] .upload-card.drop-target{background:#2a1b20;border-color:var(--company-red);box-shadow:0 0 0 4px #d9282f2b,0 8px 30px #0005}
html[data-theme="dark"] .name-modal .name-field input{background:#10191e;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .name-actions .secondary{background:#3d2025;color:#f27a7e}
html[data-theme="dark"] .name-actions .secondary:hover{background:#52252b}
html[data-theme="dark"] .name-hint{background:#3d2025;color:#f27a7e}
html[data-theme="dark"] .page-btn{background:#172229;border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] .page-btn:hover{border-color:var(--company-red);color:#f27a7e}
html[data-theme="dark"] .page-btn.current{background:var(--company-red);border-color:var(--company-red);color:#fff}
