:root{color-scheme:light;--ink:#172337;--muted:#68768a;--line:#e2e9f0;--soft:#f5f8fc;--nav:#15243b;--accent:#2b69bf;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--soft);color:var(--ink)}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,h4,p{margin-top:0}h1{font-size:clamp(25px,3vw,34px);letter-spacing:-.035em;margin-bottom:4px}h2{font-size:19px}h3{font-size:16px}h4{margin-bottom:8px}small,.tiny{font-size:12px}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:11px;font-weight:700;color:#6f8197;margin-bottom:4px}
.sidebar{position:fixed;inset:0 auto 0 0;width:235px;background:var(--nav);padding:25px 17px;color:#e6effb;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;font-weight:750;color:white;line-height:1.2;margin-bottom:31px;padding:0 9px}.brand:hover{text-decoration:none}.brand small{display:block;color:#a5b7ce;margin-top:4px;font-weight:500}.brand-mark{display:grid;place-items:center;background:#3d78c8;width:38px;height:38px;border-radius:11px;font-weight:900;color:white}.sidebar nav{display:grid;gap:3px}.sidebar nav a{padding:10px 13px;color:#b7c7d8;border-radius:9px}.sidebar nav a:hover,.sidebar nav a.active{background:#2d425f;color:white;text-decoration:none}.sidebar>form{margin-top:auto;padding:12px}.text-button{border:0;background:none;color:#b7c7d8;padding:4px;cursor:pointer}.main{max-width:1530px;margin-left:235px;padding:28px 38px 80px}.login-main{max-width:600px;margin:10vh auto;padding:20px}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.panel,.metric{background:white;border:1px solid var(--line);border-radius:13px;padding:21px;margin-bottom:18px;box-shadow:0 3px 12px rgba(35,67,110,.025)}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.metric small{color:var(--muted);display:block}.metric strong{display:block;font-size:32px;margin-top:5px;line-height:1.1}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:18px}.project-card{display:block;color:var(--ink)}.project-card:hover{text-decoration:none;border-color:#b5c9e2}.project-card h3{margin:9px 0 5px}.project-card p{font-size:13px;color:var(--muted);min-height:38px}.project-card strong{font-size:25px}.project-card small{display:block;color:var(--muted);margin-top:5px}.project-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px;vertical-align:middle}.project-dot.large{width:18px;height:18px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:15px 0}.section-title h2{margin:0}.two-col{display:grid;grid-template-columns:1.3fr 1fr;gap:18px}.status-row,.recent{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.recent a{overflow-wrap:anywhere}.status-row:last-child,.recent:last-child{border-bottom:0}.bar{height:8px;border-radius:999px;background:#e7eef7;overflow:hidden;margin-top:9px}.bar>span{display:block;height:100%;border-radius:999px;background:#448ac7}.tag{display:inline-block;border-radius:25px;font-size:11px;font-weight:700;padding:3px 9px;background:#eef2f7;color:#53647a;white-space:nowrap}.tag-done,.tag-complete,.tag-released,.tag-merged{background:#e1f6eb;color:#147b52}.tag-in-progress,.tag-open{background:#e5f1ff;color:#235fa8}.tag-testing,.tag-review{background:#f0e9ff;color:#7052b5}.tag-blocked,.tag-critical{background:#ffe6e6;color:#b23c43}.tag-high{background:#fff0dc;color:#956009}.tag-bug,.tag-draft{background:#fff2dd;color:#956009}.chips{display:flex;gap:8px;flex-wrap:wrap}.detail-meta{margin-top:15px}.detail-meta p{margin:4px 0}.description{white-space:normal;overflow-wrap:anywhere;line-height:1.7}.back{margin:-14px 0 18px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px}.toolbar p{margin:0}.filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.filters label{flex:1;min-width:135px}.filters button,.filters a{margin-bottom:0}.form-stack{display:grid;gap:13px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-narrow{max-width:850px;margin-top:24px}label{display:grid;gap:5px;font-size:12px;font-weight:700;color:#41526a}input,textarea,select{font:inherit;color:var(--ink);border:1px solid #ccd7e4;border-radius:8px;background:white;padding:10px 11px;width:100%;min-width:0}input:focus,textarea:focus,select:focus{outline:2px solid #8ab6f0;outline-offset:0}button,.button{border:1px solid #bfcddd;border-radius:8px;color:#254264;padding:10px 14px;background:#fff;cursor:pointer;font:600 13px system-ui;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap}button:hover,.button:hover{text-decoration:none;background:#edf3fb}.primary{background:var(--accent);border-color:var(--accent);color:white}.primary:hover{background:#245b9e;color:white}.secondary{background:#f5f8fc}.danger-link{background:none;color:#b33542;border:0;padding:3px 5px}.check-button{border:0;font-size:23px;background:none;padding:0;color:#2e7b61}.inline-form{display:flex;align-items:end;gap:8px;margin-top:13px;flex-wrap:wrap}.inline-form>input{flex:1}.inline-form label{flex:1}.inline-form select{max-width:180px}.detail-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(350px,.9fr);gap:18px}.subtask{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.subtask>span{flex:1}.subtask form{margin:0}.strike{text-decoration:line-through;color:var(--muted)}.activity{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.activity small{color:var(--muted);white-space:nowrap}.initiative{padding:15px 0;border-bottom:1px solid var(--line)}.initiative h3{margin-bottom:5px}.initiative p{color:var(--muted)}.initiative small{color:var(--muted)}.album-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.album-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.album-counts span{display:grid}.album-counts b{font-size:23px}.album-counts small{color:var(--muted)}details{margin-top:15px}summary{cursor:pointer;color:var(--accent);font-weight:600;padding:6px 0}details .panel{box-shadow:none;background:#fafcff}.checks{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.check{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:500}.check input{width:auto}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;color:#62718a;font-size:11px;text-transform:uppercase;letter-spacing:.06em}td,th{padding:13px 12px;border-bottom:1px solid var(--line)}tbody tr:last-child td{border:0}.item-title{display:block;font-weight:700}.tiny{display:block}.empty{color:var(--muted);padding:10px 0}.alert{background:#fff5db;border:1px solid #e8d59d;padding:13px 17px;border-radius:9px;margin-bottom:18px}.login-card{max-width:450px}
@media(max-width:1100px){.main{padding:24px}.project-grid,.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-layout{grid-template-columns:1fr}.album-grid{grid-template-columns:1fr}}
@media(max-width:720px){.sidebar{position:static;width:100%;padding:12px}.sidebar nav{display:flex;flex-wrap:wrap}.sidebar nav a{font-size:12px;padding:7px}.sidebar>form{padding:0;margin:7px}.brand{margin-bottom:10px}.main{margin:0;padding:18px}.two-col,.project-grid,.metric-grid,.form-grid{grid-template-columns:1fr}.album-counts b{font-size:20px}th,td{padding:9px}.filters{display:grid;grid-template-columns:1fr 1fr}.heading{margin-bottom:15px}}

/* Read-only backend album cards */
.backend-album-card .album-heading{display:flex;justify-content:space-between;align-items:start;gap:10px}
.backend-album-card .album-heading h3{margin:0 0 5px}
.backend-album-card .album-heading .chips{justify-content:end}
.backend-album-assets{display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center;margin:12px 0;font-size:12px;color:var(--muted)}
.backend-album-assets>span{display:flex;gap:7px;align-items:center}
.backend-album-card details{border-top:1px solid var(--line);padding-top:10px}
.backend-album-card details h4{margin:20px 0 6px}
.backend-album-card .album-counts{margin-top:14px}
@media(max-width:720px){.backend-album-card .album-heading{flex-direction:column}}

/* GitHub-driven work state and manual verification */
.pr-stage{display:block;margin-top:7px;color:var(--muted);font-size:11px;white-space:nowrap}
.pr-stage .tag{margin-right:4px}
.tag-merged{background:#e1f6eb;color:#147b52}
.tag-open{background:#e5f1ff;color:#235fa8}
.tag-draft{background:#fff2dd;color:#956009}
.tag-closed-unmerged{background:#ffe8e8;color:#a03642}
.verification-panel{margin-top:20px;border-top:1px solid var(--line);padding-top:17px}
.verification-panel h3{margin-bottom:5px}
.verification-panel p{color:var(--muted);font-size:13px}
