:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#eef2f6;background:#0b0e12}*{box-sizing:border-box}body{margin:0}header{height:64px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #252b33;background:#10151b}header div{display:flex;gap:16px;align-items:baseline}header strong{font-size:20px}header span{color:#98a6b5}.pill{padding:6px 10px;border:1px solid #384555;border-radius:999px;font-size:12px}main{max-width:1400px;margin:0 auto;padding:28px}.cards{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.card,.panel{background:#11171e;border:1px solid #26313c;border-radius:10px}.card{padding:18px}.card b{display:block;font-size:28px}.card span{color:#91a0af;font-size:13px}.panel{overflow:auto}section{margin-bottom:28px}h2{font-size:16px;margin:0 0 10px}.grid{display:grid;grid-template-columns:1fr 1.4fr;gap:20px}table{width:100%;border-collapse:collapse;font-size:13px}th,td{padding:10px 12px;text-align:left;border-bottom:1px solid #222d37;white-space:nowrap}th{color:#8fa0b0;font-weight:500}td:first-child{font-weight:600}.ok{color:#82d995}.muted{color:#8995a3}@media(max-width:900px){.cards,.grid{grid-template-columns:1fr 1fr}main{padding:18px}}@media(max-width:560px){.cards,.grid{grid-template-columns:1fr}}
a{color:inherit}.brand{text-decoration:none;font-weight:700}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;padding:14px;white-space:pre-wrap}.state-success{color:#82d995}.state-failed,.state-worker_lost{color:#ff8a8a}.state-running,.state-queued{color:#f0c674}
.login-wrap{max-width:430px;padding-top:10vh}.login-card{background:#11171e;border:1px solid #26313c;border-radius:12px;padding:28px}.login-card h1{margin:0 0 6px}.login-card form{display:grid;gap:16px;margin-top:24px}.login-card label{display:grid;gap:6px;font-size:13px;color:#a7b3bf}.login-card input{background:#0b1016;border:1px solid #34414e;border-radius:7px;color:#eef2f6;padding:11px 12px;font:inherit}.login-card button{border:1px solid #40546a;border-radius:7px;background:#1a2632;color:#fff;padding:11px;font-weight:600;cursor:pointer}.error{color:#ff8a8a;min-height:18px;margin:0}
.admin-form{padding:16px;display:grid;gap:12px}.admin-form label{display:grid;gap:5px;color:#a7b3bf;font-size:13px}.admin-form input,.admin-form select{background:#0b1016;color:#eef2f6;border:1px solid #34414e;border-radius:7px;padding:9px 10px}.admin-form button,.ghost{border:1px solid #40546a;border-radius:7px;background:#1a2632;color:#fff;padding:9px 12px;cursor:pointer}.ghost{background:transparent}.keybox{width:100%;min-height:72px;background:#0b1016;color:#eef2f6;border:1px solid #34414e;border-radius:7px;padding:8px;font-family:ui-monospace,monospace}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-head h2{margin:0}.section-head select{background:#0b1016;color:#eef2f6;border:1px solid #34414e;border-radius:7px;padding:7px}.breadcrumb{font-family:ui-monospace,monospace;font-size:13px;color:#9aa8b6;padding:9px 2px}.clickable{cursor:pointer}.clickable:hover td{background:#17212b}.code-panel{margin-top:10px;padding:0;max-height:70vh}.code-head{padding:10px 14px;border-bottom:1px solid #26313c;display:flex;justify-content:space-between}.code-content{padding:14px;margin:0;overflow:auto;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.5;white-space:pre}.commit-body{padding:14px}.commit-patch{border-top:1px solid #26313c;padding:14px;margin:0;overflow:auto;white-space:pre;font:12px/1.45 ui-monospace,monospace}
.issue-body{padding:18px;white-space:pre-wrap;line-height:1.55}.comment{padding:14px 16px;margin-bottom:10px}.comment-head{display:flex;justify-content:space-between;color:#93a2b1;font-size:12px;margin-bottom:8px}.comment-body{white-space:pre-wrap;line-height:1.5}
.pr-actions{display:flex;gap:10px;margin-top:12px}.pr-actions button{border:1px solid #40546a;border-radius:7px;background:#1a2632;color:#fff;padding:9px 12px;cursor:pointer}
.policy-editor{display:grid;gap:10px}.policy-editor label{display:flex;gap:8px;align-items:center}.policy-editor label:first-child{display:grid}.danger{border-color:#7a3f3f!important;color:#ffb3b3!important}
.stale-review{opacity:.58}.policy-editor input[type=number]{max-width:8rem}
.label-chip{display:inline-block;border:1px solid currentColor;border-radius:999px;padding:2px 8px;margin:2px 4px 2px 0;font-size:.85rem}.assignee-chip{display:inline-flex;gap:6px;align-items:center;margin:2px 8px 2px 0}.assignee-chip button{padding:1px 5px}
.milestone-row{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid rgba(127,127,127,.2)}.milestone-row:last-child{border-bottom:0}
.search-panel{padding:14px}.search-row{display:flex;gap:10px}.search-row input{flex:1;min-width:0}.search-results{margin-top:12px}.search-result{padding:10px 0;border-bottom:1px solid rgba(127,127,127,.2)}.search-result:last-child{border-bottom:0}.search-result-head{display:flex;gap:10px;align-items:center}.search-kind{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;opacity:.7}.search-result .muted{margin-top:3px}
.release-row{display:grid;gap:8px;padding:12px 0;border-bottom:1px solid rgba(127,127,127,.2)}.release-row:last-child{border-bottom:0}.release-artifacts{padding-left:12px;border-left:2px solid rgba(127,127,127,.25)}
.integrity-verified{font-weight:600}.integrity-missing_tag,.integrity-tag_mismatch{font-weight:700;text-transform:uppercase}
.release-artifact-picker label{display:block;padding:5px 0}
.source-actions{margin-top:10px}.compare-controls{display:flex;gap:12px;flex-wrap:wrap}.compare-controls label{min-width:180px;flex:1}.compare-controls select{width:100%}
.blame-list{margin-top:10px;border-top:1px solid var(--border)}.blame-row{display:grid;grid-template-columns:75px 140px 90px minmax(0,1fr);gap:8px;padding:3px 0;border-bottom:1px solid var(--border);font-size:.85rem}.blame-row code{white-space:pre-wrap;overflow-wrap:anywhere}
#webhooks code{font-size:.85em}
.ci-check{padding:10px 0;border-top:1px solid var(--border,#333)}.ci-check:first-child{border-top:0}.ci-job{margin:6px 0 6px 16px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}
.notification{display:flex;justify-content:space-between;gap:16px;padding:14px 16px;border-top:1px solid var(--border,#333);align-items:flex-start}.notification:first-child{border-top:0}.notification.unread{font-weight:500}.notification.unread::before{content:'•';font-size:22px;line-height:1}.notification-body{margin:6px 0;white-space:pre-wrap;max-width:72ch}.notification small{display:block;margin-top:6px}.notification>div:last-child{white-space:nowrap}
