.scene-live{isolation:isolate;width:100%;position:relative}.scene-room{aspect-ratio:3/2}.scene-portrait{aspect-ratio:2/3}.scene-live>canvas{width:100%;height:100%;display:block}.scene-room>canvas{cursor:grab;touch-action:pan-y;border-radius:16px}.scene-room>canvas:active{cursor:grabbing}.scene-room>canvas:focus-visible{outline:2px solid var(--green,#286449);outline-offset:-3px}.scene-unavailable{text-align:center;color:var(--muted,#51665b);place-items:center;margin:0;padding:24px;font-size:14px;display:grid;position:absolute;inset:0}.space-page,.journey-page,.memory-page{--good:var(--green);--partly:color-mix(in oklab, var(--green) 32%, #fff);--notgood:#e6ddd0;--waiting:var(--warning-soft);--waiting-ink:var(--warning-ink)}.space-layout{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:16px;display:grid}.space-main,.space-aside{grid-template-columns:minmax(0,1fr);gap:16px;min-width:0;display:grid}.space-chat{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);width:100%;min-height:44px;box-shadow:var(--shadow-sm);color:var(--muted);font-size:var(--text-base);text-align:left;align-items:center;gap:10px;padding:0 14px;transition:border-color .15s;display:flex}.space-chat:hover{border-color:var(--control)}.space-chat svg{width:18px;height:18px;color:var(--green);flex:none}.cycle{grid-template-columns:minmax(0,1fr);gap:16px;display:grid}.step-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm);animation:card-in .2s var(--ease) backwards;grid-template-columns:minmax(0,1fr);gap:16px;padding:24px 28px;display:grid;position:relative}@keyframes card-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.step-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.step-chip{background:var(--soft);max-width:100%;min-height:24px;color:var(--green-dark);font-size:var(--text-xs);border-radius:999px;align-items:center;gap:6px;padding:0 10px;font-weight:600;display:inline-flex}.step-chip>span:last-child{white-space:nowrap;flex:none}.step-chip-goal{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:280px;overflow:hidden}.step-dots{color:var(--muted);font-size:var(--text-sm);align-items:center;gap:14px;display:flex}.step-dots li{align-items:center;gap:6px;display:flex}.step-dots li span{background:var(--line);border-radius:50%;width:8px;height:8px}.step-dots li.is-done span{background:var(--partly)}.step-dots li[aria-current=step]{color:var(--ink);font-weight:600}.step-dots li[aria-current=step] span{background:var(--green)}.step-title{letter-spacing:-.02em;text-wrap:balance;max-width:36ch;font-size:26px;font-weight:700;line-height:1.22}.step-why{max-width:68ch;color:var(--muted);font-size:var(--text-base);line-height:1.6}.step-eyebrow{color:var(--muted);font-size:var(--text-sm);font-weight:600}.step-note{color:var(--muted);font-size:var(--text-sm);flex-wrap:wrap;align-items:center;gap:4px;line-height:1.5;display:flex}.step-note svg{width:16px;height:16px;color:var(--green)}.step-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.step-actions .button{min-height:40px}.step-go.button{padding:0 18px}.step-loading,.step-thinking{align-content:start;min-height:220px}.step-loading .skeleton,.step-thinking .skeleton{border-radius:var(--radius);height:20px;display:block}.step-loading .skeleton:first-child{width:40%}.step-loading .skeleton:nth-child(2){height:56px}.step-thinking{grid-template-columns:auto 1fr;align-items:center}.step-thinking p{color:var(--muted);font-size:var(--text-base)}.step-thinking .skeleton{grid-column:1/-1;height:16px}.step-thinking .skeleton.short{width:55%}.step-error{background:var(--warning-soft);color:var(--warning-ink);box-shadow:none;border-color:#0000;grid-template-columns:auto 1fr auto;align-items:center}.step-error svg{width:20px;height:20px}.thinking-dots{gap:4px;display:inline-flex}.thinking-dots i{background:var(--green);width:8px;height:8px;animation:thinking 1.2s var(--ease) infinite;border-radius:50%}.thinking-dots i:nth-child(2){animation-delay:.15s}.thinking-dots i:nth-child(3){animation-delay:.3s}@keyframes thinking{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.cycle-thinking{min-height:120px;color:var(--muted);font-size:var(--text-base);align-items:center;gap:12px;display:flex}.cycle-muted{color:var(--muted);font-size:var(--text-base);max-width:68ch;line-height:1.55}.more{position:relative}.step-card:has(.more-menu){z-index:60}.more-backdrop{z-index:40;position:fixed;inset:0}.more-menu{z-index:41;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);width:290px;box-shadow:var(--shadow-md);animation:card-in .14s var(--ease) backwards;padding:4px;display:grid;position:absolute;top:calc(100% + 6px);left:0}.more-handle,.more-title{display:none}.more-item{border-radius:var(--radius);text-align:left;gap:2px;padding:9px 10px;display:grid}.more-item b{font-size:var(--text-base);font-weight:600}.more-item span{color:var(--muted);font-size:var(--text-sm);line-height:1.4}.more-item:hover:not(:disabled),.more-item:focus-visible{background:var(--accent-wash)}.basis{gap:8px;display:grid}.basis-chips{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.basis-label{color:var(--muted);font-size:var(--text-sm);font-weight:600}.basis-chip{border:1px solid var(--line);background:var(--surface);max-width:100%;min-height:30px;color:var(--ink);font-size:var(--text-sm);text-align:left;border-radius:999px;align-items:center;gap:6px;padding:0 10px;transition:border-color .15s,background-color .15s;display:inline-flex}.basis-chip span{background:var(--green);border-radius:50%;flex:none;width:6px;height:6px}.basis-chip:hover,.basis-chip.is-open{border-color:var(--control);background:var(--accent-wash)}.basis-detail{border-radius:var(--radius-md);background:var(--accent-wash);max-width:68ch;font-size:var(--text-base);animation:card-in .14s var(--ease) backwards;gap:4px;padding:10px 12px;line-height:1.5;display:grid}.basis-detail small{color:var(--muted);font-size:var(--text-xs)}.basis-detail a{font-size:var(--text-sm);color:var(--green-dark);font-weight:600}.inline-form{font-size:var(--text-sm);gap:8px;font-weight:600;display:grid}.inline-form textarea{min-height:72px;font-weight:400}.info-text{min-height:110px}.info-urgent{color:var(--muted);font-size:var(--text-sm);align-items:center;gap:8px;display:flex}.step-attach{justify-self:start}.option-list{gap:8px;display:grid}.option{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);min-height:44px;font-size:var(--text-base);text-align:left;align-items:center;gap:10px;padding:8px 12px;transition:border-color .15s,background-color .15s;display:flex}.option>span:nth-child(2){flex:1}.option svg{width:16px;height:16px;color:var(--control)}.option:hover:not(:disabled){border-color:var(--green);background:var(--accent-wash)}.option:hover:not(:disabled) svg{color:var(--green)}.option-letter{border-radius:var(--radius-sm);background:var(--soft);width:24px;height:24px;color:var(--green-dark);font-size:var(--text-xs);flex:none;place-items:center;font-weight:700;display:grid}.help{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--accent-wash);overflow:hidden}.help header{justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 14px 6px;display:flex}.help-kind{color:var(--green-dark);font-size:var(--text-xs);font-weight:600}.help h3{font-size:var(--text-md);font-weight:650}.help-copy.button{min-height:32px;padding:0 10px}.help-body{font-size:var(--text-base);gap:8px;padding:4px 14px 14px;line-height:1.55;display:grid}.help-body p{overflow-wrap:anywhere}.help-message .help-body{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);white-space:pre-wrap;margin:0 14px 14px;padding:12px 14px}.help-check{cursor:pointer;align-items:flex-start;gap:10px;display:flex}.help-check input{width:18px;height:18px;accent-color:var(--green);flex:none;margin:2px 0 0}.help-check.is-done span{color:var(--muted);text-decoration:line-through}.choice-sheet{gap:8px;display:grid}.choice-sheet .text-button{justify-self:start}.sheet-option{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);text-align:left;gap:2px;padding:10px 12px;transition:border-color .15s,background-color .15s;display:grid}.sheet-option b{font-size:var(--text-base);font-weight:600}.sheet-option span{color:var(--muted);font-size:var(--text-sm)}.sheet-option:hover:not(:disabled){border-color:var(--green);background:var(--accent-wash)}.step-notes summary{color:var(--muted);font-size:var(--text-sm);cursor:pointer}.step-notes ul{gap:6px;margin-top:8px;display:grid}.step-notes li{border-radius:var(--radius);background:var(--accent-wash);font-size:var(--text-sm);white-space:pre-wrap;overflow-wrap:anywhere;padding:8px 10px}.outcome-grid{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;display:grid}.outcome{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);cursor:pointer;align-content:start;gap:4px;min-height:92px;padding:12px 14px;transition:border-color .15s,background-color .15s;display:grid;position:relative}.outcome input{opacity:0;pointer-events:none;position:absolute}.outcome b{font-size:var(--text-base);font-weight:650}.outcome small{color:var(--muted);font-size:var(--text-sm);line-height:1.4}.outcome-dot{border-radius:50%;width:18px;height:18px;margin-bottom:2px}.outcome-positive .outcome-dot{background:var(--good)}.outcome-partial .outcome-dot{background:var(--partly)}.outcome-negative .outcome-dot{background:var(--notgood)}.outcome-other .outcome-dot{box-sizing:border-box;border:2px solid var(--accent-mid)}.outcome:hover{border-color:var(--control)}.outcome:has(input:checked){border-color:var(--green);background:var(--accent-wash);box-shadow:inset 0 0 0 1px var(--green)}.outcome:has(input:focus-visible){outline:2px solid var(--green);outline-offset:2px}.print{background:var(--line);width:32px;height:32px;color:var(--on-accent);transition:transform .15s var(--ease);border-radius:50%;flex:none;place-items:center;display:grid}.print svg{width:15px;height:15px}.print-positive{background:var(--good)}.print-partial{background:var(--partly);color:var(--green-dark)}.print-negative{background:var(--notgood)}.print-other,.print-unknown{background:var(--surface);box-shadow:inset 0 0 0 2px var(--accent-mid)}.print-now{background:var(--surface);box-shadow:inset 0 0 0 3px var(--green), 0 0 0 4px var(--soft)}.print-next{box-shadow:inset 0 0 0 2px var(--line);background:0 0}button.print:hover{transform:scale(1.08)}button.print[aria-expanded=true]{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--green)}.moment-trail{align-items:center;gap:8px;display:flex}.moment-trail .print{width:24px;height:24px}.moment-trail .print.is-new{width:34px;height:34px;box-shadow:0 0 0 4px var(--soft);animation:print-in .5s var(--ease) both}.moment-new{color:var(--green-dark);font-size:var(--text-sm);font-weight:600}@keyframes print-in{0%{opacity:0;transform:scale(.6)}60%{transform:scale(1.08)}to{opacity:1;transform:none}}.moment-progress{font-size:var(--text-base);line-height:1.55}.moment-learning{border-radius:var(--radius-md);background:var(--accent-wash);gap:10px;padding:12px 14px;display:flex}.moment-learning svg{width:20px;height:20px;color:var(--green);flex:none}.moment-learning b{color:var(--green-dark);font-size:var(--text-sm);margin-bottom:2px;display:block}.moment-learning p{font-size:var(--text-base);line-height:1.55}.moment-facts{border:1px dashed color-mix(in oklab, var(--green) 35%, var(--line));border-radius:var(--radius-md);font-size:var(--text-sm);gap:10px;padding:10px 12px;line-height:1.5;display:flex}.moment-facts svg{width:16px;height:16px;color:var(--green);flex:none;margin-top:2px}.moment-facts a{color:var(--green-dark);font-weight:600}.moment-facts ul{color:var(--muted);gap:2px;margin-top:4px;display:grid}.metric{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:baseline;gap:4px 8px;display:flex}.metric-before{color:var(--muted);font-size:var(--text-md)}.metric>svg{width:16px;height:16px;color:var(--control);align-self:center}.metric-now{color:var(--green-dark);letter-spacing:-.02em;font-size:30px;font-weight:700;line-height:1.1}.metric-label{color:var(--muted);font-size:var(--text-sm);flex-basis:100%}.goal-body{gap:12px;display:grid}.goal-card .panel-header .icon-button{margin-right:-6px}.goal-text{font-size:var(--text-md);text-wrap:balance;font-weight:650;line-height:1.45}.goal-bar{background:var(--soft);border-radius:999px;height:6px;overflow:hidden}.goal-bar span{border-radius:inherit;background:var(--green);height:100%;transition:width .6s var(--ease);display:block}.goal-range{color:var(--muted);font-size:var(--text-xs);justify-content:space-between;display:flex}.goal-empty,.goal-stats{color:var(--muted);font-size:var(--text-sm);line-height:1.5}.goal-criterion,.goal-achieved{border-top:1px solid var(--line);color:var(--muted);font-size:var(--text-sm);align-items:flex-start;gap:8px;padding-top:12px;line-height:1.5;display:flex}.goal-achieved{color:var(--green-dark);font-weight:600}.goal-criterion svg,.goal-achieved svg{width:16px;height:16px;color:var(--green);flex:none;margin-top:2px}.goal-form{font-size:var(--text-sm);gap:8px;font-weight:600;display:grid}.goal-form textarea,.goal-form input{font-weight:400}.goal-help{color:var(--muted);font-weight:400;line-height:1.5}.goal-warning{border-radius:var(--radius);background:var(--warning-soft);color:var(--warning-ink);padding:8px 10px;font-weight:500;line-height:1.45}.goal-actions{flex-wrap:wrap;gap:8px;display:flex}.path .panel-body{gap:12px;display:grid}.path-row{scroll-snap-type:x proximity;gap:0;padding:4px 2px;display:flex;overflow-x:auto}.path-node{text-align:center;scroll-snap-align:start;flex:1 0 130px;justify-items:center;gap:4px;padding:0 8px;display:grid;position:relative}.path-node:before{content:"";background:var(--partly);z-index:0;width:100%;height:2px;position:absolute;top:16px;right:50%}.path-node:first-child:before{display:none}.path-node.is-next:before{background:repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px)}.path-node .print{z-index:1;position:relative}.path-node b{max-width:20ch;font-size:var(--text-sm);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-weight:600;line-height:1.35;display:-webkit-box;overflow:hidden}.path-node small{color:var(--muted);font-size:var(--text-xs)}.path-node.is-now small{color:var(--green-dark);font-weight:600}.path-node.is-next b{color:var(--muted)}.path-detail{border-radius:var(--radius-md);background:var(--accent-wash);font-size:var(--text-base);animation:card-in .14s var(--ease) backwards;gap:6px;padding:12px 14px;line-height:1.5;display:grid}.path-detail-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.path-detail p span{color:var(--muted);font-size:var(--text-xs);display:block}.path-learning{color:var(--green-dark)}.result-pill{height:22px;font-size:var(--text-xs);white-space:nowrap;border-radius:999px;align-items:center;padding:0 8px;font-weight:600;display:inline-flex}.result-pill.result-positive{background:var(--good);color:var(--on-accent)}.result-pill.result-partial{background:var(--partly);color:var(--green-dark)}.result-pill.result-negative{background:var(--notgood);color:#5b4a33}.result-pill.result-other,.result-pill.result-unknown{background:var(--soft);color:var(--muted)}.parked-strip{border:1px solid color-mix(in oklab, var(--warning-ink) 18%, transparent);border-radius:var(--radius-lg);background:var(--waiting);color:var(--waiting-ink)}.parked-toggle{width:100%;min-height:44px;font-size:var(--text-base);text-align:left;justify-content:space-between;align-items:center;gap:12px;padding:0 14px;display:flex}.parked-toggle svg{width:16px;height:16px;transition:transform .2s var(--ease);flex:none}.parked-strip.is-open .parked-toggle svg{transform:rotate(180deg)}.parked-strip .parked{border-radius:var(--radius-md);background:var(--surface);color:var(--ink);border-top:0;margin:0 10px 10px;padding:12px}.parked{border-top:1px solid var(--line);gap:8px;padding-top:12px;display:grid}.parked h4{color:var(--muted);font-size:var(--text-sm);font-weight:600}.parked ul{gap:10px;display:grid}.parked li{grid-template-columns:28px minmax(0,1fr);align-items:start;gap:6px 10px;display:grid}.parked-icon{border-radius:var(--radius);background:var(--waiting);width:28px;height:28px;color:var(--waiting-ink);place-items:center;display:grid}.parked-icon svg{width:16px;height:16px}.parked-body{gap:2px;min-width:0;display:grid}.parked-body strong{font-size:var(--text-base);overflow-wrap:anywhere;font-weight:600;line-height:1.4}.parked-body small{color:var(--muted);font-size:var(--text-xs)}.parked-actions{grid-column:2;align-items:center;gap:4px;display:flex}.parked-actions .button{min-height:32px;font-size:var(--text-sm);padding:0 10px}.chapter-card .step-title{max-width:32ch}.chapter-seal{background:var(--soft);width:40px;height:40px;color:var(--green);border-radius:50%;place-items:center;display:grid}.chapter-seal svg{width:22px;height:22px}.chapter-seal.is-done{background:var(--green);color:var(--on-accent);animation:print-in .5s var(--ease) both}.chapter-eyebrow{color:var(--muted);font-size:var(--text-sm);font-weight:600}.chapter-evidence,.chapter-summary{max-width:68ch;font-size:var(--text-base);line-height:1.6}.chapter-stats{font-variant-numeric:tabular-nums;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;display:grid}.chapter-stats div{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--accent-wash);gap:2px;padding:12px 14px;display:grid}.chapter-stats b{color:var(--green-dark);font-size:var(--text-2xl);font-weight:700;line-height:1.1}.chapter-stats span{color:var(--muted);font-size:var(--text-sm)}.chapter-next{gap:8px;display:grid}.chapter-choice{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);min-height:44px;font-size:var(--text-base);text-align:left;align-items:center;gap:10px;padding:8px 12px;transition:border-color .15s,background-color .15s;display:flex}.chapter-choice span{flex:1}.chapter-choice svg{width:16px;height:16px;color:var(--green);flex:none}.chapter-choice:hover:not(:disabled){border-color:var(--green);background:var(--accent-wash)}.open-tracks{gap:6px;display:grid}.open-tracks li{font-size:var(--text-base);align-items:baseline;gap:8px;display:flex}.open-tracks li:before{content:"";background:var(--accent-mid);border-radius:50%;flex:none;width:6px;height:6px;transform:translateY(-2px)}@media (width<=1100px){.space-layout{grid-template-columns:minmax(0,1fr)}.space-aside{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}}@media (width<=720px){.step-card{gap:14px;padding:20px 16px}.step-title{font-size:22px}.step-dots{justify-content:space-between;width:100%}.sticky-actions{z-index:5;padding:10px 16px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);border-radius:0 0 var(--radius-lg) var(--radius-lg);background:var(--surface);margin:0 -16px -20px;position:sticky;bottom:0}.sticky-actions .button{min-height:44px}.sticky-actions .step-go{flex:100%;justify-content:center}.sticky-actions .button.secondary,.sticky-actions .more{flex:1}.sticky-actions .more .button{justify-content:center;width:100%}.more-backdrop{background:color-mix(in oklab, var(--ink) 40%, transparent)}.more-menu{width:auto;padding:8px 12px calc(16px + env(safe-area-inset-bottom));border-radius:var(--radius-lg) var(--radius-lg) 0 0;animation:sheet-in .2s var(--ease) both;position:fixed;inset:auto 0 0}.more-handle{background:var(--line);border-radius:999px;justify-self:center;width:36px;height:4px;margin-bottom:6px;display:block}.more-title{font-size:var(--text-lg);padding:4px 10px 6px;font-weight:650;display:block}.more-item{border-bottom:1px solid var(--accent-wash);border-radius:0;padding:12px 10px}.outcome{min-height:84px;padding:12px}.metric-now{font-size:26px}.path-node{flex-basis:116px}}@keyframes sheet-in{0%{transform:translateY(100%)}to{transform:none}}@media (prefers-reduced-motion:reduce){.step-card,.more-menu,.basis-detail,.path-detail,.moment-trail .print.is-new,.chapter-seal.is-done{animation:none}}.panel-intro{color:var(--muted);font-size:var(--text-sm);margin-bottom:12px;line-height:1.5}.facts-skeleton{height:96px;display:block}.journey-layout,.memory-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:16px;display:grid}.journey-main,.journey-aside,.memory-main,.memory-aside{grid-template-columns:minmax(0,1fr);gap:16px;min-width:0;display:grid}.journey-empty{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);text-align:center;justify-items:center;gap:8px;padding:48px 24px;display:grid}.journey-empty svg{width:36px;height:36px;color:var(--green)}.journey-empty h2{font-size:var(--text-xl)}.journey-empty p,.journey-note{color:var(--muted);font-size:var(--text-sm);line-height:1.5}.chapter-header{flex-wrap:wrap;align-items:center;gap:16px 32px;padding:20px 24px;display:flex}.chapter-header-text{flex:340px;gap:6px;display:grid}.chapter-header>.metric{flex:0 auto}.chapter-progress{flex:100%}.chapter-header-meta{color:var(--muted);font-size:var(--text-sm);flex-wrap:wrap;align-items:center;gap:8px;display:flex}.chapter-header h2{font-size:var(--text-2xl);letter-spacing:-.015em;text-wrap:balance;font-weight:700;line-height:1.25}.chapter-header p{color:var(--muted);font-size:var(--text-sm);line-height:1.5}.chapter-criterion{align-items:flex-start;gap:6px;display:flex}.chapter-criterion svg{width:16px;height:16px;color:var(--green);flex:none;margin-top:2px}.chapter-summary-box{border-radius:var(--radius-md);background:var(--accent-wash);font-size:var(--text-base);flex:100%;padding:12px 14px;line-height:1.55}.chapter-summary-box b{color:var(--green-dark);font-size:var(--text-sm);margin-bottom:2px;display:block}.badge.status-achieved{background:var(--green);color:var(--on-accent)}.badge.status-replaced{background:var(--accent-wash);color:var(--muted)}.timeline-title{font-size:var(--text-md);margin-bottom:10px;font-weight:650}.timeline{gap:10px;display:grid}.timeline-item{grid-template-columns:32px minmax(0,1fr);align-items:start;gap:12px;display:grid;position:relative}.timeline-item:before{content:"";background:var(--line);width:2px;position:absolute;top:36px;bottom:-10px;left:15px}.timeline-item:last-child:before{display:none}.timeline-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm);gap:6px;padding:12px 16px;display:grid}.timeline-item.is-now .timeline-card{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}.timeline-item.is-parked .timeline-card{border-color:color-mix(in oklab, var(--warning-ink) 18%, transparent);background:var(--waiting);color:var(--waiting-ink);box-shadow:none}.timeline-toggle{text-align:left;gap:4px;width:100%;padding-right:26px;display:grid;position:relative}.timeline-caret{width:16px;height:16px;color:var(--muted);transition:transform .2s var(--ease);position:absolute;top:2px;right:0}.timeline-item.is-open .timeline-caret{transform:rotate(180deg)}.timeline-head{color:var(--muted);font-size:var(--text-xs);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.timeline-now{color:var(--green-dark);font-weight:650}.timeline-step{font-size:var(--text-md);font-weight:600;line-height:1.4}.timeline-preview{color:var(--muted);font-size:var(--text-sm);-webkit-line-clamp:1;-webkit-box-orient:vertical;line-height:1.5;display:-webkit-box;overflow:hidden}.timeline-link{color:var(--green-dark);font-size:var(--text-sm);align-items:center;gap:6px;font-weight:600;display:inline-flex}.timeline-link svg{width:14px;height:14px}.timeline-actions{flex-wrap:wrap;gap:6px;display:flex}.timeline-actions .button{min-height:32px;font-size:var(--text-sm)}.timeline-detail{animation:card-in .14s var(--ease) backwards;gap:10px;padding-top:4px;display:grid}.timeline-detail dl{gap:6px;display:grid}.timeline-detail dl div{font-size:var(--text-base);grid-template-columns:110px minmax(0,1fr);gap:10px;line-height:1.5;display:grid}.timeline-detail dt{color:var(--muted);font-size:var(--text-sm)}.timeline-learning{border-radius:var(--radius-md);background:var(--accent-wash);font-size:var(--text-base);gap:8px;padding:10px 12px;line-height:1.55;display:flex}.timeline-learning svg{width:18px;height:18px;color:var(--green);flex:none}.journey-more{justify-self:start;margin-top:12px}.journey-dismissed{color:var(--muted);font-size:var(--text-sm);margin-top:12px}.journey-dismissed summary{cursor:pointer}.journey-dismissed ul{gap:4px;margin-top:6px;padding-left:18px;list-style:outside;display:grid}.weeks{gap:12px;padding:16px;display:grid}.weeks-list{display:grid}.week-row{border-top:1px solid var(--line);grid-template-columns:140px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:44px;padding:6px 0;display:grid}.week-row:first-child{border-top:0}.week-label{color:var(--muted);font-size:var(--text-sm);font-variant-numeric:tabular-nums}.week-marks{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.week-mark.print{width:14px;height:14px}.week-mark.print-positive{width:24px;height:24px}.week-mark.print-partial{width:19px;height:19px}.week-mark[aria-pressed=true]{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--green)}.week-count{color:var(--muted);font-size:var(--text-xs)}.chapter-list{gap:6px;display:grid}.chapter-link{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);text-align:left;gap:2px;width:100%;padding:10px 12px;transition:border-color .15s,background-color .15s;display:grid}.chapter-link:hover{border-color:var(--control)}.chapter-link.is-selected{border-color:var(--green);background:var(--accent-wash)}.chapter-link b{font-size:var(--text-sm);font-weight:600;line-height:1.4}.chapter-link small{color:var(--muted);font-size:var(--text-xs)}.chapter-link-status{color:var(--muted);font-size:var(--text-xs);font-weight:600}.chapter-link.status-active .chapter-link-status,.chapter-link.status-achieved .chapter-link-status{color:var(--green-dark)}.business-card{margin-bottom:16px}.business-body{grid-template-columns:minmax(200px,280px) minmax(0,1fr) minmax(0,1fr);align-items:start;gap:20px;display:grid}.business-scene .company-world{border-radius:var(--radius-md)}.memory-layout{grid-template-columns:minmax(0,1fr)}.memory-layout.with-side{grid-template-columns:minmax(0,1fr) 300px}.memory-layout.with-index{grid-template-columns:170px minmax(0,1fr)}.memory-layout.with-index.with-side{grid-template-columns:170px minmax(0,1fr) 300px}.memory-aside{position:sticky;top:16px}.memory-index{gap:2px;display:grid;position:sticky;top:16px}.memory-index-label{color:var(--muted);font-size:var(--text-sm);padding:0 10px 6px;font-weight:600}.memory-index a{border-radius:var(--radius);min-height:34px;color:var(--ink);font-size:var(--text-base);justify-content:space-between;align-items:center;gap:8px;padding:0 10px;display:flex}.memory-index a:hover{background:var(--surface)}.memory-index a span:last-child{color:var(--muted);font-size:var(--text-sm);font-variant-numeric:tabular-nums}.memory-latest{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;display:grid}.memory-latest li{border-radius:var(--radius-md);background:var(--accent-wash);font-size:var(--text-base);gap:2px;padding:10px 12px;line-height:1.45;display:grid}.memory-latest small{color:var(--green-dark);font-size:var(--text-xs);font-weight:600}.topic{padding:16px;scroll-margin-top:16px;display:grid}.topic h2{font-size:var(--text-md);align-items:center;gap:8px;padding-bottom:6px;font-weight:650;display:flex}.topic h2 span{background:var(--soft);color:var(--muted);font-size:var(--text-xs);border-radius:999px;padding:0 7px;font-weight:600}.fact-row{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding:10px 0;display:grid}.fact-row p{font-size:var(--text-base);overflow-wrap:anywhere;font-weight:550;line-height:1.45}.fact-meta{color:var(--muted);font-size:var(--text-xs);flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:2px;display:flex}.fact-source{align-items:center;gap:4px;display:inline-flex}.fact-source svg{width:13px;height:13px}.fact-flag{height:20px;font-size:var(--text-xs);border-radius:999px;align-items:center;padding:0 7px;font-weight:600;display:inline-flex}.fact-flag.is-new{background:var(--soft);color:var(--green-dark)}.fact-flag.is-old{background:var(--waiting);color:var(--waiting-ink)}.fact-before{text-decoration:line-through}.fact-actions{gap:2px;display:flex}.fact-row form{grid-column:1/-1;gap:8px;display:grid}.topic-more{justify-self:start;margin-top:6px}.gaps{border:1px solid color-mix(in oklab, var(--warning-ink) 18%, transparent);border-radius:var(--radius-lg);background:var(--waiting);color:var(--waiting-ink);gap:10px;padding:16px;display:grid}.gaps h2{color:inherit;font-size:var(--text-md);font-weight:650}.gap{border-top:1px solid color-mix(in oklab, var(--warning-ink) 16%, transparent);gap:6px;padding-top:10px;display:grid}.gap:first-of-type{border-top:0;padding-top:0}.gap label{color:var(--ink);font-size:var(--text-base);font-weight:600;line-height:1.4}.gap label svg{vertical-align:-3px;width:16px;height:16px;color:var(--waiting-ink)}.gap small{font-size:var(--text-sm);line-height:1.4}.gap input{border-color:color-mix(in oklab, var(--warning-ink) 22%, transparent);background:var(--surface)}.gap-actions{flex-wrap:wrap;gap:6px;display:flex}.gap-actions .button{min-height:32px;font-size:var(--text-sm)}.gap-actions .button.ghost{color:var(--waiting-ink)}@media (width<=1180px){.memory-layout.with-index{grid-template-columns:minmax(0,1fr)}.memory-layout.with-index.with-side{grid-template-columns:minmax(0,1fr) 300px}.memory-index{display:none}.business-body{grid-template-columns:minmax(180px,240px) minmax(0,1fr)}.business-body>.data-list:last-child{grid-column:2}}@media (width<=1000px){.journey-layout,.memory-layout,.memory-layout.with-side,.memory-layout.with-index.with-side{grid-template-columns:minmax(0,1fr)}.memory-layout{flex-direction:column;gap:16px;display:flex}.memory-aside{display:contents;position:static}.memory-layout .gaps{order:-1}}@media (width<=720px){.chapter-header{padding:16px}.chapter-header h2{font-size:var(--text-xl)}.timeline-detail dl div{grid-template-columns:1fr;gap:0}.week-row{grid-template-columns:1fr auto}.week-marks{grid-column:1/-1}.business-body{grid-template-columns:minmax(0,1fr)}.business-body>.data-list:last-child{grid-column:auto}.business-scene{max-width:360px}}.admin .panel-intro{color:var(--muted);font-size:var(--text-sm);margin-bottom:12px}.admin-error{margin-bottom:16px}.admin-form{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.admin-form .field{min-width:220px}.admin-qr{flex-wrap:wrap;align-items:flex-start;gap:20px;display:flex}.admin-qr img{border-radius:var(--radius-md);border:1px solid var(--line)}.admin-qr code{font-size:var(--text-sm);overflow-wrap:anywhere}.admin-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.admin-metrics>div{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm);padding:14px 16px}.admin-metrics dt{color:var(--muted);font-size:var(--text-sm)}.admin-metrics dd{font-size:var(--text-2xl);font-variant-numeric:tabular-nums;margin-top:4px;font-weight:700}.admin-metrics small{color:var(--muted);font-size:var(--text-xs);font-variant-numeric:tabular-nums}.admin-counts{gap:6px;display:grid}.admin-counts li{font-size:var(--text-sm);justify-content:space-between;gap:8px;display:flex}.admin-counts strong{font-variant-numeric:tabular-nums}.admin-rows{display:grid}.admin-rows li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.admin-rows li:first-child{border-top:0;padding-top:0}.admin-rows span{min-width:0;display:grid}.admin-rows strong{font-size:var(--text-base);overflow-wrap:anywhere;font-weight:600}.admin-rows small{color:var(--muted);font-size:var(--text-xs)}.admin-rows select{width:auto;min-width:170px}.admin-filter{max-width:360px;margin-bottom:12px}.admin-table-wrap{overflow-x:auto}.admin-table{border-collapse:collapse;width:100%;font-size:var(--text-sm)}.admin-table th{color:var(--muted);text-align:left;white-space:nowrap;padding:0 10px 8px 0;font-weight:600}.admin-table td{border-top:1px solid var(--line);font-variant-numeric:tabular-nums;padding:8px 10px 8px 0}.admin-table td.is-high{color:var(--warning-ink);font-weight:650}.admin .notice svg,.admin .form-error svg{vertical-align:-3px;width:16px;height:16px}@media (width<=900px){.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}.upload-zone{border:1px dashed var(--control);border-radius:var(--radius-md);background:var(--accent-wash);grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px;display:grid}.upload-zone>svg{width:32px;height:32px;color:var(--green)}.upload-zone p{font-size:var(--text-base)}.upload-zone+.form-error{margin-top:12px}.document-list{display:grid}.document-list li{border-top:1px solid var(--line);grid-template-columns:32px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px 0;display:grid}.document-list li:first-child{border-top:0;padding-top:0}.document-icon{border-radius:var(--radius);background:var(--soft);width:32px;height:32px;color:var(--green);place-items:center;display:grid}.document-icon svg{width:18px;height:18px}.document-body{min-width:0;display:grid}.document-body strong{font-size:var(--text-base);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.document-body small{color:var(--muted);font-size:var(--text-xs)}.document-error{color:var(--error-ink);font-size:var(--text-sm);align-items:flex-start;gap:6px;margin-top:4px;line-height:1.4;display:flex}.document-error svg{width:16px;height:16px;margin-top:1px}.document-failed .document-status{background:var(--error-soft);color:var(--error-ink)}.document-excluded{opacity:.65}.document-queued .document-status,.document-processing .document-status,.document-pending_upload .document-status{background:var(--warning-soft);color:var(--warning-ink)}.how-list{gap:8px;margin-bottom:12px;display:grid}.how-list li{font-size:var(--text-sm);color:var(--muted);padding-left:14px;line-height:1.5;position:relative}.how-list li:before{content:"";background:var(--accent-mid);border-radius:50%;width:6px;height:6px;position:absolute;top:.6em;left:0}.trial-offer{border-radius:var(--radius-md);background:var(--soft);gap:2px;margin-bottom:12px;padding:12px 14px;display:grid}.trial-offer strong{color:var(--green-dark);font-size:var(--text-md)}.trial-offer p{color:var(--muted);font-size:var(--text-sm);line-height:1.5}.plan-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.plan-card{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);align-content:start;gap:10px;padding:16px;display:grid}.plan-card.featured{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}.plan-card h3{font-size:var(--text-md);font-weight:650}.plan-price{font-size:var(--text-2xl);letter-spacing:-.02em;font-weight:700}.plan-price small{color:var(--muted);font-size:var(--text-sm);margin-left:4px;font-weight:500}.plan-card p{color:var(--muted);font-size:var(--text-sm)}.billing-status{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.billing-status .status-ok{width:22px;height:22px;color:var(--green)}.billing-period{margin-top:8px}.billing-plan{margin-top:8px;font-weight:600}.billing-taxes{margin-top:12px}.plan-card h3{align-items:center;gap:8px;display:flex}@media (width<=720px){.upload-zone{grid-template-columns:32px minmax(0,1fr)}.upload-zone .button{grid-column:1/-1}.document-list li{grid-template-columns:32px minmax(0,1fr) auto}.document-list li .button{grid-column:2/-1;justify-self:start}.plan-grid{grid-template-columns:1fr}}@font-face{font-family:Instrument Sans Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(/assets/instrument-sans-latin-ext-wght-normal-B5bTHO_g.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Instrument Sans Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(/assets/instrument-sans-latin-wght-normal-BbzFLZTg.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--green:#286449;--green-dark:#1d4c37;--selected-accent:#286449;--on-accent:#fff;--bg:#f4f6f5;--surface:#fff;--ink:#17261f;--muted:#56655d;--line:#dde4e0;--control:#8a9a91;--soft:#e9f0ec;--scene:#e6eee9;--sidebar:#eef2f0;--accent-wash:#f1f5f3;--accent-mid:#9caf9c;--error-ink:#b42318;--error-soft:#fdf0ee;--warning-ink:#805b0f;--warning-soft:#fbf3df;--font:"Instrument Sans Variable", "Instrument Sans", system-ui, sans-serif;--text-xs:12px;--text-sm:13px;--text-base:14px;--text-md:15px;--text-lg:17px;--text-xl:20px;--text-2xl:24px;--radius-sm:6px;--radius:8px;--radius-md:10px;--radius-lg:12px;--shadow-sm:0 1px 2px color-mix(in oklab, var(--ink) 6%, transparent);--shadow-md:0 8px 24px -8px color-mix(in oklab, var(--ink) 18%, transparent), 0 2px 6px -2px color-mix(in oklab, var(--ink) 8%, transparent);--ease:cubic-bezier(.2, .8, .2, 1);font-family:var(--font);color:var(--ink);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased}*,:before,:after{box-sizing:border-box}body{background:var(--bg);min-width:320px;color:var(--ink);font-size:var(--text-base);font-feature-settings:"kern";margin:0;line-height:1.5}h1,h2,h3,h4,p,dl,dd,ol,ul,figure,blockquote{margin:0}ol,ul{padding:0;list-style:none}h1,h2,h3{letter-spacing:-.012em;text-wrap:balance;color:var(--ink);font-weight:650;line-height:1.25}p{text-wrap:pretty}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;padding:0}button:disabled{cursor:not-allowed;opacity:.5}svg{flex-shrink:0}::selection{background:var(--soft);color:var(--green-dark)}:focus-visible{outline:2px solid var(--green);outline-offset:2px}input,textarea{caret-color:var(--green)}*{scrollbar-width:thin;scrollbar-color:var(--line) transparent}main:focus,[tabindex="-1"]:focus{outline:none}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:100;border-radius:var(--radius);background:var(--green);color:var(--on-accent);padding:10px 14px;font-weight:650;position:fixed;top:-60px;left:16px}.skip-link:focus{top:12px}.mobile-only{display:none!important}.capitalize-first:first-letter{text-transform:uppercase}.button{border-radius:var(--radius);min-height:36px;font-size:var(--text-base);white-space:nowrap;transition:background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .1s var(--ease);border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-weight:600;line-height:1;display:inline-flex}.button svg{width:16px;height:16px}.button:active:not(:disabled){transform:translateY(1px)}.button.primary{background:var(--green);color:var(--on-accent)}.button.primary:hover:not(:disabled){background:var(--green-dark)}.button.secondary{background:var(--surface);border-color:var(--line);color:var(--ink);box-shadow:var(--shadow-sm)}.button.secondary:hover:not(:disabled){border-color:var(--control);background:var(--accent-wash)}.button.ghost{color:var(--muted)}.button.ghost:hover:not(:disabled){background:var(--soft);color:var(--ink)}.button.danger{background:var(--error-ink);color:#fff}.icon-button{border-radius:var(--radius);width:36px;height:36px;color:var(--muted);place-items:center;transition:background-color .15s,color .15s;display:inline-grid}.icon-button:hover{background:var(--soft);color:var(--ink)}.icon-button svg{width:18px;height:18px}.text-button{min-height:28px;color:var(--green);font-size:var(--text-sm);align-items:center;gap:6px;font-weight:600;display:inline-flex}.text-button:hover{color:var(--green-dark);text-underline-offset:3px;text-decoration:underline}.text-button svg{width:15px;height:15px}.badge{background:var(--soft);height:22px;color:var(--green-dark);font-size:var(--text-xs);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:0 8px;font-weight:600;display:inline-flex}.field{font-size:var(--text-sm);color:var(--ink);gap:6px;font-weight:600;display:grid}.field>label,.field-heading label{font-size:var(--text-sm);font-weight:600}.field-heading{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.field-heading a{color:var(--green);font-size:var(--text-sm);font-weight:600}.field-heading a:hover{text-underline-offset:3px;text-decoration:underline}.field-help{color:var(--muted);font-size:var(--text-sm);font-weight:400;line-height:1.45}.field-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),textarea,select{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);width:100%;min-height:40px;color:var(--ink);font-size:var(--text-md);box-shadow:var(--shadow-sm);padding:8px 12px;font-weight:400;line-height:1.4;transition:border-color .15s,box-shadow .15s}input:hover:not(:disabled),textarea:hover:not(:disabled),select:hover:not(:disabled){border-color:var(--control)}input:focus-visible,textarea:focus-visible,select:focus-visible{border-color:var(--green);box-shadow:0 0 0 3px color-mix(in oklab, var(--green) 20%, transparent);outline:none}textarea{resize:vertical;min-height:96px}select{appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);background-position:calc(100% - 18px) 55%,calc(100% - 13px) 55%;background-repeat:no-repeat;background-size:5px 5px;padding-right:36px}input[aria-invalid=true],textarea[aria-invalid=true],select[aria-invalid=true]{border-color:var(--error-ink)!important}input[aria-invalid=true]:focus-visible,textarea[aria-invalid=true]:focus-visible{box-shadow:0 0 0 3px color-mix(in oklab, var(--error-ink) 16%, transparent)}.field-error{color:var(--error-ink);font-size:var(--text-sm);font-weight:500;line-height:1.45}.form-error{border-radius:var(--radius);background:var(--error-soft);color:var(--error-ink);font-size:var(--text-sm);padding:10px 12px;font-weight:500}.notice{border-radius:var(--radius);background:var(--soft);color:var(--green-dark);font-size:var(--text-sm);padding:10px 12px}.password-input{position:relative}.password-input input{padding-right:44px}.password-input .icon-button{position:absolute;top:2px;right:2px}.password-input>.field-error{margin-top:6px}input[type=range]{width:100%;accent-color:var(--green)}input[type=radio],input[type=checkbox]{accent-color:var(--green);width:16px;height:16px;margin:0}.language-selector{color:var(--muted);font-size:var(--text-sm);align-items:center;gap:8px;font-weight:500;display:inline-flex}.language-selector select{width:auto;min-height:32px;font-size:var(--text-sm);background-position:calc(100% - 15px) 55%,calc(100% - 10px) 55%;padding:4px 30px 4px 10px;font-weight:600}.skeleton{border-radius:var(--radius-lg);background:linear-gradient(90deg, var(--soft) 0%, var(--accent-wash) 50%, var(--soft) 100%) 0 0 / 200% 100%;animation:1.4s ease-in-out infinite shimmer}@keyframes shimmer{to{background-position:-200% 0}}.app-toasts{z-index:100;pointer-events:none;gap:8px;width:min(380px,100vw - 32px);display:grid;position:fixed;bottom:20px;right:20px}.app-toast{--toast-accent:var(--green);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-md);pointer-events:auto;animation:toast-in .18s var(--ease);grid-template-columns:20px minmax(0,1fr) 32px;align-items:start;gap:10px;padding:12px 12px 12px 14px;display:grid}.app-toast-error{--toast-accent:var(--error-ink)}.app-toast-warning{--toast-accent:var(--warning-ink)}.app-toast>svg{width:20px;height:20px;color:var(--toast-accent);margin-top:1px}.app-toast strong{font-size:var(--text-sm);font-weight:650;display:block}.app-toast p{color:var(--muted);font-size:var(--text-sm);overflow-wrap:anywhere;margin-top:2px}.app-toast .icon-button{width:32px;height:32px;margin:-6px -4px 0 0}@keyframes toast-in{0%{opacity:0;transform:translateY(6px)}}.brand{min-height:36px;color:var(--green);align-items:center;display:inline-flex}.brand>.brand-logo{flex-direction:column;align-items:flex-start;gap:2px;display:inline-flex}.brand .brand-wordmark{aspect-ratio:152/65;width:64px;height:auto;display:block}.brand .brand-descriptor{letter-spacing:.14em;text-transform:uppercase;color:inherit;font-size:9px;font-weight:650;line-height:1}@media (width<=900px){.mobile-only{display:inline-grid!important}}@media (width<=560px){.field-row{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (prefers-contrast:more){:root{--muted:var(--ink);--line:var(--control)}}.shell{background:var(--bg);grid-template-columns:240px minmax(0,1fr);min-height:100dvh;display:grid}.shell-sidebar{overscroll-behavior:contain;background:var(--sidebar);border-right:1px solid var(--line);flex-direction:column;gap:16px;height:100dvh;padding:16px 12px;display:flex;position:sticky;top:0;overflow-y:auto}.shell-brand{justify-content:space-between;align-items:center;padding:0 8px;display:flex}.workspace-chip{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-sm);align-items:center;gap:10px;padding:8px;display:flex}.workspace-chip>span:last-child{min-width:0;display:grid}a.workspace-chip{color:inherit;text-decoration:none;transition:border-color .15s}a.workspace-chip:hover,a.workspace-chip.is-active{border-color:var(--green)}.workspace-chip strong{font-size:var(--text-sm);white-space:nowrap;text-overflow:ellipsis;font-weight:650;overflow:hidden}.workspace-chip small{color:var(--muted);font-size:var(--text-xs);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.workspace-initial{border-radius:var(--radius);background:var(--green);width:32px;height:32px;color:var(--on-accent);font-size:var(--text-sm);flex:none;place-items:center;font-weight:700;display:grid}.shell-nav{gap:2px;display:grid}.shell-nav a{border-radius:var(--radius);min-height:36px;color:var(--muted);font-size:var(--text-base);align-items:center;gap:10px;padding:0 10px;font-weight:550;transition:background-color .15s,color .15s;display:flex}.shell-nav a svg{width:18px;height:18px}.shell-nav a:hover{background:color-mix(in oklab, var(--surface) 70%, transparent);color:var(--ink)}.shell-nav a.active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm), inset 0 0 0 1px var(--line);font-weight:650}.shell-nav a.active svg{color:var(--green)}.shell-nav-divider{background:var(--line);height:1px;margin:8px 10px}.shell-sidebar-bottom{border-top:1px solid var(--line);gap:4px;margin-top:auto;padding-top:12px;display:grid}.shell-sidebar-bottom .language-selector{justify-content:space-between;padding:4px 10px}.shell-logout{border-radius:var(--radius);min-height:36px;color:var(--muted);font-size:var(--text-base);text-align:left;align-items:center;gap:10px;padding:0 10px;font-weight:550;display:flex}.shell-logout:hover{background:color-mix(in oklab, var(--surface) 70%, transparent);color:var(--ink)}.shell-logout svg{width:18px;height:18px}.shell-main{flex-direction:column;min-width:0;display:flex}.shell-topbar{z-index:10;background:color-mix(in oklab, var(--bg) 88%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);align-items:center;gap:8px;height:52px;padding:0 32px;display:flex;position:sticky;top:0}.shell-title{font-size:var(--text-sm);color:var(--muted);font-weight:600}.shell-content{width:100%;max-width:1200px;margin:0 auto;padding:28px 32px 48px}.shell-scrim{z-index:39;background:color-mix(in oklab, var(--ink) 40%, transparent);position:fixed;inset:0}.shell-loading .shell-sidebar{gap:16px}.page-header{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:20px;display:flex}.page-header h1{font-size:var(--text-2xl);letter-spacing:-.02em;font-weight:700}.page-header p{color:var(--muted);font-size:var(--text-base);max-width:70ch;margin-top:4px}.page-header-actions{flex-wrap:wrap;flex:none;gap:8px;display:flex}.sticky-header{z-index:5;background:color-mix(in oklab, var(--bg) 92%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);margin:-28px -32px 20px;padding:20px 32px 16px;position:sticky;top:52px}.sticky-header .page-header{margin-bottom:0}.dashboard-grid{grid-template-columns:repeat(12,minmax(0,1fr));align-items:start;gap:16px;display:grid}.span-4{grid-column:span 4}.span-5{grid-column:span 5}.span-7{grid-column:span 7}.span-8{grid-column:span 8}.stack{gap:16px;display:grid}.panel{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm)}.panel-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:0 16px;display:flex}.panel-header h2{font-size:var(--text-md);font-weight:650}.panel-body{padding:16px}.panel-note{color:var(--muted);font-size:var(--text-sm);align-items:center;gap:6px;margin-top:12px;display:flex}.panel-note svg{width:16px;height:16px;color:var(--green)}.dashboard>.notice,.dashboard>.form-error{margin-bottom:16px}.panel-body>.notice:not(:last-child),.panel-body>.form-error:not(:last-child){margin-bottom:14px}.data-list{display:grid}.data-list>div{border-top:1px solid var(--line);grid-template-columns:minmax(120px,.4fr) minmax(0,1fr);gap:12px;padding:10px 0;display:grid}.data-list>div:first-child{border-top:0;padding-top:0}.data-list>div:last-child{padding-bottom:0}.data-list dt{color:var(--muted);font-size:var(--text-sm)}.data-list dd{font-size:var(--text-base);overflow-wrap:anywhere;font-weight:550}.color-value{align-items:center;gap:8px;display:inline-flex}.color-dot{width:14px;height:14px;box-shadow:inset 0 0 0 1px color-mix(in oklab, var(--ink) 15%, transparent);border-radius:4px}.empty-state{grid-template-columns:44px minmax(0,1fr);align-items:start;gap:14px;padding:4px 0 16px;display:grid}.empty-icon{border-radius:var(--radius-md);background:var(--soft);width:44px;height:44px;color:var(--green);place-items:center;display:grid}.empty-icon svg{width:24px;height:24px}.empty-state h3{font-size:var(--text-lg);font-weight:650}.empty-state p{color:var(--muted);font-size:var(--text-base);max-width:62ch;margin-top:4px;line-height:1.55}.inline-actions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.cycle-strip{border-top:1px solid var(--line);grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding-top:16px;display:grid}.cycle-strip li{border-radius:var(--radius-md);background:var(--accent-wash);grid-template-columns:20px minmax(0,1fr);align-items:start;gap:4px 8px;padding:10px;display:grid;position:relative}.cycle-strip li>svg{width:20px;height:20px;color:var(--green);grid-area:1/1}.cycle-strip li>div{grid-area:1/2/span 2}.cycle-strip strong{font-size:var(--text-sm);font-weight:650;display:block}.cycle-strip small{color:var(--muted);font-size:var(--text-xs);line-height:1.4;display:block}.cycle-index{color:var(--muted);font-size:var(--text-xs);font-variant-numeric:tabular-nums;font-weight:600;position:absolute;top:8px;right:10px}.objective-form{gap:10px;display:grid}.objective-form textarea{min-height:64px;font-size:var(--text-md)}.objective-text{font-size:var(--text-lg);max-width:70ch;font-weight:500;line-height:1.5}.scene-panel .panel-body{padding:12px}.company-world,.calm-salon{border-radius:var(--radius-md);background:var(--scene);overflow:hidden}.scene-meta{justify-content:space-between;align-items:baseline;gap:8px;padding:10px 4px 0;display:flex}.scene-meta strong{font-size:var(--text-base);font-weight:650}.scene-meta span{color:var(--muted);font-size:var(--text-sm);text-align:right}.palette-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.palette-option{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);text-align:left;align-items:center;gap:10px;min-height:44px;padding:6px 10px 6px 6px;transition:border-color .15s,box-shadow .15s;display:flex}.palette-option:hover{border-color:var(--control)}.palette-option.selected{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}.palette-option strong{font-size:var(--text-base);font-weight:600}.palette-swatch{border-radius:var(--radius);color:#fff;flex:none;place-items:center;width:32px;height:32px;display:grid}.palette-swatch svg{width:16px;height:16px}.setting-row{border-top:1px solid var(--line);font-size:var(--text-base);justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding-top:12px;font-weight:550;display:flex}.color-picker input{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);cursor:pointer;width:44px;height:32px;padding:2px}.range-grid{border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:12px;padding-top:12px;display:grid}.range-field{font-size:var(--text-sm);gap:6px;font-weight:600;display:grid}.range-field>span{justify-content:space-between;display:flex}.range-value{color:var(--muted);font-variant-numeric:tabular-nums}.segmented{border-radius:var(--radius-md);background:var(--soft);gap:2px;padding:3px;display:inline-flex}.segmented button{border-radius:var(--radius);min-height:32px;color:var(--muted);font-size:var(--text-sm);align-items:center;gap:6px;padding:0 12px;font-weight:600;display:inline-flex}.segmented button svg{width:16px;height:16px}.segmented button.selected{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm)}.portrait-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px;display:grid}.portrait-choices button{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--accent-wash);font-size:var(--text-sm);justify-items:center;gap:6px;padding:8px 8px 10px;font-weight:600;transition:border-color .15s,box-shadow .15s;display:grid}.portrait-choices button:hover:not(:disabled){border-color:var(--control)}.portrait-choices button[aria-pressed=true]{border-color:var(--green);background:var(--soft);box-shadow:inset 0 0 0 1px var(--green)}.portrait-choices .virtual-person{width:100%;max-width:96px}.preview-column{position:sticky;top:148px}.chat-overlay{z-index:50;background:color-mix(in oklab, var(--ink) 35%, transparent);position:fixed;inset:0}.chat-panel{z-index:51;background:var(--surface);border-left:1px solid var(--line);width:min(420px,100%);box-shadow:var(--shadow-md);flex-direction:column;display:flex;position:fixed;top:0;bottom:0;right:0}.chat-header{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:12px 16px;display:flex}.chat-header h2{font-size:var(--text-md)}.chat-header p{color:var(--muted);font-size:var(--text-xs)}.chat-header .icon-button{margin-left:auto}.guide-mark{border-radius:var(--radius);background:var(--green);width:32px;height:32px;color:var(--on-accent);place-items:center;display:grid}.guide-mark.small{width:28px;height:28px}.guide-mark svg{width:18px;height:18px}.chat-messages{flex:1;align-content:start;gap:12px;padding:16px;display:grid;overflow-y:auto}.chat-message{gap:8px;display:flex}.chat-message>div{border-radius:var(--radius-md);background:var(--accent-wash);padding:10px 12px}.chat-message.user{justify-content:flex-end}.chat-message.user>div{background:var(--soft)}.chat-message span{color:var(--muted);font-size:var(--text-xs);font-weight:600;display:block}.chat-message p{font-size:var(--text-base);white-space:pre-wrap}.conversation-empty{text-align:center;color:var(--muted);justify-items:center;gap:6px;padding:32px 16px;display:grid}.conversation-empty svg{width:28px;height:28px;color:var(--green)}.chat-composer{border-top:1px solid var(--line);gap:8px;padding:12px 16px;display:grid}.chat-composer form{align-items:flex-end;gap:6px;display:flex}.chat-composer textarea{resize:none;min-height:40px;max-height:160px;overflow-y:hidden}.chat-locked{justify-items:start;gap:10px;display:grid}.chat-locked p{color:var(--ink);font-size:var(--text-sm)}.chat-composer .chat-send{border-radius:var(--radius);background:var(--green);width:40px;height:40px;color:var(--on-accent);flex:none;place-items:center;display:grid}.chat-composer .chat-attach{flex:none;width:40px;height:40px}.chat-attachment{border:1px solid var(--line);border-radius:var(--radius);background:var(--accent-wash);font-size:var(--text-sm);align-items:center;gap:6px;padding:4px 4px 4px 10px;display:flex}.chat-attachment>svg{width:16px;height:16px;color:var(--green)}.chat-attachment span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.chat-attachment .icon-button{width:28px;height:28px}.chat-status{color:var(--muted);font-size:var(--text-sm);align-items:center;gap:10px;display:flex}.chat-composer>p{color:var(--muted);font-size:var(--text-xs)}.impersonation-banner{border-radius:var(--radius-md);background:var(--warning-soft);color:var(--warning-ink);font-size:var(--text-sm);flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;padding:10px 14px;display:flex}.impersonation-banner button{margin-left:auto;font-weight:650;text-decoration:underline}@media (width<=1100px){.span-8,.span-7{grid-column:span 12}.span-4,.span-5{grid-column:span 6}.preview-column{position:static}.personalize .dashboard-grid>.span-7{order:2}.personalize .dashboard-grid>.preview-column{order:1;grid-column:span 12}.personalize .preview-panel .company-world{max-width:520px;margin:0 auto}}@media (width<=900px){.shell{grid-template-columns:1fr}.shell-sidebar{z-index:40;width:272px;transition:transform .22s var(--ease);box-shadow:var(--shadow-md);position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.shell-sidebar.is-open{transform:none}.shell-loading .shell-sidebar{display:none}.shell-topbar{padding:0 12px}.shell-content{padding:20px 16px 40px}.sticky-header{margin:-20px -16px 16px;padding:16px;top:52px}}@media (width<=720px){.span-4,.span-5{grid-column:span 12}.page-header{flex-direction:column;align-items:flex-start}.page-header h1{font-size:var(--text-xl)}.cycle-strip,.palette-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.range-grid{grid-template-columns:1fr}.data-list>div{grid-template-columns:1fr;gap:2px}.sticky-header{position:static}}.objective-form label:not(.sr-only){font-size:var(--text-sm);font-weight:600}.public-header{border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;gap:16px;height:60px;padding:0 24px;display:flex}.public-header .language-selector>span{display:none}.auth-page{background:var(--bg);flex-direction:column;min-height:100dvh;display:flex}.auth-main{flex:1;align-content:center;justify-items:center;gap:16px;padding:32px 16px 48px;display:grid}.auth-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);width:min(400px,100%);box-shadow:var(--shadow-md);padding:28px}.auth-card h1{font-size:var(--text-2xl);letter-spacing:-.02em;margin-bottom:20px;font-weight:700}.auth-card form{gap:14px;display:grid}.auth-description{color:var(--muted);font-size:var(--text-base);margin:-8px 0 20px;line-height:1.55}.auth-symbol{border-radius:var(--radius-md);background:var(--soft);width:44px;height:44px;color:var(--green);place-items:center;margin-bottom:14px;display:grid}.auth-symbol svg{width:24px;height:24px}.auth-primary{width:100%;min-height:40px}.auth-card>.text-button{margin-top:10px}.auth-card>.notice,.auth-card>.form-error{margin-bottom:14px}.auth-alternative{border-top:1px solid var(--line);color:var(--muted);font-size:var(--text-sm);flex-wrap:wrap;justify-content:center;gap:6px;margin-top:18px;padding-top:16px;display:flex}.auth-alternative a{color:var(--green);font-weight:600}.auth-alternative a:hover{text-underline-offset:3px;text-decoration:underline}.auth-demo-link{color:var(--muted);font-size:var(--text-sm);font-weight:600}.auth-demo-link:hover{color:var(--green);text-underline-offset:3px;text-decoration:underline}.welcome{background:var(--bg);flex-direction:column;min-height:100dvh;display:flex}.welcome-header-actions{align-items:center;gap:16px;display:flex}.welcome-header-actions .text-button{font-size:var(--text-sm)}.welcome-layout{flex:1;grid-template-columns:minmax(0,460px) minmax(0,1fr);align-items:stretch;gap:32px;width:100%;max-width:1200px;margin:0 auto;padding:32px 24px;display:grid}.welcome-copy{order:-1;align-self:center;gap:16px;display:grid}.welcome-copy h1{font-size:var(--text-2xl);letter-spacing:-.02em;font-weight:700}.welcome-copy form{gap:16px;display:grid}.welcome-progress{color:var(--muted);font-size:var(--text-sm);align-items:center;gap:12px;font-weight:550;display:flex}.welcome-progress ol{gap:4px;display:flex}.welcome-progress li{background:var(--line);border-radius:2px;width:28px;height:4px}.welcome-progress li.active{background:var(--green)}.welcome-controls{gap:8px;margin-top:4px;display:flex}.welcome-controls .button.primary{flex:1;min-height:40px}.welcome-controls .button.secondary{min-height:40px}.welcome-visual{aspect-ratio:4/3;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--scene);align-self:center;place-items:center;width:100%;min-height:420px;max-height:620px;display:grid;position:relative;overflow:hidden}.welcome-stage{place-items:center;width:100%;padding:24px;display:grid}.welcome-person{width:min(260px,70%)}.welcome-world{width:100%;max-width:720px}.welcome-visual figcaption{background:var(--surface);box-shadow:var(--shadow-sm);font-size:var(--text-sm);border-radius:999px;align-items:baseline;gap:8px;padding:6px 12px;display:flex;position:absolute;bottom:16px;left:16px}.welcome-visual figcaption span{color:var(--muted)}.identity-choices.portrait-choices{margin-bottom:0}.identity-choices button span{align-items:center;gap:4px;display:inline-flex}.identity-choices button span svg{width:14px;height:14px;color:var(--green)}.sector-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.sector-choice{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);text-align:left;align-items:center;gap:10px;min-height:44px;padding:8px 12px;transition:border-color .15s,box-shadow .15s;display:flex;position:relative}.sector-choice:hover{border-color:var(--control)}.sector-choice[aria-pressed=true]{border-color:var(--green);background:var(--soft);box-shadow:inset 0 0 0 1px var(--green)}.sector-choice>svg{width:20px;height:20px;color:var(--green)}.sector-choice strong{font-size:var(--text-sm);font-weight:600;line-height:1.3}.sector-choice .choice-check{width:16px;height:16px;margin-left:auto}.goal-options{border:0;gap:8px;margin:0;padding:0;display:grid}.goal-options legend{font-size:var(--text-sm);margin-bottom:8px;font-weight:600}.goal-option{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);font-size:var(--text-base);cursor:pointer;align-items:flex-start;gap:10px;padding:12px;display:flex}.goal-option input{margin-top:3px}.goal-option.selected{border-color:var(--green);background:var(--soft)}.welcome-footer{border-top:1px solid var(--line);color:var(--muted);font-size:var(--text-sm);text-align:center;padding:12px 24px}.status-page{flex-direction:column;min-height:100dvh;display:flex}.status-main{flex:1;place-items:center;padding:32px 16px;display:grid}.status-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);width:min(440px,100%);box-shadow:var(--shadow-md);justify-items:start;gap:10px;padding:28px;display:grid}.status-card h1{font-size:var(--text-xl)}.status-card p{color:var(--muted)}.status-symbol{border-radius:var(--radius-md);background:var(--soft);min-width:44px;height:44px;color:var(--green);font-variant-numeric:tabular-nums;place-items:center;padding:0 10px;font-weight:700;display:grid}.status-symbol svg{width:24px;height:24px}.status-actions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.standalone-status{text-align:center;place-content:center;justify-items:center;gap:10px;min-height:100dvh;padding:24px;display:grid}.standalone-status h1{font-size:var(--text-xl)}.standalone-status p{color:var(--muted)}@media (width<=900px){.welcome-layout{grid-template-columns:1fr;align-content:start;gap:20px;padding:20px 16px}.welcome-copy{order:0}.welcome-visual{order:-1;min-height:0}.welcome-step-0 .welcome-visual,.welcome-step-1 .welcome-visual{max-height:260px}.welcome-person{width:min(160px,50%)}}@media (width<=560px){.public-header{padding:0 16px}.auth-card{padding:22px}.sector-choices{grid-template-columns:1fr}}.consent-field{font-size:var(--text-sm);color:var(--ink);grid-template-columns:16px minmax(0,1fr);align-items:start;gap:4px 10px;line-height:1.5;display:grid}.consent-field input[type=checkbox]{margin-top:2px}.consent-field .field-error{grid-column:2}.consent-field a{color:var(--green-dark);text-underline-offset:2px;font-weight:600;text-decoration:underline}.legal-gate{background:var(--bg);align-content:center;justify-items:center;gap:20px;min-height:100dvh;padding:32px 16px;display:grid}.legal-gate-brand{color:var(--green)}.legal-modal{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);width:min(560px,100%);box-shadow:var(--shadow-md);gap:16px;padding:28px;display:grid}.legal-modal h1{font-size:var(--text-2xl);letter-spacing:-.02em;font-weight:700}.legal-modal h1:focus{outline:none}.legal-lead{color:var(--muted);font-size:var(--text-base);line-height:1.6}.legal-documents{gap:8px;display:grid}.legal-documents li{border:1px solid var(--line);border-radius:var(--radius-md);grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;display:grid}.legal-documents svg{width:18px;height:18px;color:var(--green)}.legal-documents span{display:grid}.legal-documents b{font-size:var(--text-base);font-weight:600}.legal-documents small{color:var(--muted);font-size:var(--text-xs)}.legal-documents a{color:var(--green-dark);font-size:var(--text-sm);align-items:center;gap:4px;font-weight:600;display:inline-flex}.legal-documents a svg{width:14px;height:14px}.legal-checks{gap:10px;display:grid}.legal-actions{flex-wrap:wrap;gap:8px;display:flex}.account-note{margin-top:10px}
