:root{--bg:#f6f7fb;--card:#fff;--text:#172033;--muted:#697386;--line:#dfe4ee;--primary:#3457d5;--danger:#c83737;--ok:#168a4a;--warn:#b7791f}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg);color:var(--text)}a{color:var(--primary);text-decoration:none}.shell{display:flex;min-height:100vh}.side{width:245px;background:#111827;color:white;padding:24px;display:flex;flex-direction:column;gap:24px}.brand{font-size:22px;font-weight:800}.brand span{font-size:12px;color:#9ca3af}.side nav{display:flex;flex-direction:column;gap:8px}.side nav a{color:#e5e7eb;padding:10px 12px;border-radius:10px}.side nav a:hover{background:#1f2937}.me{margin-top:auto;color:#9ca3af;font-size:13px}.me a{color:white}.main{flex:1;padding:32px;max-width:1280px}.topbar{display:flex;align-items:center;justify-content:space-between}.panel,.card,.loginBox{background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:0 10px 30px rgba(31,41,55,.05)}.panel{padding:22px;margin:18px 0}.narrow{max-width:780px}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.card{padding:20px}.num{font-size:30px;font-weight:800}table{width:100%;border-collapse:collapse}th,td{padding:12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}th{font-size:12px;text-transform:uppercase;color:var(--muted)}input,select,textarea{width:100%;padding:11px;border:1px solid var(--line);border-radius:10px;background:white;margin:6px 0 14px}textarea{min-height:100px}button,.btn{display:inline-block;border:1px solid var(--line);background:white;color:var(--text);border-radius:10px;padding:9px 12px;cursor:pointer;font-size:14px}.primary,button.primary{background:var(--primary);color:white;border-color:var(--primary)}button.danger,.danger{background:var(--danger);color:white;border-color:var(--danger)}.pill{padding:4px 8px;border-radius:999px;font-size:12px;background:#eef2ff;color:#3730a3}.pill.public{background:#dcfce7;color:#166534}.pill.private{background:#fee2e2;color:#991b1b}.muted{color:var(--muted);font-size:13px}.empty{text-align:center;color:var(--muted);padding:24px}.flash{padding:12px 14px;border-radius:12px;margin-bottom:14px}.flash.ok{background:#dcfce7;color:#166534}.flash.err{background:#fee2e2;color:#991b1b}.loginBox{max-width:420px;margin:10vh auto;padding:34px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.tokenBox{background:#fff7ed;border:1px solid #fed7aa;padding:14px;border-radius:12px;margin:12px 0}code{background:#f3f4f6;padding:2px 5px;border-radius:6px}.dangerZone{border-color:#fecaca}@media(max-width:900px){.shell{display:block}.side{width:auto}.cards,.grid2{grid-template-columns:1fr}.main{padding:18px}}
.inline{display:inline-block;margin:0 4px 4px 0}.rowform{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.rowform input{min-width:260px}.rowform select{width:160px}.rowform button{margin-bottom:14px}.checks{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0 16px}.checks label{display:flex;gap:6px;align-items:center;background:#f8fafc;border:1px solid var(--line);border-radius:999px;padding:8px 10px}.checks input{width:auto;margin:0}.tokenForm{background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:14px}.mini{display:inline-block;background:#374151;color:#e5e7eb;border-radius:999px;padding:2px 7px;font-size:11px}.pill.role{background:#eef2ff;color:#3730a3}pre{background:#111827;color:#e5e7eb;padding:14px;border-radius:12px;overflow:auto}ul{line-height:1.8}
.oauthBox{display:flex;flex-direction:column;gap:10px;margin:18px 0}.oauthBtn{display:block;text-align:center;border:1px solid var(--line);border-radius:12px;padding:11px 12px;background:#111827;color:#fff;font-weight:700}.oauthBtn:hover{background:#1f2937}.divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin:18px 0}.divider:before,.divider:after{content:"";height:1px;background:var(--line);flex:1}details{border:1px solid var(--line);border-radius:12px;padding:12px;margin:8px 0 14px;background:#f8fafc}summary{cursor:pointer;font-weight:700}
.filesCards{grid-template-columns:repeat(3,minmax(0,1fr))}.fileCard{color:var(--text);display:block}.fileCard.active{border-color:var(--primary);box-shadow:0 0 0 2px rgba(52,87,213,.12)}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 16px}.previewBox{max-height:70vh;white-space:pre-wrap}.fileActions{display:flex;gap:6px;flex-wrap:wrap}@media(max-width:900px){.filesCards{grid-template-columns:1fr}}
button.warn,.warn{background:var(--warn);color:white;border-color:var(--warn)}.pill.status-draft{background:#f3f4f6;color:#374151}.pill.status-published{background:#dcfce7;color:#166534}.pill.status-deprecated{background:#fef3c7;color:#92400e}.pill.status-yanked{background:#fee2e2;color:#991b1b}.promoteForm input{width:110px;display:inline-block;margin:0 4px 0 0;padding:8px}.releaseNote{background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;padding:12px;color:#1e3a8a}.channelBadge{display:inline-flex;gap:6px;align-items:center}
.hero{display:grid;grid-template-columns:2fr 1fr;gap:28px;align-items:center}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-size:12px;font-weight:800}.lead{font-size:20px;color:#374151;line-height:1.5}.homeText{line-height:1.8;color:#374151;margin:16px 0}.heroActions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.statsGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stat{background:#f8fafc;border:1px solid var(--line);border-radius:16px;padding:16px}.stat b{display:block;font-size:24px}.stat span{color:var(--muted);font-size:13px}.sourceGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.sourceTile{border:1px solid var(--line);border-radius:16px;padding:16px;background:#fff;color:var(--text);display:flex;flex-direction:column;gap:8px}.sourceTile:hover{box-shadow:0 10px 30px rgba(31,41,55,.08);border-color:var(--primary)}.sourceTile p{color:var(--muted);line-height:1.5;margin:0}.sourceTile span{color:var(--muted);font-size:13px}.timeline{display:flex;flex-direction:column;gap:12px}.timelineItem{display:grid;grid-template-columns:170px 1fr;gap:16px;border-left:3px solid #dbeafe;padding:10px 0 10px 16px}.timelineItem .time{font-size:12px;color:var(--muted)}.timelineItem p{margin:6px 0 0;color:var(--muted)}.timeline.long .timelineItem{grid-template-columns:210px 1fr}@media(max-width:900px){.hero,.sourceGrid,.statsGrid{grid-template-columns:1fr}.timelineItem,.timeline.long .timelineItem{grid-template-columns:1fr}}
.healthGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.health-ok{color:#166534}.health-warn{color:#92400e}.health-bad{color:#991b1b}.maint pre{white-space:pre-wrap}@media(max-width:900px){.healthGrid{grid-template-columns:1fr}}
.guideHero{display:grid;grid-template-columns:1fr 320px;gap:22px;align-items:center;background:linear-gradient(135deg,#fff,#eef2ff)}.progressOuter{height:18px;background:#e5e7eb;border-radius:999px;overflow:hidden;border:1px solid var(--line)}.progressInner{height:100%;background:var(--primary);border-radius:999px}.checkList{display:flex;flex-direction:column;gap:12px}.checkRow{display:grid;grid-template-columns:44px 1fr auto;gap:14px;align-items:center;border:1px solid var(--line);border-radius:16px;padding:14px;background:#fff}.checkRow.done{background:#f0fdf4;border-color:#bbf7d0}.checkRow h3{margin:0 0 4px}.checkRow p{margin:0;color:var(--muted);line-height:1.5}.checkMark{width:34px;height:34px;border-radius:999px;background:#eef2ff;color:#3730a3;display:grid;place-items:center;font-weight:900}.checkRow.done .checkMark{background:#dcfce7;color:#166534}.guideMini{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#eff6ff;border-color:#bfdbfe}.guideMini h2{margin-top:0}.quickActions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.emptyHero{text-align:center;padding:34px;border:1px dashed var(--line);border-radius:16px;background:#f8fafc;color:var(--muted)}@media(max-width:900px){.guideHero,.checkRow{grid-template-columns:1fr}.guideMini{display:block}.progressOuter{width:100%}}
/* usability cleanup */
.navDetails{border:0;background:transparent;padding:0;margin:0}.navDetails summary{color:#e5e7eb;padding:10px 12px;border-radius:10px;list-style:none}.navDetails summary:hover{background:#1f2937}.navDetails a{margin-left:12px;font-size:13px;color:#cbd5e1}.helpBox{background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;padding:12px;color:#1e3a8a}.stepBox{display:grid;grid-template-columns:44px 1fr;gap:14px;border:1px solid var(--line);border-radius:16px;padding:16px;margin:14px 0;background:#fff}.stepNo{width:34px;height:34px;border-radius:999px;background:var(--primary);color:white;font-weight:800;display:grid;place-items:center}.stepBox h2{margin:0 0 8px}.checkLine{display:flex;align-items:center;gap:8px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;padding:10px 12px;margin:4px 0 8px}.checkLine input{width:auto;margin:0}.advancedBox{background:#f8fafc}.submitBar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}.copyLine{white-space:pre-wrap;background:#f8fafc;color:#111827;border:1px solid var(--line)}.mirrorUse label{font-weight:700}.smallStats{grid-template-columns:1fr 1fr}.collapsiblePanel summary{font-size:18px}.quickToken{background:#fff7ed}.quickStart .quickActions{margin-bottom:10px}.uploadWizard .grid2 input,.uploadWizard .grid2 select{margin-bottom:8px}@media(max-width:900px){.stepBox{grid-template-columns:1fr}.submitBar{display:block}}

.tinyCheck{font-size:12px;color:#64748b;display:inline-flex;gap:4px;align-items:center;margin:0 4px}.tinyCheck input{width:auto}
