.experience-settings{border:1px solid var(--color-border);border-radius:12px;padding:1rem;margin:1rem 0}.experience-settings small{color:var(--color-text-secondary);line-height:1.6}.experience-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:1rem 0}.experience-choices button{border:1px solid var(--color-border);background:var(--color-surface-elevated);color:var(--color-text-primary);border-radius:10px;text-align:left;padding:1rem;min-height:90px}.experience-choices span,.experience-choices strong{display:block}.experience-choices span{font-size:.85rem;color:var(--color-text-secondary);margin-top:.5rem;line-height:1.5}.experience-choices [aria-pressed=true]{border-color:var(--color-accent-primary);box-shadow:inset 0 0 0 1px var(--color-accent-primary)}.overview-identity{display:flex;align-items:center;gap:1rem;padding:1rem 0}.overview-identity>div{flex:1}.overview-identity span,.overview-identity strong{display:block}.overview-identity>div span{font-size:.85rem;color:var(--color-text-secondary);line-height:1.6}.overview-turns{border:1px solid var(--color-border);padding:.6rem;border-radius:8px;color:var(--color-accent-legendary)}.overview-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.overview-paths.prioritized{grid-template-columns:1fr}.overview-objective{display:flex;width:100%;align-items:center;justify-content:space-between;gap:1rem;background:transparent;border:0;border-bottom:1px solid var(--color-border);color:var(--color-text-primary);text-align:left;padding:.8rem 0;min-height:48px}.overview-objective small{display:block;color:var(--color-text-secondary);margin-top:.3rem}.beta-guidance{padding:1rem;border-left:3px solid var(--color-accent-primary);background:var(--color-surface-elevated);border-radius:10px;margin:1rem 0}.beta-guidance p{line-height:1.65;color:var(--color-text-secondary)}.beta-feedback-entry{margin:1rem 0}.feedback-preview{display:block;max-width:100%;height:auto;max-height:650px;object-fit:contain}.feedback-review{padding:1rem 0;border-bottom:1px solid var(--color-border);overflow-wrap:anywhere}.feedback-review>p{white-space:pre-wrap}.feedback-review small{color:var(--color-text-secondary)}@media(max-width:700px){.experience-choices,.overview-paths{grid-template-columns:1fr}.experience-choices button{min-height:72px}.overview-identity{flex-wrap:wrap}.overview-turns{font-size:.85rem}}.commander-dashboard{max-width:1100px;margin:auto}.dashboard-identity{display:flex;align-items:center;gap:1rem;margin:1rem 0}.dashboard-identity span,.dashboard-identity strong{display:block}.dashboard-identity span{color:var(--color-text-secondary);line-height:1.6}.dashboard-attributes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:1rem 0}.dashboard-attributes button{background:var(--color-surface);border:1px solid var(--color-border);border-radius:10px;color:var(--color-text-primary);text-align:left;padding:.8rem;min-height:64px}.dashboard-attributes small,.dashboard-attributes strong{display:block}.dashboard-attributes small{color:var(--color-text-secondary);font-size:.8rem;line-height:1.5}.dashboard-attributes .attribute-STR strong{color:var(--color-str-text)}.dashboard-attributes .attribute-END strong{color:var(--color-end-text)}.dashboard-attributes .attribute-DIS strong{color:var(--color-dis-text)}.dashboard-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}.dashboard-path{padding:1.2rem;border:1px solid var(--color-border);background:var(--color-surface);border-radius:12px;min-width:0}.dashboard-path>svg{color:var(--color-accent-primary)}.dashboard-path h2{margin:.5rem 0}.dashboard-path p{color:var(--color-text-secondary);line-height:1.6}.dashboard-path>.button{display:flex;width:100%;margin:.6rem 0;min-height:48px}.turn-indicator{border:1px solid var(--color-border);border-radius:12px;padding:1rem;margin:1rem 0;background:var(--color-surface-elevated)}.turn-indicator strong{font-size:1.2rem;color:var(--color-accent-legendary)}.turn-indicator small{display:block;line-height:1.6;color:var(--color-text-secondary)}.quick-status{margin:1rem 0}.quick-status>div{padding:.8rem 0;border-top:1px solid var(--color-border)}.quick-status dt{font-weight:600}.quick-status dd{margin:.3rem 0 0;color:var(--color-text-secondary);line-height:1.6}.dashboard-shortcuts{display:flex;flex-wrap:wrap;gap:.7rem}.armory-related,.contextual-help,.tutorial-coach{padding:1rem;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface);margin-bottom:1rem}.contextual-help p,.tutorial-coach p{line-height:1.7}.tutorial-controls{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.tutorial-controls .button{min-height:44px}.armory-related summary,.contextual-help summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.workout-save-state{gap:.7rem;flex-wrap:wrap;line-height:1.6}.workout-save-state span{color:var(--color-text-secondary)}.save-saved strong{color:var(--color-success)}.save-save-failed strong{color:var(--color-error)}.live-completion>.button:first-child{min-height:56px;font-size:1.1rem;flex:1}.live-counter .button,.live-counter input{min-height:52px}.live-set-selector button{min-width:44px;min-height:44px}.combat-primary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin:1rem 0}.combat-primary-grid .button{min-height:56px;white-space:normal;font-size:1rem}.combat-secondary{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0}.combat-current{padding:1rem;background:var(--color-surface-elevated);border:1px solid var(--color-accent-primary);border-radius:10px;margin:1rem 0}.combat-current h3{font-size:1.3rem}.combat-current p{line-height:1.6}.adventure-destination-list{display:grid;gap:.7rem;margin:1rem 0}.adventure-destination-list article{border:1px solid var(--color-border);padding:1rem;border-radius:10px}.adventure-destination-list p{line-height:1.6;color:var(--color-text-secondary)}.adventure-destination-list .button{min-height:48px;width:100%;white-space:normal}.adventure-log li{overflow-wrap:anywhere}.combat-feedback{line-height:1.65;padding:.8rem;background:var(--color-surface-elevated);border-radius:8px}.adventure-related{margin:1rem 0}.adventure-fighter{min-width:0}.combat-current,.live-completion{scroll-margin-bottom:calc(100px + env(safe-area-inset-bottom))}.main-content{overflow-wrap:anywhere}.main-content:focus{outline:none}.button,button,input,select,summary,textarea{scroll-margin-bottom:calc(100px + env(safe-area-inset-bottom))}.button:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid var(--color-accent-legendary);outline-offset:3px}.modal{max-height:calc(100dvh - 2rem);overflow:auto}.button-icon,.modal .button{min-height:44px}.button-icon{min-width:44px}.button{white-space:normal;max-width:100%;height:auto}.mobile-nav button{min-height:52px}.mobile-nav [aria-current=page]{color:var(--color-accent-legendary);background:var(--color-surface-elevated);box-shadow:inset 0 -3px var(--color-accent-primary)}@media(max-width:700px){.dashboard-paths{grid-template-columns:1fr}.dashboard-path{padding:1rem}.dashboard-identity{align-items:flex-start}.dashboard-attributes button{padding:.65rem}.dashboard-attributes small{font-size:.75rem}.commander-dashboard>.page-title h1{font-size:1.65rem}.commander-dashboard>.page-title{margin-bottom:1rem}.dashboard-path h2{font-size:1.25rem}.dashboard-shortcuts .button{flex:1 1 140px}.adventure-targets{grid-template-columns:1fr}.adventure-bank>div{min-width:0}.adventure-tabs{grid-template-columns:repeat(auto-fit,minmax(5rem,1fr))}.main-content{padding-bottom:calc(110px + env(safe-area-inset-bottom))}.live-completion{display:flex;flex-wrap:wrap}.live-completion>.button:first-child{flex-basis:100%}.live-counter input{min-width:0;max-width:100%}.combat-current{padding:.85rem}}@media(max-width:340px){.combat-primary-grid,.dashboard-attributes{grid-template-columns:1fr}.dashboard-attributes button{min-height:44px}}@media(prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important;animation-iteration-count:1!important}}.reduce-motion *,.reduce-motion :after,.reduce-motion :before{animation:none!important;transition:none!important;scroll-behavior:auto!important}.adventure-map circle.map-hit-target{fill:transparent;stroke:none}.combat-vitals summary{min-height:44px;cursor:pointer}.combat-vitals{margin:1rem 0}.combat-selection{padding:1rem;border:1px solid var(--color-border);border-radius:8px}.notification-tray{max-height:70dvh;overflow:auto}.battle-heading{font-size:1.4rem;margin:0 0 .5rem}.battle-turn-summary{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;margin-bottom:.7rem}.battle-view .adventure-initiative{padding:.3rem 0;gap:.3rem}.battle-view .adventure-initiative li{padding:.3rem}.battle-view>.panel{padding:1rem}.battle-view .combat-current{margin:.5rem 0}.battle-view .adventure-tabs{display:flex;gap:.3rem}.battle-view .adventure-tabs .button{flex:1;min-width:3.7rem}.battle-view .combat-vitals{margin-top:1rem}:root[data-text-scale="1.25"]{font-size:125%}:root[data-text-scale="1.5"]{font-size:150%}:root[data-text-scale="2"]{font-size:200%}body{font-size:1rem}.button{font-size:.9375rem;min-height:44px}.nav-item{min-height:44px;height:auto;white-space:normal}.combat-current p,.commander-adventure,.commander-dashboard,.commander-dashboard .page-title p,.live-exercise,.modal-inner,.modal-inner>p,.tutorial-coach,.tutorial-coach p{font-size:1rem}.button-outline,.combat-selection select,.experience-choices button,.live-counter input{border-color:var(--color-control-border)}.mobile-nav{height:auto;min-height:68px}.mobile-nav button{font-size:.75rem;height:auto;overflow-wrap:anywhere}.mobile-nav button span{max-width:100%}.combat-current h3{font-size:1.25rem}.adventure-initiative li{font-size:.85rem}.dashboard-attributes small{font-size:.75rem}.main-content{padding-bottom:calc(var(--bottom-navigation-height,80px) + 2rem + env(safe-area-inset-bottom))}.button,input,select,summary,textarea{scroll-margin-bottom:calc(var(--bottom-navigation-height,80px) + 2rem)}.live-counter input{font-size:1.25rem}.live-counter label,.live-target{font-size:1rem}.live-counter>div{min-width:0}.live-clock{overflow-wrap:anywhere}.live-completion .button{white-space:normal}@media(min-width:801px){.main-content{padding-bottom:2rem}}@media(max-width:500px){:root[data-text-scale="2"] .combat-primary-grid,:root[data-text-scale="2"] .dashboard-attributes{grid-template-columns:1fr}.live-counter .button{min-width:48px}.modal{max-width:calc(100vw - 1rem)}}.battle-view .adventure-tabs .button{flex-direction:column;gap:.2rem;padding:.4rem .2rem;font-size:.75rem;min-width:0;word-break:normal;overflow-wrap:normal}.battle-view .adventure-initiative{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding:.4rem 0}.battle-view .adventure-initiative li{min-width:8rem;max-width:12rem;flex-shrink:0;white-space:normal}.battle-view .adventure-initiative:focus-visible{outline:3px solid var(--color-accent-primary);outline-offset:2px}@media(max-width:500px){:root[data-text-scale="2"] .battle-view .adventure-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}.section-navigation{margin:0 0 1.2rem;border-bottom:1px solid var(--color-border);padding-bottom:.5rem}.section-navigation>summary{color:var(--color-text-secondary);cursor:pointer;min-height:44px;padding:.7rem .2rem}.section-navigation nav,.you-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:.6rem;margin:.5rem 0 1rem}.section-navigation nav button,.you-sections button{min-height:48px;text-align:left;color:var(--color-text-primary);background:var(--color-surface);border:1px solid var(--color-border);border-radius:10px;padding:.8rem 1rem;font:inherit}.section-navigation nav button[aria-current=page]{border-color:var(--color-accent-primary);color:var(--color-accent-legendary)}.you-sections button{padding:1.1rem}.you-sections span,.you-sections strong{display:block}.you-sections span{color:var(--color-text-secondary);line-height:1.6;margin-top:.4rem}.section-navigation button:hover,.you-sections button:hover{background:var(--color-surface-hover)}.section-navigation button:focus-visible,.you-sections button:focus-visible{outline:3px solid var(--color-accent-primary);outline-offset:2px}.workout-plan-list{display:grid;gap:.5rem;margin-bottom:1rem}.workout-plan-list .button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;white-space:normal;overflow-wrap:anywhere;width:100%;padding:.8rem;gap:.3rem}.workout-plan-list span{font-size:.85rem;line-height:1.5}.live-set-count{margin:16px 0 12px}.live-set-count>span{display:block;margin-bottom:8px;color:var(--color-text-primary)}.live-set-count .button-row{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;max-width:340px}.live-set-count .button,.live-set-count select{min-height:48px}.live-set-count select{text-align:center;width:100%;min-width:0}.live-set-count small{display:block;margin-top:8px;color:var(--color-text-secondary)}.workout-add-results{max-height:300px;min-height:90px}.workout-add-row{padding:8px 0;border-bottom:1px solid var(--color-border);display:flex;gap:8px;align-items:center;flex-wrap:wrap}.workout-add-row .checkbox-label{flex:1;min-width:160px;min-height:48px;color:var(--color-text-primary);font-size:13px}.workout-add-row .checkbox-label span{min-width:0;overflow-wrap:anywhere}.workout-add-row input{flex-shrink:0}.workout-add-results .workout-add-row button{width:auto;min-height:44px;padding:8px;border:0}.picker-selected{display:flex;gap:6px;flex-wrap:wrap;max-height:100px;overflow:auto}.picker-selected button{white-space:normal;text-align:left}.workout-add-footer{position:sticky;bottom:0;background:var(--color-surface);border-top:1px solid var(--color-border);padding-top:12px;display:flex;flex-wrap:wrap;gap:8px}.workout-add-footer>.button:first-child{flex:1;min-height:48px}.turn-earning-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}.turn-earning-card{min-width:0;border:1px solid var(--color-border);border-radius:10px;padding:16px;background:var(--color-surface-elevated)}.turn-earning-heading{display:flex;gap:10px;align-items:center;color:var(--color-accent-primary)}.turn-earning-heading h3{flex:1;min-width:0;color:var(--color-text-primary);font-size:17px;line-height:1.4}.turn-earning-heading>strong{font-size:26px;line-height:1.1;white-space:nowrap}.turn-earning-heading>strong small{display:block;font:12px var(--font-body,inherit);color:var(--color-text-secondary);text-align:center}.turn-earning-card li,.turn-earning-card p{font-size:14px;line-height:1.6}.turn-earning-card p{margin:12px 0;color:var(--color-text-secondary)}.turn-earning-card ul,.turn-policy ul{padding-left:20px;margin:0}.turn-earning-card li+li{margin-top:4px}.turn-earning-note{margin:16px 0;font-size:14px;line-height:1.6;color:var(--color-text-secondary)}.turn-policy{border-top:1px solid var(--color-border);padding-top:12px;margin-top:16px}.turn-policy summary{min-height:44px;cursor:pointer;color:var(--color-accent-primary);font-size:14px}.turn-policy li{font-size:14px;line-height:1.65;margin-bottom:10px}.turn-commitments{display:grid;gap:10px;margin-bottom:16px}.turn-commitment{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-elevated);cursor:pointer;min-height:76px}.turn-commitment.is-approved{border-color:var(--color-success)}.turn-commitment input{width:22px;height:22px;flex-shrink:0}.turn-commitment>span{min-width:0}.turn-commitment strong{display:block;font-size:16px;line-height:1.5;overflow-wrap:anywhere;color:var(--color-text-primary)}.turn-commitment small{display:block;font-size:13px;line-height:1.6;color:var(--color-text-secondary)}.turn-commitment-state{margin-top:4px}.turn-commitment.is-approved .turn-commitment-state{color:var(--color-success)}.turn-commitment:focus-within{outline:2px solid var(--color-accent-primary);outline-offset:3px}.turn-beta{padding:16px}.step-log-shortcut{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:16px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface);margin:16px 0}.step-log-shortcut>svg{color:var(--color-end);flex-shrink:0}.step-log-shortcut>div{flex:1;min-width:160px}.step-log-shortcut strong{display:block;color:var(--color-text-primary);font-size:16px}.step-log-shortcut span{display:block;color:var(--color-text-secondary);font-size:13px;line-height:1.6;margin-top:4px}.step-log-shortcut .button{min-height:44px}@media(max-width:420px){.step-log-shortcut .button{width:100%}}.dashboard-goals{margin-top:12px}.dashboard-goals>ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}.dashboard-goal-card{display:flex;gap:12px;width:100%;text-align:left;align-items:flex-start;padding:14px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface-elevated);color:var(--color-text-primary);cursor:pointer}.dashboard-goal-card:hover{background:var(--color-surface-hover)}.dashboard-goal-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:var(--color-surface);flex-shrink:0;color:var(--color-dis)}.dashboard-goal-card.str .dashboard-goal-icon{color:var(--color-str)}.dashboard-goal-card.end .dashboard-goal-icon{color:var(--color-end)}.dashboard-goal-card.is-complete .dashboard-goal-icon{color:var(--color-success)}.dashboard-goal-body{flex:1;min-width:0}.dashboard-goal-heading{display:flex;gap:10px;justify-content:space-between;align-items:baseline;flex-wrap:wrap}.dashboard-goal-heading strong{font-size:15px;line-height:1.5;overflow-wrap:anywhere}.dashboard-goal-heading>span{font-size:12px;color:var(--color-text-secondary);white-space:nowrap}.dashboard-goal-body>small{display:block;margin-top:4px;font-size:13px;line-height:1.6;color:var(--color-text-secondary)}.dashboard-goal-body .bar{margin-top:10px;height:6px}.dashboard-goal-action{display:flex;align-items:center;gap:4px;margin-top:10px;font-size:12px;color:var(--color-accent-primary)}.dashboard-goals>.button{margin-top:10px;min-height:44px}.dashboard-goal-card:focus-visible{outline:2px solid var(--color-accent-primary);outline-offset:3px}.combat-roster-details{display:none}.fighter-acting{font-size:.75em;color:var(--color-accent-legendary)}@media(max-width:600px){.battle-view .adventure-initiative{flex-wrap:nowrap;overflow-x:auto;margin:.35rem 0;max-width:100%;padding:.25rem 0 .45rem}.battle-view .adventure-initiative li{flex-shrink:0;white-space:nowrap;font-size:.8rem}.battle-view .combat-vitals{margin:.5rem 0}.battle-view .combat-vitals>summary{font-size:.85rem;line-height:1.4;min-height:36px}.battle-view .adventure-fighters{gap:.4rem}.battle-view .fighter-compact{padding:.5rem .6rem;gap:.25rem;border-radius:8px}.battle-view .fighter-compact strong{font-size:.875rem;line-height:1.35}.battle-view .fighter-compact .bar{height:5px;margin:0}.battle-view .fighter-hp{font-size:.8rem;line-height:1.35;font-variant-numeric:tabular-nums}.battle-view .fighter-compact .fighter-description,.battle-view .fighter-compact .fighter-focus,.battle-view .fighter-compact .fighter-intent,.battle-view .fighter-compact .fighter-ready{display:none}.battle-view .fighter-condition{font-size:.8rem;line-height:1.35}.battle-view .combat-roster-details{display:block;margin-top:.25rem}.battle-view .combat-roster-details>summary{min-height:44px;font-size:.85rem;color:var(--color-text-secondary);align-content:center}.combat-roster-details dl{margin:0}.combat-roster-details dl>div{padding:.5rem 0;border-top:1px solid var(--color-border)}.combat-roster-details dt{font-weight:600}.combat-roster-details dd{margin:.25rem 0 0;color:var(--color-text-secondary);line-height:1.5}.battle-view .combat-current{padding:.65rem;margin:.5rem 0}.battle-view .combat-current h3{font-size:1.05rem;margin:0 0 .2rem}.battle-view .combat-current>p{font-size:.85rem;line-height:1.45;margin:.25rem 0}.battle-view .combat-primary-grid{gap:.5rem;margin:.6rem 0}.battle-view .combat-primary-grid .button{min-height:48px}.battle-view .combat-secondary{margin:.35rem 0;gap:.5rem}.battle-view .combat-secondary .button{min-height:44px}}.commander-adventure{max-width:1120px;margin:auto}.adventure-bank{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;padding:1.2rem;background:var(--color-surface-elevated);border:1px solid var(--color-accent-primary);border-radius:14px;margin-bottom:1rem}.adventure-bank>svg{color:var(--color-accent-primary)}.adventure-bank>div{flex:1;min-width:170px}.adventure-bank span,.adventure-bank strong{display:block}.adventure-bank strong{font-size:1.8rem;color:var(--color-accent-legendary)}.adventure-bank small{flex-basis:100%;color:var(--color-text-secondary);line-height:1.6}.adventure-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.adventure-tabs .button{min-height:44px}.adventure-actions{display:flex;gap:.65rem;flex-wrap:wrap;align-items:end;margin:1rem 0}.adventure-actions .button{min-height:48px;white-space:normal;text-align:left}.adventure-map{border:1px solid var(--color-border);border-radius:14px;overflow:hidden;background:var(--color-background-sidebar);margin:1rem 0}.adventure-map svg{display:block;width:100%;height:auto;min-height:230px}.adventure-map line{stroke:var(--color-border);stroke-width:3}.adventure-map circle,.adventure-map rect{fill:var(--color-surface-elevated);stroke:var(--color-accent-primary);stroke-width:2}.adventure-map .current{fill:var(--color-accent-primary)}.adventure-map .cleared{stroke:var(--color-success);stroke-width:4}.adventure-map text{fill:var(--color-text-primary);font-size:13px;text-anchor:middle}.adventure-map g[role=button]{cursor:pointer}.adventure-map g[role=button]:focus{outline:3px solid var(--color-accent-legendary);outline-offset:4px}.adventure-fighters{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.7rem}.adventure-fighter{display:flex;flex-direction:column;gap:.5rem;border:1px solid var(--color-border);background:var(--color-surface-elevated);border-radius:12px;padding:1rem}.adventure-fighter.acting{border-color:var(--color-accent-legendary);box-shadow:inset 0 0 0 1px var(--color-accent-legendary)}.adventure-fighter small{color:var(--color-text-secondary);line-height:1.5}.adventure-initiative{display:flex;gap:.5rem;flex-wrap:wrap;padding:1rem 0;list-style:none}.adventure-initiative li{border:1px solid var(--color-border);border-radius:7px;padding:.5rem;font-size:.8rem}.adventure-initiative [aria-current=step]{color:var(--color-accent-legendary);border-color:currentColor}.adventure-targets{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem}.combat-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.adventure-party{display:grid;gap:.8rem}.adventure-party label{display:flex;align-items:center;gap:1rem;border:1px solid var(--color-border);border-radius:12px;padding:1rem}.adventure-party label span{flex:1}.adventure-party small,.adventure-party strong{display:block}.adventure-party small{color:var(--color-text-secondary);line-height:1.6}.adventure-party input{width:24px;height:24px;accent-color:var(--color-accent-primary)}.adventure-log{list-style:none;padding:0}.adventure-log li{display:flex;flex-direction:column;gap:.35rem;border-bottom:1px solid var(--color-border);padding:1rem 0;line-height:1.65}.adventure-log small{color:var(--color-text-secondary)}.adventure-rules{padding:1rem;background:var(--color-surface);border-radius:12px}.adventure-rules summary{min-height:44px;cursor:pointer;color:var(--color-accent-primary)}.adventure-rules p{line-height:1.75}.adventure-inspection{min-height:3rem}@media(max-width:600px){.adventure-bank{padding:1rem}.adventure-tabs{display:grid;grid-template-columns:repeat(3,1fr)}.adventure-tabs .button{padding:.5rem;font-size:.8rem}.adventure-actions{display:grid;grid-template-columns:1fr}.adventure-fighters,.combat-menu{grid-template-columns:repeat(2,minmax(0,1fr))}.adventure-fighter{padding:.75rem;min-width:0;overflow-wrap:anywhere}.adventure-party label{gap:.65rem}.adventure-map text{font-size:22px}}#adventure-action-menu{scroll-margin-top:90px}.dungeon-finale{border-color:var(--color-accent-primary)}.dungeon-finale .button{white-space:normal;min-height:48px;height:auto;line-height:1.45;text-align:center}.dungeon-finale-steps{display:grid;gap:.65rem;padding:0;list-style:none;counter-reset:finale;margin:1rem 0}.dungeon-finale-steps>li{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:.5rem;padding:.75rem;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-elevated);font-size:.82rem}.dungeon-finale-steps>li:before{counter-increment:finale;content:counter(finale);color:var(--color-accent-primary)}.dungeon-finale-steps>li>strong{overflow-wrap:anywhere;font-weight:600;color:var(--color-text-primary)}.dungeon-finale-steps>li>span{color:var(--color-text-secondary);font-size:.75rem}.dungeon-finale-choices{display:grid;gap:.6rem}@media(max-width:760px){.dungeon-finale .button{width:100%}}.dungeon-finale-anchor{scroll-margin-top:1rem}.adventure-battle-notice{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:1rem;margin:0 0 1rem;padding:1rem;border:2px solid var(--color-warning);border-radius:12px;background:var(--color-surface-elevated)}.adventure-battle-notice>svg{color:var(--color-warning)}.adventure-battle-notice h2{margin:0 0 .3rem;font-size:1.15rem;color:var(--color-warning)}.adventure-battle-notice p{margin:.25rem 0;color:var(--color-text-primary);font-size:.85rem;line-height:1.55;overflow-wrap:anywhere}.adventure-battle-notice .button{white-space:normal;min-height:48px}.battle-tab-alert{display:inline-grid;place-items:center;min-width:18px;height:18px;border-radius:50%;background:var(--color-warning);color:var(--color-background);font-weight:800}.battle-heading{scroll-margin-top:1rem}@media(max-width:760px){.adventure-battle-notice{grid-template-columns:28px minmax(0,1fr);gap:.75rem}.adventure-battle-notice>.button{grid-column:1/-1;width:100%}}.upgrade-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:18px;margin:18px 0}.upgrade-card{padding:20px;border:1px solid var(--color-border);border-radius:8px;background:linear-gradient(140deg,var(--color-surface-elevated),var(--color-background));overflow-wrap:anywhere}.upgrade-card h2,.upgrade-card h3{margin:12px 0;color:var(--color-accent-primary)}.upgrade-card small{color:var(--color-text-secondary)}.upgrade-card .button-row{flex-wrap:wrap;margin:14px 0}.council-chat{max-height:540px;overflow:auto;padding:12px 2px;margin:18px 0}.chat-message{border:1px solid var(--color-border);border-radius:12px;padding:18px;margin:12px 0;background:var(--color-surface);white-space:pre-wrap;overflow-wrap:anywhere}.chat-message.user{background:var(--color-surface-elevated);margin-left:10%}.chat-message small{font-size:11px;color:var(--color-text-secondary)}.council-line{display:flex;align-items:flex-start;gap:12px}.council-line p{margin-top:0;flex:1}.legacy-STR .topbar{border-bottom:2px solid var(--color-accent-primary)}.legacy-END .topbar,.legacy-STR .topbar{box-shadow:0 2px 14px color-mix(in srgb,var(--color-overlay) 20%,transparent)}.legacy-END .topbar{border-bottom:2px solid var(--color-success)}.legacy-DIS .topbar{border-bottom:2px solid var(--color-accent-primary)}.legacy-DIS .topbar,.legacy-trinity .topbar{box-shadow:0 2px 14px color-mix(in srgb,var(--color-overlay) 20%,transparent)}.legacy-trinity .topbar{border-bottom:2px solid var(--color-border)}.form-grid{display:grid;gap:16px}.form-grid>label{line-height:1.7}.upgrade-card details{margin-top:16px}.upgrade-card .button{white-space:normal}.council-chat strong{color:var(--color-accent-primary)}@media(max-width:600px){.chat-message{padding:13px}.chat-message.user{margin-left:4%}.upgrade-card{padding:16px}.council-chat{max-height:55dvh}.form-grid input,.form-grid select,.form-grid textarea{font-size:16px}}.chat-message,.upgrade-card{background:var(--panel);border-color:var(--border)}.upgrade-card h2,.upgrade-card h3{color:var(--gold)}.chat-message small,.upgrade-card small{color:var(--muted)}.chat-message.user{background:var(--surface);border-left:3px solid var(--gold)}.council-line{border-left:2px solid var(--speaker-color,var(--gold));padding-left:12px;margin:8px 0}.council-line strong{color:var(--speaker-color,var(--gold))}.legacy-STR .topbar{border-bottom:2px solid var(--str);box-shadow:none}.legacy-END .topbar{border-bottom:2px solid var(--end);box-shadow:none}.legacy-DIS .topbar{border-bottom:2px solid var(--dis);box-shadow:none}.legacy-trinity .topbar{border-bottom:2px solid var(--prestige);box-shadow:none}.legacy-attribute h2{color:var(--attribute-tone)}.ascension-ceremony{border-top:3px solid var(--attribute-tone,var(--prestige));background:var(--bg);padding:18px}.ascension-ceremony h3{color:var(--prestige)}.path-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:1rem}.path-form>fieldset,.path-form>p{grid-column:1/-1}.path-focus{padding:1.5rem 0}.path-clock{display:block;font-size:clamp(2.7rem,8vw,4.5rem);font-variant-numeric:tabular-nums;color:var(--color-end)}.path-focus progress{width:100%;accent-color:var(--color-end)}.path-focus button{min-height:52px}.path-encounter{padding:1.2rem 0;border-top:1px solid var(--color-border)}.path-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:.75rem}.path-choices button{height:auto;min-height:64px;text-align:left;white-space:normal;justify-content:flex-start}.path-choices small{display:block;font-weight:400;white-space:normal;margin-top:.35rem}.path-form input,.path-form select{max-width:100%;min-width:0}.path-form fieldset{min-width:0}.path-focus .button-row{flex-wrap:wrap}@media(prefers-reduced-motion:reduce){.path-focus progress{transition:none}}.path-active-title{font-size:1.35rem;margin:0 0 .75rem}.path-focus progress::-webkit-progress-bar{background:var(--color-surface-elevated)}.path-focus progress::-webkit-progress-value{background:var(--color-end)}.path-focus progress::-moz-progress-bar{background:var(--color-end)}.path-presentation-option{display:flex;gap:.75rem;align-items:flex-start;padding:1rem 0;cursor:pointer}.path-presentation-option small{display:block;margin-top:.4rem;color:var(--color-text-secondary)}.path-presentation-option input{margin-top:.3rem;flex-shrink:0}.path-notice{padding:.8rem 0;border-top:1px solid var(--color-border)}.path-settings{margin-bottom:1rem}.path-presentation-option input[type=radio]{width:22px;height:22px;min-width:22px;flex:0 0 22px;accent-color:var(--color-accent-primary)}.path-presentation-option>span{min-width:0;flex:1;overflow-wrap:anywhere}.path-settings fieldset{min-width:0}.path-presentation-option{min-height:72px}.nav-section{border:0;margin:.35rem 0}.nav-section>summary{display:flex;align-items:center;justify-content:space-between;padding:.85rem 1.1rem;min-height:44px;cursor:pointer;color:var(--color-text-secondary);font-size:.85rem;font-weight:600;list-style:none}.nav-section>summary::-webkit-details-marker{display:none}.nav-section[open]>summary svg{transform:rotate(90deg)}.nav-section>summary:hover{background:var(--color-surface-hover);color:var(--color-text-primary)}.collapsed .nav-section>summary{display:none}.setup-steps{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem;list-style:none;padding:0;margin:0 0 .5rem}.setup-steps li{display:flex;gap:.35rem;align-items:center;flex-wrap:wrap;color:var(--color-text-secondary);font-size:.8rem;padding:.5rem 0;border-bottom:2px solid var(--color-border)}.setup-steps li[aria-current=step]{color:var(--color-accent-legendary);border-color:var(--color-accent-primary);font-weight:700}.setup-steps li span{display:inline-grid;place-items:center;width:24px;height:24px;border:1px solid var(--color-border);border-radius:50%;flex-shrink:0}.path-wizard #path-step-title,.path-wizard .expedition-review,.path-wizard .secondary-disclosure,.path-wizard .setup-actions{grid-column:1/-1}.setup-actions{display:flex;justify-content:flex-end;gap:.75rem;margin-top:.5rem}.expedition-review{padding:1rem;background:var(--color-surface-elevated);border-radius:8px}.workout-save-state{display:flex;align-items:center;gap:.6rem;position:sticky;top:0;z-index:15;background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;padding:.75rem 1rem;font-size:.85rem;margin-bottom:.75rem;overflow-wrap:anywhere}.workout-save-state>span{color:var(--color-accent-primary)}.previous-values{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;margin:.75rem 0}.previous-values small{color:var(--color-text-secondary);max-width:40ch}.live-completion>button:first-child{min-height:52px;font-size:1rem;flex:1}.live-footer{gap:.6rem;flex-wrap:wrap}.live-footer>span{min-width:0;overflow-wrap:anywhere}@media(max-width:640px){.daily-hero{min-height:200px}.daily-hero>div>button{min-height:48px}.setup-steps li{font-size:.75rem;flex-direction:column;align-items:flex-start}.path-wizard{grid-template-columns:minmax(0,1fr)}.path-wizard fieldset{min-width:0}.setup-actions>button{flex:1;min-height:48px}.live-completion{display:flex;flex-wrap:wrap;gap:.5rem}.live-footer>span{flex-basis:100%}.live-footer>button{flex:1;min-height:48px}.previous-values>button{width:100%}}@media(prefers-reduced-motion:reduce){.nav-section svg{transition:none}}.supply-pack{display:block;min-width:0;width:100%;margin:1rem 0;padding:0;border:0}.supply-pack>legend{font-size:.8rem;color:var(--color-text-secondary);padding:0;margin-bottom:.5rem}.supply-pack-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.supply-pack-heading>span{display:flex;align-items:center;gap:.6rem;font-weight:600;color:var(--color-text-primary)}.supply-pack-heading>strong{flex-shrink:0;padding:.3rem .65rem;border-radius:20px;background:var(--color-surface-elevated);color:var(--color-accent-legendary);font-size:.85rem;font-variant-numeric:tabular-nums}.supply-pack .supply-pack-hint{margin:.7rem 0 1rem;font-size:.85rem;color:var(--color-text-secondary);line-height:1.5}.supply-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;min-width:0}.supply-pack label.supply-card{display:grid;grid-template-columns:40px minmax(0,1fr) 24px;align-items:center;gap:.75rem;padding:1rem;margin:0;min-width:0;min-height:108px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface-elevated);cursor:pointer;text-align:left;line-height:1.4}.supply-card-icon{display:grid;place-items:center;width:40px;height:44px;border-radius:10px;background:var(--color-surface);color:var(--color-accent-primary)}.supply-card-content{display:flex;flex-direction:column;gap:.3rem;min-width:0;overflow-wrap:anywhere}.supply-card-title{display:block;font-size:.95rem;font-weight:650;color:var(--color-text-primary)}.supply-card-purpose{display:block;font-size:.82rem;color:var(--color-text-secondary);line-height:1.5}.supply-card-meta{display:flex;flex-wrap:wrap;gap:.3rem .6rem;font-size:.72rem;color:var(--color-text-secondary);margin-top:.2rem}.supply-card-meta>span:first-child{border:1px solid var(--color-border);border-radius:5px;padding:0 .3rem}.supply-card-meta>strong{color:var(--color-accent-legendary)}.supply-pack .supply-card>input[type=checkbox]{display:block;width:24px;height:24px;min-width:24px;margin:0;float:none;accent-color:var(--color-accent-primary);cursor:pointer}.supply-pack .supply-card.is-packed{background:var(--color-surface-hover)}.supply-pack .supply-card.is-packed,.supply-pack .supply-card:not(.is-unavailable):hover{border-color:var(--color-accent-primary)}.supply-pack .supply-card:focus-within{outline:2px solid var(--color-accent-primary);outline-offset:3px}.supply-pack .supply-card.is-unavailable{cursor:not-allowed}.supply-card.is-unavailable .supply-card-icon,.supply-pack-help{color:var(--color-text-secondary)}.supply-pack-help{margin-top:1rem;font-size:.85rem}.supply-pack-help>summary{min-height:44px;cursor:pointer;padding:.65rem 0;color:var(--color-accent-primary)}.supply-pack-help>p{line-height:1.65}@media(max-width:760px){.supply-card-grid{grid-template-columns:minmax(0,1fr)}.supply-pack label.supply-card{padding:.85rem;gap:.65rem;grid-template-columns:36px minmax(0,1fr) 24px}.supply-card-icon{width:36px}.supply-card-meta{font-size:.75rem}}.companion-picker{display:block;min-width:0;width:100%;margin:1.5rem 0 1rem;padding:1.25rem 0 0;border:0;border-top:1px solid var(--color-border)}.companion-picker>legend{padding:0;font-size:.8rem;color:var(--color-text-secondary)}.companion-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.companion-picker-heading>span{display:flex;align-items:center;gap:.6rem;font-weight:600;color:var(--color-text-primary)}.companion-picker-heading>strong{flex-shrink:0;padding:.3rem .65rem;border-radius:20px;background:var(--color-surface-elevated);color:var(--color-accent-legendary);font-size:.85rem;font-variant-numeric:tabular-nums}.companion-picker .companion-picker-hint{margin:.7rem 0 1rem;color:var(--color-text-secondary);font-size:.85rem;line-height:1.5}.companion-picker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.companion-picker label.companion-card{display:grid;grid-template-columns:48px minmax(0,1fr) 24px;gap:.8rem;align-items:center;margin:0;padding:.85rem;min-height:100px;min-width:0;line-height:1.4;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface-elevated);cursor:pointer}.companion-card-portrait{display:block;width:48px;height:48px}.companion-card-content{display:flex;flex-direction:column;gap:.25rem;min-width:0;overflow-wrap:anywhere}.companion-card-content>strong{font-size:.95rem;color:var(--color-text-primary)}.companion-card-content>span{font-size:.8rem;color:var(--color-text-secondary)}.companion-card-content>small{font-size:.75rem;color:var(--color-text-secondary)}.companion-picker .companion-card.is-selected{border-color:var(--color-accent-primary);background:var(--color-surface-hover)}.companion-card.is-selected .companion-card-content>small{color:var(--color-accent-legendary)}.companion-picker .companion-card>input[type=checkbox]{display:block;width:24px;height:24px;min-width:24px;margin:0;float:none;accent-color:var(--color-accent-primary);cursor:pointer}.companion-picker .companion-card:focus-within{outline:2px solid var(--color-accent-primary);outline-offset:3px}.companion-picker .companion-card:not(.is-unavailable):hover{border-color:var(--color-accent-primary)}.companion-picker .companion-card.is-unavailable{cursor:not-allowed}.expedition-confirm{width:100%;min-height:52px;white-space:normal;height:auto;padding:.85rem 1rem;line-height:1.4;text-align:center}@media(max-width:760px){.companion-picker-grid{grid-template-columns:minmax(0,1fr)}}