/* Chessentia: a touch-first working surface. Existing study tools retain their layout. */
:root{--card-edge:#cad7ce;--shadow-card:0 4px 0 var(--card-edge),0 10px 24px #182a290b;--z-nav:20;--z-toast:50}
body{font-size:16px;padding-bottom:24px}body>header{min-height:84px;padding:16px max(24px,calc((100vw - 1180px)/2));gap:20px}.brand{letter-spacing:-.7px;font-size:24px;font-weight:800;gap:10px}.brand img{border-radius:13px;display:block;box-shadow:0 2px 3px #182a2920}.header-tools select{min-height:44px;max-width:120px;font-size:14px;border-radius:12px}.profile-button{display:none;background:#edf2eb;border:1px solid var(--line);width:44px;height:44px;border-radius:14px;align-items:center;justify-content:center}.profile-button svg{width:23px;height:23px}.desktop-nav{gap:4px}.desktop-nav button{font-size:14px;font-weight:650;display:flex;align-items:center;gap:7px;padding:12px}.desktop-nav svg{width:18px;height:18px}
main{padding:32px 28px;max-width:1200px}.dashboard{max-width:880px;margin:auto}.dashboard-heading{margin-bottom:24px}.dashboard-heading h1,.catalog-heading h1{font-family:inherit;font-size:32px;line-height:1.2;font-weight:800;letter-spacing:-1px;margin:0 0 8px;text-wrap:balance}.dashboard-heading p,.catalog-heading p{font-size:16px;margin:0;line-height:1.5}.resume-tile{display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--green);color:white;border:1px solid #122d25;border-radius:24px;box-shadow:0 5px 0 #112720,0 15px 30px #182a291a;padding:28px;text-decoration:none;transition:transform .18s,box-shadow .18s}.resume-copy{flex:1;min-width:0}.resume-label{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:14px;color:#d4e3d9;font-weight:600}.free-pill{font-size:12px;line-height:1.5;background:#365447;color:#edf6d1;padding:4px 9px;border-radius:8px}.resume-tile h2{font-family:inherit;font-size:30px;line-height:1.2;letter-spacing:-.7px;font-weight:800;margin:16px 0 10px}.resume-tile p{font-size:16px;line-height:1.55;color:#dfebe0;max-width:35ch;margin:0}.resume-cta{display:inline-flex;background:var(--lime);color:var(--ink);font-weight:800;font-size:15px;padding:12px 18px;border-radius:12px;margin-top:20px;box-shadow:0 3px 0 #a5bf63}.resume-progress{display:block;margin-top:15px;color:#d4e3d9;font-size:14px}.resume-board{width:190px;flex:0 0 190px;transform:rotate(3deg);border:5px solid #4b6658;border-radius:9px;box-shadow:0 8px 18px #0003}.resume-board .board{width:100%;border:0;box-shadow:none;border-radius:3px;aspect-ratio:1}.resume-board .square{min-height:0;aspect-ratio:1}.resume-board .piece{font-size:23px;line-height:1}.resume-board .mini-board{pointer-events:none}
.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:26px 0}.action-tile{display:flex;align-items:flex-start;flex-direction:column;gap:10px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;text-align:left;box-shadow:var(--shadow-card);transition:transform .18s,box-shadow .18s}.tile-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#eef3e9;color:#38513b;margin-bottom:4px}.tile-icon svg{width:26px;height:26px}.action-tile strong{font-size:21px;font-weight:800;line-height:1.25;letter-spacing:-.35px}.tile-description{font-size:15px;line-height:1.5;color:#50635b;max-width:32ch}.tile-courses{background:#e8efde;border-color:#d0dcc3}.tile-courses .tile-icon{background:#d5e3c6}.tile-practice .tile-icon{background:#e1ecde}.tile-repertoire .tile-icon{background:#e9efec}.tile-progress .tile-icon{background:#eff1e3}
.guide-tile{width:100%;display:flex;align-items:center;gap:16px;padding:20px 22px;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:0 3px 0 #d7e1d6;text-align:left;transition:transform .18s}.guide-tile>svg{width:28px;height:28px;flex-shrink:0}.guide-tile>span{display:flex;flex-direction:column;gap:5px}.guide-tile strong{font-size:18px;font-weight:800}.guide-tile span span{font-size:15px;color:var(--muted);line-height:1.45}.utility-actions{display:flex;flex-wrap:wrap;gap:12px 24px;margin:26px 0 0}.utility-actions button{display:flex;align-items:center;gap:9px;padding:8px 0;background:none;font-size:14px;font-weight:650;min-height:44px;text-align:left}.utility-actions svg{width:20px;height:20px;flex-shrink:0}.review-banner{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:24px 0 0;padding:16px;border:1px solid #cad7b7;background:#e8efde;border-radius:16px}.review-banner p{margin:0;color:var(--ink)}.review-banner .quiet{background:#fff}
.bottom-nav{display:none}.skip-link{position:fixed;top:-100px;left:12px;z-index:100;background:var(--ink);color:white;padding:15px;border-radius:10px}.skip-link:focus{top:12px}#toast{z-index:var(--z-toast)}main:focus{outline:none}
.catalog-heading{max-width:680px;margin-bottom:26px}.map-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:16px}.map-toolbar .search{order:0;flex:1;min-width:250px;max-width:500px;background:white;border-radius:14px;min-height:50px}.map-toolbar .search input{min-height:48px;font-size:16px}.filters{gap:6px;flex-wrap:wrap}.filters button{font-size:14px;min-height:44px;border-radius:12px;font-weight:700;padding:10px 14px}.catalog-preview-note{font-size:14px;line-height:1.5;margin:0 0 24px;max-width:75ch}.catalog-section-title{font-family:inherit;font-size:20px;font-weight:750;letter-spacing:0}.course-grid{gap:20px}.course-card,.course-card.course-available{display:flex;flex-direction:column;align-items:stretch;border-radius:20px;border:1px solid var(--line);background:white;box-shadow:var(--shadow-card);padding:22px}.course-card h3{font-family:inherit;font-size:23px;line-height:1.25;letter-spacing:-.4px;font-weight:800;margin:16px 0 6px}.course-card-top{font-size:14px}.course-summary{font-size:14px;line-height:1.55;margin:4px 0 12px}.course-price{margin-top:auto}.course-price strong{font-size:22px}.course-price span{font-size:13px}.course-card .actions{margin-top:20px;gap:16px}.course-card .primary{font-size:15px;border-radius:12px;padding:14px 18px}.course-card .text-button{font-size:14px}.catalog-details{margin-top:40px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.catalog-details>summary{font-size:17px;font-weight:750;padding:20px 0;cursor:pointer}.catalog-details .course-standard{margin:0;padding:0 0 20px;border:0}.catalog-details .eyebrow,.catalog-details .course-standard>h2{display:none}
.practice-picker,.account-access{background:white;border:1px solid var(--line);border-radius:22px;padding:26px;box-shadow:var(--shadow-card)}.practice-picker label{display:block;font-size:17px;font-weight:750;margin:18px 0 10px}.practice-picker select{width:100%;min-height:54px;font-size:18px;font-weight:650;border-radius:12px;background:var(--bg)}.practice-picker p{font-size:16px;max-width:65ch}.practice-picker>.primary{min-height:50px;border-radius:12px;font-size:16px}.personal-practice,.account-backup,.purchases-note{padding:28px 0;border-bottom:1px solid var(--line)}.personal-practice h2,.account-backup h2,.purchases-note h2{font-family:inherit;font-size:21px;font-weight:750;letter-spacing:-.3px;margin:0}.personal-practice p,.purchases-note p{font-size:16px}.account-backup .actions svg{width:20px;height:20px}.guest-profile{display:flex;align-items:flex-start;gap:16px;margin:0 0 24px}.profile-avatar{width:50px;height:50px;flex-shrink:0;display:grid;place-items:center;border-radius:18px;background:#e0eada}.profile-avatar svg{width:26px;height:26px}.guest-profile h2{font-family:inherit;font-size:18px;font-weight:750;letter-spacing:0;margin:0 0 5px}.guest-profile p{font-size:15px;line-height:1.6;max-width:60ch;margin:0}.account-tabs{display:flex;gap:4px;border-radius:12px;background:var(--bg);padding:4px}.account-tabs button{flex:1;border-radius:9px;background:none;padding:12px;font-size:16px;font-weight:750;min-height:48px}.account-tabs button.active{color:white;background:var(--green);box-shadow:0 2px 5px #182a2920}.registration-notice{display:flex;align-items:flex-start;gap:12px;margin:24px 0;background:#eef3e8;border-radius:12px;padding:16px}.registration-notice>svg{width:23px;height:23px;flex-shrink:0}.registration-notice strong{font-size:15px}.registration-notice p{font-size:14px;line-height:1.6;margin:6px 0 0;color:#496044}#account-form fieldset{border:0;padding:0;margin:0}#account-form label{display:block;font-size:15px;font-weight:650;margin:16px 0 8px}#account-form input{width:100%;border-radius:12px;min-height:49px;background:#f4f6f3}#account-form .primary{width:100%;margin-top:24px;min-height:50px;border-radius:12px;font-size:16px}#account-form fieldset:disabled{opacity:.72}#account-form button:disabled{opacity:1;background:#63756b;border-color:#63756b;color:#fff}.account-secondary{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-top:22px}.account-secondary button{min-height:44px;font-size:14px}.account-space{max-width:650px}
.primary,.quiet{transition:background .18s,transform .18s}footer{font-size:13px;max-width:1180px;margin:24px auto 0;padding:22px 28px;gap:14px;flex-wrap:wrap}footer button{font-size:14px;min-height:44px}.page-head h1{font-size:34px}.page-head p{font-size:16px}
@media(hover:hover){.action-tile:hover,.guide-tile:hover{transform:translateY(-2px);box-shadow:0 6px 0 var(--card-edge),0 12px 24px #182a2910}.resume-tile:hover{transform:translateY(-2px)}}.action-tile:active,.guide-tile:active,.resume-tile:active{transform:translateY(3px);box-shadow:0 1px 0 var(--card-edge)}
@media(max-width:1000px){body>header{padding:14px 24px}.desktop-nav{display:none}.profile-button{display:flex}.header-tools{margin-left:auto}.brand{font-size:25px}body{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}.bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:var(--z-nav);background:#fff;border-top:1px solid #d9e1d9;padding:8px max(8px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));box-shadow:0 -4px 20px #182a2908;gap:3px}.bottom-nav button{min-width:0;padding:7px 2px;min-height:59px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;background:none;font-size:12px;line-height:1.25;color:#5a6b61;white-space:normal;font-weight:650}.bottom-nav button.active{color:var(--ink);background:#e6eedb}.bottom-nav svg{width:23px;height:23px}.bottom-nav button span{overflow-wrap:anywhere}#toast{bottom:calc(94px + env(safe-area-inset-bottom,0px))}dialog{max-height:calc(100dvh - 28px)}}
@media(max-width:600px){body>header{min-height:78px;padding:13px 18px;gap:10px;flex-wrap:nowrap}.brand{font-size:23px;gap:9px;letter-spacing:-.8px}.brand img{width:40px;height:40px;border-radius:12px}.header-tools{gap:7px}.header-tools select{width:90px;max-width:90px;font-size:13px;padding:8px}.profile-button{width:40px;height:44px;border-radius:12px}.profile-button svg{width:21px;height:21px}main{padding:26px 18px 16px}.dashboard-heading{margin-bottom:20px}.dashboard-heading h1,.catalog-heading h1{font-size:28px;letter-spacing:-.7px}.dashboard-heading p{font-size:15px}.resume-tile{padding:22px 18px;gap:13px;border-radius:20px}.resume-tile h2{font-size:24px;letter-spacing:-.4px;margin:13px 0 8px}.resume-label{font-size:13px;gap:6px}.free-pill{font-size:12px;padding:3px 7px}.resume-tile p{font-size:14px;line-height:1.55}.resume-board{width:110px;flex-basis:110px;border-width:3px;align-self:center;transform:rotate(3deg)}.resume-board .piece{font-size:16px}.resume-cta{font-size:14px;padding:11px 15px;margin-top:16px}.resume-progress{font-size:12px}.action-grid{gap:14px;margin:23px 0}.action-tile{padding:18px 15px;border-radius:18px;gap:8px;min-height:175px}.tile-icon{width:40px;height:40px;border-radius:12px;margin-bottom:4px}.tile-icon svg{width:23px;height:23px}.action-tile strong{font-size:18px;line-height:1.25;letter-spacing:-.25px}.tile-description{font-size:14px;line-height:1.5}.guide-tile{padding:18px;gap:12px}.guide-tile strong{font-size:17px}.guide-tile span span{font-size:14px}.utility-actions{gap:8px 20px;margin-top:22px}.utility-actions button{font-size:14px}.course-grid{grid-template-columns:1fr;gap:18px}.course-card{padding:21px}.course-card .course-summary{margin-bottom:16px}.map-toolbar{display:flex;gap:12px;align-items:stretch}.map-toolbar .search{min-width:0;width:100%;max-width:none;flex-basis:100%}.filters{display:flex;width:100%;justify-content:flex-start}.filters button{font-size:14px;flex:1;padding:10px}.catalog-heading{margin-bottom:20px}.catalog-preview-note{font-size:13px}.practice-picker,.account-access{padding:20px;border-radius:18px}.practice-picker select{font-size:16px}.practice-picker p{font-size:15px}.practice-picker>.primary{width:100%}.guest-profile{gap:12px}.profile-avatar{width:42px;height:42px;border-radius:14px}.account-secondary{flex-direction:column;align-items:flex-start;gap:6px}.account-tabs button{font-size:15px;padding:10px}.registration-notice{padding:14px;gap:10px}.registration-notice>svg{width:20px;height:20px}.review-banner{align-items:flex-start;gap:12px;flex-direction:column}.review-banner .quiet{min-height:44px}.page-head h1{font-size:30px}footer{margin-top:12px;padding:20px 18px;display:flex;flex-wrap:wrap;gap:10px;font-size:12px}footer>span{width:100%;line-height:1.5}.stats-grid{gap:12px}.stats-grid strong{font-size:34px}.progress-panels{gap:16px}.panel{border-radius:18px}.panel h2{font-size:25px}.panel .primary{gap:10px}.actions{gap:12px}.primary,.quiet{min-height:46px}input,textarea,select{font-size:16px}.board .square{touch-action:manipulation}}
@media(max-width:360px){body>header{padding-inline:12px;gap:7px}.brand{font-size:21px;gap:7px}.brand img{width:35px;height:35px}.header-tools select{width:78px;max-width:78px;padding:6px}.profile-button{width:36px}main{padding-inline:14px}.resume-board{width:85px;flex-basis:85px}.resume-board .piece{font-size:12px}.resume-tile{padding:19px 15px;gap:10px}.action-tile{padding:16px 12px}.action-tile strong{font-size:17px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.resume-board{transform:none}.action-tile:hover,.action-tile:active,.resume-tile:hover,.resume-tile:active,.guide-tile:hover,.guide-tile:active{transform:none}}

/* The two learning pillars lead the mobile dashboard. */
.tile-plans{background:#e4edd8;border-color:#c5d4b6}.tile-themes{background:#e9efe7;border-color:#cbd8c7}.tile-plans .tile-icon,.tile-themes .tile-icon{background:#cedfc0}.tile-courses{background:#fff;border-color:var(--line)}.tile-courses .tile-icon{background:#eef3e9}.dashboard>.guide-tile{margin-top:26px}.study-back{min-height:44px;margin-bottom:16px;font-size:14px}.study-hub{max-width:680px}.study-hub label{margin-top:20px}.study-hub .primary{display:inline-flex;text-align:center;justify-content:center}.dashboard-heading h1{max-width:24ch}

/* Light catalog surfaces need dark text, including available-course overrides. */
.course-card,.course-card.course-available{color:var(--ink)}
.course-card h3,.course-card .course-price strong{color:var(--ink)}
.course-card .meta,.course-card .course-price span,.course-card .course-summary{color:var(--muted)}
.course-card .course-status{color:var(--green);border-color:#728679;background:#eef3e9}
.course-card .text-button{color:var(--green)}
.model-game-note{border-left:3px solid #7d9b8c;padding:4px 0 4px 18px;margin:0 0 26px}
.model-game-note h2{font:750 18px/1.4 "Avenir Next",Avenir,"Segoe UI",sans-serif;letter-spacing:0;color:var(--ink);margin:0 0 7px}
.model-game-note p{font-size:15px;line-height:1.6;margin:0;max-width:72ch}

/* A compact promise above the existing four study cards. */
.home-intro h1{font-size:clamp(1.75rem,4.5vw,2.25rem);max-width:none;line-height:1.2;margin-bottom:14px;letter-spacing:-.035em}
.home-intro h1>span{display:block}
.home-intro .home-promise{color:var(--green)}
.home-intro p{font-size:1rem;line-height:1.55;max-width:68ch;text-wrap:pretty}

/* Selected cover B, shown only on the separate launch screen. */
.home-cover{max-width:620px;margin:0 auto 30px;text-align:center}
.home-cover-art{display:block;width:min(100%,480px);height:auto;margin:0 auto 8px;border-radius:20px}
.home-cover h1{font-family:inherit;font-size:clamp(1.8rem,4.5vw,2.35rem);line-height:1.16;font-weight:800;letter-spacing:-.035em;margin:0 0 14px;text-wrap:balance;color:var(--ink)}
.home-cover h1 span{display:block;color:var(--green)}
.home-cover-body{font-size:1rem;line-height:1.55;max-width:48ch;margin:0 auto 20px;text-wrap:pretty;color:var(--muted)}
.cover-language{display:flex;flex-direction:column;align-items:center;gap:7px;margin:auto;max-width:100%}
.cover-language label{font-size:14px;font-weight:750;color:var(--ink)}
.cover-language select{width:230px;max-width:100%;min-height:48px;font-size:16px;font-weight:650;border:1px solid #aabbb3;border-radius:12px;background:#fff;color:var(--ink);padding:10px 16px}
.cover-language .ap-language{max-width:100%;align-items:center}
.cover-language .ap-language-caption{justify-content:center}
@media(max-width:600px){body[data-view="home"] main{padding-top:12px}.home-cover{margin-bottom:26px}.home-cover-art{max-width:360px;border-radius:14px}.home-cover-body{font-size:15px;margin-bottom:16px}.home-cover h1{margin-bottom:12px}}

body[data-view="welcome"]{padding-bottom:0}
body[data-view="welcome"]>#header,body[data-view="welcome"]>#footer,body[data-view="welcome"]>#bottom-nav{display:none}
body[data-view="welcome"]>#app{display:grid;place-items:center;min-height:calc(100svh - env(safe-area-inset-top));max-width:none;padding:24px 18px calc(24px + env(safe-area-inset-bottom))}
.welcome-screen{display:flex;flex-direction:column;align-items:center;width:100%;max-width:560px;margin:0}
.cover-brand{display:flex;align-items:center;justify-content:center;gap:10px;font-size:24px;font-weight:800;letter-spacing:-.035em;color:var(--ink);margin-bottom:16px}
.cover-brand img{border-radius:12px}
.welcome-screen .home-cover-art{width:min(100%,420px,55svh);margin-bottom:16px}
.welcome-screen .cover-language{margin:0;flex:none}
.cover-enter{display:block;min-height:52px;width:min(100%,300px);margin-top:22px;border-radius:14px;font-size:17px;font-weight:750;line-height:1.4;text-align:center;background:var(--green);color:#fff;padding:14px 20px}
.cover-enter:focus-visible{outline:3px solid #456fa1;outline-offset:4px}
@media(max-width:600px){.welcome-screen .home-cover-art{max-width:320px}.welcome-screen h1{font-size:1.8rem}.cover-brand{font-size:22px}}
@media(max-height:720px){body[data-view="welcome"]>#app{padding-top:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom))}.welcome-screen .home-cover-art{max-width:250px;margin-bottom:10px}.cover-brand{margin-bottom:8px}.welcome-screen .home-cover-body{margin-bottom:12px}.cover-enter{margin-top:16px}}
@media(max-height:650px){.welcome-screen .home-cover-art{max-width:180px}.cover-brand{font-size:20px}.cover-brand img{width:34px;height:34px}.welcome-screen h1{font-size:1.55rem;margin-bottom:10px}.welcome-screen .home-cover-body{font-size:14px;line-height:1.45;margin-bottom:10px}.cover-enter{margin-top:12px}}

/* One ordered entry path, with contextual shortcuts after a course is chosen. */
.home-order{font-size:.9rem;line-height:1.5;color:#344d46;max-width:58ch;margin:0 0 14px}
.dashboard .action-grid{gap:12px;margin:18px 0 22px}
.dashboard .action-tile{min-height:0;padding:18px;display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px 12px;align-content:start;text-align:left}
.dashboard .action-tile .tile-step{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--route-ink,#254b38);color:#fff;font:750 1rem/1 system-ui,sans-serif;grid-row:1/3}
.dashboard .action-tile strong{font-size:1.125rem;line-height:1.3;align-self:center}
.dashboard .action-tile .tile-description{font-size:.9rem;line-height:1.45;grid-column:2}
.dashboard .action-tile.tile-courses,.dashboard .action-tile.tile-practice{grid-column:1/-1}
.dashboard .action-tile.tile-courses{border-width:2px}
.dashboard .action-tile.tile-courses strong{font-size:1.3rem}
.home-resume{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;margin:0 0 14px;color:#234c3b;text-decoration:none;border-bottom:1px solid #bdcbc4;min-height:48px}
.home-resume strong,.home-resume small{display:block}.home-resume small{font-size:.875rem;line-height:1.4;margin-top:4px;color:#344d46}.home-resume>span:last-child{font-size:1.4rem}
@media(max-width:380px){.dashboard .action-tile{padding:14px;grid-template-columns:24px minmax(0,1fr);column-gap:8px}.dashboard .action-tile .tile-step{width:24px;height:24px}.dashboard .action-tile strong{font-size:1rem}.dashboard .action-tile .tile-description{grid-column:1/-1}}

.dashboard .tile-plans .tile-description,.dashboard .tile-themes .tile-description{grid-column:1/-1}
