:root{--bg:#f3f4f1;--surface:#fff;--ink:#1b221f;--muted:#5e6862;--rule:#d9ddd7;--zone:#e8ebe6;--l-company:#1f5fad;--l-linkshop:#d9661c;--l-vortex:#0d877b;--l-other:#6b4fb3;--done:#2f8a4a;--blocked:#c8312b;--active:#b07a00;--todo:#a7afa9;--font-display:"Overpass", "Helvetica Neue", Arial, sans-serif;--font-body:"Overpass", "Helvetica Neue", Arial, sans-serif;--font-mono:"Overpass Mono", ui-monospace, Menlo, monospace;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);font-family:var(--font-body);padding-left:max(16px, env(safe-area-inset-left,0px));padding-right:max(16px, env(safe-area-inset-right,0px));padding-block:20px 48px;font-size:15px;line-height:1.5}.wrap{gap:22px;min-width:0;display:grid}h1,h2,h3{font-family:var(--font-display);text-wrap:balance;margin:0}h1{letter-spacing:-.01em;font-size:1.4rem;font-weight:800;line-height:1.15}h2{font-size:1.15rem;font-weight:700}h3{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-size:.75rem;font-weight:700}p{margin:0}.mono{font-family:var(--font-mono);font-variant-numeric:tabular-nums}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--l-company);outline-offset:2px}a{color:inherit}.hint{color:var(--muted);font-size:.82rem}.shell{grid-template-columns:250px minmax(0,1fr);align-items:start;gap:28px;max-width:1480px;margin:0 auto;display:grid}.side{top:calc(env(safe-area-inset-top,0px) + 16px);border-right:3px solid var(--ink);gap:18px;min-width:0;max-height:calc(100dvh - 32px);padding-right:18px;display:grid;position:sticky;overflow-y:auto}.side header{gap:6px;display:grid}.side header p{color:var(--muted);font-size:.82rem}.tabs{gap:2px;display:grid}.tabs button{text-align:left;background:0 0;border:0;border-radius:8px;padding:7px 12px;font-size:.9rem;font-weight:600}.tabs button:hover{background:var(--zone)}.tabs button[aria-pressed=true]{background:var(--ink);color:var(--bg)}.side-lines{gap:8px;display:grid}@media (max-width:860px){.shell{grid-template-columns:1fr;gap:16px}.side{border-right:0;border-bottom:3px solid var(--ink);max-height:none;padding:0 0 12px;position:static;overflow:visible}.tabs{flex-wrap:wrap;display:flex}.tabs button{border:1px solid var(--rule);border-radius:999px;padding:5px 12px;font-size:.85rem}.lines{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important}}.lines{grid-template-columns:1fr;gap:8px;display:grid}.line-card{text-align:left;background:var(--surface);border:1px solid var(--rule);border-radius:10px;gap:6px;padding:12px 12px 10px;display:grid;position:relative;overflow:hidden}.line-card:before{content:"";background:var(--lc);height:5px;position:absolute;inset:0 0 auto}.line-card[aria-pressed=true]{border-color:var(--lc);box-shadow:0 0 0 1px var(--lc)}.line-card .row{justify-content:space-between;align-items:center;gap:8px;display:flex}.badge{background:var(--lc);color:#fff;border-radius:6px;flex:none;justify-content:center;align-items:center;width:24px;height:24px;font-size:.8rem;font-weight:800;display:inline-flex}.line-card .name{font-family:var(--font-display);align-items:center;gap:8px;min-width:0;font-size:.98rem;font-weight:800;display:flex}.meter{background:var(--zone);border-radius:3px;height:6px;overflow:hidden}.meter i{background:var(--lc);height:100%;display:block}.kv{color:var(--muted);gap:1px;font-size:.8rem;display:grid}.kv b{color:var(--ink);font-weight:600}.new-card{text-align:center;color:var(--muted);border-style:dashed;padding:12px}.pill{text-transform:uppercase;letter-spacing:.06em;white-space:nowrap;border:1.5px solid;border-radius:999px;align-items:center;gap:4px;padding:1px 8px;font-size:.68rem;font-weight:700;display:inline-flex}.pill.done{color:var(--done)}.pill.active{color:var(--active)}.pill.blocked{color:var(--blocked)}.pill.todo{color:var(--muted)}.pill.draft{color:var(--l-other)}.map-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px 16px;display:flex}.map-head p{color:var(--muted);max-width:72ch}.legend{color:var(--muted);flex-wrap:wrap;gap:12px;font-size:.78rem;display:flex}.legend span{align-items:center;gap:5px;display:inline-flex}.legend i{border:3px solid var(--todo);background:var(--surface);border-radius:50%;width:12px;height:12px;display:inline-block}.legend i.d{background:var(--done);border-color:var(--done)}.legend i.a{border-color:var(--active)}.legend i.b{border-color:var(--blocked)}.legend i.g{border-color:var(--ink);border-width:2px;border-radius:2px;width:10px;height:10px;transform:rotate(45deg)}.map-scroll{background:var(--surface);border:1px solid var(--rule);border-radius:12px;padding:14px 6px 10px;overflow-x:auto}.map{min-width:max-content;padding:0 10px;display:flex}.zone{grid-template-rows:auto 1fr;padding:0 2px;display:grid}.zone-label{font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.1em;color:var(--muted);white-space:nowrap;padding:0 8px 10px;font-size:.7rem}.zone-label b{color:var(--ink)}.stations{display:flex;position:relative}.stations:before,.gate:before{content:"";background:var(--lc);opacity:.9;height:8px;position:absolute;top:37px;left:0;right:0}.map>.zone:first-child .stations:before{border-radius:4px 0 0 4px;left:50px}.map>.gate:last-child:before{border-radius:0 4px 4px 0;right:50%}.gate{background:0 0;border:0;align-content:start;justify-items:center;width:52px;margin-top:27px;padding:0;display:grid;position:relative}.gate:before{top:37px}.gate .gd{z-index:1;background:var(--surface);border:3px solid var(--ink);border-radius:3px;place-items:center;width:24px;height:24px;margin-top:29px;display:grid;position:relative;transform:rotate(45deg)}.gate .gd span{font-size:.65rem;font-weight:800;transform:rotate(-45deg)}.gate.go .gd{background:var(--done);border-color:var(--done);color:#fff}.gate.hold .gd,.gate.recycle .gd{background:var(--active);border-color:var(--active);color:#1b1300}.gate.kill .gd{background:var(--blocked);border-color:var(--blocked);color:#fff}.gate .gl{font-family:var(--font-mono);color:var(--ink);margin-top:10px;font-size:.64rem;font-weight:600}.gate.sel .gd{outline:3px solid var(--ink);outline-offset:4px}.station{text-align:center;background:0 0;border:0;align-content:start;justify-items:center;gap:6px;width:104px;padding:0 2px 6px;display:grid;position:relative}.here{letter-spacing:.06em;text-transform:uppercase;height:20px;color:var(--active);white-space:nowrap;font-size:.64rem;font-weight:800}.dot{background:var(--surface);border:5px solid var(--todo);z-index:1;border-radius:50%;place-items:center;width:30px;height:30px;font-size:.75rem;font-weight:800;transition:transform .15s;display:grid;position:relative}.station:hover .dot{transform:scale(1.12)}.station.s-done .dot{background:var(--done);border-color:var(--done);color:#fff}.station.s-active .dot{border-color:var(--active);box-shadow:0 0 0 4px color-mix(in srgb, var(--active) 30%, transparent)}.station.s-blocked .dot{border-color:var(--blocked);color:var(--blocked)}.station.sel .dot{outline:3px solid var(--ink);outline-offset:3px}.station .lbl{max-width:96px;font-size:.78rem;font-weight:600;line-height:1.25}.station .num{font-family:var(--font-mono);color:var(--muted);font-size:.66rem}.station .tc{font-family:var(--font-mono);color:var(--muted);font-size:.62rem}.station.s-todo .lbl{color:var(--muted)}@media (prefers-reduced-motion:no-preference){.station.s-active .dot{animation:2.2s ease-in-out infinite pulse}@keyframes pulse{50%{box-shadow:0 0 0 9px color-mix(in srgb, var(--active) 0%, transparent)}}}.mini{justify-items:center;margin-top:2px;display:grid}.mini svg{width:92px;height:46px;overflow:visible}.mini .cap{font-family:var(--font-mono);color:var(--lc);font-size:.62rem;font-weight:600;line-height:1.2}.mini .cap b{color:var(--ink);font-family:var(--font-body);font-size:.66rem;display:block}.ring{fill:none;stroke:var(--lc);stroke-width:2px;stroke-dasharray:3 3}.cnode{stroke-width:2.5px}.cnode.past,.big.past{fill:var(--done);stroke:var(--done)}.cnode.now,.big.now{fill:var(--active);stroke:var(--active)}.cnode.next{fill:var(--surface);stroke:var(--todo)}.big.next{fill:var(--surface);stroke:var(--todo);stroke-width:3px}.book{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}@media (max-width:1100px){.book{grid-template-columns:1fr}}.panel{background:var(--surface);border:1px solid var(--rule);border-radius:12px;align-content:start;gap:16px;min-width:0;padding:18px;display:grid}.panel-head{gap:8px;display:grid}.eyebrow{font-family:var(--font-mono);color:var(--muted);letter-spacing:.04em;font-size:.72rem}.panel-head h2{font-size:1.45rem;font-weight:800}.purpose{max-width:68ch;font-size:1rem}.seg{flex-wrap:wrap;gap:6px;display:flex}.seg button{border:1.5px solid var(--rule);background:0 0;border-radius:999px;padding:3px 11px;font-size:.78rem;font-weight:700}.seg button[aria-pressed=true].done,.seg button[aria-pressed=true].go{background:var(--done);border-color:var(--done);color:#fff}.seg button[aria-pressed=true].active,.seg button[aria-pressed=true].hold,.seg button[aria-pressed=true].recycle{background:var(--active);border-color:var(--active);color:#1b1300}.seg button[aria-pressed=true].blocked,.seg button[aria-pressed=true].kill{background:var(--blocked);border-color:var(--blocked);color:#fff}.seg button[aria-pressed=true].todo{background:var(--ink);border-color:var(--ink);color:var(--bg)}.fact{gap:6px;min-width:0;display:grid}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{border:1px solid var(--rule);background:var(--bg);border-radius:6px;align-items:center;gap:6px;padding:3px 8px;font-size:.8rem;text-decoration:none;display:inline-flex}.chip .st{background:var(--todo);border-radius:50%;flex:none;width:8px;height:8px}.st.done{background:var(--done)!important}.st.active{background:var(--active)!important}.st.blocked{background:var(--blocked)!important}.warn{border-left:4px solid var(--active);background:color-mix(in srgb, var(--active) 8%, var(--surface));border-radius:0 8px 8px 0;padding:8px 12px;font-size:.88rem}.blockbox{border-left:4px solid var(--blocked);gap:6px;padding-left:12px;display:grid}textarea,input[type=text],input[type=date],select{width:100%;font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--rule);border-radius:8px;padding:7px 10px;font-size:.9rem}textarea{resize:vertical;min-height:56px}.saved{color:var(--done);min-height:1em;font-size:.75rem}.list{gap:8px;display:grid}.item{border:1px solid var(--rule);background:var(--bg);text-align:left;border-radius:8px;grid-template-columns:auto 1fr;align-items:start;gap:10px;padding:9px 10px;display:grid}.item .t{font-weight:700}.item .s{color:var(--muted);font-size:.82rem}.item .mk{background:var(--todo);border-radius:50%;width:10px;height:10px;margin-top:6px}.item .mk.blocked{background:var(--blocked)}.item .mk.active{background:var(--active)}.item .mk.done{background:var(--done)}.btn{background:var(--ink);color:var(--bg);border:0;border-radius:8px;padding:8px 14px;font-size:.88rem;font-weight:700}.btn.ghost{color:var(--ink);border:1.5px solid var(--rule);background:0 0}.btn.go{background:var(--lc,var(--ink));color:#fff}.actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.tasks{gap:8px;display:grid}.task{border:1px solid var(--rule);background:var(--surface);border-radius:10px;overflow:hidden}.task[open]{border-color:var(--ink)}.task>summary{cursor:pointer;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;list-style:none;display:grid}.task>summary::-webkit-details-marker{display:none}.task>summary:hover{background:var(--zone)}.task .wbs{font-family:var(--font-mono);color:var(--muted);font-size:.78rem;font-weight:600}.task .tname{min-width:0;font-weight:700}.task .tmeta{color:var(--muted);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;font-size:.75rem;display:flex}.task .tdot{border:2.5px solid var(--todo);background:var(--surface);border-radius:50%;width:12px;height:12px}.task .tdot.done{background:var(--done);border-color:var(--done)}.task .tdot.active{border-color:var(--active);background:var(--active)}.task .tdot.blocked{border-color:var(--blocked);background:var(--blocked)}.task-body{border-top:1px dashed var(--rule);gap:14px;padding:4px 14px 16px;display:grid}.how{gap:4px;margin:0;padding-left:1.3em;display:grid}.how li::marker{font-family:var(--font-mono);color:var(--muted);font-size:.8rem}.meta-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px 16px;display:grid}.meta-grid .fact p{font-size:.9rem}.checks{gap:2px;margin:0;padding:0;list-style:none;display:grid}.checks label{cursor:pointer;border-radius:8px;align-items:flex-start;gap:10px;padding:5px 8px;display:flex}.checks label:hover{background:var(--zone)}.checks input{width:18px;height:18px;accent-color:var(--done);flex:none;margin:2px 0 0}.checks .ok span{color:var(--muted);text-decoration:line-through}.edit-row{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;display:grid}.loopbox{border:1.5px dashed var(--lc);border-radius:12px;gap:12px;padding:14px;display:grid}.loopbox .top{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.loopbox .round{font-family:var(--font-display);font-size:1.1rem;font-weight:800}.loopsvg{width:100%;max-width:420px;height:auto;margin:0 auto;display:block}.arc{fill:none;stroke:var(--muted);stroke-width:2px}.arc.back{stroke:var(--lc);stroke-width:2.5px;stroke-dasharray:6 4}.nlabel{font-family:var(--font-body);fill:var(--ink);font-size:13px;font-weight:600}.nlabel.next{fill:var(--muted);font-weight:400}.nnum{font-family:var(--font-mono);fill:#fff;font-size:11px;font-weight:700}.nnum.next{fill:var(--muted)}.ctr1{font-family:var(--font-display);fill:var(--ink);font-size:22px;font-weight:800}.ctr2{font-family:var(--font-mono);fill:var(--muted);letter-spacing:.08em;font-size:11px}.doc{gap:16px;max-width:920px;display:grid}.doc .panel p,.doc .panel li{max-width:70ch}.doc ol,.doc ul{gap:6px;margin:0;padding-left:1.3em;display:grid}.steps-big{counter-reset:s;gap:10px;list-style:none;display:grid;padding:0!important}.steps-big li{counter-increment:s;grid-template-columns:34px 1fr;align-items:start;gap:10px;display:grid}.steps-big li:before{content:counter(s);font-family:var(--font-display);background:var(--ink);width:28px;height:28px;color:var(--bg);border-radius:50%;place-items:center;font-size:1rem;font-weight:800;display:grid}table.gloss{border-collapse:collapse;width:100%;font-size:.9rem}.gloss th,.gloss td{text-align:left;border-bottom:1px solid var(--rule);vertical-align:top;padding:7px 10px}.gloss th{font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:.75rem}.tbl{overflow-x:auto}.roles{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;display:grid}.role{background:var(--surface);border:1px solid var(--rule);border-radius:12px;align-content:start;gap:10px;padding:16px;display:grid}.role ul{gap:2px;margin:0;padding-left:1.2em;font-size:.88rem;display:grid}.tpl-flow{flex-wrap:wrap;align-items:center;gap:6px;font-size:.82rem;display:flex}.tpl-flow .ph{font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-left:6px;font-size:.68rem}.tpl-flow .st2{border:1px solid var(--rule);background:var(--bg);border-radius:6px;padding:2px 8px}.tpl-flow .gt{font-weight:800}.wiz-q{font-family:var(--font-display);font-size:1.15rem;font-weight:700}.opts{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;display:grid}.opt{text-align:left;border:1.5px solid var(--rule);background:var(--bg);border-radius:10px;padding:10px 12px;font-weight:600}.opt:hover{border-color:var(--ink)}.qa{gap:6px;font-size:.88rem;display:grid}.qa div{border-left:3px solid var(--rule);padding-left:10px}.scores{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;display:grid}.score{border:1px solid var(--rule);border-radius:10px;gap:4px;padding:10px;display:grid}.score b{font-family:var(--font-display);font-size:1.4rem}.bar{background:var(--zone);border-radius:3px;height:6px;overflow:hidden}.bar i{background:var(--l-company);height:100%;transition:width .3s;display:block}.verdict{font-family:var(--font-display);font-size:1.3rem;font-weight:800}.verdict.Go{color:var(--done)}.verdict.Hold{color:var(--active)}.verdict.Kill{color:var(--blocked)}.draft-banner{border:2px dashed var(--l-other);background:var(--surface);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.ai{border:1.5px solid var(--l-other);background:color-mix(in srgb, var(--l-other) 5%, var(--surface));border-radius:10px;gap:10px;padding:12px;display:grid}.ai-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 12px;display:flex}.ai-head h3{color:var(--l-other)}.ai-out{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface);border:1px solid var(--rule);border-radius:8px;max-height:520px;padding:12px;font-size:.9rem;line-height:1.55;overflow:auto}.ai-out.busy{color:var(--muted)}.btn.ai-go{background:var(--l-other);color:#fff}.empty{text-align:center;color:var(--muted);border:1px dashed var(--rule);background:var(--surface);border-radius:12px;padding:24px}.foot{color:var(--muted);font-size:.8rem}.userbar{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:.82rem;display:flex}.userbar b{color:var(--ink)}.userbar .btn{padding:4px 10px;font-size:.78rem}.login{place-items:center;min-height:100dvh;padding-block:24px;display:grid}.login-card{width:min(420px,100%)}.login-card h1{font-size:1.8rem}
