:root{--bg:#f4f5f1;--paper:#fff;--ink:#172c30;--muted:#657779;--line:#dfe6df;--nav:#132d30;--accent:#bce8a5;--accent-strong:#255c36;--danger:#a72d36;--radius:19px;--shadow:0 10px 30px #12303006;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:15px;line-height:1.6}*{box-sizing:border-box}body{margin:0}a{color:#225f51;text-decoration:none}a:hover{text-decoration:underline}button,input,textarea,select{font:inherit}button,a,input,select,textarea,summary{outline-offset:4px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #609b43}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2rem,3.2vw,3.1rem);line-height:1.13;letter-spacing:-.045em;font-weight:640;margin:10px 0 16px}h2{font-size:1.25rem;letter-spacing:-.025em;line-height:1.35;margin-bottom:13px}h3{font-size:1rem;line-height:1.35}p{margin-bottom:16px}small,.muted{color:var(--muted);font-size:.84rem}small{display:block}code,pre{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}code{font-size:.86em;overflow-wrap:anywhere}pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0}.technical{padding:16px;background:#f1f4f0;border-radius:10px;font-size:.76rem;max-height:560px;overflow:auto;color:#43575a}.technical:empty{display:none}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;padding:28px 20px 22px;background:var(--nav);color:#e8f2ec;display:flex;flex-direction:column;z-index:10;overflow-y:auto}.brand{display:flex;gap:12px;align-items:center;font-size:2rem;font-weight:630;letter-spacing:-.05em;color:inherit;line-height:1.1;margin-bottom:39px}.brand:hover{text-decoration:none}.brand small{font-size:.57rem;letter-spacing:.15em;font-weight:600;margin-top:6px;color:inherit;opacity:.7}.brand-mark{font-size:2.25rem;font-weight:550;display:inline-grid;place-items:center;width:48px;height:48px;background:var(--accent);color:var(--nav);border-radius:14px;line-height:1;padding-bottom:7px;flex:0 0 auto}.nav-label{font-size:.6rem;letter-spacing:.14em;color:#99b5af;margin:19px 11px 9px}.sidebar nav a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:10px;color:#c9d9d3;font-size:.87rem;margin:4px 0;text-decoration:none}.sidebar nav a span{width:18px;font-size:1.18rem;line-height:1}.sidebar nav a:hover{background:#ffffff0b;color:white}.sidebar nav a[aria-current=page]{background:#27483f;color:#daf4c8}.sidebar-footer{margin-top:auto;padding:26px 12px 0;font-size:.85rem}.sidebar-footer small{color:#9bb8b1;margin:3px 0}.link-button{border:0;background:none;color:#d1e9bd;padding:8px 0;font-size:.85rem}.main{max-width:1550px;margin-left:246px;padding:0 44px 32px}.guest .main{margin:0 auto;max-width:950px;padding:0 30px}.topbar{height:87px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:16px;margin-bottom:32px}.eyebrow{font-size:.63rem;letter-spacing:.18em;font-weight:700;text-transform:uppercase;color:var(--muted)}.page-heading{margin:26px 0}.page-heading p{color:var(--muted);max-width:830px}.pill{display:inline-block;border:1px solid var(--line);border-radius:100px;padding:5px 11px;font-size:.71rem;white-space:nowrap;background:#ffffff73;line-height:1.4}.pill.accent{background:#e5f4dc;border-color:#cae3bd;color:var(--accent-strong)}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:27px;margin:22px 0;box-shadow:var(--shadow);min-width:0}.hero-panel{background:#e2ecd9;border:1px solid #d4e4c8;border-radius:var(--radius);padding:28px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0}.hero-panel h2{font-size:1.5rem;margin:10px 0}.hero-panel p{margin:0;color:#57714e}.button,button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;border:1px solid #cad7cb;border-radius:9px;padding:10px 15px;background:#fff;color:var(--ink);font-size:.86rem;font-weight:580;line-height:1.3;text-decoration:none;transition:background .15s,transform .15s}.button:hover,button:hover{background:#edf3e9;text-decoration:none}.primary{background:var(--nav);color:#fff;border-color:var(--nav)}.primary:hover{background:#2b4b43;color:white}.danger{color:var(--danger);border-color:#e3bec0;background:#fff5f4}.danger:hover{background:#f9e1df}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:24px 0}.metric{padding:21px 22px;background:var(--paper);border:1px solid var(--line);border-radius:14px;min-width:0}.metric>span{font-size:.75rem;color:var(--muted)}.metric strong{display:block;font-size:clamp(1.5rem,2.3vw,2.15rem);letter-spacing:-.045em;line-height:1.15;margin:10px 0;overflow-wrap:anywhere}.metric small{font-size:.7rem}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.two-columns>.card{margin-top:0}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;padding-top:14px}.steps b{display:grid;place-items:center;background:#eef5e8;border:1px solid #dce9d2;border-radius:10px;color:var(--accent-strong);height:37px;width:37px;font-size:.8rem;margin-bottom:14px}.steps p{font-size:.81rem;color:var(--muted);margin:0}.section-top{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.section-top>a{font-size:.83rem;white-space:nowrap}.section-top h2{margin-bottom:10px}.section-top p{font-size:.88rem;color:var(--muted)}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}.actions form{margin:0}.footer{font-size:.7rem;color:#859391;padding:28px 0 0}.card-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.card-grid .card{margin:0}.base-card h2{margin-top:17px}.base-card .button{margin-top:19px}.base-card .section-top{align-items:center}.empty{grid-column:1/-1;padding:55px;text-align:center}.inline-form{display:flex;align-items:end;gap:15px;flex-wrap:wrap}.inline-form label{flex:1;min-width:160px}.inline-form label.check{min-width:0;flex:0 0 auto}.inline-form>button{margin-bottom:16px}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:23px 0}.filters input{min-width:140px;flex:1}.filters select{width:auto;min-width:120px;max-width:330px}.table-wrap{overflow:auto;width:100%;border-radius:10px}table{width:100%;border-collapse:collapse;font-size:.8rem;text-align:left}th{font-weight:600;color:var(--muted);background:#f7f9f5;font-size:.72rem;white-space:nowrap}th,td{padding:15px 13px;border-bottom:1px solid #ebefea;vertical-align:top}td small{font-size:.7rem;max-width:560px;margin-top:3px}td a{font-weight:580}.status{display:inline-block;font-size:.68rem;border-radius:7px;background:#f0f2f0;padding:5px 9px;white-space:nowrap;border:1px solid #e0e5df}.status-ready,.status-done,.status-public{background:#e6f3df;color:#2a6c37;border-color:#d3e6c8}.status-failed,.status-deleting{background:#ffede9;color:#a3353a;border-color:#efd6d0}.status-queued,.status-running,.status-building{background:#eaf0fb;color:#3c62a2;border-color:#d4def0}.status-internal,.status-draft{background:#f4f0e8;color:#786a48;border-color:#e8e1d1}.pagination{display:flex;gap:18px;align-items:center;justify-content:flex-end;font-size:.79rem;margin-top:22px}.pagination span{margin-right:auto;color:var(--muted)}label{display:block;font-size:.81rem;font-weight:550;margin:0 0 17px}label small{font-weight:400;font-size:.73rem;margin-top:6px}input,select,textarea{display:block;width:100%;padding:11px 13px;background:#fcfdfa;border:1px solid #cbd6cc;border-radius:9px;min-height:43px;color:var(--ink);font-size:.86rem;line-height:1.5}label>input,label>select,label>textarea{margin-top:7px}textarea{resize:vertical}input:focus,select:focus,textarea:focus{outline:2px solid #90b77c;border-color:transparent}.check{display:flex;align-items:flex-start;gap:9px;line-height:1.6;font-weight:450}.check input[type=checkbox]{appearance:auto;width:17px;min-height:17px;height:17px;margin-top:4px;padding:0;flex:0 0 auto;accent-color:#305f38}details>summary{cursor:pointer;font-size:.86rem;font-weight:570;padding:5px 0;list-style-position:inside}details[open]>summary{margin-bottom:17px}.editor>details{margin:20px 0}.source-row{padding:18px 0;border-top:1px solid var(--line);font-size:.8rem}.source-row p{margin:6px 0}.source-row small{margin-top:9px}.danger-zone{border-color:#e7ceca;background:#fffaf9}.danger-zone form{max-width:620px}.danger-zone p{font-size:.83rem}.notice{border:1px solid #d9e4cb;background:#edf4e7;padding:16px 19px;border-radius:11px;font-size:.86rem;margin:20px 0}.notice.error{border-color:#e9c8c4;background:#fff0ed}.error-text{color:var(--danger)}.auth-card{background:var(--paper);max-width:490px;margin:55px auto;padding:40px;border:1px solid var(--line);border-radius:25px;box-shadow:var(--shadow)}.auth-card h1{font-size:2.25rem}.auth-card .primary{width:100%;margin:5px 0 20px}.auth-card .muted{font-size:.77rem}.qr{display:block;width:min(100%,245px);height:auto;margin:20px auto}.secret{display:block;padding:15px;background:#f1f6eb;border:1px solid #cbd9bb;line-height:1.7;word-break:break-all;margin:15px 0}.recovery-list{display:grid;gap:8px;margin:25px 0}.recovery-list code{padding:7px 10px;border:1px solid var(--line);border-radius:7px}.chunk{border:1px solid var(--line);border-radius:12px;padding:17px;margin:13px 0;background:#fcfdfb}.chunk summary{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.chunk summary strong{flex:1;min-width:150px}.chunk summary .muted{font-size:.72rem}.chunk-text,.answer-text{white-space:pre-wrap;line-height:1.8;font-size:.88rem}.chunk-text{font-family:inherit;padding:12px 0}.plot-wrap{background:#f8faf7;border:1px solid var(--line);border-radius:12px;width:100%;overflow:hidden}#chunk-plot{display:block;width:100%;height:auto;min-height:200px}#chunk-plot text{font:13px system-ui;fill:var(--muted)}#chunk-plot circle{cursor:pointer;opacity:.72;stroke:#fff;stroke-width:1.2}#chunk-plot circle:hover,#chunk-plot circle:focus{opacity:1;stroke:#142f30;stroke-width:2.6;outline:none}.theme-0{fill:#378968;color:#378968}.theme-1{fill:#a78445;color:#a78445}.theme-2{fill:#627ec0;color:#627ec0}.theme-3{fill:#a965a8;color:#a965a8}.theme-4{fill:#d2794f;color:#d2794f}.theme-5{fill:#60999c;color:#60999c}.theme-6{fill:#7d8650;color:#7d8650}.theme-7{fill:#ab6770;color:#ab6770}.plot-legend{display:flex;flex-wrap:wrap;gap:9px;font-size:.72rem}.plot-legend span{padding:4px 9px;border:1px solid currentColor;border-radius:6px}progress{appearance:none;width:100%;height:10px;border:0;border-radius:6px;overflow:hidden;background:#e9efe5;accent-color:#5d9165}progress::-webkit-progress-bar{background:#e9efe5;border-radius:6px}progress::-webkit-progress-value{background:#709b60;border-radius:6px}progress::-moz-progress-bar{background:#709b60}.bar-row{margin:18px 0}.bar-row>div{display:flex;justify-content:space-between;gap:15px;font-size:.8rem;margin-bottom:6px}.user-row{display:flex;justify-content:space-between;gap:20px;padding:23px 0;border-bottom:1px solid var(--line)}.user-row .inline-form{max-width:620px;align-items:center}.user-row .inline-form>button{margin:0}.user-row .check{margin:0}.user-row small{margin-top:5px}.sticky-actions{position:sticky;bottom:0;background:#f4f5f1ed;padding:18px 0;border-top:1px solid var(--line)}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;background:white;padding:12px}.skip-link:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;clip:rect(0,0,0,0);overflow:hidden;padding:0;border:0}.chat-body{background:#eff3eb}.chat-shell{max-width:860px;margin:auto;padding:24px;min-height:100vh;display:flex;flex-direction:column}.chat-header{display:flex;align-items:center;justify-content:space-between;padding:10px 0 22px;border-bottom:1px solid var(--line);gap:15px}.chat-header .brand{margin:0;font-size:1.6rem}.chat-intro{padding:44px 0 10px;max-width:730px}.chat-intro h1{font-size:clamp(2rem,4vw,3rem);margin:12px 0 20px}.messages{display:flex;flex-direction:column;gap:16px}.bubble{border:1px solid var(--line);background:white;padding:22px;border-radius:18px;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.user{align-self:flex-end;background:#dcebd1;max-width:90%}.bubble.assistant{background:white}.bubble .answer-text{margin:0}.bubble details{white-space:normal}.bubble a{font-size:.8rem}.bubble .feedback{display:flex;gap:8px;margin-top:20px}.bubble .feedback button{font-size:.76rem;padding:8px 11px;min-height:32px}.chat-composer{display:flex;gap:12px;align-items:center;position:sticky;bottom:12px;background:white;border:1px solid #cddac9;border-radius:18px;padding:12px;box-shadow:0 10px 35px #14301910;margin-top:22px}.chat-composer textarea{border:0;background:transparent;outline:none;min-height:50px;max-height:200px;padding:8px;font-size:.94rem}.chat-composer button{flex-shrink:0}.chat-shell>p.muted{font-size:.73rem;text-align:center;padding:5px 10px;margin-top:12px}#chat-status{font-size:.85rem;color:var(--accent-strong);min-height:24px;margin:15px 0 0}[hidden]{display:none!important}
@media(min-width:1550px){.main{padding-left:65px;padding-right:65px}}@media(max-width:1100px){.sidebar{width:216px;padding:22px 14px}.main{margin-left:216px;padding:0 24px 25px}.metric-grid{grid-template-columns:repeat(2,1fr)}.two-columns{grid-template-columns:1fr}.steps{grid-template-columns:repeat(2,1fr)}.hero-panel{align-items:flex-start;flex-direction:column}.user-row{flex-direction:column}}@media(max-width:700px){.sidebar{position:static;width:auto;padding:16px;display:block}.sidebar .brand{font-size:1.5rem;margin:0 0 15px}.sidebar .brand-mark{width:38px;height:38px;font-size:1.85rem;border-radius:11px}.sidebar>.nav-label,.sidebar nav .nav-label,.sidebar-footer{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:7px;padding-bottom:4px}.sidebar nav a{flex-shrink:0;padding:8px 11px;font-size:.75rem;margin:0}.sidebar nav a span{display:none}.main,.guest .main{margin:0;padding:0 17px 24px}.topbar{height:64px;margin-bottom:23px}.topbar .eyebrow{font-size:.55rem;letter-spacing:.1em}.topbar .pill{font-size:.6rem}.page-heading{margin:22px 0}.card{padding:20px;margin:17px 0}.metric-grid{gap:10px}.metric{padding:17px}.metric strong{font-size:1.85rem}.card-grid{grid-template-columns:1fr}.hero-panel{padding:23px}.steps{gap:22px 17px}.auth-card{padding:27px;margin:30px auto}.filters select{max-width:100%;width:100%}.filters input{width:100%;flex-basis:100%}.pagination{flex-wrap:wrap;justify-content:flex-start}.pagination span{flex-basis:100%}.inline-form{display:block}.inline-form label{min-width:0}.section-top{flex-wrap:wrap}.plot-legend{gap:5px}.chat-shell{padding:16px}.chat-header .button{font-size:.7rem;padding:9px}.chat-intro{padding-top:28px}.chat-composer{gap:5px;padding:8px;bottom:8px}.chat-composer button{padding:10px;font-size:.8rem}.bubble{padding:17px}.two-columns{gap:0}.user-row .inline-form{display:flex}.footer{font-size:.64rem}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Operational monitoring: scoped to diagnostics and job details. */
.operational-monitor [hidden],.operational-diagnostics [hidden],.operational-monitor[hidden]{display:none!important}
.operational-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:18px;margin:22px 0;padding:0}
.operational-facts>div{min-width:0;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#f9fbf7}
.operational-facts dt,.operational-inventory dt{font-size:.75rem;color:var(--muted);font-weight:600}
.operational-facts dd,.operational-inventory dd{margin:5px 0 0;overflow-wrap:anywhere}
.operational-cause{padding:18px 20px;border:1px solid #e9d0b7;border-left:4px solid #a2682d;border-radius:10px;background:#fff8ed;margin:20px 0}
.operational-cause h3{margin-bottom:8px}.operational-cause p:last-child{margin-bottom:0}
.operational-installation{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin:22px 0}
.operational-installation p{margin-bottom:8px}.operational-installation a{display:inline-block;margin-top:10px;font-size:.85rem}
.operational-refresh{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0;flex-wrap:wrap}
.operational-refresh p{margin:0;max-width:850px}.operational-stale{color:#8a4f22;font-weight:550}
.operational-checks,.operational-events{padding:0;list-style:none;margin:0}
.operational-checks>li,.operational-events>li{border-bottom:1px solid var(--line);padding:18px 0;overflow-wrap:anywhere}
.operational-checks>li:first-child,.operational-events>li:first-child{padding-top:0}
.operational-checks>li:last-child,.operational-events>li:last-child{border-bottom:0;padding-bottom:0}
.operational-events>li>strong{display:block}.operational-events>li>small{margin-top:5px}.operational-events p{margin:10px 0}
.operational-events details,.operational-checks details{margin-top:10px}.operational-inventory{margin:0}
.operational-inventory>div+div{margin-top:15px;padding-top:15px;border-top:1px solid var(--line)}
.operational-inventory .technical{margin-bottom:0}.operational-monitor progress:not([value]){opacity:.6}
@media(max-width:620px){.operational-refresh{align-items:stretch}.operational-refresh button{width:100%}.operational-diagnostics .two-columns{grid-template-columns:1fr}.operational-checks .section-top{flex-wrap:wrap}}

.operational-inventory-counts{grid-template-columns:repeat(auto-fit,minmax(min(100%,110px),1fr));gap:10px}
