*{box-sizing:border-box}:root{font-family:Segoe UI,Arial,sans-serif;color:#193042;background:#f3f6f8;font-size:15px}body{margin:0}h1,h2,h3,p{margin:0 0 12px}h1{font-size:28px;line-height:1.25}h2{font-size:19px}h3{font-size:16px}button,input,select{font:inherit}button,.file-picker{border:1px solid #bacbd5;border-radius:7px;padding:9px 14px;background:#fff;color:#193042;cursor:pointer;font-weight:600}button:hover:not(:disabled),.file-picker:hover{background:#eaf3f5}button:disabled{opacity:.55;cursor:default}button.primary{background:#096e78;color:#fff;border-color:#096e78}button.primary:hover:not(:disabled){background:#065761}:focus-visible{outline:3px solid #2985b7;outline-offset:3px}input,select{width:100%;min-width:0;border:1px solid #bacbd5;border-radius:6px;padding:10px;color:inherit;background:#fff}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px max(24px,(100% - 1280px) / 2);background:#fff;border-bottom:1px solid #dce4e9}.topbar h1{margin-bottom:0}.eyebrow{display:block;font-size:11px;letter-spacing:2px;font-weight:700;color:#096e78;margin-bottom:8px}.account,.section-heading,.worker-badges,.pagination,.filter-actions{display:flex;align-items:center;gap:12px}.section-heading{justify-content:space-between;margin-bottom:16px}.section-heading h2,.section-heading h3,.section-heading p{margin:0}.dashboard{max-width:1328px;margin:auto;padding:24px}.panel{border:1px solid #dce4e9;border-radius:12px;background:#fff;padding:24px;margin-bottom:22px}.muted{color:#5e7180}.small{font-size:12px}.error,.notice{border-radius:6px;padding:12px;line-height:1.5}.error{background:#fff0ee;color:#932f24;border:1px solid #efc8c3}.notice{background:#fff7df;color:#715115}.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-bottom:18px}.stat{background:#fff;border:1px solid #dce4e9;border-top:3px solid #096e78;border-radius:9px;padding:18px}.stat span{display:block;color:#5e7180;font-size:13px}.stat strong{display:block;font-size:30px;margin-top:7px}.badge{display:inline-block;background:#e9f2f3;color:#165b64;border-radius:5px;padding:5px 8px;font-size:12px;white-space:nowrap}.badge.failed{background:#ffe8e4;color:#932f24}.worker-badges{flex-wrap:wrap;margin-bottom:14px}.worker p:last-child{margin:0}.dropzone{border:2px dashed #a6c1ca;border-radius:8px;padding:25px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;background:#f8fbfc;margin:16px 0}.dropzone.dragging{background:#def3f1;border-color:#096e78}.file-picker{position:relative;overflow:hidden}.file-picker input{position:absolute;inset:0;opacity:0;cursor:pointer}.file-picker:focus-within{outline:3px solid #2985b7}.upload-list{list-style:none;padding:0;margin:0;max-height:300px;overflow:auto}.upload-list li{display:grid;grid-template-columns:minmax(150px,1fr) 90px minmax(180px,2fr);gap:14px;align-items:center;padding:10px 0;border-top:1px solid #e5ebef}.filename{overflow-wrap:anywhere}.filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.filter-actions{align-self:end;flex-wrap:wrap}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;font-weight:600;background:#f3f6f8;color:#4d6474;white-space:nowrap}td,th{padding:13px 10px;border-bottom:1px solid #e2e9ed}td.filename{min-width:150px;max-width:260px}td button{white-space:nowrap;font-size:12px}.date-cell{white-space:nowrap}.empty{text-align:center;padding:38px;color:#5e7180}.pagination{justify-content:flex-end;margin-top:18px;font-size:13px}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.login-panel{width:min(100%,440px);padding:34px;box-shadow:0 12px 40px #153c5010}.login-panel p{line-height:1.6}.login-panel form{display:grid;gap:18px;margin:24px 0}.pdf-dialog{width:min(1100px,95vw);border:0;border-radius:10px;padding:20px}.pdf-dialog::backdrop{background:#102330b3}.pdf-dialog iframe{width:100%;height:75vh;border:1px solid #dce4e9}@media(max-width:850px){.stats{grid-template-columns:repeat(3,1fr)}.filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.dashboard{padding:14px}.panel{padding:17px}.topbar{padding:18px;align-items:flex-start}.account{flex-direction:column;gap:6px}h1{font-size:22px}.stats{grid-template-columns:repeat(2,1fr)}.filters{grid-template-columns:1fr}.upload-list li{grid-template-columns:1fr auto}.upload-list li>.small{grid-column:1/-1}}.main-nav{display:flex;gap:12px;padding:14px max(24px,(100% - 1280px) / 2);background:#fff}.main-nav a{padding:10px 16px;color:#165b64;text-decoration:none;border-radius:6px}.main-nav a.active{background:#e9f2f3;font-weight:700}.dashboard-search{display:flex;gap:16px;align-items:end}.dashboard-search label{flex:1}.stat.failed{border-color:#c34b3b;background:#fff0ee;color:#932f24}.badge.other-scope{background:#fff1cc;color:#715115}.worker-state{display:flex;align-items:center;gap:8px;height:48px;margin:0 0 12px}.worker-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.ai-dot{flex:none;width:10px;height:10px;border-radius:50%;background:#096e78}.ai-dot.pulse{animation:ai-pulse 1.8s ease-in-out infinite}@keyframes ai-pulse{50%{opacity:.3}}@media(prefers-reduced-motion:reduce){.ai-dot.pulse{animation:none}}.danger{color:#932f24}.modal-backdrop{position:fixed;inset:0;background:#102330b3;display:grid;place-items:center;z-index:10;padding:24px}.confirm-dialog{width:min(480px,100%)}.processing-status{display:inline-flex;align-items:center;gap:.4rem}.processing-dot{width:.55rem;height:.55rem;border-radius:50%;background:currentColor;animation:processing-pulse 1s ease-in-out infinite}.processing-active{font-weight:600}@keyframes processing-pulse{0%,to{opacity:.25}50%{opacity:1}}
