:root{--bg: #0a1020;--bg2: #111a33;--text: #e6ebf5;--muted: #8b97b3;--blue: #3b82f6;--blue-soft: rgba(59, 130, 246, .14);--orange: #f59e0b;--orange-soft: rgba(245, 158, 11, .14);--green: #22c55e;--green-soft: rgba(34, 197, 94, .14);font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif;color:var(--text);background:var(--bg)}*{box-sizing:border-box}html,body{margin:0;height:100%}body{background:radial-gradient(ellipse at 40% 50%,#16224a 0%,transparent 60%),radial-gradient(circle at 1px 1px,rgba(255,255,255,.05) 1px,transparent 0) 0 0 / 28px 28px,var(--bg)}#app{height:100vh;display:grid;grid-template-columns:1fr 380px;grid-template-rows:auto auto 1fr auto;grid-template-areas:"header header" "toolbar toolbar" "stage panel" "footer footer"}.header{grid-area:header;display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding:18px 28px 6px}.logo{height:40px;width:auto;align-self:center;margin-right:-8px}.title{margin:0;font-size:22px;font-weight:650;letter-spacing:-.01em}.subtitle{margin:0;color:var(--muted);font-size:14px}.legend{display:flex;gap:14px;margin:0 0 0 auto;padding:0;list-style:none;font-size:13px;color:var(--muted)}.legend-item{display:flex;align-items:center;gap:7px}.swatch{width:12px;height:12px;border-radius:50%}.legend-item.blue .swatch{background:var(--blue);box-shadow:0 0 8px var(--blue)}.legend-item.orange .swatch{background:var(--orange);box-shadow:0 0 8px var(--orange)}.legend-item.green .swatch{background:var(--green);box-shadow:0 0 8px var(--green)}.stage{grid-area:stage;min-height:0;display:flex;align-items:center;justify-content:center;padding:8px}.map{width:100%;height:100%;overflow:visible}.ring{fill:none;stroke:#ffffff0f;stroke-dasharray:2 8}.link{fill:none;stroke-width:2.5;opacity:.55;stroke-dasharray:1200;stroke-dashoffset:1200;animation:draw 1.1s ease-out forwards}.flow{fill:none;stroke-width:3;stroke-linecap:round;stroke-dasharray:2 18;opacity:0;animation:fade-in .6s ease-out forwards,flow 1.6s linear infinite}@keyframes draw{to{stroke-dashoffset:0}}@keyframes flow{to{stroke-dashoffset:-40}}@keyframes fade-in{to{opacity:.9}}.fo{overflow:visible}.node{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:8px 12px;border-radius:14px;border:1.5px solid;background:var(--bg2);text-align:center;cursor:pointer;opacity:0;transform:scale(.6);transform-origin:center;animation:pop .55s cubic-bezier(.34,1.56,.64,1) forwards;transition:box-shadow .2s,background .2s}@keyframes pop{to{opacity:1;transform:scale(1)}}.node-tag{font-size:9.5px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;opacity:.85}.node-label{font-size:13.5px;font-weight:550;line-height:1.2;color:var(--text)}.node.blue{border-color:var(--blue);background:linear-gradient(180deg,#3b82f638,#3b82f614),var(--bg2);box-shadow:0 0 16px #3b82f640}.node.blue .node-tag{color:#93c5fd}.node.orange{border-color:var(--orange);background:linear-gradient(180deg,#f59e0b38,#f59e0b14),var(--bg2);box-shadow:0 0 16px #f59e0b40}.node.orange .node-tag{color:#fcd34d}.branch{outline:none;transition:opacity .25s}.branch-links{transition:opacity .25s}.map.focused .branch:not(.active) .node{filter:brightness(.4) saturate(.4);box-shadow:none}.map.focused .branch-links:not(.active){opacity:.15}.branch.active .node.blue{box-shadow:0 0 30px #3b82f6b3}.branch.active .node.orange{box-shadow:0 0 30px #f59e0bb3}.branch-links.active .link{opacity:1;stroke-width:3.5}.branch:focus-visible .node{outline:2px solid #fff;outline-offset:3px}.center{cursor:pointer;outline:none}.center-halo{fill:none;stroke:var(--green);stroke-width:2;opacity:.5;transform-box:fill-box;transform-origin:center;animation:pulse 2.8s ease-in-out infinite}@keyframes pulse{0%,to{transform:scale(.92);opacity:.6}50%{transform:scale(1.08);opacity:.1}}.center-core{transform-box:fill-box;transform-origin:center;animation:pop .7s cubic-bezier(.34,1.56,.64,1) both}.center-text{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;pointer-events:none}.center-kicker{font-size:17px;font-weight:700;line-height:1.1}.center-main{margin-top:4px;white-space:pre-line;font-size:10.5px;font-weight:500;line-height:1.25;opacity:.92}.panel{grid-area:panel;overflow-y:auto;padding:16px 24px 24px 4px;display:flex;flex-direction:column;gap:8px}.card{border-radius:14px;border:1.5px solid;padding:14px 16px;animation:slide .25s ease-out}@keyframes slide{0%{opacity:0;transform:translate(10px)}}.card.blue{border-color:var(--blue);background:var(--blue-soft)}.card.orange{border-color:var(--orange);background:var(--orange-soft)}.card.green{border-color:var(--green);background:var(--green-soft)}.card-tag{margin:0 0 6px;font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.08em}.card.blue .card-tag{color:#93c5fd}.card.orange .card-tag{color:#fcd34d}.card.green .card-tag{color:#86efac}.card-title{margin:0;font-size:16px;font-weight:600;line-height:1.3}.card-headline{margin:0 0 10px;font-size:18px;font-weight:600;line-height:1.35}.quote,.body{margin:8px 0 0;font-size:13.5px;line-height:1.5;color:#c3cbe0}.quote{font-style:italic}.points{margin:0;padding-left:18px;font-size:14px;line-height:1.55;color:#d4dbec}.points li+li{margin-top:4px}.arrow{align-self:center;width:2px;height:14px;background:linear-gradient(var(--muted),transparent)}.hint{margin:8px 2px 0;font-size:12.5px;color:var(--muted)}@media(max-width:1000px){#app{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(420px,60vh) auto auto;grid-template-areas:"header" "toolbar" "stage" "panel" "footer";height:auto}.panel{padding:8px 20px 28px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important}}.legend-item.gray .swatch{background:#94a3b8;box-shadow:0 0 8px #94a3b8}.node.gray{border-color:#64748b;border-style:dashed;background:linear-gradient(180deg,#94a3b829,#94a3b80d),var(--bg2);box-shadow:0 0 12px #94a3b826}.node.gray .node-tag{color:#cbd5e1}.node.gray .node-label{font-size:12.5px;font-weight:500;color:#d7dde8}.branch.active .node.gray{box-shadow:0 0 26px #94a3b88c}.idea-link{stroke-dasharray:6 6}.link.idea-link{animation:fade-in .8s ease-out forwards;opacity:0}.card.gray{border-color:#64748b;border-style:dashed;background:#94a3b81a}.card.gray .card-tag{color:#cbd5e1}#app{transition:grid-template-columns .3s ease}#app.collapsed{grid-template-columns:1fr 0px}#app.collapsed .panel{visibility:hidden;padding:0}.stage{position:relative}.panel-toggle{padding:6px 12px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:#ffffff0f;color:var(--text);font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}.panel-toggle:hover{background:#ffffff1f}.panel-toggle:focus-visible{outline:2px solid #fff;outline-offset:2px}@media(max-width:1000px){#app.collapsed{grid-template-columns:minmax(0,1fr)}#app.collapsed .panel{display:none}}.toolbar{grid-area:toolbar;display:flex;align-items:center;gap:10px;padding:4px 28px 0}.toolbar .spacer{flex:1}.segmented{display:inline-flex;padding:3px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:#ffffff0a}.seg{padding:5px 14px;border:0;border-radius:999px;background:transparent;color:var(--muted);font:inherit;font-size:13px;cursor:pointer}.seg[aria-pressed=true]{background:#ffffff24;color:var(--text);font-weight:600}.tool-btn{padding:6px 14px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:#ffffff0f;color:var(--text);font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}.tool-btn:hover:not(:disabled){background:#ffffff1f}.tool-btn:disabled{opacity:.35;cursor:default}.tool-btn.primary{border-color:#22c55eb3;background:#22c55e2e}.tool-btn.primary:hover:not(:disabled){background:#22c55e4d}.seg:focus-visible,.tool-btn:focus-visible,.tour-close:focus-visible{outline:2px solid #fff;outline-offset:2px}.stage{overflow:hidden}.tour-caption{position:absolute;left:50%;bottom:18px;width:min(640px,calc(100% - 32px));transform:translate(-50%);display:none;flex-direction:column;gap:10px;padding:16px 20px 14px;border:1px solid rgba(255,255,255,.16);border-radius:16px;background:#0d1428eb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 12px 40px #00000073}#app.touring .tour-caption{display:flex;animation:rise .3s ease-out}@keyframes rise{0%{opacity:0;transform:translate(-50%,12px)}}.tour-close{position:absolute;top:8px;right:10px;width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:var(--muted);font-size:20px;line-height:1;cursor:pointer}.tour-close:hover{background:#ffffff1a;color:var(--text)}.tour-dots{display:flex;gap:6px}.dot{width:7px;height:7px;border-radius:50%;background:#ffffff2e}.dot.done{background:#22c55e8c}.dot.on{background:var(--green);box-shadow:0 0 8px var(--green)}.tour-body p{margin:0}.tour-kicker{font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.tour-title{margin-top:4px!important;font-size:19px;font-weight:650;line-height:1.3}.tour-title.blue{color:#93c5fd}.tour-title.green{color:#86efac}.tour-text{margin-top:6px!important;font-size:14px;line-height:1.5;color:#c3cbe0}.tour-line{display:flex;gap:10px;align-items:baseline;margin-top:6px!important;font-size:14.5px;line-height:1.4}.tour-label{flex:0 0 64px;font-size:10.5px;font-weight:650;text-transform:uppercase;letter-spacing:.08em}.tour-line.orange .tour-label{color:#fcd34d}.tour-line.gray .tour-label{color:#cbd5e1}.tour-line.green .tour-label{color:#86efac}.tour-line.green{font-weight:600}.tour-nav{display:flex;justify-content:flex-end;gap:8px}.listview{grid-row:3;grid-column:1 / -1;display:none;overflow-y:auto;padding:12px 28px 32px}#app.list-mode .listview{display:block}#app.list-mode .stage,#app.list-mode .panel,#app.list-mode .panel-toggle{display:none}.lv-total{max-width:900px;margin-bottom:18px}.lv-cols,.lv-row{display:grid;grid-template-columns:1.1fr 1.1fr 1fr .9fr;gap:10px}.lv-cols{padding:0 0 6px}.lv-col{font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.08em}.lv-col.blue{color:#93c5fd}.lv-col.orange{color:#fcd34d}.lv-col.gray{color:#cbd5e1}.lv-col.green{color:#86efac}.lv-rows{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}.lv-cell{padding:12px 14px;border:1.5px solid;border-radius:12px}.lv-cell p{margin:0}.lv-cell .card-tag{display:none}.lv-cell.blue{border-color:#3b82f6b3;background:var(--blue-soft)}.lv-cell.orange{border-color:#f59e0bb3;background:var(--orange-soft)}.lv-cell.gray{border-color:#64748b;border-style:dashed;background:#94a3b814}.lv-cell.gray.empty{opacity:.4}.lv-cell.green{border-color:#22c55eb3;background:var(--green-soft)}.lv-title{font-size:15px;font-weight:600;line-height:1.3}.lv-cell .quote,.lv-cell .body{margin-top:6px;font-size:13px}@media(max-width:900px){.lv-cols{display:none}.lv-row{grid-template-columns:1fr;gap:6px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.08)}.lv-cell .card-tag{display:block;margin-bottom:4px}.lv-cell.gray.empty{display:none}.listview{padding:10px 16px 28px}.toolbar{padding:4px 16px 0;flex-wrap:wrap}.header{padding:14px 16px 4px}.legend{margin-left:0;flex-wrap:wrap}}.node.settled{animation:none;opacity:1;transform:none}@media(max-width:1000px){.header,.toolbar,.listview{min-width:0}.title{font-size:19px;overflow-wrap:anywhere}}.footer{grid-area:footer;display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 24px;padding:8px 28px 12px;border-top:1px solid rgba(255,255,255,.06);font-size:12px;color:var(--muted)}.tm-note{opacity:.8}@media(max-width:1000px){.footer{flex-direction:column;padding:12px 16px 20px}}
