: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)}
.theme-toggle{border:1px solid #35434d;background:transparent;color:#adb8bf;border-radius:20px;width:30px;height:25px;cursor:pointer;font-size:14px;padding:0;line-height:1}
.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"] .theme-toggle .sun{display:none}html[data-theme="dark"] .theme-toggle .moon{display:block;color:var(--company-red)}
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}
