:root{--canvas:#f3f5f9;--paper:#fff;--ink:#12233f;--muted:#5b6b85;--line:#dde3ec;--line-soft:#e9edf3;--accent:#2f5bea;--accent-ink:#fff;--accent-tint:#eaf0fe;--danger:#c4321f;--requirements:#8796ad;--design:#7c4dff;--development:#2f5bea;--qa:#e8930c;--bat:#d22f7f;--rollout:#1a9a55;--done:#16a34a;--done-tint:#e7f7ee;--display:"Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;--text:"Instrument Sans", "Segoe UI", system-ui, sans-serif;--radius:14px;--shadow:0 1px 2px #12233f0d, 0 4px 16px -8px #12233f1a}@media (prefers-color-scheme:dark){:root{--canvas:#0e1626;--paper:#152036;--ink:#e8eef7;--muted:#93a3bd;--line:#26334c;--line-soft:#1d2a41;--accent:#7c9bff;--accent-ink:#0e1626;--accent-tint:#1d2b4d;--danger:#ff8a7a;--requirements:#8c9ab3;--design:#a586ff;--development:#7c9bff;--qa:#f5b041;--bat:#f06aa8;--rollout:#4cc985;--done:#4ade80;--done-tint:#123323;--shadow:0 1px 2px #0000004d}}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{font:15px/1.5 var(--text);background:var(--canvas);color:var(--ink);font-variant-numeric:tabular-nums;margin:0}h1,h2,h3{font-family:var(--display);letter-spacing:-.015em;margin:0}.sub{color:var(--muted);margin:2px 0 0}[hidden]{display:none!important}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}select,input,textarea,button{font:inherit;color:var(--ink)}select,input,textarea{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:8px 10px}select:focus,input:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-tint);outline:none}button{cursor:pointer;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:7px 14px;font-weight:500}button:hover{border-color:color-mix(in srgb, var(--accent) 40%, var(--line))}button:disabled{opacity:.5;cursor:default}button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);font-weight:600}button.primary:hover{background:color-mix(in srgb, var(--accent) 88%, black)}button.link{color:var(--accent);background:0 0;border:0;border-radius:6px;padding:4px 8px}button.link:hover{background:var(--accent-tint)}button.link.danger,button.danger{color:var(--danger)}button.link.danger:hover{background:color-mix(in srgb, var(--danger) 10%, transparent)}button.ghost{border:1px dashed var(--line);color:var(--muted);background:0 0}button.ghost:hover{border-color:var(--accent);color:var(--accent);border-style:solid}.topbar{background:var(--paper);border-bottom:1px solid var(--line)}.topbar-inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 24px;max-width:1200px;margin:0 auto;padding:18px 32px;display:flex}.brand{align-items:center;gap:14px;display:flex}.brand h1{font-size:24px;font-weight:800}.logo-badge{border:1px solid var(--line);background:#fff;border-radius:12px;flex:none;place-items:center;height:44px;padding:0 11px;display:inline-grid;box-shadow:0 1px 2px #12233f0f,0 6px 14px -8px #12233f40}.logo-badge img{width:auto;height:22px;display:block}@media (prefers-color-scheme:dark){.logo-badge{border-color:#0000;box-shadow:0 0 0 1px #ffffff0f,0 8px 18px -10px #0009}}.totals{color:var(--muted);margin:2px 0 0;font-size:14px}.userbar{color:var(--muted);flex-wrap:wrap;align-items:center;gap:4px;font-size:14px;display:flex}.userbar #whoami{margin-right:6px}.userbar #whoami strong{color:var(--ink);font-weight:600}.userbar #newQbrBtn{margin-left:10px}.role-tag{background:var(--accent-tint);color:var(--accent);border-radius:999px;margin-left:6px;padding:1px 7px;font-size:12px}.shell{grid-template-columns:216px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{z-index:5;background:var(--paper);border-right:1px solid var(--line);flex-direction:column;gap:4px;height:100vh;padding:18px 12px 14px;display:flex;position:sticky;top:0}.side-brand{align-items:center;gap:10px;padding:2px 6px 20px;display:flex}.side-brand .logo-badge{border-radius:10px;height:36px;padding:0 8px}.side-brand .logo-badge img{height:18px}.side-brand .logo-badge.wordmark{padding:0 6px}.side-brand .logo-badge.wordmark img{height:24px}.side-title{font-family:var(--display);letter-spacing:-.01em;font-size:16px;font-weight:800;line-height:1.15}.nav-item{width:100%;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;padding:9px 12px;font-size:15px;font-weight:500;text-decoration:none;display:flex;position:relative}.nav-item svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}.nav-item:hover{background:var(--accent-tint);color:var(--ink)}.nav-item[aria-current=page]{background:var(--accent-tint);color:var(--accent);font-weight:600}.nav-item[aria-current=page]:before{content:"";background:var(--accent);border-radius:0 3px 3px 0;width:3px;position:absolute;top:8px;bottom:8px;left:-12px}.nav-item.logout:hover{background:color-mix(in srgb, var(--danger) 10%, transparent);color:var(--danger)}.side-spacer{flex:1}.side-user{border-top:1px solid var(--line);align-items:center;gap:10px;margin-top:8px;padding:12px 8px 8px;display:flex}.avatar{background:var(--accent);width:34px;height:34px;color:var(--accent-ink);font-family:var(--display);border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:700;display:grid}.who{flex-direction:column;min-width:0;line-height:1.25;display:flex}.who strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.who small{color:var(--muted);font-size:12px}main{width:100%;max-width:1200px;margin:0 auto;padding:36px 40px 80px}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:36px;display:flex}.page-head h1{font-size:32px;font-weight:800;line-height:1.1}.page-tools{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.inline-field{color:var(--muted);flex-direction:column;gap:4px;font-size:13px;font-weight:500;display:flex}.hint-line{color:var(--muted);margin:-20px 0 28px;font-size:14px}.dq{margin-bottom:56px}.dq h2{align-items:baseline;gap:12px;font-size:28px;font-weight:700;display:flex}.dq-pct{color:var(--muted);font-size:18px;font-weight:600}.dp{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);margin-top:18px;padding:18px 20px 12px}.dp-head{flex-wrap:wrap;align-items:baseline;gap:4px 16px;margin-bottom:10px;display:flex}.dp-head h3{font-size:20px;font-weight:700}.dt th.num,.dt td.num{text-align:right}.dt .sprint-row td{background:var(--canvas);border-top:1px solid var(--line);font-size:14px}.dt .sprint-row td:first-child{box-shadow:inset 3px 0 0 var(--c)}.dt .sprint-row .muted{margin-left:8px}.dt td.none{padding-left:24px}.dt tfoot td{border-top:2px solid var(--line);border-bottom:0;font-weight:700}input.days{text-align:right;font-variant-numeric:tabular-nums;width:86px;padding:5px 8px;transition:border-color .2s,box-shadow .2s}input.days.saved{border-color:var(--done);box-shadow:0 0 0 3px color-mix(in srgb, var(--done) 22%, transparent)}input.days.bad{border-color:var(--danger);box-shadow:0 0 0 3px color-mix(in srgb, var(--danger) 18%, transparent)}.var{white-space:nowrap;font-weight:600}.var.over{color:var(--danger)}.var.under{color:var(--done)}.var.even{color:var(--muted);font-weight:500}.account-card{background:var(--paper);border:1px solid var(--line);max-width:600px;box-shadow:var(--shadow);border-radius:18px;padding:12px 28px 24px}.account-list{margin:0}.account-list div{border-bottom:1px solid var(--line-soft);grid-template-columns:170px minmax(0,1fr);gap:12px;padding:14px 0;display:grid}.account-list dt{color:var(--muted)}.account-list dd{overflow-wrap:anywhere;margin:0;font-weight:500}.account-actions{flex-wrap:wrap;gap:10px;margin-top:22px;display:flex}.bar{background:var(--line-soft);border-radius:999px;min-width:60px;height:6px;overflow:hidden}.bar>span{background:var(--accent);border-radius:inherit;width:0;height:100%;transition:width .4s;display:block}[data-stage=requirements]{--c:var(--requirements)}[data-stage=design]{--c:var(--design)}[data-stage=development]{--c:var(--development)}[data-stage=qa]{--c:var(--qa)}[data-stage=bat]{--c:var(--bat)}[data-stage=rollout]{--c:var(--rollout)}.chev{flex:none;place-items:center;width:18px;height:18px;display:inline-grid}.chev:before{content:"";border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);width:9px;height:9px;transition:transform .18s;transform:rotate(45deg)translate(-1px,-1px)}.quarter-section.collapsed .quarter-head .chev:before,.project.collapsed .project-head .chev:before,.sprint:not(.open) .sprint-head .chev:before{transform:rotate(-45deg)}.quarters{gap:64px;display:grid}.quarter-section{gap:0;display:grid}.quarter-head{cursor:pointer;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:end;gap:8px 20px;padding-bottom:14px;display:grid}.quarter-head .chev{align-self:center;margin-top:6px}.quarter-head h2{letter-spacing:-.025em;font-size:40px;font-weight:700;line-height:1.05}.quarter-head .sub{margin-top:4px;font-size:15px}.q-actions{white-space:nowrap;align-items:center;gap:2px;padding-bottom:4px;display:flex}.q-actions .primary{margin-left:8px}.quarter-pct{font-family:var(--display);letter-spacing:-.03em;text-align:right;min-width:2.2ch;font-size:56px;font-weight:700;line-height:.9}.quarter-pct .unit{color:var(--muted);letter-spacing:0;margin-left:2px;font-size:.45em;font-weight:600}.bar.big{height:10px}.project-progress{gap:10px;max-width:760px;margin:22px 0 0;display:grid}.pp-row{grid-template-columns:minmax(0,220px) minmax(0,1fr) 48px;align-items:center;gap:16px;display:grid}.pp-name{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.pp-row .bar{height:6px}.pp-pct{text-align:right;color:var(--muted)}.quarter-body{gap:18px;margin-top:32px;display:grid}.quarter-section.collapsed .quarter-body,.quarter-section.collapsed .project-progress{display:none}.project{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.project-head{cursor:pointer;grid-template-columns:auto minmax(0,1fr) minmax(160px,240px) auto;align-items:center;gap:4px 16px;padding:18px 20px 16px;display:grid}.project-head .name{font-family:var(--display);font-size:21px;font-weight:700;line-height:1.2}.project-head .meta{color:var(--muted);font-size:14px}.project-head .updated{grid-column:2/-1;font-size:12px}.project-head .prog{align-items:center;gap:10px;display:flex}.project-head .prog .bar{flex:1;height:8px}.project-head .pct{font-family:var(--display);text-align:right;min-width:3.2ch;font-size:20px;font-weight:700}.project-actions{white-space:nowrap}.project-body{border-top:1px solid var(--line);padding:4px 20px 16px 48px;position:relative}.project-body:before{content:"";background:var(--line);border-radius:1px;width:2px;position:absolute;top:0;bottom:38px;left:28px}.project.collapsed .project-body{display:none}.add-sprint{padding-top:12px}.sprint{border-top:1px solid var(--line-soft);position:relative}.sprint:first-child{border-top:0}.sprint:before{content:"";background:var(--line);width:14px;height:2px;position:absolute;top:33px;left:-20px}.sprint-head{cursor:pointer;border-radius:10px;grid-template-columns:auto minmax(160px,1fr) minmax(330px,2.3fr) 56px auto;align-items:center;gap:8px 16px;padding:14px 6px 12px;display:grid}.sprint-head:hover{background:color-mix(in srgb, var(--accent-tint) 55%, transparent)}.sprint-name{font-size:16px;font-weight:600}.sprint-status{color:var(--muted);white-space:nowrap;margin-left:8px;font-size:13px;font-weight:500}.sprint.active .sprint-status{color:var(--accent)}.sprint.active .sprint-status:before{content:"";background:var(--accent);vertical-align:1px;border-radius:50%;width:7px;height:7px;margin-right:6px;display:inline-block}.sprint .meta{color:var(--muted);font-size:13px}.sprint .meta.goal{color:var(--ink);opacity:.8}.sprint-pct{font-family:var(--display);text-align:right;font-size:20px;font-weight:700}.sprint-actions{white-space:nowrap}.metro{grid-template-columns:repeat(6,minmax(0,1fr));margin:0;padding:0;list-style:none;display:grid;container-type:inline-size}.stop{position:relative}.stop:not(:first-child):before{content:"";transform-origin:0;background:var(--line);border-radius:2px;height:4px;position:absolute;top:16px;left:-50%;right:50%;transform:translateY(-50%)}.stop.done:before,.stop.current:before{background:var(--c)}.stop.next:before{background:linear-gradient(to right, var(--fc) var(--fill), var(--line) var(--fill))}.stop button{z-index:1;width:100%;color:inherit;background:0 0;border:0;border-radius:8px;flex-direction:column;align-items:center;gap:6px;padding:6px 0 2px;display:flex;position:relative}.stop button:hover{background:0 0}.node{grid-template:100%/100%;place-items:center;width:20px;height:20px;display:grid}.node:after{content:"";background:var(--paper);border:2px solid var(--line);border-radius:50%;width:16px;height:16px;transition:transform .15s,border-color .15s}.node:before,.node:after{grid-area:1/1}.stop.done .node:after{background:var(--done-tint);border:2px solid var(--done);width:24px;height:24px;box-shadow:0 0 0 3px color-mix(in srgb, var(--done) 14%, transparent), 0 2px 6px -2px color-mix(in srgb, var(--done) 55%, transparent)}.stop.done .node:before{content:"";z-index:1;border-right:2.25px solid var(--done);border-bottom:2.25px solid var(--done);border-radius:0 0 1px;width:7px;height:11px;margin-top:-2px;position:relative;transform:rotate(45deg)}.stop.current .node:after{background:var(--paper);border:5px solid var(--c);width:30px;height:30px;box-shadow:0 0 0 5px color-mix(in srgb, var(--c) 18%, transparent)}.stop.todo button:hover .node:after{border-color:var(--c);transform:scale(1.15)}.stop.done button:hover .node:after{transform:scale(1.2)}.lbl{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:12px;overflow:hidden}.lbl .short{display:none}.stop.current .lbl{color:var(--ink);font-weight:600}.stage-pct{color:var(--c);font-variant-numeric:tabular-nums;margin-top:-3px;font-size:11px;font-weight:700;line-height:1}.stop.current button{cursor:pointer}.stop.current button:hover .node:after{transform:scale(1.1)}@container (width<=470px){.lbl .full{display:none}.lbl .short{display:inline}}@keyframes draw-track{0%{transform:translateY(-50%)scaleX(0)}}@keyframes pop-node{0%{opacity:0;transform:scale(.4)}}body.intro .stop.done:before,body.intro .stop.current:before,body.intro .stop.next:before{animation:.45s cubic-bezier(.3,.7,.3,1) both draw-track;animation-delay:calc(var(--i) * .11s)}body.intro .stop.done .node:after,body.intro .stop.current .node:after{animation:.3s ease-out both pop-node;animation-delay:calc(var(--i) * .11s + .12s)}@keyframes tick-in{0%{opacity:0;transform:rotate(45deg)scale(0)}}body.intro .stop.done .node:before{animation:.25s cubic-bezier(.3,1.6,.5,1) both tick-in;animation-delay:calc(var(--i) * .11s + .3s)}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.sprint-body{padding:0 0 14px 42px;display:none}.sprint.open .sprint-body{display:block}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid var(--line-soft);white-space:nowrap;padding:9px 12px}tr:last-child td{border-bottom:none}th{color:var(--muted);font-size:12px;font-weight:500}td.title{white-space:normal;min-width:220px;font-weight:500}td.title .notes{color:var(--muted);font-size:13px;font-weight:400}td.updated{color:var(--muted);font-size:13px}.add-story{padding:10px 12px 0}.no-stories{color:var(--muted);margin:0;padding:10px 12px;font-size:14px}.empty{color:var(--muted);text-align:center;border:1px dashed var(--line);border-radius:var(--radius);background:var(--paper);margin:0;padding:32px}dialog{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:18px;width:min(560px,100vw - 32px);padding:0;box-shadow:0 24px 64px -16px #12233f59}dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0e162673}dialog form,.dialog-body{padding:24px}dialog h2{margin-bottom:2px;font-size:24px;font-weight:700}dialog .sub{margin-bottom:18px}.grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.grid label{color:var(--muted);flex-direction:column;gap:6px;font-size:13px;font-weight:500;display:flex}.grid .wide{grid-column:1/-1}.range-row{align-items:center;gap:10px;display:flex}.range-row .bar{flex:1;height:8px}.stage-progress{flex-direction:column;gap:6px;display:flex}.stage-progress .label{color:var(--muted);font-size:13px;font-weight:500}#progressBar>span{background:var(--c)}.sprint-length{color:var(--muted);margin:0;font-size:13px}input[type=range]{accent-color:var(--c,var(--accent));width:100%;box-shadow:none;background:0 0;border:0;padding:0}#stagePctField .range-row input{flex:1}#stagePctField.off{opacity:.45}#stagePctOut{text-align:right;width:44px;color:var(--ink);font-family:var(--display);font-weight:700}#stageDialog{width:min(440px,100vw - 32px)}.stage-update{align-items:center;gap:14px;margin-top:6px;display:flex}.stage-update input[type=range]{flex:1;height:28px}.pct-input{font-family:var(--display);align-items:center;gap:4px;font-size:18px;font-weight:700;display:flex}.pct-input input{text-align:right;width:72px;font-family:var(--display);font-size:18px;font-weight:700}.quick-pcts{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.quick-pcts button{border-radius:999px;padding:4px 12px;font-size:13px}.stage-result{margin:16px 0 0;font-size:15px}.stage-result strong{font-family:var(--display);font-size:20px}.muted{color:var(--muted);font-size:13px}.actions{justify-content:flex-end;gap:8px;margin-top:20px;display:flex}.error{color:var(--danger);margin:12px 0 0}#usersDialog{width:min(700px,100vw - 32px)}#usersDialog td,#usersDialog th{padding:8px 10px}.add-user{margin-top:22px;padding:0}.add-user h3{margin:0 0 12px;font-size:17px}.auth{place-items:center;min-height:100vh;padding:16px;display:grid}.auth-card{background:var(--paper);border:1px solid var(--line);width:min(400px,100%);box-shadow:var(--shadow);border-radius:20px;flex-direction:column;gap:14px;padding:32px;display:flex}.auth-card h1{font-size:30px;font-weight:800}.auth-card .sub{margin:-8px 0 6px}.auth-card label{color:var(--muted);flex-direction:column;gap:6px;font-size:13px;font-weight:500;display:flex}.auth-card .error{margin:0}.auth-card .hint{color:var(--muted);font-size:12px;font-weight:400}.auth-card code{overflow-wrap:anywhere;font-size:12px}.auth-card button{margin-top:6px;padding:11px}@media (width<=860px){.sprint-head{grid-template-columns:auto minmax(0,1fr) auto}.sprint-head .metro{grid-area:2/1/auto/-1}.sprint-head .sprint-pct{grid-area:1/3}.sprint-actions{grid-area:3/2/auto/-1}}@media (width<=720px){.shell{grid-template-columns:minmax(0,1fr)}.sidebar{height:auto;padding:6px 6px calc(6px + env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--line);flex-direction:row;gap:2px;position:fixed;inset:auto 0 0;box-shadow:0 -6px 18px -12px #12233f40}.side-brand,.side-spacer,.side-user{display:none}.nav-item{text-align:center;flex-direction:column;flex:1;justify-content:center;gap:3px;padding:6px 4px;font-size:11px}.nav-item[aria-current=page]:before{border-radius:0 0 3px 3px;width:auto;height:3px;inset:-6px 25% auto}main{padding:24px 16px 96px}.page-head h1{font-size:26px}.account-list div{grid-template-columns:1fr;gap:2px}.quarters{gap:48px}.grid{grid-template-columns:1fr}.quarter-head{grid-template-columns:auto minmax(0,1fr) auto}.quarter-head h2{font-size:32px}.quarter-pct{font-size:44px}.q-actions{grid-area:2/2/auto/-1}.q-actions .primary{margin-left:auto}.pp-row{grid-template-columns:minmax(0,1fr) 44px;gap:4px 12px}.pp-row .bar{grid-area:2/1/auto/-1}.project-head{grid-template-columns:auto minmax(0,1fr) auto;padding:16px 14px 14px}.project-head .prog{grid-area:2/2/auto/-1}.project-actions{grid-area:1/3}.project-head .updated{grid-row:3}.project-body{padding:4px 12px 14px 36px}.project-body:before{left:20px}.sprint:before{width:10px;left:-16px}.sprint-body{padding-left:8px}}.connection-banner{z-index:50;background:var(--danger);color:#fff;box-shadow:var(--shadow);border-radius:10px;padding:10px 16px;font-size:14px;font-weight:600;position:fixed;top:12px;left:50%;transform:translate(-50%)}.auth-link{color:var(--accent);align-self:center;font-size:14px;text-decoration:none}.auth-link:hover{text-decoration:underline}.loading-screen{background:var(--canvas);min-height:100vh}.modal-backdrop{z-index:40;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0e162673;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal{background:var(--paper);width:min(560px,100%);max-height:calc(100vh - 32px);color:var(--ink);border:1px solid var(--line);border-radius:18px;padding:24px;overflow:auto;box-shadow:0 24px 64px -16px #12233f59}.modal.wide{width:min(720px,100%)}.modal h2{margin-bottom:2px;font-size:24px;font-weight:700}.modal>.sub{margin-bottom:18px}.grid label.off{opacity:.45}.range-row input[type=range]{flex:1}.range-row output{text-align:right;width:44px;color:var(--ink);font-family:var(--display);font-weight:700}.skeleton{gap:18px;display:grid}.skeleton div{border-radius:var(--radius);background:linear-gradient(90deg, var(--line-soft), var(--paper), var(--line-soft));background-size:200% 100%;height:120px;animation:1.4s linear infinite shimmer}@keyframes shimmer{to{background-position:-200% 0}}.note{color:var(--done);margin:12px 0 0;font-weight:500}.row-actions{white-space:nowrap}
