:root{--teal:#098f95;--ink:#0a1f3d;--alert:#d9622b;--muted:#63758a;--line:#dce5e9;--paper:#f3f6f8;--qc-reserved-space:100px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:15px}*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:1px solid var(--line);background:white;border-radius:8px;padding:10px 15px;color:var(--ink);font-weight:650}button:hover{border-color:var(--teal);background:#f1fafa}button:disabled{opacity:.55;cursor:wait}.primary{background:var(--teal);border-color:var(--teal);color:white}.primary:hover{background:#087b80;color:white}.danger{color:#ac4019}.small{font-size:12px;padding:6px 10px}.icon-button{font-size:24px;padding:2px 10px;border:0}.app{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100vh}.rail{background:var(--ink);color:white;padding:34px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;font-size:24px;letter-spacing:-1px;font-weight:750}.brandmark{display:grid;grid-template-columns:repeat(2,9px);gap:4px;transform:rotate(-8deg)}.brandmark i{width:9px;height:9px;background:#60d1c9;border-radius:2px}.brandmark i:nth-child(2){background:white}.rail small{color:#a2b7cc;font-size:10px;letter-spacing:1.8px;text-transform:uppercase}.rail-label{margin:44px 10px 12px}.nav{display:flex;flex-direction:column;gap:7px}.nav button{background:transparent;border:0;color:#b9c9db;text-align:left;font-weight:500;padding:13px 14px}.nav button.active{background:#173752;color:white;box-shadow:inset 3px 0 #38c3bd}.nav button:hover{background:#14304c}.rail-foot{margin-top:auto;border-top:1px solid #294057;padding-top:20px;font-size:12px;color:#a9bdd0;line-height:1.7}.main{min-width:0;padding-bottom:var(--qc-reserved-space)}.topbar{height:80px;padding:0 38px;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;justify-content:space-between;gap:15px}.topbar small{color:var(--muted)}.top-actions{display:flex;align-items:center;gap:12px}.avatar{width:34px;height:34px;border-radius:50%;background:#e3f2f1;color:#087b80;display:grid;place-items:center;font-size:12px;font-weight:750}.badge{display:inline-block;background:var(--alert);color:white;font-size:11px;padding:2px 6px;border-radius:20px;min-width:19px;text-align:center}.content{padding:35px 38px;max-width:1600px;margin:auto}.eyebrow{text-transform:uppercase;letter-spacing:1.8px;font-size:11px;color:var(--teal);font-weight:750;margin:0 0 12px}h1{font-size:32px;font-weight:650;letter-spacing:-1px;line-height:1.2;margin:0 0 12px}h2{font-size:20px;font-weight:650;letter-spacing:-.3px;margin:0 0 12px}h3{font-size:16px;margin:0 0 10px}p{line-height:1.6}p.sub{color:var(--muted);margin:0;max-width:740px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:28px 0}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:21px 24px}.stat-label{color:var(--muted);font-size:12px}.stat strong{display:block;font-size:34px;font-weight:600;margin:10px 0 7px;letter-spacing:-1px}.stat small{color:var(--muted);font-size:11px}.two-col{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:22px}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line);gap:12px}.panel-head h2{font-size:17px;margin:0}.panel-body{padding:22px 24px}.row{padding:17px 24px;border-bottom:1px solid #edf1f3;display:flex;align-items:center;gap:14px;justify-content:space-between}.row:last-child{border-bottom:0}.row .meta{font-size:12px;color:var(--muted);margin-top:6px}.row-title{font-weight:650;color:var(--ink);text-decoration:none;background:none;border:0;padding:0;text-align:left;line-height:1.4}.row-title:hover{color:var(--teal);background:none}.row-icon{background:#e9f5f3;color:var(--teal);width:40px;height:40px;flex-shrink:0;display:grid;place-items:center;border-radius:9px;font-weight:650}.grow{flex:1;min-width:0}.pill{display:inline-block;font-size:11px;font-weight:650;border-radius:5px;padding:5px 9px;background:#eef3f6;color:#567083;white-space:nowrap}.pill.submitted,.pill.declined{color:#ad4d20;background:#fff0e8}.pill.deployed,.pill.approved{color:#087a70;background:#e7f6f0}.pill.building,.pill.testing,.pill.assigned{background:#e8effc;color:#4268a9}.empty{text-align:center;padding:40px 25px;color:var(--muted);font-size:14px;line-height:1.8}.empty strong{display:block;color:var(--ink);font-size:16px;margin-bottom:8px}.hub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:20px}.hub-card{background:white;border:1px solid var(--line);border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:14px}.hub-card p{margin:0;font-size:13px;color:var(--muted);flex:1}.hub-card .row-icon{width:44px;height:44px}.hub-card footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:15px;margin-top:8px}.flex{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.spaced{justify-content:space-between}.muted{color:var(--muted)}.notice{border-left:3px solid var(--teal);padding:10px 16px;font-size:13px;background:#eaf5f4;line-height:1.6;margin:16px 0}.notice.warning{background:#fff2e8;border-color:var(--alert)}.pipeline{display:flex;gap:6px;flex-wrap:wrap;padding:16px 0}.pipeline span{background:#eef2f5;border-radius:4px;font-size:11px;padding:8px 10px}.pipeline span.done{background:#e0f3ed;color:#187a64}.pipeline span.current{background:var(--teal);color:white}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid .full{grid-column:1/-1}label{display:block;font-size:12px;font-weight:650;line-height:1.5}input:not([type=checkbox]),textarea,select{display:block;width:100%;padding:11px 12px;border:1px solid #cbd7de;border-radius:7px;background:white;color:var(--ink);margin-top:7px}textarea{resize:vertical;min-height:120px}input[type=file]{font-size:12px}input[type=checkbox]{accent-color:var(--teal);width:17px;height:17px;flex-shrink:0}.check{display:flex;gap:10px;align-items:center;padding:8px 0;font-weight:500}.checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}.helper{font-size:12px;color:var(--muted);line-height:1.6;margin-top:6px}.error{color:#b43525;font-size:13px;line-height:1.6}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-size:11px;color:var(--muted);background:#f8fafb;font-weight:650}td,th{padding:15px 20px;border-bottom:1px solid #edf1f3}td code{font-size:11px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;background:#f4f7f9;padding:18px;border-radius:8px;max-height:500px;overflow:auto}a{color:var(--teal)}dialog{border:1px solid var(--line);border-radius:14px;width:min(780px,calc(100vw - 24px));max-height:90vh;padding:0;color:var(--ink)}dialog::backdrop{background:#0a1f3d88;backdrop-filter:blur(3px)}dialog>header{padding:22px 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}dialog>header h2{margin:0}#modal-body{padding:24px 26px}#toast{position:fixed;top:18px;left:50%;transform:translateX(-50%);max-width:90vw;padding:13px 22px;background:var(--ink);color:white;border-radius:8px;z-index:2000;box-shadow:0 8px 35px #0002;display:none}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-brand{background:var(--ink);padding:70px;color:white;display:flex;flex-direction:column;justify-content:space-between}.login-brand h1{font-size:48px;max-width:470px;line-height:1.2}.login-brand p{color:#afc7d8;max-width:420px}.login-form{padding:40px;display:grid;place-items:center;background:white}.login-form form{max-width:400px;width:100%}.login-form label{margin-top:22px}.login-form button{width:100%;margin-top:25px}.login-foot{font-size:11px;color:var(--muted);margin-top:28px}.loading{padding:70px;text-align:center}.status-dot{width:7px;height:7px;border-radius:50%;background:#56ccb2;display:inline-block;margin-right:6px}.build-copy{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:14px}.section-space{margin-top:26px}.actions{display:flex;gap:8px;flex-wrap:wrap}.crumb{font-size:12px;color:var(--muted);margin-bottom:22px}.archive{color:#8a5960}.short-code{font-family:monospace;font-size:12px}.unread{background:#f3faf9}.setup-list{padding-left:20px;line-height:1.9}.setup-list li{margin-bottom:16px}.setup-list strong{display:block}details{margin:15px 0}summary{cursor:pointer;font-size:13px;font-weight:650}
@media(max-width:1100px){.app{grid-template-columns:196px minmax(0,1fr)}.content{padding:28px 24px}.topbar{padding:0 24px}.two-col{grid-template-columns:1fr}.rail{padding:28px 14px}.stats{gap:10px}.stat{padding:17px}.stat strong{font-size:30px}}
@media(max-width:720px){.app{display:block}.rail{position:static;height:auto;padding:18px}.brand{font-size:21px}.rail small,.rail-foot,.rail-label{display:none}.nav{flex-direction:row;overflow:auto;margin-top:16px;gap:5px}.nav button{white-space:nowrap;padding:9px 12px;font-size:12px}.topbar{height:65px;padding:0 18px}.topbar>div>small{display:none}.top-actions{gap:7px}.top-actions button{font-size:12px}.content{padding:25px 18px}.page-heading{align-items:flex-start;flex-direction:column}h1{font-size:28px}.stats{grid-template-columns:repeat(2,1fr);margin:22px 0}.stat{padding:17px}.panel-head,.panel-body,.row{padding:17px}.form-grid{grid-template-columns:1fr}.checks{grid-template-columns:1fr}.login{display:block}.login-brand{padding:28px;min-height:235px}.login-brand h1{font-size:29px;margin:28px 0 5px}.login-brand p,.login-brand footer{display:none}.login-form{padding:30px 24px}.login-form h1{font-size:24px}.row{flex-wrap:wrap}.row .grow{min-width:140px}.form-actions{flex-wrap:wrap}.avatar{display:none}#modal-body{padding:20px}dialog>header{padding:18px 20px}.topbar .user-role{display:none}}
/* Reserve a real bottom dock so QC never covers scrolling workspace controls. */
.app{height:100dvh;min-height:0}.main{display:flex;flex-direction:column;min-height:0;max-height:100dvh}.topbar{flex-shrink:0}.content{width:100%;flex:1;min-height:0;overflow:auto;margin:0 auto}.two-col{align-items:start}.rail{height:100dvh}body.qc-present:has(.app){overflow:hidden}
@media(max-width:720px){.app{display:flex;flex-direction:column}.rail{height:auto;flex-shrink:0}.main{flex:1}.content{margin:0}.rail .nav{margin-bottom:0}}
