:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f4efe2;--bg-strong:#efe5d0;--paper:#fffaf0e0;--ink:#231b16;--muted:#6e5d4f;--line:#62462733;--accent:#874b2a;--accent-soft:#874b2a29;--high:#b4512e;--medium:#456a63;--low:#7c7665;--accepted:#2f6c55;--rejected:#87443d;--deferred:#8a6b2d;--manual:#6a4f88;--shadow:0 18px 60px #231b161f;color:var(--ink);background:radial-gradient(circle at 0 0,#874b2a21,#0000 28%),radial-gradient(circle at 100% 0,#456a6324,#0000 26%),linear-gradient(#f8f3e8 0%,#f2ead7 100%);font-family:Fraunces,Iowan Old Style,Palatino Linotype,Georgia,serif}*{box-sizing:border-box}body{min-height:100vh;margin:0}button,input,select,textarea{font:inherit}.app-shell{--shell-pad-x:28px;--shell-pad-bottom:28px;padding:0 var(--shell-pad-x) var(--shell-pad-bottom)}.wotzit-bridge{margin-inline:calc(-1 * var(--shell-pad-x));color:#f2dfb8;background:linear-gradient(#0f1014fa,#08090cfa),#0b0c10;border:1px solid #ca7e4070;border-left:0;border-right:0;grid-template-columns:max-content minmax(80px,1fr) max-content;align-items:center;gap:16px;min-height:46px;padding:8px 14px;display:grid;box-shadow:0 8px 22px #231b1629}.dashboard-shell>.wotzit-bridge{margin-bottom:18px}.wotzit-bridge-brand,.wotzit-bridge-back{color:inherit;align-items:center;text-decoration:none;display:inline-flex}.wotzit-bridge-brand{letter-spacing:.01em;gap:9px;font-family:SFMono-Regular,Menlo,monospace;font-size:.96rem;font-weight:700}.wotzit-bridge-brand span span{color:#50d7e3}.wotzit-bridge-mark{color:#50d7e3;background:#140f12;border:1px solid #ca7e4094;place-items:center;min-width:30px;height:30px;font-size:.78rem;display:inline-grid;box-shadow:inset 0 0 0 2px #68412cb8}.wotzit-bridge-ornament{opacity:.78;background:linear-gradient(90deg,#0000,#ca7e40b8,#0000) 50%/100% 1px no-repeat,radial-gradient(circle,#50d7e3eb 0 2px,#0000 3px) 50%/10px 10px no-repeat;height:10px}.wotzit-bridge-back{color:#50d7e3;justify-self:end;font-size:.86rem;font-weight:600}.dashboard-shell{min-height:100vh;color:var(--ink);background:radial-gradient(circle at 0 0,#874b2a21,#0000 28%),radial-gradient(circle at 100% 0,#456a6324,#0000 26%),linear-gradient(#f8f3e8 0%,#f2ead7 100%)}.dashboard-shell.display-mode-darker{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#181512;--bg-strong:#241f1a;--paper:#221d18e6;--ink:#f5ead8;--muted:#c2ad96;--line:#e1be913d;--accent:#e0a15f;--accent-soft:#e0a15f2e;--high:#ef9b6b;--medium:#8fd0bd;--low:#b9ad94;--accepted:#7fc99e;--rejected:#ed8d7b;--deferred:#d2ad64;--manual:#c49be5;--shadow:0 18px 60px #00000061;background:radial-gradient(circle at 0 0,#e0a15f29,#0000 28%),radial-gradient(circle at 100% 0,#5491822e,#0000 24%),linear-gradient(#181512 0%,#211b16 100%)}.dashboard-shell.display-mode-darker .workflow-controls,.dashboard-shell.display-mode-darker .chapter-card,.dashboard-shell.display-mode-darker .job-card{background:#28221ceb}.dashboard-shell.display-mode-darker select,.dashboard-shell.display-mode-darker .text-box{background:#1e1a16f5;border-color:#e1be9147}.dashboard-shell.display-mode-darker .neutral-button{color:var(--ink);background:#473b2feb;border-color:#e1be9147}.dashboard-shell.display-mode-darker .primary-button{color:#fff7ec;background:linear-gradient(135deg,#b86f38 0%,#80502e 100%)}.dashboard-shell.display-mode-darker .link-button{color:var(--accent);border-color:#e0a15f57}.dashboard-shell.display-mode-darker .job-log{background:#14110ee6}.import-shell,.review-shell{flex-direction:column;gap:18px;min-height:100vh;display:flex}.masthead,.panel,.note-card,.status-banner{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.masthead{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow);border-radius:28px;justify-content:space-between;align-items:end;gap:24px;padding:28px;display:flex}.review-masthead{align-items:stretch;gap:18px;display:grid}.review-masthead-top{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:24px;display:flex}.review-masthead-notes{border-top:1px solid var(--line);gap:14px;padding-top:18px;display:grid}.eyebrow,.mini-label,.note-label{text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-size:.72rem}.masthead h1,.panel h2,.candidate-header h4{margin:0}.subtitle,.panel-header p,.candidate-note,.candidate-score,.build-meta,.queue-item p{color:var(--muted)}.import-masthead{align-items:center}.import-grid{align-items:start}.import-panel{min-height:0}.import-panel-body{gap:18px;padding:20px;display:grid}.import-field input[type=file]{padding:10px 0}.import-note-strip{margin:0}.import-mode-badge-strip{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.note-strip{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:22px 0;display:grid}.note-card{border:1px solid var(--line);background:#fff8eed1;border-radius:20px;padding:18px}.global-notes-card{border:1px solid var(--line);box-shadow:var(--shadow);background:#fffaf0cc;border-radius:24px;gap:14px;margin:22px 0 18px;padding:18px 20px;display:grid}.global-notes-header,.global-notes-actions,.patch-plan-header,.queue-tags{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.queue-tags{justify-content:right;padding-top:12px}.global-notes-header h2{margin:4px 0 0}.review-masthead-notes .note-strip{margin:0}.note-strip-compact{scroll-snap-type:x proximity;gap:16px;margin:0;padding-bottom:6px;display:flex;overflow:auto hidden}.note-strip-compact.expanded{scroll-snap-type:none;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));max-height:260px;padding-bottom:0;padding-right:6px;display:grid;overflow:auto}.note-card-compact{scroll-snap-align:start;flex:0 0 clamp(240px,28vw,320px);padding:14px 16px}.note-card-compact p:last-child{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.note-strip-compact.expanded .note-card-compact{flex:initial}.note-strip-compact.expanded .note-card-compact p:last-child{-webkit-line-clamp:unset;display:block;overflow:visible}select,.text-box{width:100%;color:var(--ink);background:#fffcf7f0;border:1px solid #6246274d;border-radius:14px}.workspace{grid-template-columns:minmax(320px,1.15fr) minmax(380px,1fr);gap:18px;display:grid}.workflow-controls{border:1px solid var(--line);background:#fffaf0b8;border-radius:18px;flex-wrap:wrap;align-items:end;gap:14px;margin:18px 0;padding:16px;display:flex}.quick-start-panel{box-shadow:var(--shadow);background:linear-gradient(135deg,#fffaf0e6,#f1debeb8);border:1px solid #874b2a3d;border-radius:22px;grid-template-columns:minmax(280px,1fr) minmax(360px,.8fr);align-items:end;gap:18px;margin:18px 0;padding:20px;display:grid}.dashboard-shell.display-mode-darker .quick-start-panel{background:linear-gradient(135deg,#2d251ef0,#3c2b1fd1);border-color:#e0a15f52}.quick-start-panel h2{margin:4px 0 8px}.quick-start-controls{grid-template-columns:minmax(180px,1fr) auto;align-items:end;gap:12px;display:grid}.quick-start-field{min-width:0}.quick-start-field .text-box{resize:none;min-height:44px}.pilot-shell{--shell-pad-x:clamp(18px, 3vw, 34px);--shell-pad-bottom:var(--shell-pad-x);padding:0 var(--shell-pad-x) var(--shell-pad-bottom);background:linear-gradient(180deg, #fffcf761, #f4efe2d1), radial-gradient(circle at 9% 0%, #456a6329, transparent 26%), radial-gradient(circle at 100% 0%, #874b2a21, transparent 28%), var(--bg);gap:22px}.pilot-masthead{border-radius:26px;align-items:stretch;gap:clamp(24px,4vw,48px);padding:clamp(24px,3vw,36px)}.pilot-hero-copy{align-content:center;gap:10px;min-width:min(100%,34rem);display:grid}.pilot-hero-copy h1{max-width:100%;font-size:clamp(2.1rem,3vw,3.1rem);line-height:1.04}.pilot-hero-copy .subtitle{max-width:58rem;margin:0;font-size:clamp(1rem,1.4vw,1.15rem);line-height:1.55}.pilot-grant-card{align-content:center;gap:16px;min-width:min(100%,30rem);padding:4px 0;display:grid}.pilot-grant-card-header{color:var(--muted);justify-content:flex-end;align-items:center;gap:10px;font-weight:700;display:flex}.pilot-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.pilot-stat{background:#fffcf794;border:1px solid #6246272b;border-radius:16px;gap:4px;min-height:78px;padding:14px;display:grid}.pilot-stat strong{color:var(--ink);align-self:end;font-size:clamp(1.12rem,1.55vw,1.45rem);line-height:1.04}.pilot-stat span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;font-weight:700}.pilot-workspace{grid-template-columns:minmax(420px,.98fr) minmax(380px,1.02fr);align-items:start;gap:20px}.panel.pilot-panel{background:#fffcf7eb;border-radius:24px;min-height:0}.pilot-form{gap:18px;padding:20px;display:grid}.pilot-form input.text-box{resize:none;min-height:48px}.pilot-form .text-box{border:1px solid var(--line);width:100%;color:var(--ink);background:#fffcf7bd;border-radius:16px;box-shadow:inset 0 1px #ffffff75}.pilot-form .text-box:focus{outline-offset:1px;border-color:#456a637a;outline:2px solid #456a6329}.pilot-panel .panel-header{align-items:center;padding:22px 22px 0}.pilot-panel .panel-header h2{margin:0;font-size:clamp(1.45rem,2.1vw,2rem)}.pilot-panel .panel-header p{margin:8px 0 0}.pilot-panel .dashboard-panel-body{min-height:0;overflow:visible}.pilot-draft-strip{grid-template-columns:.65fr minmax(0,1.35fr) 1fr;gap:10px;display:grid}.pilot-draft-strip>div{background:#f7eee07a;border:1px solid #62462724;border-radius:16px;gap:4px;min-width:0;min-height:74px;padding:12px 14px;display:grid}.pilot-draft-strip span{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;font-size:.73rem;font-weight:700}.pilot-draft-strip strong{min-width:0;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:1rem;overflow:hidden}.pilot-sample-picker{gap:12px;display:grid}.pilot-sample-picker-heading{justify-content:space-between;align-items:start;gap:14px;display:flex}.pilot-sample-picker-heading p{color:var(--muted);margin:5px 0 0;font-size:.9rem;line-height:1.45}.pilot-sample-picker-heading .badge{flex:none}.pilot-sample-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.pilot-sample-card{min-width:0;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:linear-gradient(150deg,#fffcf7f0,#f7eee0a8);border:1px solid #6246272e;border-radius:18px;gap:10px;padding:15px;transition:border-color .15s,box-shadow .15s,transform .15s;display:grid;box-shadow:0 6px 18px #3d2b1d0d}.pilot-sample-card:hover{border-color:#874b2a6b;transform:translateY(-1px);box-shadow:0 10px 24px #3d2b1d17}.pilot-sample-card:focus-visible{outline-offset:2px;border-color:#456a639e;outline:3px solid #456a632e}.pilot-sample-card.selected{background:linear-gradient(150deg,#f1faf5fa,#e2f1e9b8);border-color:#2f6c55a3;box-shadow:0 0 0 2px #2f6c551f,0 10px 24px #2f6c551a}.pilot-sample-card-heading{justify-content:space-between;align-items:start;gap:10px;display:flex}.pilot-sample-card-heading>span:first-child{gap:3px;min-width:0;display:grid}.pilot-sample-card-heading strong{font-size:1rem;line-height:1.2}.pilot-sample-card-heading>span:first-child>span{color:var(--muted);font-size:.84rem;font-weight:700}.pilot-sample-choice{color:var(--accent);letter-spacing:.04em;text-transform:uppercase;flex:none;font-size:.72rem;font-weight:800}.pilot-sample-card.selected .pilot-sample-choice{color:var(--accepted)}.pilot-sample-genres{flex-wrap:wrap;gap:5px;display:flex}.pilot-sample-genres>span{color:var(--accent);background:#874b2a1a;border-radius:999px;padding:3px 7px;font-size:.7rem;font-weight:700;line-height:1.25}.pilot-sample-card.selected .pilot-sample-genres>span{color:var(--accepted);background:#2f6c551c}.pilot-sample-counts{color:var(--muted);font-size:.76rem;font-weight:700}.pilot-sample-preview{color:#231b16c4;white-space:pre-line;-webkit-line-clamp:5;-webkit-box-orient:vertical;min-width:0;font-family:Georgia,Times New Roman,serif;font-size:.82rem;line-height:1.45;display:-webkit-box;overflow:hidden}.pilot-source-divider{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;align-items:center;gap:12px;font-size:.72rem;font-weight:800;display:flex}.pilot-source-divider:before,.pilot-source-divider:after{content:"";background:#6246272e;flex:1;height:1px}.pilot-text-field{min-width:0}.pilot-chapter-text{resize:vertical;min-height:clamp(260px,32vh,420px);line-height:1.55}.pilot-import-field{gap:10px}.pilot-file-row{border:1px solid var(--line);background:#fffcf7b8;border-radius:16px;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:12px;min-height:48px;padding:8px;display:grid}.pilot-file-button{min-height:36px;color:var(--accent);cursor:pointer;background:#874b2a1a;border:1px solid #874b2a57;border-radius:12px;justify-content:center;align-items:center;padding:0 14px;font-weight:700;display:inline-flex}.pilot-file-button:hover{background:#874b2a26}.pilot-file-input{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.pilot-file-input:focus-visible+.source-panel-note,.pilot-file-button:focus-visible{outline-offset:3px;outline:2px solid #456a638c}.pilot-file-name{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.96rem;overflow:hidden}.pilot-defaults{padding-top:4px}.pilot-params-panel{border:1px solid var(--line);background:#fffcf79e;border-radius:14px;gap:14px;padding:16px;display:grid}.panel-header.compact{padding:0}.panel-header.compact h3{margin:0;font-size:1.02rem}.panel-header.compact p{margin:6px 0 0}.pilot-param-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.pilot-focus-field{grid-column:1/-1}.pilot-form select.pilot-model-select{border:1px solid var(--line);height:42px;min-height:42px;box-shadow:none;background:#ffffffb8;border-radius:10px;padding:0 12px}.pilot-focus-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.pilot-focus-heading>span:last-child{color:var(--muted);font-size:.75rem;font-weight:700}.pilot-focus-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.pilot-focus-list li{grid-template-columns:18px minmax(0,1fr) 34px;align-items:center;gap:8px;display:grid}.pilot-focus-bullet{color:var(--accent);text-align:center;font-size:1.2rem;font-weight:700}.pilot-form .pilot-focus-list input.text-box{background:#ffffffb8;border-radius:10px;height:42px;min-height:42px;padding:0 12px}.pilot-focus-remove{width:34px;height:34px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;padding:0;font-size:1.2rem}.pilot-focus-remove:hover{color:var(--accent);background:#874b2a14;border-color:#874b2a33}.pilot-focus-remove:focus-visible,.pilot-focus-add:focus-visible{outline-offset:2px;outline:2px solid #456a638c}.pilot-focus-add{width:fit-content;color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:4px 0;font-size:.84rem;font-weight:700}.pilot-focus-add:disabled{color:var(--muted);cursor:not-allowed;opacity:.58}.pilot-reasoning-toggle{border:1px solid var(--line);background:#ffffffb8;border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));min-height:42px;display:grid;overflow:hidden}.pilot-reasoning-toggle button{border:0;border-right:1px solid var(--line);color:var(--muted);font:inherit;text-transform:uppercase;cursor:pointer;background:0 0;font-size:.88rem;font-weight:700}.pilot-reasoning-toggle button:last-child{border-right:0}.pilot-reasoning-toggle button:hover{background:#874b2a14}.pilot-reasoning-toggle button[aria-pressed=true]{background:var(--accent);color:#fffaf4}.pilot-reasoning-toggle button:focus-visible{z-index:1;outline-offset:-3px;outline:2px solid #456a639e;position:relative}.pilot-submit-button{width:fit-content;min-height:46px;padding-inline:18px}.pilot-review-link{justify-content:center;align-items:center;width:fit-content;text-decoration:none;display:inline-flex}.cta-button,.review-ready-button{font-weight:700;box-shadow:0 10px 24px #6d2e1a2e}.pilot-action-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding-top:2px;display:flex}.workflow-mode-links{background:#fffcf78f;border:1px solid #6246272e;border-radius:999px;width:fit-content;margin-top:4px;display:inline-flex;overflow:hidden}.workflow-mode-links a,.workflow-mode-links span{color:var(--muted);letter-spacing:.035em;padding:8px 13px;font-size:.78rem;font-weight:800;text-decoration:none}.workflow-mode-links a:hover{color:var(--accent);background:#874b2a17}.workflow-mode-links [aria-current=page]{background:var(--ink);color:#fffaf4}.workflow-manager-shell{--workflow-card-bg:#fffcf7d6}.workflow-manager-masthead{background:linear-gradient(125deg, #fffcf7f2, #f1f6f1eb), var(--paper)}.workflow-manager-expiry{color:var(--muted);text-align:right;margin:-4px 0 0;font-size:.82rem;font-weight:650}.workflow-manager-workspace{grid-template-columns:minmax(0,1fr);gap:22px;display:grid}.workflow-composer-panel,.workflow-monitor-panel{overflow:hidden}.workflow-batch-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.workflow-batch-summary>div{background:#f7eee075;border:1px solid #62462724;border-radius:16px;gap:5px;min-width:0;padding:14px 15px;display:grid}.workflow-batch-summary span,.workflow-batch-metrics span{color:var(--muted);letter-spacing:.09em;text-transform:uppercase;font-size:.7rem;font-weight:800}.workflow-batch-summary strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:1.15rem;overflow:hidden}.workflow-import-toolbar{background:linear-gradient(135deg,#456a6314,#0000 58%),#fffcf78f;border:1px dashed #456a6361;border-radius:18px;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.workflow-import-toolbar p{color:var(--muted);margin:5px 0 0;font-size:.86rem}.workflow-import-actions{flex:none;align-items:center;gap:9px;display:flex}.workflow-sample-row{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:.78rem;font-weight:750;display:flex}.workflow-sample-row>span{letter-spacing:.07em;text-transform:uppercase;margin-right:3px}.workflow-sample-row button{color:var(--accent);font:inherit;cursor:pointer;background:#874b2a12;border:1px solid #874b2a33;border-radius:999px;padding:6px 10px}.workflow-sample-row button:hover:not(:disabled){background:#874b2a1f;border-color:#874b2a61}.workflow-sample-row button:disabled{cursor:not-allowed;opacity:.45}.workflow-draft-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.workflow-draft-card{background:linear-gradient(145deg,#fffcf7f5,#f7eee094);border:1px solid #6246272b;border-radius:20px;gap:13px;min-width:0;padding:16px;display:grid;box-shadow:0 9px 24px #3d2b1d0e}.workflow-draft-card-header,.workflow-draft-card-header>div,.workflow-batch-job-header,.workflow-batch-job-header>div{align-items:center;gap:11px;min-width:0;display:flex}.workflow-draft-card-header,.workflow-batch-job-header{justify-content:space-between}.workflow-draft-card-header>div>div,.workflow-batch-job-header>div>div{gap:3px;min-width:0;display:grid}.workflow-draft-card-header strong,.workflow-draft-card-header span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.workflow-draft-card-header>div>div>span{color:var(--muted);font-size:.78rem}.workflow-draft-number{width:34px;height:34px;color:var(--accepted);background:#456a631f;border-radius:11px;flex:none;place-items:center;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.73rem;font-weight:800;display:inline-grid}.workflow-draft-text{resize:vertical;min-height:185px;line-height:1.5}.workflow-draft-empty{min-height:190px}.workflow-cost-strip{background:#e2f1e985;border:1px solid #2f6c5538;border-radius:18px;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;display:flex}.workflow-cost-strip>div{gap:5px;display:grid}.workflow-cost-strip strong{color:var(--ink);font-size:.96rem}.workflow-monitor-toolbar{grid-template-columns:minmax(240px,1fr) minmax(180px,.28fr);gap:12px;padding:18px 22px 0;display:grid}.workflow-monitor-toolbar .text-box{border:1px solid var(--line);background:#fffcf7b8;border-radius:13px;min-height:44px}.workflow-batch-list{gap:16px;padding:20px;display:grid}.workflow-batch-card{background:var(--workflow-card-bg);border:1px solid #6246272b;border-left:4px solid #62462740;border-radius:20px;gap:16px;padding:20px;display:grid;box-shadow:0 12px 30px #3d2b1d0f}.workflow-batch-card.tone-accepted{border-left-color:var(--accepted)}.workflow-batch-card.tone-deferred{border-left-color:var(--deferred)}.workflow-batch-card.tone-manual{border-left-color:var(--manual)}.workflow-batch-card.tone-rejected{border-left-color:var(--rejected)}.workflow-batch-card-header{justify-content:space-between;align-items:start;gap:16px;display:flex}.workflow-batch-card-header h3{margin:5px 0 0;font-size:clamp(1.25rem,2vw,1.65rem)}.workflow-batch-card-header p{color:var(--muted);margin:7px 0 0;font-size:.84rem}.workflow-batch-metrics{background:#f7eee061;border:1px solid #62462721;border-radius:15px;grid-template-columns:repeat(5,minmax(0,1fr));display:grid;overflow:hidden}.workflow-batch-metrics>div{border-right:1px solid #6246271f;gap:3px;padding:12px 14px;display:grid}.workflow-batch-metrics>div:last-child{border-right:0}.workflow-batch-metrics strong{font-size:1.08rem}.workflow-batch-progress{gap:7px;display:grid}.workflow-batch-progress>div:first-child{color:var(--muted);justify-content:space-between;align-items:center;font-size:.78rem;font-weight:750;display:flex}.workflow-batch-progress>div:last-child{background:#6246271f;border-radius:999px;height:8px;overflow:hidden}.workflow-batch-progress>div:last-child span{border-radius:inherit;background:linear-gradient(90deg, var(--accepted), #6f938c);height:100%;transition:width .24s;display:block}.workflow-batch-actions,.workflow-batch-job-links{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.workflow-batch-chapters{background:#fffcf78c;border:1px solid #62462724;border-radius:16px;overflow:hidden}.workflow-batch-chapters>summary,.workflow-job-activity-disclosure>summary{color:var(--ink);cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;font-size:.84rem;font-weight:800;list-style:none;display:flex}.workflow-batch-chapters>summary::-webkit-details-marker{display:none}.workflow-job-activity-disclosure>summary::-webkit-details-marker{display:none}.workflow-batch-chapters>summary span:last-child,.workflow-job-activity-disclosure>summary{color:var(--accent)}.workflow-batch-job-list{border-top:1px solid #62462721;display:grid}.workflow-batch-job{border-bottom:1px solid #6246271f;gap:13px;min-width:0;padding:16px;display:grid}.workflow-batch-job:last-child{border-bottom:0}.workflow-batch-job-header h4{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1rem;overflow:hidden}.workflow-batch-job-header p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.77rem;overflow:hidden}.workflow-job-activity-disclosure{border-top:1px dashed #6246272e}.workflow-job-activity-disclosure>summary{justify-content:flex-start;padding:11px 0 0}.workflow-job-activity-disclosure[open]>summary{padding-bottom:11px}.pilot-empty-state{text-align:center;background:linear-gradient(135deg,#456a6314,#0000 52%),#fffcf794;border:1px dashed #62462747;border-radius:18px;align-content:center;justify-items:center;gap:8px;min-height:220px;padding:26px;display:grid}.pilot-empty-state strong{font-size:1.25rem}.pilot-empty-state p{max-width:28rem;color:var(--muted);margin:0}.pilot-job-activity{gap:14px;margin-top:2px;display:grid}.pilot-job-overview,.pilot-activity-panel,.pilot-milestone-rail{border:1px solid #62462729;border-radius:18px}.pilot-job-overview{background:radial-gradient(circle at 92% 0,#456a6326,#0000 38%),linear-gradient(135deg,#fffaf0f5,#f4ead7b8);gap:12px;padding:18px;display:grid}.pilot-job-activity.tone-complete .pilot-job-overview{background:radial-gradient(circle at 92% 0,#2f6c5533,#0000 38%),linear-gradient(135deg,#fffaf0f5,#e1efe6b3)}.pilot-job-activity.tone-error .pilot-job-overview{background:radial-gradient(circle at 92% 0,#87443d2b,#0000 38%),linear-gradient(135deg,#fffaf0f5,#f3e1dbb8)}.pilot-job-overview-header{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:18px;display:grid}.pilot-job-kicker{color:var(--accent);letter-spacing:.12em;text-transform:uppercase;font-family:SFMono-Regular,Menlo,monospace;font-size:.72rem;font-weight:800}.pilot-job-overview h4,.pilot-activity-heading h4{margin:5px 0 0}.pilot-job-overview h4{font-size:clamp(1.2rem,2vw,1.55rem)}.pilot-job-overview p{max-width:42rem;color:var(--muted);margin:7px 0 0;line-height:1.45}.pilot-job-progress-number{color:var(--accent);font-variant-numeric:tabular-nums;font-family:SFMono-Regular,Menlo,monospace;font-size:1.45rem}.pilot-job-progress-track{background:#231b1617;border-radius:999px;height:8px;overflow:hidden}.pilot-job-progress-track span{border-radius:inherit;background:linear-gradient(90deg, var(--accent), var(--medium));height:100%;transition:width .42s;display:block;box-shadow:0 0 18px #456a6340}.pilot-job-activity.tone-error .pilot-job-progress-track span{background:var(--rejected)}.pilot-job-progress-meta{color:var(--muted);justify-content:space-between;gap:12px;font-size:.78rem;font-weight:650;display:flex}.pilot-milestone-rail{background:#fffcf7b8;grid-template-columns:repeat(5,minmax(0,1fr));margin:0;padding:16px 10px 14px;list-style:none;display:grid;overflow:hidden}.pilot-milestone{text-align:center;grid-template-rows:auto 1fr;gap:9px;min-width:0;padding-inline:6px;display:grid;position:relative}.pilot-milestone:before{content:"";z-index:0;background:#62462726;width:100%;height:2px;position:absolute;top:14px;right:50%}.pilot-milestone:first-child:before{display:none}.pilot-milestone.state-complete:before,.pilot-milestone.state-active:before,.pilot-milestone.state-error:before{background:#2f6c557a}.pilot-milestone-marker{z-index:1;width:29px;height:29px;color:var(--muted);background:#fffaf0;border:1px solid #62462738;border-radius:50%;justify-self:center;place-items:center;font-family:SFMono-Regular,Menlo,monospace;font-size:.72rem;font-weight:800;display:inline-grid;position:relative}.pilot-milestone.state-complete .pilot-milestone-marker{border-color:var(--accepted);background:var(--accepted);color:#fffaf4}.pilot-milestone.state-active .pilot-milestone-marker{border-color:var(--accent);background:var(--accent);color:#fffaf4;box-shadow:0 0 0 5px #874b2a21}.pilot-milestone.state-error .pilot-milestone-marker{border-color:var(--rejected);background:var(--rejected);color:#fffaf4;box-shadow:0 0 0 5px #87443d21}.pilot-milestone-copy{align-content:start;gap:4px;min-width:0;display:grid}.pilot-milestone-copy strong{font-size:.82rem}.pilot-milestone-copy small{color:var(--muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:.69rem;line-height:1.35;display:none;overflow:hidden}.pilot-milestone.state-pending .pilot-milestone-copy{opacity:.58}.pilot-activity-panel{background:#fffcf7c7;overflow:hidden}.pilot-activity-heading{border-bottom:1px solid #62462724;justify-content:space-between;align-items:center;gap:14px;padding:15px 17px;display:flex}.pilot-live-indicator{color:var(--medium);letter-spacing:.06em;text-transform:uppercase;align-items:center;gap:7px;font-family:SFMono-Regular,Menlo,monospace;font-size:.72rem;font-weight:800;display:inline-flex}.pilot-live-indicator.tone-complete{color:var(--accepted)}.pilot-live-indicator.tone-error{color:var(--rejected)}.pilot-live-indicator.tone-waiting,.pilot-live-indicator.tone-neutral{color:var(--deferred)}.pilot-live-dot{background:currentColor;border-radius:50%;width:8px;height:8px}.pilot-live-indicator.tone-active .pilot-live-dot{animation:1.8s ease-out infinite pilot-live-pulse}.pilot-activity-list{margin:0;padding:0 17px;list-style:none;display:grid}.pilot-activity-item{border-top:1px solid #6246271f;grid-template-columns:10px minmax(0,1fr) auto;align-items:start;gap:11px;padding:13px 0;display:grid}.pilot-activity-item:first-child{border-top:0}.pilot-activity-marker{width:8px;height:8px;color:var(--low);border:2px solid;border-radius:50%;margin-top:6px}.pilot-activity-item.tone-active .pilot-activity-marker{color:var(--accent);background:currentColor}.pilot-activity-item.tone-complete .pilot-activity-marker{color:var(--accepted);background:currentColor}.pilot-activity-item.tone-error .pilot-activity-marker{color:var(--rejected);background:currentColor}.pilot-activity-item.tone-waiting .pilot-activity-marker{color:var(--deferred)}.pilot-activity-copy{gap:3px;min-width:0;display:grid}.pilot-activity-copy strong{font-size:.88rem}.pilot-activity-copy span,.pilot-activity-item time{color:var(--muted);font-size:.76rem;line-height:1.4}.pilot-activity-item time{white-space:nowrap;font-variant-numeric:tabular-nums;font-family:SFMono-Regular,Menlo,monospace}@keyframes pilot-live-pulse{0%{box-shadow:0 0}70%,to{box-shadow:0 0 0 7px #0000}}@media (prefers-reduced-motion:reduce){.pilot-job-progress-track span{transition:none}.pilot-live-indicator.tone-active .pilot-live-dot{animation:none}}.primary-button:disabled,.neutral-button:disabled,.danger-button:disabled,.link-button:disabled{cursor:not-allowed;opacity:.56;box-shadow:none}.pending-review-banner{justify-content:space-between;align-items:center;gap:14px;margin:0 0 18px;display:flex}.pending-review-banner.ready{background:#2f6c551f}.pending-review-banner strong,.pending-review-banner span{display:block}.pending-review-banner span{color:var(--muted);margin-top:4px}.control-group,.config-summary,.artifact-list{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.control-field{gap:6px;min-width:160px;display:grid}.toggle-row{color:var(--ink);align-items:center;gap:8px;display:inline-flex}.dashboard-workspace{grid-template-columns:minmax(420px,1.2fr) minmax(320px,.9fr);gap:18px;display:grid}.panel{border:1px solid var(--line);background:var(--paper);min-height:72vh;box-shadow:var(--shadow);border-radius:24px;overflow:hidden}.panel-header{justify-content:space-between;align-items:start;gap:12px;padding:18px 20px 0;display:flex}.panel-header .header-badges{margin:12px}.panel-header p,.panel-header h2{margin:12px 0}.source-panel-header{z-index:10;flex-wrap:wrap;align-items:center;position:relative;overflow:visible}.source-text,.detail-stack{padding:18px}.source-panel-body{z-index:0;min-height:calc(72vh - 78px);padding:18px;display:flex;position:relative;overflow:hidden}.source-panel-stage{flex:1;grid-template-rows:auto minmax(0,1fr);gap:0;min-height:0;display:grid}.source-empty-state{align-content:start;gap:16px;min-height:0;padding:18px;display:grid}.source-empty-preview{border:1px solid var(--line);white-space:pre-wrap;background:#fffaf0d1;border-radius:18px;margin:0;padding:16px;line-height:1.6}.source-text{white-space:normal;scrollbar-gutter:stable;min-height:0;max-height:calc(72vh - 196px);padding:0;line-height:1.68;position:relative;overflow:auto}.source-focus-summary{color:var(--muted);background:#456a6312;border:1px solid #456a6333;border-radius:12px;flex-wrap:wrap;align-items:center;gap:7px 14px;margin:0 0 10px;padding:9px 12px;font-size:.78rem;line-height:1.35;display:flex}.source-focus-summary strong{color:var(--ink);font-weight:650}.source-focus-id{background:var(--ink);min-height:24px;color:var(--paper);letter-spacing:.01em;border-radius:999px;align-items:center;padding:2px 8px;font-family:SFMono-Regular,Menlo,monospace;font-size:.72rem;display:inline-flex}.source-annotation-stage{--source-rail-lanes:1;grid-template-columns:calc(68px + (var(--source-rail-lanes) * 11px)) minmax(0, 1fr);min-height:100%;display:grid;position:relative}.source-annotation-gutter{background:linear-gradient(90deg,#0000,#62462706);border-right:1px solid #6246271a;grid-area:1/1;min-height:100%;position:relative}.source-rail-layer{pointer-events:none;position:absolute;inset:0}.source-copy{white-space:pre-wrap;overflow-wrap:anywhere;grid-area:1/2;min-width:0;padding:18px 18px 48px 16px}.finding-rail{--finding-lane:0;--finding-color:var(--low);left:calc(68px + (var(--finding-lane) * 11px));z-index:2;border:0;border-left:2px solid color-mix(in srgb, var(--finding-color) 58%, transparent);width:10px;min-height:18px;color:var(--finding-color);cursor:pointer;opacity:.68;pointer-events:auto;border-radius:0;padding:0;transition:border-color .14s,opacity .14s,filter .14s;position:absolute;background:0 0!important}.finding-rail.severity-high{--finding-color:var(--high)}.finding-rail.severity-medium{--finding-color:var(--medium)}.finding-rail.severity-low{--finding-color:var(--low)}.finding-rail:before,.finding-rail:after{content:"";opacity:.78;border-top:2px solid;width:9px;position:absolute;left:-2px}.finding-rail:before{top:0}.finding-rail:after{bottom:0}.finding-rail:hover,.finding-rail:focus-visible,.finding-rail.preview{z-index:5;opacity:1;filter:none;border-left-width:3px;outline:none}.finding-rail.active{z-index:6;border-left-width:3px;border-left-color:var(--finding-color);opacity:1}.finding-rail.muted:not(:hover):not(:focus-visible):not(.preview){opacity:.36}.finding-rail.overflow-lane{border-left-style:dashed}.finding-rail-label{border:1px solid color-mix(in srgb, var(--finding-color) 22%, var(--paper));background:color-mix(in srgb, var(--paper) 94%, transparent);max-width:62px;color:var(--finding-color);text-align:right;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border-radius:5px;padding:2px 5px;font-family:SFMono-Regular,Menlo,monospace;font-size:.58rem;font-weight:700;line-height:1.15;display:block;position:absolute;top:-7px;right:8px;overflow:hidden;box-shadow:0 2px 7px #231b1614}.finding-rail.active .finding-rail-label,.finding-rail.preview .finding-rail-label,.finding-rail:hover .finding-rail-label,.finding-rail:focus-visible .finding-rail-label{background:var(--paper);max-width:92px;color:var(--ink);box-shadow:0 5px 14px #231b1624}.finding-rail-overflow{z-index:9;background:var(--paper);color:var(--muted);cursor:pointer;pointer-events:auto;border:1px solid #62462733;border-radius:999px;margin:8px 0 0 7px;padding:3px 6px;font-family:SFMono-Regular,Menlo,monospace;font-size:.58rem;display:inline-flex;position:sticky;top:8px}.finding-stack-popover{z-index:20;background:color-mix(in srgb, var(--paper) 97%, white);border:1px solid #62462733;border-radius:12px;gap:8px;width:min(260px,100% - 16px);padding:10px;display:grid;position:absolute;box-shadow:0 14px 30px #231b162e}.finding-stack-count{color:var(--ink);font-size:.78rem;font-weight:700}.finding-stack-actions{flex-wrap:wrap;gap:6px;display:flex}.finding-stack-actions button{cursor:pointer;border:1px solid #0000;border-radius:999px;padding:5px 8px;font-family:SFMono-Regular,Menlo,monospace;font-size:.68rem;font-weight:700}.finding-stack-actions button:hover,.finding-stack-actions button:focus-visible,.finding-stack-actions button.active{border-color:currentColor;outline:none}.finding-stack-hint{color:var(--muted);letter-spacing:.03em;text-transform:uppercase;font-size:.64rem}.source-toolbar-shell{opacity:1;flex:1;justify-content:flex-end;min-width:0;max-width:min(100%,820px);transition:opacity .16s,transform .16s,max-width .16s,margin .16s;display:flex;transform:translateY(0)}.source-toolbar-shell.collapsed{opacity:0;pointer-events:none;flex:0 1 0;max-width:0;overflow:hidden;transform:translateY(-8px)}.source-info-bar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:14px;min-width:0;display:flex}.source-file-path{color:var(--muted);cursor:help;white-space:nowrap;text-overflow:ellipsis;max-width:240px;margin:0;font-size:.9rem;font-weight:600;overflow:hidden}.source-info-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.source-copy-control{z-index:4;position:relative}.source-copy-button{border:1px solid var(--line);width:36px;height:36px;color:var(--accent);cursor:pointer;background:#fffcf7eb;border-radius:999px;place-items:center;display:inline-grid}.source-copy-button:hover:not(:disabled),.source-copy-button:focus-visible,.source-copy-button.copied{color:var(--accepted);background:#456a6321;border-color:#456a635c}.source-copy-button:disabled{cursor:not-allowed;opacity:.52}.source-copy-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.source-help{z-index:3;position:relative}.source-help-button{border:1px solid var(--line);width:36px;height:36px;color:var(--accent);cursor:pointer;background:#fffcf7eb;border-radius:999px;font-weight:700}.source-help-button.active{background:#874b2a24}.source-help-tooltip{z-index:5;border:1px solid var(--line);width:min(320px,100vw - 64px);color:var(--ink);text-wrap:pretty;background:#fffaf3fa;border-radius:14px;padding:12px 14px;font-size:.92rem;line-height:1.5;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 16px 28px #231b161f}.source-copy-tooltip{z-index:6;width:min(340px,100vw - 64px);color:var(--ink);text-wrap:pretty;background:#f9fdf7fa;border:1px solid #456a6347;border-radius:14px;padding:12px 14px;font-size:.92rem;line-height:1.5;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 16px 28px #231b161f}.source-copy .source-hit{color:inherit;cursor:pointer;-webkit-box-decoration-break:clone;box-decoration-break:clone;background:0 0;border:0;border-radius:2px;margin:0;padding:0;transition:background-color .14s,box-shadow .14s,opacity .14s;display:inline;position:relative;box-shadow:inset 0 -1px #874b2a42}.source-copy .source-hit:hover,.queue-item:hover{filter:brightness(.99)}.source-copy .source-hit.source-hit-overlap{background:0 0;box-shadow:inset 0 -1px #655b91c2,inset 0 -4px #874b2a57}.source-copy .source-hit.source-hit-overlap:hover,.source-copy .source-hit.source-hit-overlap.preview{background:#655b9112}.source-copy .source-hit.active{background:#874b2a1f;outline:0;box-shadow:inset 0 -2px #874b2aa8}.source-copy .source-hit.active.source-hit-overlap{box-shadow:inset 0 -2px #655b91d1,inset 0 -5px #874b2a80}.source-copy .source-hit[role=button]:focus-visible{outline-offset:2px;outline:2px solid #456a63b8}.source-copy .source-hit.preview:not(.active){background:#456a6317;box-shadow:inset 0 -2px #456a6399}.source-copy .source-hit.muted:not(.active):not(.preview){background:0 0;box-shadow:inset 0 -1px #7c76652e}.source-copy .manual-source-hit{background:#6a4f882e;box-shadow:inset 0 -1px #6a4f8840}.hit-count{color:#fff;background:#231b16b3;border-radius:999px;margin-left:6px;padding:0 6px;font-size:.72rem;display:inline-flex}.detail-stack{align-content:start;gap:18px;max-height:calc(72vh - 78px);display:grid;overflow:auto}.detail-title{overflow-wrap:anywhere;min-width:0;padding-bottom:4px}.detail-tabs,.tab-panel-stack{gap:14px;display:grid}.detail-tabs{min-width:0;margin-top:2px}.detail-tablist{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:end;gap:8px;padding:0 4px;display:flex}.detail-tab{text-align:left;min-width:0;color:var(--ink);background:#f7eee0b8;border:1px solid #6246272e;border-bottom:0;border-radius:16px 16px 0 0;gap:4px;padding:12px 16px 10px;transition:border-color .14s,background-color .14s,box-shadow .14s;display:grid;transform:translateY(1px)}.detail-tab.active{background:linear-gradient(#fffaf3fc,#fffcf7f5);border-color:#874b2a6b;box-shadow:0 -4px 12px #231b160d}.detail-tab-label{font-size:.95rem;font-weight:600}.detail-tab-meta{text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-size:.72rem}.detail-tab-panel{border:1px solid var(--line);background:#fffcf7b8;border-radius:0 20px 20px;padding:16px}.detail-title p,.candidate-text,.note-card p,.queue-item p,.context-card pre,.diff-preview,.raw-json,.diagnostic-card pre,.build-result pre{margin:0}.context-card,.candidate-card,.diagnostic-card,.summary-pill,.chapter-card,.job-card{border:1px solid var(--line);background:#fffcf7e6;border-radius:18px}.context-card,.diagnostic-card,.build-result{padding:16px}.decision-row,.field-label-row,.queue-actions,.candidate-header,.queue-item-header,.header-badges,.review-data-actions,.build-panel{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.queue-item-header{padding-bottom:12px}.field-stack{gap:8px;display:grid}.source-mode-toggle{border:1px solid var(--line);background:#fffcf7e6;border-radius:999px;padding:4px;display:inline-flex}.source-mode-button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:8px 14px}.source-mode-button.active{color:var(--accent);background:#874b2a24}.source-panel-note{color:var(--muted);margin:0;font-size:.95rem}.text-box{resize:vertical;min-height:110px;padding:12px}.candidate-card{gap:12px;padding:16px;display:grid}.candidate-card.selected{border-color:#2f6c5573;box-shadow:inset 0 0 0 1px #2f6c554d}.candidate-note{font-size:.95rem}.candidate-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1rem;line-height:1.55}.source-context-bracket{color:var(--muted);font-weight:700}.source-context-target{color:inherit;background:#b4512e2e;border-radius:8px;padding:0 3px;box-shadow:inset 0 -1px #b4512e47}.diff-preview,.raw-json,.diagnostic-card pre,.build-result pre,.context-card pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f0e1;border-radius:14px;padding:14px;font-family:SFMono-Regular,Menlo,monospace;font-size:.88rem}.diff-insert{background:#2f6c5538}.diff-delete{background:#87443d2e;text-decoration:line-through}.primary-button,.neutral-button,.danger-button,.link-button,.queue-item{cursor:pointer;border-radius:14px}.primary-button,.neutral-button,.danger-button,.link-button{border:1px solid #0000;padding:10px 14px}.primary-button{color:#fff7f0;background:linear-gradient(135deg,#8a4d2d 0%,#6d2e1a 100%)}.neutral-button{border-color:var(--line);color:var(--ink);background:#efe5d0cc}.danger-button{color:#7a332e;background:#87443d1f;border-color:#87443d61;font-weight:700}.danger-button:hover:not(:disabled){background:#87443d2e}.link-button{color:var(--accent);background:0 0;border-color:#62462740}.queue-panel{grid-template-rows:auto auto minmax(0,1fr);min-height:0;max-height:70vh;margin-bottom:18px;display:grid}.queue-panel-body{grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0;display:grid}.queue-panel-content{min-height:0;padding:0 20px;display:grid}.navigator-tabbar{z-index:1;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px;padding:14px 20px 16px;display:flex;position:relative;overflow:visible}.navigator-tablist,.navigator-status-strip{flex-wrap:wrap;align-items:flex-start;gap:10px;display:flex;overflow:visible}.navigator-status-strip{margin-left:auto}.navigator-tab,.navigator-status-chip{border:1px solid var(--line);color:var(--ink);background:#fffcf7d6;border-radius:999px;align-self:flex-start;align-items:center;gap:10px;padding:11px 14px;line-height:1;display:inline-flex}.navigator-tab{cursor:pointer}.navigator-tab.active{background:#f7eee0fa;border-color:#874b2a66;box-shadow:inset 0 0 0 1px #874b2a2e}.navigator-tab-label{font-weight:600}.navigator-status-chip{cursor:default}.navigator-tab-panel{min-height:0;overflow:auto}.queue-navigator-panel{max-height:90vh;padding-right:0;overflow:hidden}.queue-tab-layout{grid-template-columns:minmax(420px,1.2fr) minmax(280px,.8fr);gap:16px;height:100%;min-height:0;display:grid}.queue-panel-footer{border-top:1px solid var(--line);background:#faf3e7f5;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:18px;display:flex;box-shadow:0 -8px 24px #231b160a}.queue-chart-card{justify-content:center;align-items:center;min-height:0;padding:16px 12px;display:flex;overflow:hidden}.queue-browser{grid-template-columns:18px minmax(0,1fr);gap:14px;min-height:0;display:grid}.queue-scrub-rail{touch-action:none;background:#efe5d094;border:1px solid #62462724;border-radius:999px;min-height:0;position:relative}.queue-scrub-track{background:linear-gradient(#874b2a29,#456a6333);width:2px;position:absolute;top:12px;bottom:12px;left:50%;transform:translate(-50%)}.queue-scrub-marker{cursor:pointer;border:2px solid #fffcf7f2;border-radius:999px;width:12px;height:12px;padding:0;transition:transform .14s,box-shadow .14s,filter .14s;position:absolute;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #62462724}.queue-scrub-marker:hover,.queue-scrub-marker:focus-visible,.queue-scrub-marker.preview{filter:brightness(1.04);outline:none;transform:translate(-50%,-50%)scale(1.18)}.queue-scrub-marker.active{box-shadow:0 0 0 2px #231b1629,0 0 0 4px #874b2a2e}.queue-scrub-marker.unreviewed{background:#7c7665d1}.queue-scrub-marker.accepted{background:#2f6c55d1}.queue-scrub-marker.rejected{background:#87443dd1}.queue-scrub-marker.deferred{background:#8a6b2dd1}.queue-scrub-marker.manual{background:#6a4f88d1}.queue-chart-stage{justify-content:center;align-items:center;min-height:100%;display:flex}.queue-nightingale-chart{justify-self:center;width:min(60vh,440px);height:auto;overflow:visible}.queue-list-pane{min-height:100%;padding-right:6px;overflow:auto}.queue-chart-core{fill:#fffaf3f2;stroke:#6246271f;stroke-width:1.5px}.queue-chart-core-label{fill:var(--ink);font-size:1.3rem;font-weight:700}.queue-chart-core-copy{fill:var(--muted);letter-spacing:.14em;text-transform:uppercase;font-size:.72rem}.queue-chart-segment{cursor:pointer;stroke:#fffcf7eb;stroke-width:2.2px;opacity:.9;transition:opacity .14s,filter .14s,stroke-width .14s,transform .14s}.queue-chart-segment:hover,.queue-chart-segment:focus-visible,.queue-chart-segment.preview{filter:brightness(1.06);stroke-width:3px;opacity:1;outline:none}.queue-chart-segment.active{stroke:#231b16d1;stroke-width:3.6px;filter:drop-shadow(0 8px 14px #231b1624);opacity:1}.queue-list-detailed{gap:14px}.queue-item-detailed{gap:12px;padding:16px;display:grid}.queue-item-detailed.preview{border-color:#456a6357;box-shadow:inset 0 0 0 1px #456a6324}.queue-item-line-label{color:var(--ink);font-size:.96rem}.queue-item-detailed .queue-tags{justify-content:flex-start;padding-top:0}.queue-item-detailed .queue-item-description{color:var(--ink);-webkit-line-clamp:4;line-height:1.45}.queue-item-excerpt{-webkit-line-clamp:3;color:var(--muted);background:#f7eee099;border-radius:14px;-webkit-box-orient:vertical;padding:12px 14px;font-family:SFMono-Regular,Menlo,monospace;font-size:.83rem;line-height:1.45;display:-webkit-box;overflow:hidden}.queue-panel-footer .queue-actions{justify-content:flex-start;width:100%}.review-artifacts-button{white-space:nowrap}.queue-action-spacer{flex:auto;min-width:8px}.workspace-footer-note{color:var(--muted);margin:0;font-size:.8rem;line-height:1.35}.manual-patch-section{gap:10px;display:grid}.manual-patch-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.manual-patch-header h3,.manual-drawer-header h3{margin:0}.manual-patch-header p{color:var(--muted);margin:0}.manual-patch-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.manual-patch-item{text-align:left;border:1px solid var(--line);cursor:pointer;background:#fffcf7e6;border-radius:16px;width:100%;padding:12px 14px}.manual-patch-item.active{border-color:#6a4f8873;box-shadow:inset 0 0 0 1px #6a4f8840}.manual-patch-item p{color:var(--muted);margin:0}.manual-patch-item-compact p{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.manual-drawer{background:#fff8f2fa;border:1px solid #6246273d;border-radius:22px;gap:14px;width:min(100%,760px);max-height:min(100%,38rem);padding:20px;display:grid;overflow:auto;box-shadow:0 24px 48px #231b1629}.manual-drawer-inline{width:100%;max-height:none;box-shadow:none;background:#fffcf7eb}.manual-patch-stack{gap:0}.dashboard-panel-body{min-height:calc(72vh - 78px);padding:18px;overflow:auto}.chapter-grid,.job-list{gap:14px;display:grid}.chapter-card,.job-card{gap:12px;padding:18px;display:grid}.chapter-card-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.chapter-select{align-items:center;gap:10px;font-weight:600;display:inline-flex}.chapter-path,.chapter-summary{color:var(--muted);margin:0}.chapter-meta{flex-wrap:wrap;gap:8px;display:flex}.job-log{white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f0e1;border-radius:14px;max-height:220px;margin:0;padding:14px;font-family:SFMono-Regular,Menlo,monospace;font-size:.88rem;overflow:auto}.job-timeline{gap:8px;margin:0;padding:0;list-style:none;display:grid}.job-timeline li{border-top:1px solid var(--line);grid-template-columns:minmax(150px,.8fr) minmax(120px,.6fr) minmax(160px,1fr);align-items:baseline;gap:10px;padding:8px 0;font-size:.86rem;display:grid}.job-timeline span,.job-timeline em,.artifact-path{color:var(--muted)}.job-timeline em,.artifact-path{overflow-wrap:anywhere}.breadcrumb-button{margin-bottom:10px}.manual-drawer-header{justify-content:space-between;align-items:start;gap:12px;display:flex}.manual-drawer-header p{margin:0 0 4px}.manual-selection-preview{white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f0e1;border-radius:14px;margin:0;padding:14px;font-family:SFMono-Regular,Menlo,monospace;font-size:.88rem}.passage-revision-panel{background:#edf6f2b8;border:1px solid #456a6347;border-radius:16px;gap:12px;padding:14px;display:grid}.passage-candidate-list{gap:12px;display:grid}.passage-candidate-text{white-space:pre-wrap}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.summary-grid-compact .summary-pill{padding:12px}.summary-pill{gap:4px;padding:14px;display:grid}.summary-pill strong{font-size:1.4rem}.queue-list{grid-template-columns:1fr;gap:12px;margin:0;padding:0;list-style:none;display:grid}.queue-item{text-align:left;border:1px solid var(--line);background:#fffcf7e6;width:100%;height:100%;padding:14px}.queue-item.active{border-color:#874b2a73;box-shadow:inset 0 0 0 1px #874b2a3d}.queue-item-compact{padding:12px}.queue-item-description{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.patch-plan-card{gap:14px;display:grid}.build-result-compact{gap:10px;display:grid}.review-shell .queue-panel{margin:0}.review-shell .workspace{flex:1;align-items:start;min-height:0}.review-shell .workspace .panel{min-height:0}.review-shell .source-panel,.review-shell .detail-panel{flex-direction:column;min-height:0;display:flex}.review-shell .source-panel{align-self:stretch;height:100%}.review-shell .detail-panel{align-self:start;height:auto;max-height:clamp(34rem,100vh,70rem);position:sticky;top:20px}.review-shell .source-panel-body,.review-shell .detail-stack{flex:1;min-height:0}.review-shell .source-text,.review-shell .detail-stack{max-height:none}.review-shell .detail-panel>.link-button{align-self:flex-start;margin:0 18px 18px}@media (width<=900px){.wotzit-bridge{grid-template-columns:max-content 1fr;gap:10px}.wotzit-bridge-ornament{display:none}.wotzit-bridge-back{font-size:.82rem}.queue-panel-footer{gap:14px}.navigator-tab-panel{max-height:220px}.source-toolbar-shell{max-width:100%}.source-info-bar{align-items:start}.navigator-status-strip{width:100%;margin-left:0}.queue-panel-footer .queue-actions>.primary-button{margin-right:0}.source-info-actions{justify-content:space-between;width:auto}.dashboard-workspace,.job-timeline li,.workflow-draft-list{grid-template-columns:1fr}.workflow-batch-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-batch-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.workflow-batch-metrics>div{border-bottom:1px solid #6246271f}}.badge{background:#231b1614;border-radius:999px;align-items:center;gap:6px;padding:5px 10px;font-size:.76rem;display:inline-flex}.neutral{background:#231b1614}.accent{color:var(--accent);background:#874b2a29}.accepted{color:var(--accepted);background:#2f6c5529}.rejected{color:var(--rejected);background:#87443d29}.deferred{color:var(--deferred);background:#8a6b2d2e}.manual{color:var(--manual);background:#6a4f882e}.unreviewed{color:var(--low);background:#7c766529}.severity-high{color:var(--high);background:#b4512e2b}.severity-medium{color:var(--medium);background:#456a632e}.severity-low{color:var(--low);background:#7c76652e}.status-banner{border:1px solid var(--line);background:#fffcf7e0;border-radius:18px;padding:14px 18px}.status-banner.error{color:var(--rejected);background:#87443d1f}.status-banner.success{color:var(--accepted);background:#2f6c551f}.progress-track{background:#231b1614;border-radius:999px;width:220px;height:10px;overflow:hidden}.progress-fill{border-radius:inherit;background:linear-gradient(90deg,#8a4d2d 0%,#456a63 100%);height:100%}@media (width<=1200px){.workspace{grid-template-columns:1fr}.pilot-masthead{flex-direction:column;align-items:stretch}.pilot-grant-card-header{justify-content:flex-start}.pilot-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-workspace,.quick-start-panel,.quick-start-controls,.pilot-param-grid{grid-template-columns:1fr}.pending-review-banner{flex-direction:column;align-items:stretch}.import-mode-badge-strip{justify-content:flex-start}.panel{min-height:auto}.source-text,.detail-stack{max-height:none}.queue-list{grid-template-columns:1fr;max-height:none}.queue-tab-layout{grid-template-columns:1fr;height:auto}.queue-navigator-panel{max-height:none;overflow:visible}.queue-list-pane{max-height:260px}.queue-browser{min-height:320px}.dashboard-panel-body{min-height:auto}.global-notes-card{margin-bottom:16px}.review-shell{min-height:auto}.review-masthead-top{align-items:start}.review-shell .workspace{flex:initial}.review-shell .detail-panel{max-height:none;position:static}}@media (width<=700px){.app-shell{--shell-pad-x:14px;--shell-pad-bottom:14px}.pilot-shell{--shell-pad-x:14px;--shell-pad-bottom:14px;padding:0 var(--shell-pad-x) var(--shell-pad-bottom)}.pilot-masthead{border-radius:22px;padding:22px}.pilot-hero-copy h1{max-width:100%;font-size:2.25rem}.pilot-stat-grid,.pilot-draft-strip{grid-template-columns:1fr}.pilot-stat{grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:0;padding:12px 14px}.pilot-stat strong{text-align:right;order:2}.pilot-stat span{order:1}.pilot-panel .panel-header,.pilot-action-row{flex-direction:column;align-items:stretch}.pilot-panel .panel-header .badge{width:fit-content}.pilot-file-row,.pilot-sample-grid{grid-template-columns:1fr}.pilot-sample-picker-heading{flex-direction:column;align-items:stretch}.pilot-sample-picker-heading .badge{width:fit-content}.pilot-submit-button,.pilot-review-link{width:100%}.pilot-job-overview-header{grid-template-columns:minmax(0,1fr);gap:10px}.pilot-job-progress-number{font-size:1.1rem}.pilot-job-progress-meta{flex-direction:column;align-items:flex-start;gap:4px}.pilot-milestone-rail{grid-template-columns:1fr;gap:0;padding:8px 14px}.pilot-milestone{text-align:left;grid-template-rows:auto;grid-template-columns:29px minmax(0,1fr);align-items:start;gap:12px;padding:8px 0}.pilot-milestone:before{width:2px;height:100%;top:-50%;left:14px;right:auto}.pilot-milestone-marker{justify-self:start}.pilot-milestone-copy small{-webkit-line-clamp:2;display:-webkit-box}.pilot-activity-heading{align-items:flex-start}.pilot-activity-item{grid-template-columns:10px minmax(0,1fr)}.pilot-activity-item time{grid-column:2}.workflow-manager-expiry{text-align:left}.workflow-mode-links{width:100%}.workflow-mode-links a,.workflow-mode-links span{text-align:center;flex:1}.workflow-batch-summary,.workflow-monitor-toolbar{grid-template-columns:1fr}.workflow-import-toolbar,.workflow-cost-strip,.workflow-batch-card-header,.workflow-batch-job-header,.workflow-import-actions,.workflow-batch-actions,.workflow-batch-job-links{flex-direction:column;align-items:stretch}.workflow-import-actions>*,.workflow-batch-actions>*,.workflow-batch-job-links>*{width:100%}.workflow-batch-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-batch-metrics>div{border-right:0}.workflow-draft-card,.workflow-batch-card{padding:15px}.queue-browser{grid-template-columns:16px minmax(0,1fr);min-height:280px}.global-notes-card{padding:16px}.note-strip{grid-template-columns:1fr}.note-strip-compact{gap:12px}.navigator-tab{justify-content:space-between;width:100%}.navigator-status-strip{gap:8px}.navigator-tab-panel{max-height:200px}.queue-tab-layout{gap:14px}.source-panel-header{gap:10px}.source-info-actions{justify-content:flex-end;gap:8px;width:100%}.source-mode-toggle{justify-content:flex-start;width:auto}.source-help{margin-left:auto}.source-file-path{max-width:140px}}
