:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#111;background:#f7f8fa;font-synthesis:none;--bg: #ffffff;--surface: #f7f8fa;--fg: #111111;--muted: #6b7280;--border: #d9dee7;--accent: #f2a60c;--ink: #26282d;--radius: 6px}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit;letter-spacing:0}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:2px}h1,h2,h3,p{margin-top:0}h1{margin-bottom:.3rem;font-size:1.65rem;line-height:1.2;letter-spacing:0}h2{font-size:1rem;letter-spacing:0}code{font-family:SFMono-Regular,Consolas,monospace;font-size:.78rem}.center{min-height:100vh;display:grid;place-items:center}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;padding:1.25rem .8rem .8rem;background:var(--ink);color:var(--bg);display:flex;flex-direction:column;z-index:30}.sidebar-top{display:flex;align-items:center;justify-content:space-between;padding:0 .55rem 1.8rem}.brand{display:flex;align-items:center;gap:.65rem}.brand-logo{height:28px;width:auto;display:block}.login-logo{height:52px;width:auto;display:block}.brand-mark{width:30px;height:30px;display:grid;place-items:center;background:var(--accent);color:var(--fg);font-weight:900;border-radius:2px}.brand-mark.large{width:52px;height:52px;font-size:1.4rem}.brand span:last-child{display:grid}.brand strong{font-size:.82rem}.brand small{color:var(--border);font-size:.58rem;letter-spacing:0}.sidebar nav{display:grid;gap:.25rem}.nav-item{border:0;background:transparent;color:var(--border);display:flex;align-items:center;gap:.75rem;min-height:42px;padding:.65rem .75rem;border-radius:4px;cursor:pointer;text-align:left;transition:background .18s ease,color .18s ease,transform .18s ease}.nav-item:hover{background:var(--fg);color:var(--bg)}.nav-item:active{transform:translateY(1px)}.nav-item.active{background:var(--accent);color:var(--fg);font-weight:700}.account{margin-top:auto;border-top:1px solid var(--muted);padding:1rem .4rem .2rem;display:flex;align-items:center;gap:.65rem;min-width:0}.avatar{flex:0 0 auto;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--muted);color:var(--bg);font-size:.78rem;font-weight:800}.account-copy{min-width:0;display:grid;flex:1}.account-copy strong{font-size:.78rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-copy small{color:var(--border);font-size:.65rem}.icon-button{width:36px;height:36px;border:0;background:transparent;color:inherit;display:grid;place-items:center;border-radius:4px;cursor:pointer}.icon-button:hover{background:var(--surface);color:var(--fg)}.icon-button.bordered{border:1px solid var(--border)}.main{margin-left:240px;padding:2.2rem clamp(1.25rem,4vw,4rem) 4rem;max-width:1500px}.mobile-header,.mobile-only{display:none}.page-head{min-height:72px;margin-bottom:1.8rem;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.page-head p{color:var(--muted);margin-bottom:0;font-size:.9rem}.primary-button,.secondary-button,.text-button{border:0;border-radius:4px;min-height:38px;padding:.58rem .85rem;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;cursor:pointer;text-decoration:none;font-weight:700;font-size:.82rem;transition:background .18s ease,color .18s ease,transform .18s ease}.primary-button{background:var(--fg);color:var(--bg)}.primary-button:hover{background:var(--ink)}.primary-button:active,.secondary-button:active{transform:translateY(1px)}.secondary-button{background:var(--surface);color:var(--fg);border:1px solid var(--border)}.text-button{background:transparent;color:var(--fg);padding-inline:.25rem;text-decoration:underline;text-decoration-color:var(--accent)}button:disabled{opacity:.5;cursor:not-allowed}.metric-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--border);background:var(--bg);border-radius:var(--radius);margin-bottom:1.6rem}.metric{min-height:112px;padding:1.1rem;border-right:1px solid var(--border);display:grid;grid-template-columns:auto 1fr;align-content:space-between;gap:.3rem .5rem;color:var(--muted)}.metric:last-child{border-right:0}.metric span{font-size:.77rem}.metric strong{grid-column:1 / -1;color:var(--ink);font-size:2rem;line-height:1}.metric.positive svg,.metric.teal svg{color:var(--accent)}.metric.danger svg{color:var(--ink)}.section-block{margin-top:1.5rem}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:.7rem}.section-title h2{margin:0}.section-title span{color:var(--muted);font-size:.75rem}.table-wrap{width:100%;overflow-x:auto;border:1px solid var(--border);background:var(--bg);border-radius:var(--radius)}table{width:100%;border-collapse:collapse;min-width:650px}th,td{padding:.85rem 1rem;text-align:left;border-bottom:1px solid var(--border);font-size:.8rem}th{color:var(--muted);font-size:.66rem;text-transform:uppercase;background:var(--surface)}tbody tr:last-child td{border-bottom:0}.table-empty{color:var(--muted);text-align:center;padding:2.5rem}.brand-cell{display:grid;gap:.2rem}.queue-band{display:flex;justify-content:space-between;align-items:flex-end;margin-top:1.5rem;padding:1.25rem;background:var(--ink);color:var(--bg);border-radius:var(--radius)}.queue-band>div:first-child{display:grid}.queue-band strong{font-size:2rem}.queue-band small{color:var(--border)}.eyebrow{font-size:.63rem;letter-spacing:0;font-weight:800}.queue-note{font-size:.75rem;display:flex;align-items:center;gap:.5rem}.signal{width:8px;height:8px;border-radius:50%;background:var(--accent)}.state{min-height:180px;border:1px dashed var(--border);display:flex;align-items:center;justify-content:center;gap:.6rem;color:var(--muted);border-radius:var(--radius)}.state-error{color:var(--ink);border-color:var(--accent)}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{min-height:260px;border:1px dashed var(--border);display:grid;place-items:center;align-content:center;gap:.55rem;text-align:center;color:var(--muted);padding:1rem;border-radius:var(--radius)}.empty-state h3,.empty-state p{margin:0}.empty-state h3{color:var(--ink);font-size:1rem}.empty-state p{max-width:420px;font-size:.82rem}.status{display:inline-flex;width:max-content;padding:.25rem .45rem;border:1px solid var(--border);border-radius:3px;font-size:.62rem;font-weight:800;background:var(--surface);color:var(--muted)}.status-active,.status-succeeded{background:var(--accent);border-color:var(--accent);color:var(--fg)}.status-draft,.status-pending,.status-simulated{background:var(--surface);border-color:var(--accent);color:var(--fg)}.status-paused{background:var(--surface);color:var(--muted)}.status-failed,.status-needs-auth,.status-delivery-reconciliation-required{background:var(--ink);border-color:var(--ink);color:var(--bg)}.automation-list{border-top:1px solid var(--border)}.automation-row{min-height:82px;display:grid;grid-template-columns:minmax(220px,1.5fr) 120px minmax(210px,1fr) auto;align-items:center;gap:1rem;border-bottom:1px solid var(--border);padding:.8rem .4rem}.automation-row>div{display:grid;gap:.25rem;min-width:0}.automation-row small{color:var(--muted);font-size:.68rem}.automation-row span{font-size:.8rem}.row-actions{display:flex!important}.modal{width:min(680px,calc(100% - 2rem));max-height:calc(100vh - 2rem);padding:0;border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 20px 60px var(--border);overflow-y:auto}.modal::backdrop{background:var(--ink);opacity:.72}.modal-head{min-height:58px;padding:.8rem 1rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.modal-head h2{margin:0;font-size:1rem}.form-grid{padding:1rem;display:grid;grid-template-columns:1fr 1fr;gap:.9rem}.form-grid label{display:grid;gap:.35rem;color:var(--muted);font-size:.72rem;font-weight:700}.form-grid .full{grid-column:1 / -1}input,select{width:100%;min-height:40px;border:1px solid var(--border);border-radius:4px;background:var(--bg);color:var(--fg);padding:.55rem .65rem}.form-actions{display:flex;justify-content:flex-end;gap:.55rem;padding-top:.6rem}.form-error{color:var(--ink);border-left:3px solid var(--accent);padding-left:.5rem;font-size:.75rem;margin:0}.preview-summary{margin:1rem;padding:1rem;background:var(--surface);display:grid;gap:.35rem;border-left:4px solid var(--accent)}.preview-summary span{color:var(--fg);font-size:.7rem;font-weight:800}.preview-summary small{color:var(--muted)}.modal>.check,.modal>.form-error,.modal>.form-actions{margin:1rem}.check{display:flex;align-items:center;gap:.55rem;font-size:.78rem}.check input{width:18px;min-height:18px}.form-notice{padding:.75rem 1rem;border-left:4px solid var(--accent);background:var(--surface);font-size:.78rem}.run-detail{padding:1rem;display:grid;gap:1rem}.run-detail h3{margin:0;font-size:.82rem}.run-summary{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;padding-bottom:.8rem;border-bottom:1px solid var(--border);font-size:.75rem}.checkpoint-list,.artifact-list{list-style:none;padding:0;margin:0;border-top:1px solid var(--border)}.checkpoint-list li{display:grid;grid-template-columns:1fr auto 90px;gap:.75rem;align-items:center;min-height:42px;border-bottom:1px solid var(--border);font-size:.75rem}.checkpoint-list small{text-align:right;color:var(--muted)}.checkpoint-list .checkpoint-meta{grid-column:1 / -1;text-align:left;padding:0 0 .5rem}.artifact-list li{display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:54px;border-bottom:1px solid var(--border)}.artifact-list li>div{display:grid;gap:.2rem;min-width:0}.artifact-list strong{overflow-wrap:anywhere;font-size:.76rem}.artifact-list small,.muted{color:var(--muted);font-size:.7rem}.sr-only{position:absolute;left:0;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.lab-band{min-height:150px;background:var(--ink);color:var(--bg);display:flex;align-items:center;gap:1.1rem;padding:1.5rem;border-radius:var(--radius)}.lab-band h2{margin:.3rem 0;font-size:1.35rem}.lab-band p{margin:0;color:var(--border);font-size:.8rem}.comparison-list{border-top:1px solid var(--border)}.comparison-list article{display:grid;grid-template-columns:1fr auto minmax(200px,1fr);gap:1rem;align-items:center;padding:1rem .25rem;border-bottom:1px solid var(--border)}.comparison-list article>div{display:grid;gap:.2rem}.comparison-list article>span{font-size:.65rem;font-weight:800;color:var(--fg);text-decoration:underline;text-decoration-color:var(--accent)}.comparison-list small{color:var(--muted)}.promotion-rule{margin-top:1.5rem;padding:1rem;border:1px solid var(--border);background:var(--bg);display:flex;gap:.8rem;align-items:flex-start;border-radius:var(--radius)}.promotion-rule strong{font-size:.8rem}.promotion-rule p{margin:.2rem 0 0;color:var(--muted);font-size:.75rem}.login-page{min-height:100vh;background:var(--ink);color:var(--bg);display:grid;grid-template-columns:1fr minmax(320px,440px);align-items:center;padding:clamp(1.25rem,6vw,6rem);gap:2rem}.login-brand{align-self:start;display:flex;align-items:center;gap:1rem}.login-brand p{margin:0;font-size:2rem;font-weight:900}.login-panel{align-self:center;padding:2rem;border-left:1px solid var(--muted)}.login-panel h1{margin-top:1.4rem;font-size:3rem}.login-panel p{color:var(--border)}.login-panel small{display:block;color:var(--border);margin-top:1.2rem}.login-button{width:100%;background:var(--accent);color:var(--fg);margin:1rem 0 .6rem}.login-panel .secondary-button{width:100%;background:var(--ink);color:var(--bg);border-color:var(--muted)}.scrim{display:none}.model-line{color:var(--fg)!important;font-family:SFMono-Regular,Consolas,monospace}.model-config{border:1px solid var(--border);border-radius:var(--radius);padding:.8rem;margin:0}.model-config legend{padding:0 .35rem;color:var(--fg);font-size:.72rem;font-weight:800}.segmented{display:grid;grid-template-columns:repeat(3,1fr);background:var(--surface);border:1px solid var(--border);border-radius:4px;padding:.2rem;gap:.2rem;margin-bottom:.8rem}.segmented button{min-height:34px;border:0;border-radius:3px;background:transparent;color:var(--muted);font-size:.72rem;font-weight:700;cursor:pointer}.segmented button.selected{background:var(--accent);color:var(--fg)}.model-summary{display:grid;grid-template-columns:auto 1fr auto 1fr;align-items:center;gap:.4rem .7rem;padding:.65rem;background:var(--surface)}.model-summary span{color:var(--muted);font-size:.68rem}.model-summary strong{font-family:SFMono-Regular,Consolas,monospace;font-size:.75rem}.stage-models{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem}.recipient-fields{display:grid;grid-template-columns:1fr 1fr auto;gap:.6rem;align-items:end;margin-bottom:.6rem}@media(max-width:900px){.sidebar{transform:translate(-100%);transition:transform .18s ease}.sidebar-open{transform:translate(0)}.mobile-only{display:grid}.mobile-header{position:sticky;top:0;height:58px;padding:0 .8rem;background:var(--ink);color:var(--bg);display:flex;align-items:center;justify-content:space-between;z-index:20}.mobile-header .brand small{display:none}.main{margin-left:0;padding:1.4rem 1rem 3rem}.scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;border:0;background:var(--ink);opacity:.72;z-index:25}.metric-strip{grid-template-columns:1fr 1fr}.metric:nth-child(2){border-right:0}.metric:nth-child(-n+2){border-bottom:1px solid var(--border)}.automation-row{grid-template-columns:1fr auto}.automation-row>div:nth-child(3){grid-column:1}.row-actions{grid-column:2;grid-row:1 / span 2}}@media(max-width:600px){h1{font-size:1.4rem}.page-head{min-height:0;flex-direction:column;margin-bottom:1.3rem}.page-head .primary-button{width:100%}.metric{min-height:94px}.metric strong{font-size:1.65rem}.queue-band{align-items:flex-start;gap:1rem;flex-direction:column}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.form-actions{flex-direction:column-reverse}.form-actions button{width:100%}.automation-row{gap:.6rem}.comparison-list article{grid-template-columns:1fr auto}.comparison-list small{grid-column:1 / -1}.login-page{grid-template-columns:1fr;align-content:center;padding:1.25rem}.login-brand{align-self:auto}.login-panel{border-left:0;border-top:1px solid var(--muted);padding:1.5rem 0 0}.stage-models{grid-template-columns:1fr}.login-panel h1{font-size:2.4rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
