:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#e8eef5;background:#0b1220;line-height:1.5;font-weight:400}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#0b1220}a{color:inherit;text-decoration:none}button{cursor:pointer}.page-shell{max-width:1100px;margin:0 auto;padding:24px}.card{background:#111b2e;border:1px solid #20304f;border-radius:16px;padding:20px}.grid{display:grid;gap:16px}.grid.two{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.grid.three{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.row{display:flex;gap:12px;align-items:center}.column{display:flex;flex-direction:column;gap:12px}.space-between{display:flex;justify-content:space-between;align-items:center;gap:12px}.wrap-on-small{flex-wrap:wrap}.backend-row{align-items:center;gap:8px}.badge{padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600}.badge.queued{background:#3a2f11;color:#f8d878}.badge.needs-input{background:#3b2852;color:#dfbbff}.badge.processing{background:#12324b;color:#8fcbff}.badge.completed{background:#14361f;color:#8ce5a5}.badge.failed{background:#491d1d;color:#ff9e9e}.badge.cancelled{background:#333943;color:#c6ccd6}.badge.skipped{background:#3c3246;color:#d5baff}.badge.ocr-backend{text-transform:none}.badge.ocr-backend.tesseract{background:#1f3552;color:#9fd0ff}.badge.ocr-backend.apple-vision{background:#2c2147;color:#d5baff}.badge.ocr-backend.unknown{background:#333943;color:#c6ccd6}.badge.worker-health{text-transform:capitalize}.badge.worker-health.healthy{background:#14361f;color:#8ce5a5}.badge.worker-health.stale{background:#3a2f11;color:#f8d878}.badge.worker-health.offline{background:#491d1d;color:#ff9e9e}.badge.worker-health.unknown{background:#333943;color:#c6ccd6}.badge.job-mode{background:#17314f;color:#9fd0ff}.badge.output-type{background:#1e2941;color:#d9e3f0}input,select{width:100%;padding:12px 14px;border-radius:10px;border:1px solid #30415f;background:#0d1627;color:#f3f6fb}input[type=checkbox]{width:auto;padding:0}button.primary{background:#4c8dff;color:#fff;border:none;border-radius:10px;padding:12px 16px}button.secondary{background:transparent;color:#d9e3f0;border:1px solid #30415f;border-radius:10px;padding:12px 16px}button.sort-button{background:transparent;color:inherit;border:none;padding:0;font:inherit}.filter-chip-row{display:flex;flex-wrap:wrap;gap:8px}.button-reset{font:inherit}.filter-chip{background:transparent;color:#cdd8e6;border:1px solid #30415f;border-radius:999px;padding:10px 14px}.filter-chip.active{background:#203b68;border-color:#4c8dff;color:#f5f9ff}.filter-summary-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-top:4px}.mode-card{background:#0d1627;color:#f3f6fb;border:1px solid #30415f;border-radius:14px;padding:16px;text-align:left;display:flex;flex-direction:column;gap:6px}.mode-card.active{border-color:#4c8dff;background:#162845}.output-toggle{display:flex;gap:10px;align-items:flex-start;background:#0d1627;border:1px solid #30415f;border-radius:12px;padding:12px 14px}.progress-track{width:100%;height:10px;border-radius:999px;background:#1d2b45;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#4c8dff,#74d6ff)}.preview-frame-shell{background:#0d1627;padding:8px;border-radius:14px}.pdf-toolbar{align-items:center;justify-content:space-between;background:#0d1627;border:1px solid #30415f;border-radius:12px;padding:12px 14px}.field-chip-card{min-width:180px;padding:12px;border-radius:12px;background:#0d1627;border:1px solid #30415f}.field-copy-button{align-self:flex-start;padding:8px 12px!important}table{width:100%;border-collapse:collapse}th,td{padding:12px 8px;border-bottom:1px solid #22314f;text-align:left}.small{color:#9fb0c9;font-size:14px}.error{color:#ff9e9e}.success{color:#8ce5a5}.nav{display:flex;gap:12px;margin-bottom:20px}.layout-actions{justify-content:flex-end}.language-switcher{gap:8px}.language-switcher select{width:auto;min-width:120px}.hero{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}.timeline-item{padding:12px 0;border-bottom:1px solid #22314f}.timeline-item:last-child{border-bottom:none}.recent-job-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #22314f}.recent-job-row:last-child{border-bottom:none}.truncate-one-line{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.job-workspace-shell{gap:16px}.job-workspace-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(320px,1fr);gap:16px;align-items:start}.job-conversation-header{position:sticky;top:12px;z-index:5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.job-thread{min-height:420px;max-height:calc(100vh - 260px);overflow:auto;padding-right:4px}.job-thread-item{display:flex}.job-thread-item.user{justify-content:flex-end}.job-thread-item.system{justify-content:center}.job-thread-bubble{width:min(100%,720px);background:linear-gradient(180deg,#0f192d,#0d1627);border:1px solid #30415f;border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:8px;box-shadow:0 10px 24px #00000029}.job-thread-item.assistant .job-thread-bubble{background:linear-gradient(180deg,#14203b,#111c33)}.job-thread-item.user .job-thread-bubble{background:linear-gradient(180deg,#1a3a6a,#16305a);border-color:#4c8dff}.job-thread-item.system .job-thread-bubble{background:#101827;border-color:#253755;width:min(100%,540px)}.job-thread-meta{display:flex;justify-content:space-between;gap:12px;align-items:center}.job-thread-actor{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#cbd8ea}.job-thread-attachments{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.job-result-attachment,.job-revision-card{text-align:left;background:#111b2e;color:#e8eef5;border:1px solid #30415f;border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:6px;transition:border-color .12s ease,transform .12s ease,background .12s ease}.job-result-attachment:hover,.job-revision-card:hover{border-color:#4c8dff;transform:translateY(-1px)}.job-result-attachment.selected,.job-revision-card.selected{border-color:#4c8dff;background:#162845}.job-result-attachment-link{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;color:#9fc2ff;padding:0;text-align:left;cursor:pointer}.job-result-attachment-link:hover{color:#bfd7ff;text-decoration:underline}.link-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;color:#9fc2ff;padding:0;text-align:left;cursor:pointer;font:inherit}.link-button:hover{color:#bfd7ff;text-decoration:underline}.job-composer{position:sticky;bottom:12px;z-index:4;box-shadow:0 12px 28px #0000002e}.job-composer-disabled{opacity:.9}.markdown-preview{white-space:normal;line-height:1.6}.markdown-preview h1,.markdown-preview h2,.markdown-preview h3{margin:.2em 0 .5em}.markdown-preview p,.markdown-preview ul,.markdown-preview pre{margin:0 0 .9em}.markdown-preview ul{padding-left:1.4em}.markdown-preview pre{white-space:pre-wrap;overflow-x:auto;background:#0b1220;border-radius:10px;padding:12px}.job-context-pane{position:sticky;top:96px;max-height:calc(100vh - 124px);overflow:auto}.job-context-tabs{display:flex;flex-wrap:wrap;gap:8px}.header-actions{justify-content:flex-end}@media (max-width: 900px){.job-workspace-grid{grid-template-columns:1fr}.job-context-pane,.job-conversation-header,.job-composer{position:static}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#040a14b3;display:flex;align-items:center;justify-content:center;padding:24px;z-index:9998}.modal-card{width:min(520px,100%);background:#111b2e;border:1px solid #30415f;border-radius:16px;padding:20px;box-shadow:0 18px 48px #00000059}.toast-stack{position:fixed;top:16px;right:16px;display:flex;flex-direction:column;gap:10px;z-index:9999}.toast{min-width:240px;max-width:360px;padding:14px 16px;border-radius:12px;border:1px solid #30415f;background:#111b2e;box-shadow:0 12px 30px #00000040}.toast-success{border-color:#24553a}.toast-error{border-color:#6b3030}.toast-info{border-color:#2e496a}.auth-card{margin-top:48px}.auth-switch-row a{color:#8fcbff;text-decoration:underline}.auth-links-column{gap:6px}.auth-links-inline{gap:14px;align-items:center}
