/* Uses system fonts so the demo remains usable without a font CDN. */

:root{--bg:#ffffff;--paper:#ffffff;--ink:#162a48;--muted:#65758b;--line:#e4edf7;--accent:#1764ee;--accent-strong:#144eac;--highlight:#e6f0ff;--accent-soft:#eef5ff;--coral:#f47d68;--radius:20px;--shadow:0 10px 34px #2463ba0a;font-family:'DM Sans','Noto Sans SC',-apple-system,BlinkMacSystemFont,sans-serif;color:var(--ink);font-synthesis:none;line-height:1.65;background:var(--bg)}

*{box-sizing:border-box}
body{margin:0}
button,input,select{font:inherit}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
button{color:inherit}
button:disabled{cursor:not-allowed;opacity:.43}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #426caa;outline-offset:4px}
button{border:0}
svg{display:block;max-width:100%}
h1,h2,h3,p{margin:0}
h1,h2,h3{line-height:1.4}
button svg,a svg{flex-shrink:0}
button .icon{pointer-events:none}
.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.skip-link{position:fixed;top:-80px;left:20px;z-index:1000;background:var(--highlight);padding:12px}
.skip-link:focus{top:12px}
.shell{display:flex;min-height:100vh}
.sidebar{width:222px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);padding:32px 20px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:20}
.brand{display:flex;align-items:center;gap:10px;cursor:pointer;background:none;text-align:left;padding:0}
.brand-mark{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center}
.brand-logo{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.mobile-brand-mark{display:none}
.brand strong{font-size:20px;letter-spacing:1px;display:block;line-height:1.2;white-space:nowrap}
.brand small{font-size:9px;letter-spacing:1.2px;color:var(--muted);display:block;white-space:nowrap}
.nav-label{font-size:10px;color:#9a9ea3;letter-spacing:2px;margin:44px 16px 13px}
.side-nav{display:grid;gap:7px}
.nav-item{display:flex;align-items:center;gap:13px;padding:12px 17px;border-radius:11px;background:transparent;text-align:left;font-size:13px;color:#7a7e85}
.nav-item.active{color:var(--accent);background:var(--accent-soft);font-weight:700}
.nav-item:hover{background:#f1f3f7}
.nav-item .dot{margin-left:auto;width:5px;height:5px;border-radius:50%;background:#4c70a7}
.sidebar-bottom{margin-top:auto}
.side-note{margin-top:24px;padding:17px 15px;border-radius:14px;background:#f3f5f8;font-size:11px;color:var(--muted)}
.side-note strong{font-size:12px;display:block;color:var(--ink);margin-bottom:5px}
.side-foot{font-size:10px;margin:20px 12px 0;color:#9a9ea3;display:flex;justify-content:space-between;gap:10px}
.text-button{padding:0;border:0;background:none;color:var(--accent-strong);font-size:12px;text-decoration:underline;text-underline-offset:4px}
.workspace{margin-left:222px;min-width:0;width:calc(100% - 222px)}
.topbar{height:83px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:0 42px;background:var(--bg)}
.breadcrumb{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:12px}
.breadcrumb span:last-child{color:var(--ink)}
.top-meta{display:flex;align-items:center;gap:19px}
.demo-chip{font-size:10px;border:1px solid var(--line);background:#fff;border-radius:30px;padding:5px 10px;letter-spacing:1px;color:var(--muted)}
.avatar{width:32px;height:32px;border:1px solid #cad2df;border-radius:50%;background:#dfe6f0;display:grid;place-items:center;font-size:13px}
.main{max-width:1240px;margin:0 auto;padding:32px 42px 56px;min-height:calc(100vh - 83px)}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}
.eyebrow{font-size:10px;letter-spacing:2.4px;color:var(--muted);text-transform:uppercase;font-weight:600;margin-bottom:9px}
.page-head h1{font-size:28px;letter-spacing:-.8px;font-weight:700}
.page-head p{font-size:12px;color:var(--muted);margin-top:9px;max-width:650px}
.page-actions{display:flex;gap:9px;flex-wrap:wrap}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:11px 21px;border-radius:11px;font-size:12px;font-weight:600;transition:background .18s,transform .18s;border:1px solid transparent}
.btn:hover{transform:translateY(-1px)}
.btn.primary{background:var(--accent);color:white}
.btn.primary:hover{background:#2d3f59}
.btn.lime{background:var(--highlight);color:var(--accent)}
.btn.secondary{background:white;border-color:var(--line)}
.btn.ghost{background:transparent;color:var(--muted)}
.btn.small{padding:7px 13px;min-height:34px;font-size:11px}
.btn.wide{width:100%}
.hero{position:relative;overflow:hidden;background:var(--accent);border-radius:23px;min-height:337px;display:grid;grid-template-columns:1.05fr 1fr;color:#fff;box-shadow:var(--shadow)}
.hero-copy{position:relative;z-index:2;padding:37px 0 36px 36px}
.hero-kicker{font-size:9px;letter-spacing:2.1px;color:#a8b8d1;display:flex;align-items:center;gap:8px;margin-bottom:18px}
.tiny-dot{width:5px;height:5px;border-radius:50%;background:var(--highlight);display:inline-block}
.hero h2{font-size:39px;font-weight:600;line-height:1.45;letter-spacing:1px}
.hero h2 em{font-style:normal;color:var(--highlight)}
.hero-copy>p{font-size:12px;color:#b4bcc8;margin-top:16px;line-height:1.9;max-width:340px}
.hero-buttons{display:flex;gap:9px;flex-wrap:wrap;margin-top:25px}
.hero .secondary{background:#ffffff0e;border-color:#ffffff24;color:#d6dce4}
.hero-foot{font-size:10px;color:#a4aebc;margin-top:20px;display:flex;gap:18px}
.hero-art{position:relative;min-height:337px;overflow:hidden}
.hero-art svg{height:100%;width:100%;position:absolute;inset:0}
.art-label{position:absolute;font-size:9px;letter-spacing:1.8px;color:#b0bac8;bottom:24px;right:29px}
.art-coordinate{position:absolute;font-size:9px;letter-spacing:1px;color:#728095;top:23px;right:25px}
.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px}
.stat-card{border:1px solid var(--line);border-radius:16px;background:#fff;display:flex;align-items:center;gap:15px;padding:18px}
.stat-icon{width:39px;height:39px;border-radius:12px;background:var(--accent-soft);display:grid;place-items:center;color:var(--accent-strong)}
.stat-card strong{font-size:13px;font-weight:600;display:block}
.stat-card small{display:block;color:var(--muted);font-size:10px;margin-top:4px}
.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:29px 0 15px}
.section-head h2{font-size:17px;font-weight:600;letter-spacing:-.4px}
.section-head small{font-size:10px;color:var(--muted)}
.home-bottom{display:grid;grid-template-columns:1.25fr 1fr;gap:20px;margin-top:24px}
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:25px}
.panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}
.panel-title h2{font-size:15px;font-weight:600}
.subtle{font-size:11px;color:var(--muted)}
.level-strip{display:flex;gap:5px;align-items:flex-end;margin-top:25px}
.level-cell{flex:1;min-width:0;background:#eef1f5;border-radius:7px 7px 5px 5px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:10px 0 8px;color:#768090;position:relative;min-height:46px}
.level-cell:hover{background:#d6e0ef;color:var(--accent)}
.level-cell b{font-size:12px;font-weight:600}
.level-cell span{font-size:8px;white-space:nowrap;margin-top:5px}
.scale-ends{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin-top:10px}
.quick-card{background:#e5eaf2;border:0;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}
.quick-card h2{font-size:18px;margin:9px 0}
.quick-card p{font-size:11px;color:#6b7686;line-height:1.9;max-width:250px}
.quick-card .btn{align-self:flex-start;margin-top:19px}
.quick-number{position:absolute;right:12px;bottom:-29px;font-size:139px;line-height:1;color:#c9d5e6;font-weight:700;pointer-events:none}
.fineprint{font-size:10px;color:#8d9197;margin-top:17px;line-height:1.8}
.resume-banner,.notice{border:1px solid #cad5e6;background:#e7edf5;border-radius:12px;padding:12px 16px;font-size:11px;display:flex;align-items:center;gap:12px;margin-bottom:18px}
.resume-banner span{flex:1}
.notice{margin:18px 0 0;align-items:flex-start;color:#5d6674}
.notice.warning{background:#fff7e9;border-color:#f2e1c7;color:#8b7049}
.notice .icon{width:16px;height:16px;flex-shrink:0;margin-top:2px}
.quiz-layout{max-width:820px;margin:auto}
.quiz-steps{display:flex;justify-content:center;gap:20px;margin-bottom:28px}
.quiz-step{display:flex;align-items:center;gap:7px;font-size:10px;color:#8f96a1}
.quiz-step b{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#e0e5ed;font-size:10px;font-weight:500}
.quiz-step.active{color:var(--accent);font-weight:600}
.quiz-step.active b{background:var(--accent);color:var(--highlight)}
.quiz-step.done b{background:#c4d2e8;color:var(--accent)}
.quiz-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:31px}
.quiz-card h2{font-size:23px;font-weight:600;line-height:1.5;letter-spacing:-.4px}
.quiz-card .intro{font-size:12px;color:var(--muted);margin-top:8px}
.field-group{margin-top:24px}
.field-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;font-weight:600;margin-bottom:11px}
.field-label small{font-weight:400;color:var(--muted);font-size:10px}
.choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.choice-grid.two{grid-template-columns:repeat(2,1fr)}
.choice{border:1px solid var(--line);border-radius:12px;background:#fff;text-align:left;min-height:70px;padding:13px 15px;position:relative;transition:border-color .15s,background .15s}
.choice:hover{border-color:#96a8c4;background:#f6f8fc}
.choice.selected{border-color:#3d567b;background:#e9eef6;box-shadow:inset 0 0 0 1px #3d567b}
.choice.selected::after{content:'✓';position:absolute;right:11px;top:9px;font-size:10px;color:var(--accent-strong)}
.choice strong{display:block;font-size:12px;font-weight:600;padding-right:7px}
.choice small{display:block;font-size:10px;color:var(--muted);margin-top:5px}
.choice .icon{margin-bottom:6px}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:17px}
.field-row .field-group{min-width:0}
select,input[type=text],input[type=number]{display:block;width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:12px;min-height:44px;color:var(--ink)}
.quiz-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:26px;border-top:1px solid var(--line);padding-top:20px}
.quiz-footer .right{display:flex;gap:8px}
.quiz-note{font-size:10px;color:var(--muted);margin-top:15px;display:flex;justify-content:center;gap:7px;align-items:center}
.question-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin-bottom:13px}
.question-meta strong{color:var(--accent-strong);font-weight:500}
.progress-track{height:4px;background:#e7ebf0;overflow:hidden;border-radius:5px;margin-bottom:27px}
.progress-track>span{display:block;height:100%;background:#5678aa;border-radius:5px;transition:width .25s}
.question-context{font-size:11px;color:var(--muted);background:#f3f5f8;border-radius:10px;padding:11px 14px;margin-top:17px}
.answer-list{display:grid;gap:10px;margin-top:22px}
.answer{display:flex;gap:13px;align-items:center;position:relative;border:1px solid var(--line);background:white;padding:14px 16px;border-radius:12px;text-align:left;font-size:12px;min-height:58px}
.answer:hover{border-color:#869cbc}
.answer.selected{background:#e5ebf5;border-color:#4c668c;box-shadow:inset 0 0 0 1px #4c668c}
.answer-letter{border:1px solid var(--line);border-radius:7px;width:27px;height:27px;display:grid;place-items:center;flex-shrink:0;font-size:10px;color:#828a96}
.answer.selected .answer-letter{background:var(--accent);border-color:var(--accent);color:white}
.answer-text{flex:1}
.answer-check{color:var(--accent);width:17px}
.answer.unknown{color:var(--muted);border-style:dashed;min-height:47px;background:#f7f9fb}
.question-hint{font-size:10px;color:#67768d;margin-top:12px;min-height:18px}
.segmented{display:flex;gap:4px;padding:4px;background:#e5e9ef;border-radius:11px;flex-wrap:wrap;width:fit-content}
.segmented button{padding:8px 16px;border-radius:8px;font-size:11px;background:transparent;color:#717985;min-height:34px}
.segmented button.active{background:#fff;box-shadow:0 2px 5px #00000008;color:var(--accent);font-weight:600}
.report-banner{display:flex;gap:10px;align-items:center;background:#dfe6f0;color:#495d7b;border-radius:10px;padding:9px 14px;font-size:10px;margin-bottom:18px}
.report-banner>span{flex:1}
.report-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:20px}
.level-result{background:var(--accent);color:#fff;padding:26px 29px;border-radius:var(--radius);position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:284px}
.level-result .eyebrow{color:#a3aebe}
.result-level{font-size:85px;font-weight:500;letter-spacing:-5px;line-height:1.1;margin-top:9px;color:var(--highlight)}
.result-level.long{font-size:48px;letter-spacing:-2px;margin:19px 0 10px}
.result-level small{font-size:14px;letter-spacing:0;color:#b1bac7;margin-left:11px}
.result-name{font-size:17px;margin-top:12px;font-weight:500}
.level-result .result-description{font-size:11px;color:#b8c0cb;max-width:275px;line-height:1.9;margin-top:10px}
.result-caption{margin-top:auto;padding-top:19px;display:flex;align-items:center;gap:8px;font-size:9px;color:#a6afbd}
.result-lines{position:absolute;width:170px;height:260px;border:1px solid #ffffff12;right:-70px;top:35px;transform:rotate(35deg);pointer-events:none}
.result-lines::after{content:'';position:absolute;inset:20px;border:1px solid #ffffff10}
.dimension-row{display:grid;grid-template-columns:76px 1fr 46px;gap:12px;align-items:center;margin:17px 0;font-size:11px}
.dimension-row .track{height:7px;background:#ebeef2;border-radius:8px;overflow:hidden}
.dimension-row .track span{display:block;height:100%;background:#7591bc;border-radius:8px}
.dimension-row strong{font-size:9px;color:#66768d;text-align:right;font-weight:500}
.dimension-row.unknown strong{color:#9a9fa6}
.dimension-row.unknown .track{background:repeating-linear-gradient(120deg,#eaedf1 0,#eaedf1 5px,#f6f8fa 5px,#f6f8fa 10px)}
.report-two{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}
.insight-row{display:flex;gap:12px;padding:13px 0;border-top:1px solid #e7ebf0}
.insight-row:first-of-type{border-top:0;padding-top:0}
.insight-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#e5ebf3;flex-shrink:0;color:#4d678f}
.insight-icon.warm{background:#fbf0df;color:#b78c4e}
.insight-row strong{font-size:12px;font-weight:600;display:block}
.insight-row p{font-size:10px;color:var(--muted);margin-top:5px;line-height:1.9}
.tag{font-size:9px;padding:4px 8px;border-radius:6px;background:#e7ecf3;color:#5e6d84;display:inline-flex;align-items:center;gap:5px;line-height:1.5}
.tag.warm{background:#fcf0df;color:#a07948}
.tag.dark{color:var(--highlight);background:#ffffff12}
.report-links{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:21px}
.link-card{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;text-align:left}
.link-card:hover{border-color:#8ea4c4;background:#f9fbfd}
.link-card strong{font-size:12px;display:block}
.link-card small{font-size:10px;color:var(--muted);display:block;margin-top:4px}
.link-card>.icon:last-child{margin-left:auto;width:15px}
.evidence-details{margin-top:20px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:0 21px}
.evidence-details summary{padding:16px 0;font-size:11px;cursor:pointer;color:#5e6d84}
.evidence-list{padding-bottom:20px;font-size:11px;color:var(--muted)}
.evidence-list p{margin:9px 0}
.evidence-list strong{font-weight:500;color:var(--ink)}
.player-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.player-card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.player-art{background:#e2e8f2;position:relative;padding:27px 26px 21px;min-height:185px;overflow:hidden}
.player-art.speed{background:#e8ebf0}
.player-art .initials{position:absolute;right:20px;bottom:-25px;font-size:125px;letter-spacing:-12px;color:#c4cfe0;font-weight:700;line-height:1.3}
.player-art .court-mini{position:absolute;right:20px;top:18px;width:145px;height:90px;transform:rotate(-13deg);opacity:.4}
.player-art .tag{background:#fff9;color:#475c7c}
.player-art h2{font-size:25px;margin:23px 0 3px;position:relative;z-index:1;font-weight:600;letter-spacing:-1px}
.player-art p{font-size:10px;letter-spacing:1.5px;color:#6d7c92;position:relative;z-index:1}
.player-body{padding:23px 26px}
.player-body .why{font-size:12px;line-height:1.9;color:#656e7b;margin-bottom:22px}
.learning-list{display:grid;gap:13px;margin:14px 0 21px}
.learning-item{display:flex;gap:10px;align-items:flex-start;font-size:11px}
.learning-item b{display:grid;place-items:center;flex-shrink:0;width:21px;height:21px;border-radius:6px;background:#e9edf4;font-size:9px;color:#61799d;font-weight:500}
.mini-label{font-size:9px;letter-spacing:1.7px;color:#7f8998}
.watch-box{border:1px solid var(--line);border-radius:11px;padding:13px 15px;background:#f7f9fb;font-size:10px;color:#707987;margin-bottom:17px}
.watch-box p+p{margin-top:6px}
.source-link{font-size:10px;color:#516685;text-decoration:underline;text-underline-offset:3px;display:inline-flex;align-items:center;gap:6px}
.source-link .icon{width:12px;height:12px}
.training-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:23px}
.plan-card{border:1px solid var(--line);border-radius:16px;background:white;padding:23px;margin-bottom:14px}
.plan-card-title{display:flex;gap:12px;align-items:flex-start}
.plan-number{font-size:22px;font-weight:500;color:#a5b7d3;line-height:1.2}
.plan-card h2{font-size:15px;font-weight:600}
.plan-card .reason{color:var(--muted);font-size:11px;margin-top:7px}
.plan-card .duration{font-size:9px;color:#6e7d93;margin-top:5px}
.plan-card details{border-top:1px solid var(--line);margin-top:16px;padding-top:12px;font-size:11px;color:#687282}
.plan-card summary{cursor:pointer;font-size:10px}
.plan-card ol{padding-left:18px;line-height:1.9}
.plan-measure{border-radius:9px;padding:10px 12px;background:#eef1f6;font-size:10px;color:#697689;margin-top:10px}
.schedule-panel{position:sticky;top:24px;align-self:start}
.schedule-progress{display:flex;justify-content:space-between;align-items:end;margin:20px 0 9px;font-size:10px;color:var(--muted)}
.schedule-progress b{font-size:23px;font-weight:500;color:var(--accent);line-height:1}
.schedule-progress b small{font-size:11px;color:#8b94a1;margin-left:4px}
.week-title{display:flex;gap:9px;align-items:center;color:#748093;font-size:9px;letter-spacing:1.7px;margin:23px 0 12px}
.week-title:after{content:'';height:1px;background:var(--line);flex:1}
.session-row{display:flex;width:100%;align-items:center;gap:12px;padding:14px 0;background:none;border-bottom:1px solid #e7ebf0;text-align:left}
.session-check{width:23px;height:23px;border-radius:7px;border:1px solid #ccd4e0;display:grid;place-items:center;flex-shrink:0;color:white}
.session-row.done .session-check{background:var(--accent-strong);border-color:var(--accent-strong)}
.session-row strong{font-size:11px;font-weight:500;display:block}
.session-row small{font-size:9px;color:var(--muted);display:block;margin-top:4px}
.session-row .tag{margin-left:auto;white-space:nowrap}
.session-row.done strong{color:#717b8b}
.gear-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:20px}
.filter-row{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.filter{padding:6px 12px;border:1px solid transparent;border-radius:7px;background:none;color:#7d8694;font-size:10px;min-height:34px}
.filter.active{color:var(--accent);background:#d9e1ee;font-weight:600}
.gear-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}
.product-card{background:#fff;border:1px solid var(--line);border-radius:17px;overflow:hidden;display:flex;flex-direction:column}
.product-visual{height:182px;background:#e9edf3;position:relative;overflow:hidden;padding:17px;display:grid;place-items:center}
.product-visual.tier-mid{background:#edeef0}
.product-visual.tier-high{background:#e6eaf0}
.product-visual>svg{height:158px;width:100%;transition:transform .3s}
.product-card:hover .product-visual>svg{transform:rotate(-3deg) scale(1.03)}
.product-visual .tag{position:absolute;top:13px;left:13px;z-index:1;background:#ffffffba}
.illustration-label{position:absolute;bottom:9px;right:11px;font-size:8px;color:#8a93a1}
.product-body{padding:20px 20px 18px;display:flex;flex:1;flex-direction:column}
.product-brand{font-size:9px;letter-spacing:2px;color:#8f96a1;margin-bottom:5px}
.product-body h2{font-size:16px;font-weight:600;letter-spacing:-.5px;line-height:1.5}
.product-code{font-size:9px;color:#9199a5;margin-top:5px}
.product-specs{display:flex;flex-wrap:wrap;gap:5px;margin:13px 0}
.product-specs .tag{font-size:8px;background:#eceff4}
.product-why{font-size:10px;color:#6a7483;line-height:1.9;margin-bottom:11px}
.fit-status{font-size:9px;color:#a88a5c;background:#fcf7ec;padding:6px 8px;border-radius:6px;margin-bottom:13px}
.product-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:13px}
.product-price{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#8d95a2;margin-bottom:14px}
.compare-toggle{background:none;padding:0;color:#6a798f;font-size:10px;display:flex;align-items:center;gap:6px;min-height:30px}
.compare-toggle .box{width:15px;height:15px;border:1px solid #b7c4d7;border-radius:4px;display:grid;place-items:center}
.compare-toggle.selected .box{background:var(--accent-strong);color:#fff;border-color:var(--accent-strong)}
.product-links{display:flex;justify-content:space-between;align-items:center;gap:6px}
.compare-bar{position:fixed;bottom:22px;left:calc(50% + 111px);transform:translateX(-50%);display:flex;align-items:center;gap:22px;padding:13px 18px;background:var(--accent);color:#fff;border-radius:15px;box-shadow:0 8px 30px #17263d35;z-index:40;max-width:calc(100vw - 280px);font-size:11px}
.compare-bar small{color:#afb9c9;font-size:9px;display:block}
.compare-bar .btn{min-height:35px;padding:6px 14px;white-space:nowrap}
.compare-bar .text-button{color:#bdc6d4;font-size:10px}
.empty-state{text-align:center;border:1px dashed #c8d1df;background:#f4f7fb;border-radius:20px;padding:70px 25px;margin-top:25px}
.empty-state .empty-icon{display:grid;place-items:center;width:65px;height:65px;border-radius:20px;background:#d9e2ef;color:#576f93;margin:0 auto 22px}
.empty-state h1{font-size:22px}
.empty-state p{font-size:12px;color:var(--muted);margin:14px auto 24px;max-width:380px}
.empty-buttons{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.mobile-nav{display:none}
.modal-backdrop{position:fixed;inset:0;background:#101825c7;backdrop-filter:blur(5px);z-index:100;display:flex;align-items:center;justify-content:center;padding:25px;animation:fadeIn .18s}
.modal{background:var(--bg);border-radius:22px;max-height:88vh;overflow:auto;width:720px;max-width:100%;box-shadow:0 25px 90px #0003}
.modal.large{width:1000px}
.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:25px 28px 20px;position:sticky;top:0;background:var(--bg);z-index:1;border-bottom:1px solid var(--line)}
.modal-head h2{font-size:19px}
.modal-head p{font-size:10px;color:var(--muted);margin-top:7px}
.close-btn{width:32px;height:32px;border-radius:50%;background:#e5e9f0;display:grid;place-items:center;flex-shrink:0}
.close-btn .icon{width:15px;height:15px}
.modal-body{padding:23px 28px 28px}
.level-rule{border:1px solid var(--line);border-radius:13px;background:white;padding:16px 17px;margin-bottom:9px;scroll-margin-top:110px}
.level-rule.current{border-color:#6886b2;background:#e5ecf6}
.level-rule h3{font-size:13px;display:flex;gap:11px;align-items:center}
.level-rule h3 b{font-size:18px;color:#5172a4;min-width:30px}
.level-rule>p{font-size:11px;color:#6d7889;margin:7px 0 10px}
.level-rule dl{font-size:10px;margin:0;display:grid;grid-template-columns:38px 1fr;gap:5px 8px}
.level-rule dt{color:#8c96a4}
.level-rule dd{margin:0;color:#687383}
.compare-table-wrap{overflow-x:auto}
.compare-table{width:100%;border-collapse:collapse;font-size:11px;min-width:500px}
.compare-table th,.compare-table td{text-align:left;vertical-align:top;padding:16px 13px;border-bottom:1px solid var(--line);max-width:240px}
.compare-table th{font-weight:600;color:var(--accent)}
.compare-table td:first-child{white-space:nowrap;color:#838d9d;width:60px}
.compare-table ul{padding-left:15px;margin:0}
.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,12px);padding:11px 20px;background:#202b3c;color:#fff;border-radius:11px;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:200;box-shadow:0 5px 20px #0002;max-width:90vw;text-align:center}
.toast.visible{opacity:1;transform:translate(-50%,0)}
.settings-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}
.fade-in{animation:fadeIn .24s ease-out}
@keyframes fadeIn{from{opacity:0;transform:translateY(5px)}
to{opacity:1;transform:none}
}
.divider{height:1px;background:var(--line);margin:20px 0}
.inline-hint{font-size:10px;color:var(--muted);margin-top:7px}
.source-note{display:flex;gap:15px;flex-wrap:wrap;font-size:9px;color:#8f96a0;margin-top:14px}
.frequency-select{width:auto;min-width:120px;padding:7px 10px;font-size:10px;min-height:36px}
.pill-row{display:flex;gap:6px;flex-wrap:wrap;margin-top:13px}

@media(min-width:1450px){.main{padding-top:40px}
.hero{min-height:365px}
.hero-copy{padding:43px}
.hero h2{font-size:43px}
}

@media(max-width:1180px){.sidebar{width:190px;padding:30px 14px}
.workspace{margin-left:190px;width:calc(100% - 190px)}
.topbar{padding:0 28px}
.main{padding:28px}
.hero h2{font-size:34px}
.hero-copy{padding:31px 0 30px 29px}
.hero{grid-template-columns:1.15fr 1fr}
.hero-buttons{gap:7px}
.hero-buttons .btn{padding:10px 14px;font-size:11px}
.product-body{padding:17px 15px}
.gear-grid{gap:12px}
.compare-bar{left:calc(50% + 95px);max-width:calc(100vw - 220px)}
.training-layout{gap:16px}
.stat-card{padding:15px;gap:10px}
}

@media(max-width:980px){.hero{grid-template-columns:1.2fr .8fr}
.hero-art{opacity:.7}
.hero h2{font-size:31px}
.hero-copy>p{max-width:280px}
.home-bottom{grid-template-columns:1fr}
.quick-card{min-height:180px}
.report-links{gap:10px}
.link-card{padding:15px;gap:9px}
.link-card>.icon:last-child{display:none}
.gear-grid{grid-template-columns:1fr 1fr}
.training-layout{grid-template-columns:1fr}
.schedule-panel{position:static}
.player-grid{gap:15px}
.player-art{padding:24px 19px}
.player-art h2{font-size:22px}
.player-body{padding:20px}
.page-head h1{font-size:25px}
.report-grid{grid-template-columns:1fr 1.05fr}
.panel{padding:21px}
.dimension-row{gap:7px;grid-template-columns:67px 1fr 42px}
.stat-card .stat-icon{display:none}
.stat-card strong{font-size:12px}
.stat-card small{font-size:9px}
}

@media(max-width:760px){.sidebar{display:none}
.workspace{margin:0;width:100%}
.topbar{height:66px;padding:0 20px}
.breadcrumb{font-size:11px;gap:8px}
.breadcrumb .home-crumb{font-size:18px;color:var(--accent);font-weight:700;letter-spacing:1px}
.breadcrumb .home-crumb{display:inline-flex;align-items:center;gap:7px;flex-shrink:0}
.mobile-brand-mark{display:block;width:32px;height:32px}
.breadcrumb{min-width:0}
.breadcrumb>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.top-meta{flex-shrink:0}
.top-meta .avatar{display:none}
.top-meta{gap:10px}
.demo-chip{font-size:8px;padding:4px 8px}
.avatar{width:28px;height:28px;font-size:11px}
.main{padding:25px 20px 100px;min-height:calc(100vh - 66px)}
.page-head{align-items:flex-start;margin-bottom:22px}
.page-head h1{font-size:25px}
.page-head p{font-size:11px;line-height:1.9}
.page-actions .btn{padding:8px 11px;min-height:36px;font-size:10px}
.eyebrow{font-size:9px;margin-bottom:8px}
.hero{min-height:354px;border-radius:20px;grid-template-columns:1fr .7fr}
.hero-copy{padding:28px 0 28px 25px}
.hero h2{font-size:31px;white-space:nowrap;letter-spacing:0}
.hero-kicker{font-size:8px;letter-spacing:1.4px}
.hero-copy>p{font-size:11px;max-width:236px;line-height:1.9}
.hero-art{min-height:354px;opacity:.55}
.hero-buttons{width:260px;gap:7px;position:relative;z-index:4}
.hero-buttons .btn{font-size:11px;min-height:42px;padding:10px 13px}
.hero-foot{font-size:9px;gap:13px}
.art-label{display:none}
.art-coordinate{font-size:7px;right:13px}
.stat-row{gap:8px;margin-top:13px}
.stat-card{padding:13px 10px;border-radius:12px;display:block}
.stat-card strong{font-size:10px}
.stat-card small{font-size:8px;line-height:1.8;margin-top:4px}
.home-bottom{margin-top:18px;gap:15px}
.panel{padding:21px;border-radius:17px}
.level-strip{margin-top:20px;gap:4px}
.level-cell span{font-size:7px}
.mobile-nav{position:fixed;bottom:0;left:0;right:0;border-top:1px solid #dde1e8;background:#ffffffed;backdrop-filter:blur(16px);display:grid;grid-template-columns:repeat(5,1fr);padding:8px 8px calc(8px + env(safe-area-inset-bottom));z-index:50}
.mobile-nav button{display:flex;align-items:center;flex-direction:column;gap:3px;background:none;color:#8d96a3;font-size:8px;min-height:43px}
.mobile-nav button.active{color:var(--accent);font-weight:600}
.mobile-nav .icon{width:19px;height:19px}
.quiz-steps{gap:12px;margin:0 0 21px}
.quiz-step{font-size:9px;gap:5px}
.quiz-step b{width:20px;height:20px;font-size:9px}
.quiz-card{padding:23px 21px;border-radius:18px}
.quiz-card h2{font-size:20px}
.quiz-card .intro{font-size:11px}
.field-group{margin-top:21px}
.choice{padding:12px;min-height:67px}
.choice strong{font-size:11px}
.choice small{font-size:9px}
.choice-grid{gap:8px}
.field-row{gap:12px}
.field-label{font-size:11px}
.quiz-footer .btn{padding:10px 15px;font-size:11px}
.quiz-footer{margin-top:23px}
.answer{font-size:11px;padding:13px;min-height:62px;gap:11px}
.question-context{font-size:10px}
.report-grid{grid-template-columns:1fr}
.level-result{min-height:255px;padding:25px}
.result-level{font-size:75px}
.result-name{font-size:17px}
.level-result .result-description{max-width:100%}
.result-caption{padding-top:16px}
.report-two{grid-template-columns:1fr;gap:15px;margin-top:15px}
.report-links{grid-template-columns:1fr;margin-top:15px;gap:9px}
.link-card>.icon:last-child{display:block}
.link-card{padding:16px}
.report-banner{font-size:9px;align-items:flex-start}
.report-banner .text-button{font-size:9px;white-space:nowrap}
.dimension-row{grid-template-columns:76px 1fr 48px;gap:12px;margin:16px 0}
.player-grid{grid-template-columns:1fr;gap:18px}
.player-art{min-height:172px;padding:24px}
.player-art h2{font-size:26px}
.player-body{padding:23px}
.player-art .initials{right:28px}
.training-layout{gap:3px}
.schedule-panel{margin-top:14px}
.gear-grid{grid-template-columns:1fr 1fr;gap:11px}
.product-visual{height:151px;padding:12px}
.product-visual>svg{height:129px}
.product-body{padding:15px 12px}
.product-body h2{font-size:13px}
.product-brand{font-size:8px}
.product-code{font-size:8px}
.product-why{font-size:9px}
.product-specs .tag{font-size:7px;padding:3px 5px}
.product-price{font-size:8px;display:block}
.product-price .tag{margin-top:6px}
.product-links{flex-direction:column;align-items:flex-start;gap:8px}
.product-links .source-link{font-size:9px}
.compare-toggle{font-size:9px}
.fit-status{font-size:8px}
.gear-toolbar{gap:11px;margin-bottom:16px}
.segmented button{padding:7px 14px;font-size:10px}
.filter{padding:6px 11px}
.compare-bar{left:16px;right:16px;bottom:77px;max-width:none;transform:none;gap:14px;justify-content:space-between;padding:12px 14px;font-size:10px}
.compare-bar .btn{font-size:10px}
.compare-bar small{font-size:8px}
.modal-backdrop{padding:12px;align-items:flex-end}
.modal{border-radius:20px;max-height:88vh;width:100%}
.modal-head{padding:21px}
.modal-head h2{font-size:17px}
.modal-body{padding:20px}
.modal-head p{font-size:9px}
.toast{bottom:90px;font-size:11px}
.empty-state{padding:55px 20px}
.fineprint{font-size:9px}
.page-head>.segmented{flex-shrink:0}
.session-row{padding:14px 0}
.source-note{font-size:8px}
.choice-grid.two .choice{min-height:73px}
}

@media(max-width:380px){.main{padding-left:15px;padding-right:15px}
.hero-copy{padding-left:21px}
.hero h2{font-size:28px}
.hero-buttons{width:245px}
.hero-buttons .btn{font-size:10px}
.quiz-card{padding:21px 17px}
.quiz-steps{gap:8px}
.quiz-step{gap:4px;font-size:8px}
.choice{padding:11px 9px}
.choice strong{font-size:10px}
.gear-grid{grid-template-columns:1fr}
.product-visual{height:185px}
.product-visual>svg{height:160px}
.product-links{flex-direction:row;align-items:center}
.page-head h1{font-size:23px}
.hero-copy>p{max-width:230px}
}

@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}


@media(max-width:760px){.page-head{display:block}
.page-actions{margin-top:15px}
.page-head>.segmented{margin-top:15px}
.page-actions .btn{white-space:nowrap}
.dimension-row{grid-template-columns:94px 1fr 48px}
}


/* White-first sport palette. Legacy class names remain for app compatibility. */
body,.workspace,.topbar{background:#fff}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #75a7ff;outline-offset:4px}
.brand-mark{background:transparent;color:#193e6d;box-shadow:none}
.brand small{color:#75869c}
.nav-item{color:#697b91}
.nav-item.active{background:#eef5ff;color:var(--accent);box-shadow:inset 3px 0 0 var(--accent)}
.nav-item:hover{background:#f5f9ff}
.nav-item .dot{background:var(--coral)}
.side-note{background:#f7faff;border:1px solid #eaf1fa}
.side-foot{color:#8392a6}
.avatar{background:#f1f6ff;border-color:#dce8fa;color:var(--accent)}
.btn{border-radius:10px}
.btn.primary,.btn.lime{background:var(--accent);color:#fff;box-shadow:0 4px 12px #1764ee12}
.btn.primary:hover,.btn.lime:hover{background:#0e53d4}
.btn.secondary{background:#fff;border-color:#dae5f4;color:#33577f}
.btn.secondary:hover{background:#f7faff;border-color:#a9c5ed}
.btn.ghost{color:#69809b}
.hero{background:linear-gradient(112deg,#f7faff 0%,#f7faff 52%,#edf5ff 100%);color:var(--ink);border:1px solid #dfeafb;box-shadow:0 10px 34px #2463ba07}
.hero h2{font-weight:700;letter-spacing:-.6px}
.hero h2 em{color:var(--accent)}
.hero-kicker{color:#6c89ac}
.tiny-dot{background:var(--coral)}
.hero-copy>p{color:#647e9c}
.hero .secondary{background:#fff;border-color:#d9e6f6;color:#45678f}
.hero-foot{color:#7990aa}
.art-label,.art-coordinate{color:#7b9bc0}
.stat-icon{background:#eef5ff;color:var(--accent)}
.stat-card{box-shadow:0 3px 14px #2f6ab904}
.stat-card:nth-child(2) .stat-icon{background:#fff1ed;color:#e26f58}
.stat-card:nth-child(3) .stat-icon{background:#edf4ff;color:#4075c2}
.panel{box-shadow:0 4px 20px #28599503}
.level-cell{background:#f0f5fc;color:#6280a5}
.level-cell:hover{background:#e2eeff;color:var(--accent)}
.quick-card{background:#fff;border:1px solid var(--line);border-top:3px solid #8bb8ff}
.quick-card p{color:#6e829d}
.quick-number{color:#edf4ff}
.resume-banner,.notice{background:#f2f7ff;border-color:#dbe8fa;color:#547396}
.notice.warning,.storage-warning{background:#fff4ef;border-color:#ffd7ca;color:#9b4c38}
.quiz-step{color:#8a9aaf}
.quiz-step b{background:#f0f4fa;color:#8193aa}
.quiz-step.active b{background:var(--accent);color:#fff}
.quiz-step.done b{background:#e4efff;color:#2466c9}
.choice:hover{border-color:#a2c2f3;background:#f8fbff}
.choice.selected{border-color:var(--accent);background:#f2f7ff;box-shadow:inset 0 0 0 1px var(--accent)}
.choice.selected::after{color:var(--accent)}
.progress-track{background:#edf3fb}
.progress-track>span{background:var(--accent)}
.question-context{background:#f7faff;color:#6b819c}
.answer:hover{border-color:#9fbff1}
.answer.selected{background:#f2f7ff;border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.answer-letter{color:#7b90aa;border-color:#dfe8f4}
.answer.selected .answer-letter{background:var(--accent);border-color:var(--accent);color:#fff}
.answer.unknown{background:#fbfcff}
.question-hint{color:#6d87a6}
.segmented{background:#f0f4fa}
.segmented button{color:#7b8ba0}
.segmented button.active{color:var(--accent);background:#fff;box-shadow:0 2px 6px #244f8410}
.report-banner{background:#f2f7ff;color:#627f9f;border:1px solid #e2ecfb}
.level-result{background:#f2f7ff;color:var(--ink);border:1px solid #dce9fc;box-shadow:0 6px 25px #1764ee05}
.level-result .eyebrow{color:#7591b1}
.result-level{color:var(--accent);font-weight:600}
.result-level small{color:#6c8bb0}
.level-result .result-description{color:#6883a2}
.result-caption{color:#7892ae}
.result-lines,.result-lines::after{border-color:#bcd4f333}
.dimension-row .track{background:#edf3fc}
.dimension-row .track span{background:#73a5f5}
.dimension-row strong{color:#6483a9}
.dimension-row.unknown strong{color:#99a6b7}
.dimension-row.unknown .track{background:repeating-linear-gradient(120deg,#eef3fa 0,#eef3fa 5px,#fafcff 5px,#fafcff 10px)}
.insight-icon{background:#eef5ff;color:#4782d8}
.insight-icon.warm{background:#fff0eb;color:#dc7862}
.tag{background:#eef5ff;color:#6487b3}
.tag.warm{background:#fff1eb;color:#b76c55}
.tag.dark{background:#e5efff;color:#3976ca}
.link-card:hover{border-color:#a3c2ef;background:#fbfdff}
.evidence-details summary,.plan-card details{color:#6483a8}
.player-art,.player-art.speed{background:#f2f7ff}
.player-art .initials{color:#dfeafb}
.player-art .tag{background:#fffffff0;color:#5b7fae;border:1px solid #e0eafb}
.player-art p{color:#7792b3}
.player-body .why{color:#627a98}
.learning-item b{background:#f0f6ff;color:#5d8cc9}
.mini-label{color:#8194ab}
.watch-box{background:#f8fbff;color:#6c84a0}
.source-link{color:#3f78c5}
.plan-number{color:#89afe9}
.plan-card .duration{color:#7e97b4}
.plan-measure{background:#f4f8ff;color:#6b85a4}
.week-title{color:#7c93b0}
.session-check{border-color:#d5e3f6}
.session-row.done .session-check{background:var(--accent);border-color:var(--accent)}
.session-row.done strong{color:#7891ad}
.filter{color:#7c90aa}
.filter.active{background:#eaf2ff;color:var(--accent)}
.product-card{box-shadow:0 4px 18px #244f8404}
.product-visual,.product-visual.tier-mid,.product-visual.tier-high{background:#fff;border-bottom:1px solid #edf2fa}
.product-visual .tag{background:#f4f8ffff;color:#5b7da6;border:1px solid #e3edfa}
.illustration-label{color:#98a8bd}
.product-brand,.product-code{color:#8a9bb0}
.product-specs .tag{background:#f1f6fd;color:#6c89ab}
.product-why{color:#667f9d}
.fit-status{background:#fff4ef;color:#ab705c}
.product-price{color:#899bb2}
.compare-toggle{color:#5b81b0}
.compare-toggle .box{border-color:#bdcfe8}
.compare-toggle.selected .box{background:var(--accent);border-color:var(--accent);color:#fff}
.compare-bar{background:#fff;color:var(--ink);border:1px solid #cadcf6;box-shadow:0 8px 30px #24598f20}
.compare-bar small{color:#7b93b1}
.compare-bar .text-button{color:#6583aa}
.empty-state{background:#fbfdff;border-color:#d0e0f5}
.empty-state .empty-icon{background:#edf5ff;color:#5086d4}
.modal-backdrop{background:#16365b80;backdrop-filter:blur(5px)}
.modal,.modal-head{background:#fff}
.close-btn{background:#f0f5fc;color:#53759f}
.level-rule.current{border-color:#8bb4f3;background:#f4f8ff}
.level-rule h3 b{color:var(--accent)}
.level-rule>p,.level-rule dd{color:#6983a2}
.level-rule dt{color:#91a2b8}
.compare-table td:first-child{color:#7f94af}
.toast{background:#164a9b;color:#fff;box-shadow:0 6px 20px #174b9b26}
.source-note{color:#8d9fb5}

/* Real reference photos; add .has-photo on the existing player-art wrapper. */
.player-art.has-photo{min-height:235px;background:#f3f8ff;isolation:isolate}
.player-photo{position:absolute;right:0;top:0;width:52%;height:100%;object-fit:cover;object-position:center 20%;z-index:0}
.player-art.has-photo::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f3f8ff 0%,#f3f8ff 41%,#f3f8ffe6 51%,#f3f8ff00 72%);z-index:0;pointer-events:none}
.player-art.has-photo .tag,.player-art.has-photo h2,.player-art.has-photo>p{position:relative;z-index:1;max-width:65%}
.player-art.has-photo h2{font-size:24px;line-height:1.45;margin-top:27px}
.player-art.has-photo>p{font-size:9px;letter-spacing:1px;max-width:53%;line-height:1.6}
.player-art.has-photo .initials,.player-art.has-photo .court-mini{display:none}
.product-photo{display:block;width:100%;height:100%;max-height:185px;object-fit:contain;padding:5px;transition:transform .25s}
.product-card:hover .product-photo{transform:translateY(-3px) scale(1.025)}
.image-credit,.photo-credit{font-size:9px;color:#7c91ac;line-height:1.7}
.image-credit a,.photo-credit a{color:#4f7cb7;text-decoration:underline;text-underline-offset:3px}
.product-visual .photo-credit{position:absolute;bottom:7px;right:10px;font-size:8px}
.player-art .photo-credit{position:absolute;right:9px;bottom:8px;z-index:2;max-width:45%;font-size:8px;background:#ffffffd9;padding:2px 5px;border-radius:4px}
.image-fallback{background:#f3f7fd;color:#91a5c0}

/* Completed reports stay discoverable on both phone and desktop. */
.saved-report-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid #d5e4fb;border-left:4px solid var(--accent);border-radius:15px;padding:19px 21px;margin-bottom:20px;box-shadow:0 6px 24px #2763af08}
.saved-report-banner strong,.saved-report-banner h2,.saved-report-banner h3{display:block;color:#234c83;font-size:14px;font-weight:600;line-height:1.6}
.saved-report-banner p,.saved-report-banner small{display:block;color:#7b90aa;font-size:10px;line-height:1.8;margin-top:4px}
.saved-report-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}
.saved-report-actions .btn{white-space:nowrap}
.report-history{margin-top:24px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px}
.report-history h2{font-size:17px;font-weight:600}
.history-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px;margin-bottom:6px}
.history-toolbar .btn{font-size:10px;min-height:36px;padding:8px 12px}
.history-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 0;border-bottom:1px solid #eaf0f8}
.history-row:last-child{border-bottom:0;padding-bottom:2px}
.history-row strong,.history-row h3{display:block;font-size:12px;font-weight:600;color:#2d4d74}
.history-row>div{min-width:0}
.history-row .btn{flex-shrink:0}
.history-meta{font-size:10px;color:#8a9cb3;line-height:1.9;margin-top:5px;overflow-wrap:anywhere}
.history-empty{padding:25px 18px;border:1px dashed #d4e2f5;border-radius:12px;color:#8297b2;font-size:11px;background:#fbfdff;margin-top:15px}
.storage-warning{border:1px solid #ffd4c4;border-radius:12px;padding:12px 15px;font-size:11px;line-height:1.8;margin:0 0 18px}
.storage-warning strong{color:#94482f}
.storage-warning .btn{margin-top:8px}

@media(max-width:980px){.player-art.has-photo{min-height:222px}.player-art.has-photo h2{font-size:22px}}
@media(max-width:760px){
  .mobile-nav{grid-template-columns:repeat(6,minmax(0,1fr));border-top-color:#e4edf8;background:#ffffffed;box-shadow:0 -4px 20px #25588c04}
  .mobile-nav button{min-width:0;color:#8b9bb0;font-size:8px;min-height:44px;padding:2px 0;position:relative}
  .mobile-nav button.active{color:var(--accent)}
  .mobile-nav button.active::after{content:'';position:absolute;bottom:0;width:15px;height:2px;background:var(--accent);border-radius:3px}
  .mobile-nav .icon{width:18px;height:18px}
  .hero{border-color:#dfebfc;background:linear-gradient(112deg,#f6faff,#f4f9ff)}
  .hero-art{opacity:.82}
  .hero h2{font-weight:700}
  .saved-report-banner{align-items:flex-start;flex-direction:column;gap:13px;padding:17px;margin-bottom:17px}
  .saved-report-actions{width:100%;gap:8px}
  .saved-report-actions .btn{flex:1;min-height:39px;font-size:10px;padding:9px 12px}
  .report-history{margin-top:18px;padding:19px;border-radius:17px}
  .report-history h2{font-size:15px}
  .history-row{gap:12px;padding:16px 0}
  .history-row .btn{padding:8px 11px;min-height:35px;font-size:10px}
  .history-meta{font-size:9px}
  .history-toolbar{gap:7px}
  .history-toolbar .btn{font-size:9px;padding:7px 10px;min-height:34px}
  .storage-warning{font-size:10px;padding:11px 13px}
  .player-art.has-photo{min-height:220px;padding:24px}
  .player-art.has-photo h2{font-size:25px;max-width:63%}
  .player-photo{width:52%;object-position:center 20%}
  .player-art.has-photo>p{font-size:9px}
  .product-photo{max-height:134px;padding:4px}
  .product-visual .photo-credit{font-size:7px;bottom:5px;right:7px}
}
@media(max-width:380px){
  .player-art.has-photo h2{font-size:22px}
  .product-photo{max-height:170px;padding:4px}
  .saved-report-actions .btn{padding:9px 10px}
  .history-toolbar .btn{flex:1}
}

/* The home summary shows the latest personal result, never the sample. */
.quick-level{font-size:46px;line-height:1.15;letter-spacing:-1.6px;font-weight:650;color:var(--accent);margin:12px 0 8px}
.quick-source{display:inline-flex;align-items:center;gap:5px;font-size:9px;line-height:1.5;color:#4f7db7;background:#edf5ff;border-radius:6px;padding:4px 8px}
.quick-result-meta{font-size:10px;color:#7890ad;line-height:1.8;margin-top:9px}
@media(max-width:760px){.quick-level{font-size:42px}.quick-result-meta{font-size:9px}}

/* Keep the first glance on the learning goal and two concrete takeaways. */
.learning-focus{background:#f1f7ff;border:1px solid #e0ecfd;border-left:3px solid var(--accent);border-radius:12px;padding:16px 18px;margin-bottom:17px}
.learning-focus .mini-label{color:#6286b6;font-size:9px;letter-spacing:1.6px}
.learning-focus strong{display:block;color:#235db2;font-size:17px;font-weight:650;line-height:1.65;margin-top:6px;letter-spacing:-.25px}
.learning-point{display:grid;grid-template-columns:25px minmax(0,1fr);gap:11px;align-items:start;border:1px solid #e6edf8;border-radius:12px;background:#fff;padding:14px 15px;margin:10px 0}
.learning-point>b,.learning-point>.point-number{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#fff0ea;color:#df795f;font-size:10px;font-weight:600;line-height:1}
.learning-point>div{min-width:0}
.learning-point strong{display:block;font-size:13px;line-height:1.75;font-weight:650;color:#284f83;letter-spacing:-.15px}
.learning-point small{display:block;font-size:10px;line-height:1.9;color:#7a8fa9;margin-top:4px}
.learning-point>strong{grid-column:2;grid-row:1}
.learning-point>small{grid-column:2;margin-top:-4px}
.player-details{border-top:1px solid #e7eef8;margin-top:19px;padding-top:13px;color:#6583a9}
.player-details summary{cursor:pointer;color:#527eB6;font-size:11px;font-weight:500;line-height:1.9;list-style-position:inside}
.player-details[open] summary{margin-bottom:12px}
.player-details p,.player-details li,.player-details .why{font-size:10px;line-height:1.95;color:#7a8fa9}
.player-details .why{margin:10px 0 13px}
.player-details .watch-box{margin:11px 0 14px;background:#f9fbff}
.player-details .source-link{font-size:9px}
.player-credit{font-size:9px;color:#8d9db2;line-height:1.8;margin-top:16px;padding-top:11px;border-top:1px solid #edf2f9}
.player-credit a{font-size:9px;color:#6b8db8;text-decoration:underline;text-underline-offset:3px}
.player-art.has-photo h2{max-width:61%;font-size:23px}
@media(max-width:980px){.player-art.has-photo h2{font-size:22px}}
@media(max-width:760px){
  .learning-focus{padding:14px 15px;margin-bottom:15px}
  .learning-focus strong{font-size:16px;line-height:1.65}
  .learning-point{grid-template-columns:24px minmax(0,1fr);gap:10px;padding:13px;margin:9px 0}
  .learning-point strong{font-size:12px}
  .learning-point small{font-size:10px;line-height:1.9}
  .player-details summary{font-size:10px;min-height:30px}
  .player-credit{font-size:8px}
  .player-credit a{font-size:8px}
  .player-art.has-photo h2{font-size:22px;max-width:61%;line-height:1.5}
}

.product-photo.shoe{object-fit:cover;max-height:none;padding:0}
.compare-photo{display:block;width:100%;height:110px;object-fit:contain;margin:0 0 12px;background:#fff;border-radius:9px}
.product-detail-photo{display:block;width:100%;height:240px;object-fit:contain;background:#fff;border-radius:12px;margin-bottom:20px}
.player-credit .icon{width:10px;height:10px;vertical-align:middle}
@media(max-width:760px){.compare-photo{height:88px}.product-detail-photo{height:210px}}

.player-focus-tag{position:relative;z-index:1;max-width:60%;margin-top:17px;padding:9px 12px;background:#e7f0ff;border-left:3px solid var(--accent);border-radius:0 9px 9px 0}
.player-focus-tag span{display:block;font-size:8px;letter-spacing:1px;color:#6b8bb6;margin-bottom:4px}
.player-focus-tag strong{display:block;font-size:13px;line-height:1.6;font-weight:700;color:#255cb2}
.player-art.has-photo{min-height:245px}
.player-art.has-photo h2{margin-top:18px}
@media(max-width:760px){.player-art.has-photo{min-height:235px}.player-focus-tag{margin-top:15px;padding:8px 10px;max-width:59%}.player-focus-tag strong{font-size:12px}.player-body{padding-top:19px}}

/* Court energy: white remains the main surface, with blue/orange rhythm. */
:root{--bg:#f4f8ff;--line:#dfe9f7;--shadow:0 8px 28px #265d9a0c}
body{background:#f4f8ff}
.workspace{background-color:#f4f8ff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='460' viewBox='0 0 340 460'%3E%3Cg fill='none' stroke='%23b9d2f1' stroke-width='1' opacity='.2'%3E%3Crect x='42' y='50' width='256' height='360'/%3E%3Cpath d='M42 230h256M62 50v360m216-360v360M42 126h256M42 334h256M170 50v145m0 70v145'/%3E%3C/g%3E%3C/svg%3E");background-size:340px 460px}
.sidebar{box-shadow:4px 0 24px #31598504}
.topbar{background:#ffffffef}
.main{padding-top:28px}
.page-head{margin-bottom:22px}
.eyebrow{color:#6584ac}
.hero{background:linear-gradient(112deg,#ffffff 0%,#eef5ff 48%,#dcecff 100%);border-color:#c9ddf9;box-shadow:0 10px 30px #2059a20d;min-height:326px}
.hero::before{content:'';position:absolute;width:320px;height:160px;right:-58px;top:-72px;border:18px solid #1764ee0c;border-radius:70px;transform:rotate(-22deg);pointer-events:none}
.hero::after{content:'';position:absolute;left:-55px;bottom:-88px;width:285px;height:130px;border:8px solid #f48a6c16;border-radius:50%;transform:rotate(-18deg);pointer-events:none}
.hero-copy{padding-top:31px;padding-bottom:28px}
.hero-kicker{margin-bottom:15px;color:#4f78ad}
.hero-foot{gap:8px;flex-wrap:wrap}
.hero-foot span{background:#ffffffbd;border:1px solid #dce8f8;border-radius:5px;padding:2px 7px;color:#6484ac}
.hero-art{opacity:1;min-height:326px}
.hero-art>svg{z-index:0;opacity:1}
.hero-match-photo{position:absolute;inset:38px 23px 42px 49px;margin:0;border:5px solid #ffffffed;border-radius:18px;overflow:hidden;transform:rotate(-4deg);box-shadow:0 12px 25px #1f529d24;z-index:1;background:#e3efff}
.hero-match-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 38%}
.hero-match-photo figcaption{position:absolute;left:10px;bottom:10px;max-width:calc(100% - 20px);padding:5px 9px;border-radius:6px;background:#ffffffed;color:#345f98;font-size:9px;line-height:1.5;box-shadow:0 2px 8px #274e7e0d}
.art-coordinate{z-index:2;top:14px;color:#7594ba}
.art-label{z-index:2;bottom:17px;color:#5c82b0}
.stat-row{gap:13px;margin-top:16px}
.stat-card{padding:16px 17px;border-color:#dce8f8;background:#edf5ff;box-shadow:none}
.stat-card:nth-child(2){background:#fff2ec;border-color:#f4dfd4}
.stat-card:nth-child(3){background:#edf2ff;border-color:#dce5f9}
.stat-card .stat-icon{background:#fff;box-shadow:0 3px 9px #2c66b408}
.stat-card strong{color:#2f5789}
.stat-card:nth-child(2) strong{color:#a65d44}
.stat-card small{color:#7891b0}
.stat-card:nth-child(2) small{color:#ad8877}
.home-bottom{margin-top:18px;gap:16px}
.home-bottom>.panel:first-child{border-left:4px solid #4e8ceb}
.panel-title{margin-bottom:14px}
.level-strip{margin-top:18px}
.level-cell{background:#edf4ff;color:#6086bd}
.level-cell:nth-child(n+4){background:#e1edff}
.level-cell:nth-child(n+7){background:#d3e4ff}
.level-cell b{color:#2769cc;font-weight:700}
.quick-card{background:linear-gradient(125deg,#fff,#f0f6ff);border:1px solid #dce8fa;border-left:4px solid #2e79e7}
.quick-number{color:#dceaff}
.quick-level{color:#1764ee;font-size:49px;font-weight:700}
.saved-report-banner{background:linear-gradient(110deg,#fff,#f0f6ff);margin-bottom:16px}
.section-head{margin-top:24px}
.report-grid,.report-two{gap:16px}
.report-two{margin-top:16px}
.level-result{background:linear-gradient(128deg,#edf5ff,#e1edff);border-color:#cbdef9}
.level-result .result-lines{border-color:#84afe63d}
.report-links{gap:12px;margin-top:17px}
.player-grid{gap:18px}
.player-card{box-shadow:0 6px 22px #285e9d09;border-color:#d8e5f6}
/* Match photography becomes a wide banner, followed by unobscured names. */
.player-art.has-photo{min-height:0;padding:190px 22px 17px;background:#fff;isolation:isolate;border-bottom:1px solid #e4edf9}
.player-art.has-photo .player-photo{left:0;right:0;top:0;width:100%;height:171px;object-fit:cover;z-index:0}
.player-art.has-photo::after{inset:0 0 auto;height:171px;background:linear-gradient(180deg,#0e29451c 0%,#0e294500 55%,#ffffff00 78%,#ffffff 100%);z-index:0}
.player-art.has-photo>.tag{position:absolute;top:13px;left:15px;max-width:calc(100% - 30px);z-index:2;background:#ffffffed;color:#3969a9;box-shadow:0 2px 8px #18365e0d}
.player-art.has-photo h2{max-width:100%;font-size:23px;line-height:1.45;margin:0 0 2px;color:#203f6a}
.player-art.has-photo>p{max-width:100%;font-size:9px;letter-spacing:1.2px;color:#7f94af}
.player-focus-tag{position:relative;display:flex;align-items:center;gap:10px;max-width:100%;margin-top:11px;padding:8px 10px;border-left:3px solid var(--accent);background:#eaf3ff;border-radius:0 8px 8px 0}
.player-focus-tag span{flex-shrink:0;white-space:nowrap;font-size:8px;margin:0;color:#7290b5;letter-spacing:.5px}
.player-focus-tag strong{font-size:12px;line-height:1.6;font-weight:700;color:#255fb4}
.player-body{padding:18px 22px 20px}
.learning-point{background:#f8fbff;border-color:#e2ecfa;margin:8px 0;padding:12px 13px}
.learning-point:nth-of-type(2){background:#fff9f5;border-color:#f4e6dc}
.learning-point strong{font-size:13px;line-height:1.7}
.player-details{margin-top:15px;padding-top:11px}
.player-credit{display:block;margin-top:13px;padding-top:9px}
.training-layout{gap:18px}
.plan-card{padding:20px;border-left:3px solid #4a8aee;margin-bottom:12px;box-shadow:0 4px 18px #235a9c05}
.plan-card:nth-child(2){border-left-color:#f18c6f}
.plan-card-title{gap:12px}
.plan-number{display:grid;place-items:center;width:39px;height:39px;border-radius:10px;background:#eaf3ff;color:#387ce0;font-size:22px;flex-shrink:0}
.plan-card:nth-child(2) .plan-number{background:#fff0e8;color:#e17b5d}
.plan-card .reason{margin-top:6px}
.plan-measure{background:#edf5ff}
.schedule-panel{border-top:3px solid #397fe5;background:linear-gradient(180deg,#fff 0%,#fff 65%,#f7faff 100%)}
.schedule-progress b{font-weight:650;color:#276ed5}
.schedule-panel .progress-track{height:6px;background:#e7effb}
.schedule-panel .progress-track>span{background:linear-gradient(90deg,#1764ee,#75a8f6)}
.week-title{margin:19px 0 8px;padding:7px 10px;border-radius:7px;background:#ecf4ff;color:#5984bd;letter-spacing:1.3px}
.week-title::after{display:none}
.week-title~.week-title{background:#fff0e8;color:#b77a60}
.session-row{padding:12px 0}
.product-card{box-shadow:0 5px 20px #2e609d07}
.product-visual{background:linear-gradient(180deg,#f6faff,#fff)}
.product-visual.tier-mid{background:linear-gradient(180deg,#f2f7ff,#fff)}
.product-visual.tier-high{background:linear-gradient(180deg,#fff6ef,#fff)}
.quiz-card{border-top:3px solid #5b93e9;box-shadow:0 8px 30px #265e9e07}
@media(min-width:1450px){.hero{min-height:350px}.hero-art{min-height:350px}.hero-match-photo{inset:39px 25px 42px 55px}}
@media(max-width:1180px){.main{padding-top:24px}.hero-copy{padding-top:28px}.hero-match-photo{inset:42px 21px 46px 37px}.stat-card{padding:15px}.training-layout{gap:15px}}
@media(max-width:980px){.player-art.has-photo{padding-top:183px}.player-art.has-photo .player-photo,.player-art.has-photo::after{height:165px}.player-art.has-photo h2{font-size:22px}.stat-card{padding:13px 12px}.home-bottom{gap:14px}}
@media(max-width:760px){
 .main{padding-top:22px}
 .page-head{margin-bottom:19px}
 .hero{grid-template-columns:1fr;min-height:0;background:linear-gradient(145deg,#fff,#e7f1ff)}
 .hero-copy{padding:23px 23px 13px}
 .hero-kicker{margin-bottom:11px}
 .hero h2{font-size:30px;line-height:1.36;white-space:normal}
 .hero-copy>p{margin-top:11px;font-size:11px;line-height:1.85;max-width:100%}
 .hero-buttons{margin-top:17px;width:auto}
 .hero-foot{margin-top:13px;gap:7px}
 .hero-foot span{font-size:8px;padding:2px 6px}
 .hero-art{min-height:161px;opacity:1}
 .hero-art>svg{width:100%;height:100%;inset:0;opacity:.95}
 .hero-match-photo{inset:9px 22px 18px 22px;transform:rotate(-2deg);border-width:4px;border-radius:13px;box-shadow:0 7px 18px #235ca31f}
 .hero-match-photo img{object-position:center 35%}
 .hero-match-photo figcaption{left:8px;bottom:7px;padding:4px 7px;font-size:8px}
 .art-coordinate,.art-label{display:none}
 .stat-row{gap:8px;margin-top:12px}
 .stat-card{padding:12px 10px;background:#ebf4ff}
 .stat-card strong{font-size:10px;line-height:1.8}
 .stat-card small{font-size:8px;line-height:1.8}
 .home-bottom{margin-top:15px;gap:13px}
 .home-bottom>.panel:first-child{border-left-width:3px}
 .panel{padding:19px}
 .quick-level{font-size:44px}
 .player-grid{gap:16px}
 .player-art.has-photo{padding:173px 19px 15px;min-height:0}
 .player-art.has-photo .player-photo,.player-art.has-photo::after{height:158px}
 .player-art.has-photo>.tag{top:12px;left:13px;font-size:8px}
 .player-art.has-photo h2{max-width:100%;font-size:22px;line-height:1.45;margin:0 0 2px}
 .player-art.has-photo>p{max-width:100%;font-size:8px}
 .player-focus-tag{max-width:100%;margin-top:10px;padding:8px 9px;gap:9px}
 .player-focus-tag strong{font-size:12px}
 .player-body{padding:15px 19px 17px}
 .learning-point{padding:11px 12px;gap:9px;margin:8px 0}
 .learning-point strong{font-size:12px;line-height:1.65}
 .learning-point small{font-size:9px;line-height:1.8}
 .player-details{margin-top:13px}
 .report-two{gap:13px;margin-top:13px}
 .report-grid{gap:14px}
 .plan-card{padding:18px 16px;margin-bottom:11px}
 .plan-number{width:34px;height:34px;font-size:20px;border-radius:9px}
 .schedule-panel{padding-top:18px}
 .week-title{margin-top:17px;font-size:9px}
 .saved-report-banner{padding:15px 17px;margin-bottom:14px}
 .report-history{padding:18px}
}
@media(max-width:380px){.hero-copy{padding:21px 20px 12px}.hero h2{font-size:28px}.hero-art{min-height:149px}.hero-match-photo{inset:8px 18px 17px}.hero-foot{gap:5px}.stat-card{padding:11px 8px}.player-art.has-photo{padding-left:17px;padding-right:17px}.player-body{padding-left:17px;padding-right:17px}}

.match-photo-note{font-size:9px;color:#8397b1;line-height:1.7;margin:14px 0 5px}

/* Pin the media box to the card: intrinsic catalogue canvas sizes must not expand a grid row. */
.product-visual .product-photo{position:absolute;inset:10px;width:calc(100% - 20px);height:calc(100% - 20px);max-height:none;padding:0;object-fit:contain}
.product-visual .product-photo.shoe{inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%}

/* Home keeps the court illustration without a separate photo row on phones. */
@media(max-width:760px){
 .hero-art{position:absolute;right:-28px;top:14px;bottom:14px;width:47%;height:auto;min-height:0;opacity:.23;pointer-events:none}
 .hero-art>svg{width:100%;height:100%;object-fit:contain}
 .hero-copy{padding-bottom:24px}
}
