.character-anatomy{background:radial-gradient(circle at 50% 38%, #8df0b717, transparent 34%), linear-gradient(150deg, #ffffff05, transparent 40%), var(--surface-subtle);border:1px solid #8df0b73d;border-radius:28px 8px;gap:18px;min-width:0;padding:clamp(18px,2.4vw,28px);display:grid;box-shadow:inset 0 0 0 1px #ffffff05,0 26px 70px #00000038}.character-anatomy-heading,.character-anatomy-controls,.character-anatomy-selection{justify-content:space-between;align-items:center;gap:16px;display:flex}.character-anatomy-heading h2{margin:6px 0 0;font-size:clamp(1.2rem,2vw,1.55rem)}.character-anatomy-period{border:1px solid var(--border);color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:7px 10px;font-size:.7rem;font-weight:750}.character-anatomy-controls{align-items:stretch}.character-segments{border:1px solid var(--border);background:#05080b70;border-radius:11px;gap:4px;min-width:0;padding:4px;display:flex}.character-segments button{min-height:40px;color:var(--text-muted);cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:8px;padding:8px 11px;font-size:.74rem;font-weight:730}.character-segments button:hover{color:var(--text-strong)}.character-segments button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft);border-color:#8df0b761;box-shadow:inset 0 0 18px #8df0b70d}.character-anatomy-stage{background:linear-gradient(90deg,#0000 49.85%,#8df0b714 50%,#0000 50.15%),radial-gradient(at 50% 52%,#8df0b714,#0000 52%),#05070a75;border:1px solid #ffffff0f;border-radius:18px 5px;place-items:center;min-height:530px;display:grid;position:relative;overflow:hidden}.character-anatomy-stage:before,.character-anatomy-stage:after{z-index:0;content:"";pointer-events:none;border:1px solid #8df0b712;border-radius:50%;position:absolute}.character-anatomy-stage:before{width:390px;height:390px}.character-anatomy-stage:after{width:270px;height:270px}.character-anatomy-figure{z-index:1;filter:drop-shadow(0 20px 22px #00000061);width:min(100%,330px);height:520px;overflow:visible}.character-anatomy-base{fill:#171d22;stroke:#53606a;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px}.character-anatomy-base ellipse{fill:#1b2026}.character-anatomy-base .character-anatomy-seam{fill:none;stroke:#9ba6b03d;stroke-width:1.2px}.character-anatomy-zone{--zone-fill:#6e7b842e;--zone-stroke:#8997a18a;cursor:pointer;outline:none}.character-anatomy-zone path{fill:var(--zone-fill);stroke:var(--zone-stroke);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;transition:fill .18s,filter .18s,stroke .18s}.character-anatomy-zone:hover path,.character-anatomy-zone:focus-visible path,.character-anatomy-zone[data-selected=true] path{fill:color-mix(in srgb, var(--zone-fill) 76%, white 24%);stroke:color-mix(in srgb, var(--zone-stroke) 70%, white 30%);stroke-width:2.8px;filter:drop-shadow(0 0 8px var(--zone-stroke))}.character-anatomy-zone:focus-visible path{stroke:#fff}.character-anatomy-zone[data-tone=unavailable]{--zone-fill:#69747d1f;--zone-stroke:#74808959}.character-anatomy-zone[data-tone=level]{--zone-fill:rgb(91 235 164/calc(.1 + var(--zone-intensity) * .28));--zone-stroke:rgb(157 255 199/calc(.45 + var(--zone-intensity) * .45))}.character-anatomy-zone[data-tone=volume]{--zone-fill:rgb(65 219 221/calc(.08 + var(--zone-intensity) * .3));--zone-stroke:rgb(141 255 244/calc(.38 + var(--zone-intensity) * .54))}.character-anatomy-zone[data-tone=recovery-overload]{--zone-fill:#e14b4c59;--zone-stroke:#ff7770e6}.character-anatomy-zone[data-tone=recovery-recovering]{--zone-fill:#e3973a4d;--zone-stroke:#ffbe5bdb}.character-anatomy-zone[data-tone=recovery-not_trained]{--zone-fill:#64707b24;--zone-stroke:#8896a27a}.character-anatomy-zone[data-tone=recovery-priority]{--zone-fill:#4d8bdc4f;--zone-stroke:#79b2f9e0}.character-anatomy-zone[data-tone=recovery-optimal_reached]{--zone-fill:#4fd08d54;--zone-stroke:#8df0b7eb}.character-anatomy-zone[data-tone=recovery-maintenance_reached]{--zone-fill:#72b0913d;--zone-stroke:#9ad5b7bd}.character-anatomy-side-label{z-index:2;color:#d5d9e052;font-family:var(--font-mono);letter-spacing:.22em;font-size:.66rem;font-weight:800;position:absolute;bottom:12px;right:14px}.character-anatomy-loading{z-index:1;color:var(--text-muted)}.character-anatomy-selection{border:1px solid var(--border);border-left:2px solid var(--accent);background:#05080b5c;border-radius:12px 4px;min-height:88px;padding:14px 16px}.character-anatomy-selection span{color:var(--text-muted);letter-spacing:.12em;text-transform:uppercase;font-size:.68rem;font-weight:780}.character-anatomy-selection h3{color:var(--text-strong);margin:5px 0 4px;font-size:1rem}.character-anatomy-selection p{color:var(--text-muted);margin:0;font-size:.78rem}.character-anatomy-selection-value{text-align:right;flex:none;justify-items:end;gap:8px;display:grid}.character-anatomy-selection-value strong{color:var(--text-strong);font-variant-numeric:tabular-nums;font-size:1.05rem}.character-anatomy-selection-value a{min-height:36px;color:var(--accent);text-underline-offset:4px;align-items:center;font-size:.78rem;font-weight:720;display:inline-flex}.character-anatomy-legend{color:var(--text-muted);margin:-4px 0 0;font-size:.72rem;line-height:1.5}.character-anatomy.is-compact{gap:14px;padding:18px}.character-anatomy.is-compact .character-anatomy-stage{min-height:430px}.character-anatomy.is-compact .character-anatomy-figure{height:420px}@media (width<=900px){.character-anatomy-stage{min-height:490px}.character-anatomy-figure{height:480px}}@media (width<=560px){.character-anatomy{border-radius:20px 6px;gap:14px;padding:16px}.character-anatomy-heading,.character-anatomy-controls,.character-anatomy-selection{align-items:stretch}.character-anatomy-controls{grid-template-columns:1fr;display:grid}.character-segments{overflow-x:auto}.character-segments button{min-height:44px}.character-side-switch button{min-width:52px}.character-side-switch{justify-self:start}.character-anatomy-stage{min-height:430px}.character-anatomy-figure{width:min(100%,278px);height:425px}.character-anatomy-selection{display:grid}.character-anatomy-selection-value{text-align:left;grid-template-columns:minmax(0,1fr) auto;place-items:center start}}@media (width<=380px){.character-anatomy-controls{grid-template-columns:1fr}.character-side-switch{grid-template-columns:repeat(2,1fr);display:grid}.character-anatomy-stage{min-height:400px}.character-anatomy-figure{height:395px}}@media (prefers-reduced-motion:reduce){.character-anatomy-zone path{transition:none}}.sync-workspace{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.sync-status-page{max-width:920px;margin:0 auto}.sync-status-page>.page-heading>p:last-child{max-width:58ch;color:var(--text-muted)}.sync-state{max-width:680px}.sync-state .button{margin-top:8px}.sync-relay,.sync-status-card,.sync-last-success,.sync-privacy{position:relative;overflow:hidden}.sync-relay:before,.sync-status-card:before,.sync-last-success:before{content:"";background:var(--accent);width:42px;height:2px;position:absolute;top:0;left:20px}.sync-relay{border-color:#8df0b752;grid-column:1/-1;padding:0}.sync-status-card h2,.sync-last-success h2{margin-bottom:8px}.sync-relay>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:18px;min-height:72px;padding:16px 20px;list-style:none;display:flex}.sync-relay>summary::-webkit-details-marker{display:none}.sync-relay>summary>span{gap:4px;display:grid}.sync-relay>summary small{color:var(--text-muted);text-align:right;margin-left:auto}.sync-relay>summary:after{color:var(--accent);content:"+";font-size:1.3rem}.sync-relay[open]>summary{border-bottom:1px solid var(--border)}.sync-relay[open]>summary:after{content:"−"}.sync-relay-details{padding:18px 20px 20px}.sync-relay-details>p{margin-top:0}.sync-status-card h2{color:var(--text-strong);font-variant-numeric:tabular-nums;font-size:clamp(1.55rem,4vw,2.1rem)}.sync-details{margin:18px 0 0}.sync-details div{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding-top:10px;display:flex}.sync-details dt{color:var(--text-muted);font-size:.82rem}.sync-details dd{color:var(--text-strong);margin:0}.sync-details code{font-family:var(--font-mono);font-size:.82rem}.sync-last-success time{color:var(--text-strong);font-variant-numeric:tabular-nums;font-size:clamp(1.2rem,3vw,1.55rem);font-weight:720;line-height:1.35;display:block}.sync-privacy{border:1px solid var(--border);background:var(--surface-subtle);border-radius:14px;padding:16px 18px}.sync-privacy p:last-child{color:var(--text-muted);margin-bottom:0;line-height:1.6}@media (width<=700px){.sync-workspace{grid-template-columns:1fr}.sync-relay>summary{align-items:flex-start}.sync-relay>summary small{display:none}}.auth-page,.app-shell{width:min(100% - 32px,1180px);min-height:100svh;margin:0 auto}.app-shell{position:relative}.auth-page{flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:32px 0;display:flex}.auth-card,.content-card{border:1px solid var(--border);background:linear-gradient(145deg, var(--surface), var(--surface-subtle));border-radius:18px}.auth-card{border-radius:18px 6px;grid-template-columns:minmax(230px,.82fr) minmax(0,1.18fr);width:min(100%,920px);display:grid;position:relative;overflow:hidden}.auth-card:before{z-index:1;content:"";background:var(--accent);width:56px;height:2px;position:absolute;top:0;left:clamp(24px,5vw,44px)}.auth-identity,.auth-panel{min-width:0;padding:clamp(24px,5vw,44px)}.auth-identity{border-right:1px solid var(--border);background:linear-gradient(180deg, #8df0b714, transparent 42%), var(--surface-subtle);flex-direction:column;display:flex}.auth-panel{background:linear-gradient(145deg, var(--surface), var(--surface-subtle))}.auth-portal-copy{margin:clamp(54px,10vw,104px) 0 36px}.auth-portal-kicker{color:var(--accent);letter-spacing:.14em;text-transform:uppercase;margin-bottom:10px;font-size:.72rem;font-weight:780}.auth-portal-title{color:var(--text-strong);letter-spacing:-.035em;margin-bottom:12px;font-size:clamp(1.35rem,3vw,2rem);font-weight:760;line-height:1.08}.auth-portal-copy>p:last-child{color:var(--text-muted);margin-bottom:0;line-height:1.55}.auth-portal-status{border-top:1px solid var(--border-strong);gap:5px;margin-top:auto;padding-top:18px;display:grid;position:relative}.auth-portal-status:before{border:1px solid var(--accent);content:"";background:var(--surface-subtle);border-radius:50%;width:7px;height:7px;position:absolute;top:-4px;left:0}.auth-portal-status span{color:var(--text-muted);letter-spacing:.1em;text-transform:uppercase;font-size:.72rem;font-weight:720}.auth-portal-status strong{color:var(--accent);font-size:.92rem}.auth-panel>.eyebrow{margin:0 0 14px}.auth-panel>h1{font-size:clamp(2rem,5vw,3.35rem)}.auth-panel code{overflow-wrap:anywhere}.auth-session-status{border-left:3px solid var(--accent);color:var(--text-strong);background:#00000029;margin:30px 0 0;padding:12px 14px}.auth-access-actions{margin-top:30px}.brand{color:var(--text-strong);letter-spacing:.15em;align-items:center;gap:12px;font-size:.98rem;font-weight:800;text-decoration:none;display:inline-flex}.brand-mark{border:1px solid var(--accent);width:32px;height:32px;color:var(--accent);letter-spacing:0;background:linear-gradient(145deg, var(--accent-soft), transparent);border-radius:10px 4px;place-items:center;display:grid;box-shadow:inset 0 0 0 1px #8df0b714}.eyebrow{color:var(--accent);letter-spacing:.16em;text-transform:uppercase;margin:42px 0 14px;font-size:.76rem;font-weight:750}h1,h2,p{margin-top:0}h1,h2{color:var(--text-strong)}h1{letter-spacing:-.045em;margin-bottom:16px;font-size:clamp(2.1rem,5vw,3.8rem);line-height:1}h2{margin-bottom:12px;font-size:1.05rem}.auth-copy,.content-card p,.empty-state{color:var(--text-muted);line-height:1.6}.content-card .metric-value{color:var(--text-strong);font-variant-numeric:tabular-nums;letter-spacing:-.045em;margin-bottom:8px;font-size:clamp(2rem,7vw,3.5rem);font-weight:760;line-height:1}.stack-form{gap:16px;margin-top:30px;display:grid}label{color:var(--text);gap:8px;font-size:.88rem;font-weight:650;display:grid}input,select{border:1px solid var(--border-strong);width:100%;min-height:44px;color:var(--text-strong);background:#06080c61;border-radius:10px;padding:10px 12px}input:disabled{cursor:not-allowed;color:var(--text-muted)}.button,.nav-item,.link-button{cursor:pointer;border:0;min-height:44px;font-weight:720}.button{border-radius:10px;padding:10px 16px}.button:disabled{cursor:wait;opacity:.6}.button-primary{color:#07110c;background:var(--accent)}.button-secondary{border:1px solid var(--border-strong);color:var(--text);background:0 0}.link-button{min-height:auto;color:var(--text-muted);text-underline-offset:4px;background:0 0;padding:0;text-decoration:underline}.auth-links{margin-top:24px}.form-notice{border:1px solid var(--border-strong);color:var(--text);border-radius:10px;margin:0;padding:11px 12px;font-size:.9rem;line-height:1.45}.offline-banner{z-index:2;color:#f7d38b;background:#251b09;border:1px solid #a37b28;border-radius:10px;margin:8px 0;padding:10px 12px;position:sticky;top:8px}.loading-copy{color:var(--text-muted)}.app-main>.loading-copy{border:1px solid var(--border);background:linear-gradient(145deg, var(--surface), var(--surface-subtle));border-radius:14px 5px;place-items:center start;min-height:92px;margin:0;padding:20px;display:grid}.skip-link{z-index:10;border:1px solid var(--accent);color:#07110c;background:var(--accent);border-radius:8px;padding:10px 14px;font-weight:760;text-decoration:none;position:fixed;top:8px;left:8px;transform:translateY(calc(-100% - 16px))}.skip-link:focus{transform:translateY(0)}.app-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;min-height:76px;display:flex;position:relative}.app-header:after{content:"";background:var(--accent);width:min(10rem,24%);height:1px;position:absolute;bottom:-1px;left:0;right:0}.shell-context{color:var(--text-muted);letter-spacing:.14em;text-transform:uppercase;margin:0;font-size:.72rem;font-weight:750}.app-layout{grid-template-columns:180px minmax(0,1fr);gap:clamp(24px,5vw,64px);padding:36px 0 80px;display:grid}.app-nav{align-content:start;gap:8px;display:grid}.nav-item{color:var(--text-muted);text-align:left;background:0 0;border:1px solid #0000;border-radius:10px 4px;padding:10px 12px;text-decoration:none;display:block;position:relative}.nav-item:hover,.nav-item.is-active{color:var(--text-strong);border-color:var(--border);background:var(--surface-raised)}.nav-item.is-active{background:linear-gradient(90deg, var(--accent-soft), var(--surface-raised));border-color:#8df0b76b}.page-heading{margin-bottom:28px}.page-heading .eyebrow{margin:0 0 12px}.content-card{padding:22px}.profile-preferences-panel,.measures-card,.history-card{box-shadow:0 18px 42px #00000024}.profile-page{max-width:920px;margin:0 auto}.profile-overview{grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:16px;margin-bottom:16px;display:grid}.profile-identity-card{background:radial-gradient(circle at 8% 0%, var(--accent-soft), transparent 48%), linear-gradient(145deg, var(--surface-raised), var(--surface));border-color:#8df0b752;gap:10px;display:grid;position:relative;overflow:hidden}.profile-identity-card:before{content:"";background:var(--accent);width:56px;height:2px;position:absolute;top:0;left:22px}.profile-identity-card>strong{color:var(--text-strong);font-family:var(--font-display);letter-spacing:-.035em;font-size:clamp(1.8rem,5vw,2.8rem)}.profile-identity-card>p:not(.card-kicker){max-width:55ch;color:var(--text-muted);margin:0;line-height:1.55}.profile-reference-status{border:1px solid var(--border-strong);width:fit-content;color:var(--text-muted);border-radius:999px;padding:6px 10px;font-size:.78rem;font-weight:700}.section-intro{border-bottom:1px solid var(--border);gap:4px;padding-bottom:4px;display:grid}.section-intro p{margin-bottom:0}.card-kicker{letter-spacing:.14em;text-transform:uppercase;font-size:.72rem;font-weight:800;color:var(--accent)!important}.preferences-intro{margin-top:8px}.profile-preferences{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.profile-destinations{gap:12px;display:grid}.profile-destinations .profile-destination{border:1px solid var(--border);min-height:44px;color:var(--text-strong);background:var(--surface-raised);border-radius:14px;align-content:center;gap:4px;padding:16px 18px;text-decoration:none;display:grid;position:relative;overflow:hidden}.profile-destination:after{color:var(--accent);content:"→";font-size:1.15rem;position:absolute;right:18px}.profile-destination strong{padding-right:28px;font-size:1.05rem}.profile-destination small{color:var(--text-muted);padding-right:28px}.profile-preferences-panel{border-top:2px solid var(--accent);padding:0}.profile-preferences-panel>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:18px;min-height:72px;padding:16px 20px;list-style:none;display:flex}.profile-preferences-panel>summary::-webkit-details-marker{display:none}.profile-preferences-panel>summary>span{gap:4px;display:grid}.profile-preferences-panel>summary small{color:var(--text-muted);text-align:right;margin-left:auto}.profile-preferences-panel>summary:after{color:var(--accent);content:"+";font-size:1.3rem}.profile-preferences-panel[open]>summary{border-bottom:1px solid var(--border)}.profile-preferences-panel[open]>summary:after{content:"−"}.profile-form{max-width:none;margin:0;padding:20px}@media (width<=700px){.profile-overview,.profile-preferences{grid-template-columns:1fr}.profile-preferences-panel>summary{align-items:flex-start}.profile-preferences-panel>summary small{display:none}}.measures-workspace{grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);grid-template-areas:"weight circumferences""weight-history circumferences""circumferences-history circumferences";align-items:start;gap:16px;display:grid}.measures-page{max-width:1120px;margin:0 auto}.measures-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px;display:grid}.measures-summary-card{border:1px solid var(--border-strong);background:radial-gradient(circle at 8% 0%, var(--accent-soft), transparent 46%), linear-gradient(145deg, var(--surface-raised), var(--surface));border-radius:16px;gap:8px;padding:20px;display:grid;position:relative;overflow:hidden}.measures-summary-card:before{content:"";background:var(--accent);width:54px;height:2px;position:absolute;top:0;left:20px}.measures-summary-card strong{color:var(--text-strong);font-variant-numeric:tabular-nums;letter-spacing:-.035em;font-size:clamp(1.5rem,4vw,2.4rem)}.measures-summary-card span{color:var(--text-muted);font-size:.8rem}.measures-workspace .stack-form{margin-top:0}.measures-weight-card{grid-area:weight}.measures-circumferences-card{grid-area:circumferences}.measures-weight-history{grid-area:weight-history}.measures-circumferences-history{grid-area:circumferences-history}.measures-card{border-top:2px solid var(--accent);padding:0}.measures-card>summary,.measures-history>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:16px 18px;font-weight:760;list-style:none;display:flex}.measures-card>summary::-webkit-details-marker{display:none}.measures-history>summary::-webkit-details-marker{display:none}.measures-card>summary:after,.measures-history>summary:after{color:var(--accent);content:"+";font-size:1.3rem}.measures-card[open]>summary:after,.measures-history[open]>summary:after{content:"−"}.measures-card>summary small,.measures-history>summary small{color:var(--text-muted);margin-left:auto;font-weight:520}.measures-card[open]>summary,.measures-history[open]>summary{border-bottom:1px solid var(--border)}.measures-card>form{margin:0;padding:18px}.measures-history{padding:0}.measures-history>.history-list,.measures-history>.empty-state{margin:0 18px 18px}.measures-card fieldset{border:1px solid var(--border);border-radius:12px;margin:4px 0 0;padding:14px}.measures-card legend{color:var(--accent);letter-spacing:.1em;text-transform:uppercase;padding:0 6px;font-size:.78rem;font-weight:800}.form-grid,.history-grid,.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.form-grid .stack-form{margin-top:0}.measurement-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.history-grid{margin-top:16px}.history-list,.player-list{margin:0;padding:0;list-style:none}.history-list li{border-top:1px solid var(--border);color:var(--text-muted);justify-content:space-between;gap:16px;padding:12px 0;display:flex}.history-list strong{color:var(--text)}.players-intro{max-width:620px;color:var(--text-muted);margin:-14px 0 24px;line-height:1.6}.players-page{max-width:1120px;margin:0 auto}.players-roster{border-top:2px solid var(--accent);background:radial-gradient(circle at 0 0, var(--accent-soft), transparent 34%), linear-gradient(145deg, var(--surface), var(--surface-subtle));padding:0;overflow:hidden}.players-roster-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:20px 22px;display:flex}.players-roster-heading h2,.players-roster-heading p{margin-bottom:0}.players-state,.players-roster>.empty-state{margin:18px 22px}.players-count{border:1px solid var(--border-strong);color:var(--text-muted);border-radius:999px;flex:none;padding:7px 10px;font-size:.76rem;font-weight:720}.player-list li{border-top:1px solid var(--border);grid-template-columns:minmax(150px,.72fr) minmax(0,1.28fr);align-items:center;gap:18px;padding:18px 22px;display:grid}.player-list li:first-child{border-top:0}@media (width>=900px){.player-list{background:var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;display:grid}.player-list li{background:linear-gradient(145deg, var(--surface), var(--surface-subtle));border-top:0;grid-template-columns:1fr;align-content:space-between;min-height:168px}.player-actions{justify-content:flex-start}}.player-identity{align-items:center;gap:12px;min-width:0;display:flex}.player-identity>div{gap:3px;min-width:0;display:grid}.player-identity span:not(.player-sigil){color:var(--text-muted);letter-spacing:.12em;text-transform:uppercase;font-size:.7rem;font-weight:750}.player-identity strong{color:var(--text-strong);text-overflow:ellipsis;white-space:nowrap;font-size:1rem;overflow:hidden}.player-sigil{width:38px;height:38px;color:var(--accent);background:var(--accent-soft);border:1px solid #8df0b76b;border-radius:11px 4px;flex:0 0 38px;place-items:center;font-weight:800;display:grid}.player-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.player-action{border:1px solid var(--border-strong);min-height:44px;color:var(--text);border-radius:9px;align-items:center;padding:9px 11px;font-size:.78rem;font-weight:720;text-decoration:none;display:inline-flex}.player-action-primary{color:var(--accent);background:var(--accent-soft);border-color:#8df0b76b}.page-notice{margin-bottom:18px}.recovery-heading{max-width:680px}.recovery-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.recovery-result,.recovery-state{border:1px solid var(--border);background:linear-gradient(145deg, var(--surface), var(--surface-subtle));border-radius:14px;padding:20px;position:relative;overflow:hidden}.recovery-result:before{content:"";background:var(--accent);width:42px;height:2px;position:absolute;top:0;left:20px}.recovery-result-label,.recovery-result-period{color:var(--text-muted);letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px;font-size:.76rem;font-weight:750}.recovery-result h2{text-transform:capitalize;margin-bottom:12px}.recovery-result-value{color:var(--text-strong);font-variant-numeric:tabular-nums;letter-spacing:-.045em;margin-bottom:18px;font-size:clamp(2rem,7vw,3.2rem);font-weight:760;line-height:1}.recovery-atlas-link{min-height:44px;color:var(--accent);background:var(--accent-soft);border:1px solid #8df0b76b;border-radius:10px;align-items:center;margin-top:16px;padding:10px 14px;font-weight:720;text-decoration:none;display:inline-flex}.recovery-state .button{margin-top:8px}.recovery-layout{grid-template-columns:minmax(300px,.9fr) minmax(0,1.1fr);align-items:start;gap:18px;display:grid}.recovery-character-panel,.recovery-ledger{min-width:0}.recovery-character-panel .character-anatomy{margin:0}.recovery-source-note{color:var(--text-muted);margin:10px 4px 0;font-size:.78rem;line-height:1.5}.recovery-ledger{border:1px solid var(--border);background:var(--surface-subtle);border-radius:16px;padding:20px}.recovery-ledger-heading{margin-bottom:16px}.recovery-ledger-heading h2{margin-bottom:6px}.recovery-ledger-heading>p:last-child{color:var(--text-muted);font-size:.86rem}.recovery-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.recovery-result{padding:16px}.recovery-result h2{text-transform:none;margin-bottom:10px;font-size:1.05rem}.recovery-result-value{margin-bottom:14px;font-size:clamp(1.8rem,5vw,2.6rem)}.recovery-result-quality{color:var(--text-muted);margin:0;font-size:.8rem}@media (width<=900px){.recovery-layout{grid-template-columns:1fr}}@media (width<=480px){.recovery-ledger{padding:14px}.recovery-results{grid-template-columns:1fr}}.phase4-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.phase4-compact{margin-top:16px}.phase4-link{color:var(--text);text-decoration:none}.phase4-link p{color:var(--text-strong);font-variant-numeric:tabular-nums;font-size:1.35rem;font-weight:760}.phase4-card,.phase4-help,.page-section>.content-card{margin-bottom:16px}.phase4-dashboard .page-heading{border-bottom:1px solid var(--border);padding-bottom:18px}.phase4-situation-log{align-items:stretch}.phase4-situation-log .content-card{margin:0}.phase4-primary-action{background:linear-gradient(135deg, var(--accent-soft), var(--surface));border-color:#8df0b76b}.phase4-primary-action h2,.phase4-attentions h2{margin-top:8px}.phase4-character-panel{margin-top:24px}.phase4-panel-heading,.phase4-attribute-heading{justify-content:space-between;align-items:start;gap:12px;display:flex}.phase4-panel-heading h2{margin:6px 0 0}.phase4-panel-heading a{min-height:44px;color:var(--accent);align-items:center;font-weight:700;display:inline-flex}.phase4-attribute{gap:10px;display:grid}.phase4-attribute h2,.phase4-attribute p{margin-bottom:0}.phase4-attribute-current{color:var(--text-muted);letter-spacing:.1em;text-transform:uppercase;font-size:.72rem;font-weight:750}.phase4-meter{background:var(--border);border-radius:999px;height:7px;display:block;overflow:hidden}.phase4-meter>span{border-radius:inherit;background:var(--accent);height:100%;display:block}.phase4-help{border:1px solid var(--border);border-radius:12px;padding:12px}.phase4-help summary{cursor:pointer;min-height:44px}.phase4-details{gap:8px;margin:16px 0;display:grid}.phase4-details div{border-bottom:1px solid var(--border);justify-content:space-between;gap:16px;padding-bottom:8px;display:flex}.phase4-details dt{color:var(--muted)}.phase4-details dd{color:var(--text-strong);font-variant-numeric:tabular-nums;text-align:right;margin:0;font-weight:700}.character-sheet-page{max-width:100%}.character-sheet-identity{border-bottom:1px solid var(--border);justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px;padding:0 0 22px;display:flex}.character-sheet-identity .eyebrow{margin:0 0 10px}.character-sheet-identity h1{margin-bottom:8px;font-size:clamp(2.2rem,5vw,4.5rem)}.character-sheet-profile{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;margin:0;font-size:.82rem;font-weight:680}.character-level-sigil{min-width:178px;color:var(--text);background:linear-gradient(135deg, var(--accent-soft), transparent 70%), var(--surface-subtle);text-align:right;border:1px solid #8df0b761;border-radius:18px 5px;gap:7px;padding:16px 18px;text-decoration:none;display:grid;box-shadow:inset 0 0 24px #8df0b70d}.character-level-sigil span{color:var(--text-muted);letter-spacing:.12em;text-transform:uppercase;font-size:.68rem;font-weight:780}.character-level-sigil strong{color:var(--accent);font-variant-numeric:tabular-nums;font-size:1.35rem}.character-sheet-layout{grid-template-columns:minmax(172px,.72fr) minmax(390px,1.6fr) minmax(180px,.76fr);grid-template-areas:"attributes anatomy command";align-items:start;gap:16px;display:grid}.character-sheet-attributes{grid-area:attributes;gap:10px;display:grid}.character-sheet-layout>.character-anatomy{grid-area:anatomy}.character-sheet-command{grid-area:command;gap:12px;display:grid}.character-sheet-section-heading{justify-content:space-between;align-items:start;gap:10px;min-height:50px;padding:2px 2px 6px;display:flex}.character-sheet-section-heading h2{margin:6px 0 0}.character-sheet-section-heading a{min-height:36px;color:var(--accent);text-underline-offset:4px;align-items:center;font-size:.74rem;font-weight:720;display:inline-flex}.character-sheet-attributes .phase4-attribute{background:linear-gradient(135deg, #ffffff05, transparent 58%), var(--surface-subtle);border-radius:14px 4px;gap:7px;min-height:104px;margin:0;padding:14px}.character-sheet-attributes .phase4-attribute:hover{background:linear-gradient(135deg, var(--accent-soft), transparent 62%), var(--surface-subtle);border-color:#8df0b757}.character-sheet-attributes .phase4-attribute h2{font-size:.86rem}.character-sheet-attributes .phase4-attribute p{font-size:1.04rem}.character-sheet-attributes .phase4-attribute-current{font-size:.58rem}.character-sheet-attributes .phase4-meter{height:4px}.character-wisdom-preview small{color:var(--text-muted);font-size:.68rem;line-height:1.35}.character-command-card{border:1px solid var(--border);background:var(--surface-subtle);border-radius:16px 5px;padding:18px;position:relative;overflow:hidden}.character-command-card:after{content:"";background:var(--border-strong);width:38px;height:1px;position:absolute;top:0;right:18px}.character-command-card h2{margin:8px 0 10px;font-size:.98rem}.character-command-card p:last-child{color:var(--text-muted);margin-bottom:0;font-size:.78rem;line-height:1.55}.character-command-primary{background:radial-gradient(circle at 100% 0, #8df0b71f, transparent 50%), linear-gradient(145deg, var(--accent-soft), var(--surface-subtle));border-color:#8df0b766}.character-command-primary:after{background:var(--accent)}.character-command-action{min-height:58px;color:var(--text-strong);background:#04090747;border:1px solid #8df0b75c;border-radius:11px 4px;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding:12px 14px;font-size:.84rem;font-weight:740;line-height:1.35;text-decoration:none;display:flex}.character-command-action span:last-child{color:var(--accent);font-size:1.2rem}.character-command-status{opacity:.86}.character-destinations{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:18px;display:grid}.character-destinations a{border:1px solid var(--border);min-height:76px;color:var(--text-strong);background:linear-gradient(145deg, var(--surface), var(--surface-subtle));border-radius:12px 4px;align-content:center;gap:5px;padding:12px 14px;text-decoration:none;display:grid}.character-destinations a:hover{background:linear-gradient(145deg, var(--accent-soft), var(--surface-subtle));border-color:#8df0b75c}.character-destinations span{font-size:.82rem;font-weight:760}.character-destinations small{color:var(--text-muted);font-size:.64rem;line-height:1.35}@media (width<=1060px){.character-sheet-layout{grid-template-columns:minmax(400px,1.6fr) minmax(190px,.72fr);grid-template-areas:"anatomy command""attributes attributes"}.character-sheet-attributes{grid-template-columns:repeat(3,minmax(0,1fr))}.character-sheet-section-heading{grid-column:1/-1}}@media (width<=700px){.measures-overview{grid-template-columns:1fr}.auth-page,.app-shell{width:min(100% - 24px,1180px)}.auth-card{grid-template-columns:minmax(0,1fr)}.auth-identity{border-right:0;border-bottom:1px solid var(--border);flex-direction:row;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px}.auth-panel{padding:28px 20px}.auth-portal-copy{display:none}.auth-portal-status{text-align:right;border-top:0;margin-top:0;padding-top:0}.auth-portal-status:before{display:none}.app-layout{flex-direction:column-reverse;gap:28px;padding-top:28px;display:flex}.app-nav{z-index:3;overscroll-behavior-x:contain;padding:8px 12px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0d0f14f5;gap:8px;display:flex;position:fixed;bottom:0;left:0;right:0;overflow-x:auto}.nav-item{text-align:center;white-space:nowrap;flex:none;min-height:44px;padding:10px 12px;font-size:.76rem;line-height:1.15}.app-main{padding-bottom:112px}.form-grid,.history-grid,.dashboard-grid,.phase4-grid,.recovery-results{grid-template-columns:1fr}.measures-workspace{grid-template-columns:1fr;grid-template-areas:"weight""circumferences""weight-history""circumferences-history"}.content-card{padding:18px}.players-roster{padding:0}.player-list li{grid-template-columns:1fr;padding:18px}.player-actions{grid-template-columns:1fr;justify-content:stretch;display:grid}.player-action{text-align:center;justify-content:center}.measurement-fields{grid-template-columns:1fr}.character-sheet-identity{align-items:stretch}.character-sheet-identity h1{font-size:clamp(2rem,11vw,3.1rem)}.character-level-sigil{align-content:center;min-width:145px;padding:13px 14px}.character-sheet-layout{grid-template-columns:1fr;grid-template-areas:"anatomy""command""attributes"}.character-sheet-command .character-command-card:not(.character-command-primary){display:none}.character-sheet-attributes,.character-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=480px){.character-sheet-identity{gap:16px;display:grid}.character-level-sigil{text-align:left;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-width:0}.character-sheet-attributes{grid-template-columns:1fr}.character-sheet-attributes .phase4-attribute{min-height:96px}}@media (width<=360px){.auth-page{padding:8px 0}.auth-identity{padding:12px 16px}.auth-panel{padding:16px 20px 20px}.auth-panel>h1{margin-bottom:12px;font-size:1.85rem}.auth-panel .stack-form{gap:12px;margin-top:18px}.auth-links{margin-top:18px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.isolate{isolation:isolate}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.hidden{display:none}.table{display:table}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rounded{border-radius:.25rem}.uppercase{text-transform:uppercase}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.block-1{block-size:var(--spacing)}}:root{--background:#0d0f14;--surface:#151820;--surface-subtle:#11141a;--border:#272c36;--border-strong:#3b424f;--text-strong:#f6f7f9;--text:#d5d9e0;--text-muted:#8e96a3;--accent:#8df0b7;--accent-soft:#8df0b724;--surface-raised:#1a1f2a;--line:#f6f7f914;--font-sans:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono:"SFMono-Regular", Consolas, "Liberation Mono", monospace;color:var(--text);background:var(--background);font-family:var(--font-sans);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html{background:var(--background);scroll-behavior:smooth}body{background:linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), var(--line) 100%), linear-gradient(180deg, #8df0b70a, transparent 22rem), var(--background);min-height:100vh;margin:0}button,a,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}::selection{color:#07110c;background:var(--accent)}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
