/* Layout only: palette, fonts, logo and base controls come from StatementNest source app.css + landing.css. */
.page{max-width:1120px;margin:auto}.learn-breadcrumb{display:flex;align-items:center;gap:10px;padding:22px 24px 0;font-size:13px;color:var(--muted)}.learn-breadcrumb small{margin-left:auto}.header-actions{display:flex;align-items:center;gap:8px}.header-actions a.quiet{padding:6px 8px;text-decoration:none;font-size:14px}.header-actions .active{background:var(--pale);border-radius:5px}.app-header{padding:0 max(24px,calc((100% - 1072px)/2))}.brand-document{width:28px;height:32px;flex:none}main{padding:24px}h1{font-size:30px;font-weight:650;letter-spacing:0;line-height:1.25}h2{letter-spacing:0;font-size:20px}h3{font-size:18px;font-weight:600;letter-spacing:0;margin:10px 0}p{line-height:1.6}.eyebrow{font-size:12px;color:var(--jade);font-weight:600;margin-bottom:8px}.page-heading{margin-bottom:24px}.page-heading p{font-size:16px;margin-top:10px}.stats-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:6px;background:var(--paper);margin-bottom:20px}.stats-strip>div{padding:18px 22px;border-right:1px solid var(--line);display:flex;align-items:center;gap:10px}.stats-strip>div:last-child{border:0;display:block}.stats-strip strong{font-size:22px;color:var(--ink);font-weight:650}.stats-strip small{font-size:12px;font-weight:400}.stats-strip p>span{display:block;font-size:12px}.stat-icon{font-size:20px;color:var(--jade)}.progress-label{display:flex;align-items:center;justify-content:space-between;font-size:12px}.progress-label strong{font-size:14px}.progress-track{height:6px;background:var(--pale);border-radius:3px;margin-top:9px;overflow:hidden}.progress-track i{display:block;height:100%;background:var(--jade)}.continue-card{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:6px;padding:24px;background:var(--paper);gap:20px}.continue-card h2{margin:8px 0}.continue-card p{font-size:15px;margin-bottom:18px}.pill,.preview-badge{display:inline-block;padding:3px 7px;font-size:11px;background:var(--pale);color:var(--jade);border-radius:4px}.continue-visual{display:flex;align-items:center;gap:8px;padding:20px;position:relative}.keycap{display:inline-flex;justify-content:center;min-width:48px;padding:10px 12px;border:1px solid var(--line);border-bottom-width:3px;border-radius:5px;font-size:16px;background:white}.key-plus{color:var(--muted)}.key-caption{display:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;text-decoration:none;min-height:44px;padding:10px 17px;border:1px solid var(--line);border-radius:5px;font-size:14px;font-weight:600}.button.primary{background:var(--jade);border-color:var(--jade);color:white}.button.secondary{background:white;color:var(--ink)}.curriculum-section{padding:28px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:16px}.quiet-note{color:var(--muted);font-size:12px}.path-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px}.path-card{border:1px solid var(--line);border-radius:6px;padding:22px;background:white}.path-top{display:flex;gap:10px;align-items:center}.path-symbol{font-size:24px;color:var(--jade)}.path-tag{font-size:10px;letter-spacing:.5px;color:var(--muted)}.path-card p{font-size:14px}.path-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;font-size:12px;color:var(--muted)}.path-footer button{font-size:13px;color:var(--jade);background:var(--pale);border-color:transparent}.path-footer b{font-weight:400}.bottom-note{display:flex;gap:10px;font-size:12px;padding-bottom:22px;color:var(--muted)}.bottom-note>span{display:none}.plans-note{border:1px solid var(--line);border-radius:6px;padding:22px;background:var(--canvas);display:flex;gap:24px;align-items:center}.plans-note h2{font-size:18px;margin-bottom:8px}.plans-note p{font-size:13px}.plans-note .button{white-space:nowrap}footer{display:flex;justify-content:space-between;align-items:center;padding:24px 0;margin-top:24px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.text-button{border:0;background:transparent;color:var(--jade);font-size:13px;padding:5px}.practice-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.practice-heading p{margin-top:7px;font-size:14px}.studio-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px}.lesson-panel{border:1px solid var(--line);border-radius:6px;padding:14px;height:fit-content}.library-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:14px}.library-heading h2{font-size:15px}.segmented{display:flex;background:var(--canvas);padding:3px;border-radius:5px;gap:3px}.segmented button{flex:1;padding:7px 6px;min-height:36px;border:0;background:transparent;font-size:12px}.segmented button.selected{background:white;color:var(--jade);box-shadow:0 1px 3px #0001}.lesson-panel ol{list-style:none;padding:0;margin:12px 0 0}.lesson-panel li button{display:flex;gap:8px;align-items:center;min-height:42px;width:100%;text-align:left;padding:8px;border-color:transparent;background:transparent;font-size:12px;font-weight:400}.lesson-panel li button.active{background:var(--pale);color:var(--jade)}.lesson-number{color:var(--muted);font-size:11px}.lesson-check{margin-left:auto;color:var(--jade)}.studio-main{min-width:0}.task-card{border:1px solid var(--line);border-radius:6px;padding:22px;margin-bottom:16px}.task-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.task-card h2{font-size:22px;margin:12px 0 8px}.task-card p{font-size:15px}.platform-row{display:flex;align-items:center;gap:10px;margin-top:18px;font-size:12px;flex-wrap:wrap}.platform-row select{font-size:13px}.shortcut-chip{margin-left:auto;font-family:monospace;font-size:14px;color:var(--jade);padding:8px;background:var(--pale);border-radius:4px}.hint{background:var(--pale);padding:12px;font-size:14px;margin:12px 0}.sheet-card{border:1px solid var(--line);border-radius:6px;overflow:hidden}.sheet-toolbar{padding:13px 16px;display:flex;justify-content:space-between;align-items:center;background:var(--canvas);font-size:13px}.sheet-file{display:flex;gap:8px}.formula-bar{display:flex;align-items:center;gap:10px;border-block:1px solid var(--line);background:white}.formula-bar #cell-address{min-width:65px;text-align:center;border-right:1px solid var(--line);padding:12px;font-size:12px}.fx{color:var(--muted);font-style:italic}.formula-bar input{flex:1;min-width:0;border:0;border-radius:0;font-family:monospace;font-size:15px}.sheet-scroll{overflow:auto;max-height:390px}#spreadsheet{display:grid;min-width:640px;font-size:13px;background:white}.grid-row{display:contents}.corner,.col-heading,.row-heading,.grid-cell{padding:10px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-height:38px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.col-heading,.row-heading,.corner{background:var(--canvas);color:var(--muted);text-align:center;font-size:11px}.grid-cell{outline:none;cursor:cell}.grid-cell.data-heading{font-weight:600;background:var(--canvas)}.grid-cell.start{background:var(--pale)}.grid-cell.target{box-shadow:inset 0 0 0 1px var(--jade)}.grid-cell.selected{background:var(--pale);outline:2px solid var(--jade);outline-offset:-2px;z-index:1}.grid-cell:focus-visible{outline:3px solid var(--jade);outline-offset:-3px}.grid-cell.selected{background:var(--pale)}.sheet-status{display:flex;justify-content:space-between;gap:10px;padding:9px 14px;font-size:11px;background:var(--canvas)}.sheet-tab{border-bottom:2px solid var(--jade);padding-bottom:4px}.grid-legend{display:flex;gap:16px;padding:9px 14px;font-size:11px;color:var(--muted)}.grid-legend i{display:inline-block;width:9px;height:9px;background:var(--pale);border:1px solid var(--line);margin-right:5px}.grid-legend span:last-child i{border-color:var(--jade)}.grid-instructions{font-size:12px;color:var(--muted);margin:10px 0}.fallback{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid var(--line);border-radius:5px;margin-top:16px;background:var(--canvas)}.fallback strong{font-size:13px}.fallback p{font-size:12px;margin-top:3px}.fallback button{white-space:nowrap}.answer-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px}#feedback{font-size:14px;color:var(--muted)}#feedback.success{color:#246445}#feedback.error{color:var(--error)}.answer-actions{display:flex;gap:8px;flex-shrink:0}.source-links{font-size:11px;color:var(--muted);margin-top:18px}.source-links a{margin-right:12px}.simulator-note{font-size:11px;color:var(--muted);margin-top:15px}.leave-grid{font-size:12px;color:var(--jade)}dialog{border:1px solid var(--line);border-radius:6px;padding:24px;max-width:440px;color:var(--ink);font:inherit}dialog::backdrop{background:#1c24344d}dialog p{margin-top:10px}.dialog-actions{display:flex;gap:10px;justify-content:end;margin-top:20px}#load-error{padding:16px;background:var(--pale);border:1px solid var(--line)}
@media(max-width:800px){.studio-layout{grid-template-columns:1fr}.lesson-panel ol{display:flex;overflow:auto;gap:6px}.lesson-panel li{flex:0 0 150px}.stats-strip{grid-template-columns:1fr 1fr}.stats-strip>div:nth-child(2){border-right:0}.stats-strip>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.continue-visual{display:none}.path-cards{grid-template-columns:1fr}.plans-note{display:block}.plans-note .button{margin-top:16px}.answer-row{align-items:start;flex-direction:column}.learn-breadcrumb small{display:none}.app-header{padding-inline:16px;gap:8px}.header-actions{gap:0}.header-actions a.quiet,.header-actions .quiet{font-size:12px;padding:6px}.practice-heading{align-items:start;gap:15px}.practice-heading .button{font-size:12px;padding:8px}.section-heading{align-items:start;flex-direction:column;gap:8px}}
@media(max-width:480px){main{padding:20px 16px}.learn-breadcrumb{padding:16px 16px 0}.brand span{font-size:15px}.brand-document{width:24px}.app-header{height:auto;min-height:62px;flex-wrap:wrap;padding-block:9px}.header-actions{margin-left:auto}.header-actions a.quiet{font-size:12px}.stats-strip>div{padding:14px}.stats-strip strong{font-size:20px}.continue-card,.task-card,.path-card,.plans-note{padding:18px}h1{font-size:26px}.platform-row{gap:8px}.shortcut-chip{margin-left:0}.path-footer{flex-wrap:wrap}.fallback{display:block}.fallback button{margin-top:10px}.answer-actions{width:100%;justify-content:end}.practice-heading{display:block}.practice-heading .button{margin-top:12px}footer{flex-wrap:wrap;gap:10px}.button{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

#spreadsheet{grid-template-columns:38px 110px 155px repeat(6,110px)}.grid-cell.numeric{text-align:right}.grid-cell.active{outline:2px solid var(--jade);outline-offset:-2px;z-index:2}.grid-cell.selected{background:var(--pale)}

.learn-icon{width:20px;height:20px;display:inline-block;flex:none;vertical-align:middle;fill:currentColor}.stat-icon .learn-icon,.path-symbol .learn-icon{width:26px;height:26px}.bottom-note>.learn-icon{margin-top:3px}

.skill-guide{margin-top:14px;font-size:13px;color:var(--muted)}.skill-guide summary{cursor:pointer;color:var(--jade);width:fit-content;padding:6px 0}.skill-guide p{font-size:13px;max-width:65ch;margin-top:5px}.skill-guide summary:focus-visible{outline:2px solid var(--jade);outline-offset:3px}

.lesson-panel{min-width:0}.sheet-toolbar{gap:10px;flex-wrap:wrap}.sheet-file{align-items:center}.grid-instructions,.simulator-note,.source-links{overflow-wrap:anywhere}@media(max-width:800px){.studio-layout{grid-template-columns:minmax(0,1fr)}.task-meta{gap:10px;flex-wrap:wrap}.sheet-toolbar .text-button{font-size:12px}.lesson-panel ol{max-width:100%}}

@media(max-width:480px){.desktop-break{display:none}.stats-strip>div{padding:12px;gap:8px}.stats-strip strong{font-size:21px;display:block;line-height:1.35}.stats-strip small{font-size:10px;white-space:nowrap}.stats-strip p>span{font-size:10px;margin-top:4px}.stat-icon .learn-icon{width:20px;height:20px}.progress-label{font-size:10px}.progress-label strong{font-size:15px}}

.lesson-number.done{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;flex:none;background:currentColor;color:var(--jade);mask:url(icons/check-circle.svg) center/contain no-repeat;-webkit-mask:url(icons/check-circle.svg) center/contain no-repeat}

.task-card .dataset-label{font-size:11px;color:var(--muted);margin-top:8px}.dataset-label:empty{display:none}.answer-actions{flex-wrap:wrap}

.track-progress{margin:16px 0;color:var(--muted);font-size:11px}.track-progress .progress-track{height:4px}.lesson-search-label{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.lesson-panel input[type=search]{width:100%;min-width:0;font-size:12px;min-height:38px;padding:8px 10px}.lesson-search-status{font-size:11px;margin-top:8px;line-height:1.5}.lesson-search-status:empty{display:none}.next-unfinished{width:100%;text-align:left;font-size:11px;margin-top:12px;border-top:1px solid var(--line);border-radius:0;padding-top:12px}.next-unfinished:disabled{opacity:.5;cursor:default}@media(min-width:801px){.lesson-panel{position:sticky;top:16px;max-height:calc(100vh - 32px);overflow:auto}.lesson-panel li button{border-radius:4px}.studio-layout{grid-template-columns:230px minmax(0,1fr)}}

.guide-example{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0;padding:12px;background:var(--canvas);border:1px solid var(--line);border-radius:4px;font:13px/1.6 monospace;color:var(--ink)}.skill-guide .guide-tip{border-left:2px solid var(--jade);padding-left:10px;font-size:12px}

.project-card{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px;border:1px solid var(--line);border-left:3px solid var(--jade);border-radius:6px;margin-bottom:24px;background:var(--canvas)}.project-card h2{margin:10px 0 8px}.project-card p{font-size:14px;max-width:65ch}.project-card #project-count{display:block;font-size:12px;color:var(--muted);margin-top:12px}.project-card button{flex-shrink:0}@media(max-width:700px){.project-card{display:block;padding:18px}.project-card button{margin-top:18px}}

.lesson-group{font-size:10px;font-weight:600;color:var(--muted);padding:12px 8px 6px;text-transform:uppercase;letter-spacing:.4px}@media(max-width:800px){.lesson-panel li.lesson-group{flex:0 0 100px;display:flex;align-items:center;font-size:9px;line-height:1.5}}

.learning-about{padding:30px 0;margin-bottom:24px;border-top:1px solid var(--line)}.learning-about h2{margin-bottom:14px}.learning-about h3{margin:24px 0 10px}.learning-about>p{font-size:14px;max-width:80ch;margin:10px 0}.how-grid,.guide-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.how-grid>div{border-left:2px solid var(--jade);padding-left:14px}.how-grid strong{font-size:14px}.how-grid p{font-size:13px;margin-top:7px}.guide-links a{display:flex;flex-direction:column;gap:8px;border:1px solid var(--line);padding:18px;border-radius:5px;text-decoration:none;color:var(--ink)}.guide-links a:hover{border-color:var(--jade);background:var(--pale)}.guide-links strong{color:var(--jade);font-size:14px}.guide-links span{font-size:12px;color:var(--muted)}.learning-about details{border-bottom:1px solid var(--line);padding:14px 0}.learning-about summary{cursor:pointer;font-size:14px;font-weight:600}.learning-about details p{font-size:13px;max-width:80ch;margin:12px 0 0}.seo-content{max-width:850px;margin:auto;padding:30px 24px 60px}.seo-content h1{font-size:32px;margin:18px 0}.seo-content h2{font-size:22px;margin:28px 0 12px}.seo-content p,.seo-content li{font-size:15px;line-height:1.8}.seo-content p{margin:12px 0}.seo-content li{margin:8px 0}.seo-content pre{padding:16px;border:1px solid var(--line);background:var(--canvas);border-radius:5px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.seo-content table{width:100%;border-collapse:collapse;margin:20px 0;font-size:13px}.seo-content th,.seo-content td{text-align:left;padding:12px;border:1px solid var(--line);white-space:normal}.seo-content th{background:var(--canvas)}.seo-content caption{text-align:left;margin-bottom:8px;color:var(--muted);font-size:12px}.seo-breadcrumb{font-size:12px;margin-bottom:24px}.seo-cta{display:flex;align-items:center;gap:20px;flex-wrap:wrap;border-block:1px solid var(--line);padding:24px 0;margin:28px 0}.seo-source{font-size:12px!important}.seo-content aside{margin-top:30px}@media(max-width:650px){.how-grid,.guide-links{grid-template-columns:1fr}.seo-content{padding:24px 16px}.seo-content h1{font-size:27px}.seo-content th,.seo-content td{padding:8px;font-size:12px}}

.quick-start{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:24px 0;padding:22px 24px;border:1px solid var(--line,#dfe3eb);border-radius:14px;background:#fff}.quick-start h2{font-size:18px;margin:0 0 6px}.quick-start p{margin:0;color:var(--muted,#687080);font-size:14px}.quick-start-actions{display:flex;gap:12px;flex-wrap:wrap}.quick-start .button{font-size:13px;padding:10px 14px}.lesson-resources{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.lesson-resources>a{font-size:13px}@media(max-width:700px){.quick-start{align-items:stretch;flex-direction:column;padding:18px;gap:16px}.quick-start-actions{flex-direction:column}.quick-start-actions .button{text-align:center;justify-content:center}}

.mvp-overview{max-width:780px;margin:48px auto 72px}.mvp-overview .page-heading{margin-bottom:28px}.mvp-overview .page-heading h1{font-size:clamp(30px,4vw,44px);letter-spacing:-1.4px;margin-bottom:12px}.mvp-overview .page-heading p{font-size:17px;line-height:1.6}.mvp-start{padding:32px;border:1px solid #dfe3eb;background:white;border-radius:16px}.mvp-start h2{font-size:25px;margin:18px 0 10px;letter-spacing:-.5px}.mvp-start p{color:#687080;margin:0 0 24px}.mvp-start .button{min-height:48px;padding:12px 26px}.mvp-choices{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.mvp-choice{font:inherit;text-align:left;border:1px solid #dfe3eb;border-radius:12px;background:#fff;padding:22px;color:#292d39;cursor:pointer;display:flex;flex-direction:column;gap:10px}.mvp-choice:hover{border-color:#4c64d9;background:#f8f9ff}.mvp-choice strong{display:flex;justify-content:space-between;font-size:17px}.mvp-choice>span,.mvp-choice small{font-size:13px;color:#687080}.mvp-choice:focus-visible{outline:3px solid #4c64d9;outline-offset:3px}.mvp-footnote{font-size:12px;color:#687080;margin-top:22px}.mvp-overview~footer{margin-top:0}@media(max-width:600px){.mvp-overview{margin:24px auto 40px}.mvp-start{padding:24px}.mvp-choices{grid-template-columns:1fr}.mvp-start .button{width:100%}}

/* ---- Clean practice screen: task line, big sheet, answer, check. Everything else on demand. ---- */
body:has(#practice-view:not([hidden])) .learn-breadcrumb,
#practice-view .practice-heading,#practice-view .dataset-label,#practice-view .grid-legend,#practice-view .sheet-status,
#practice-view .sheet-file,#practice-view .lesson-resources,#practice-view .simulator-note,#practice-view .task-meta{display:none}
#practice-view .grid-instructions{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
#practice-view .studio-top{display:flex;align-items:center;gap:10px;margin:8px 0 10px}
.studio-lessons{border:1px solid var(--line,#e2e8f0);background:#fff;border-radius:8px;padding:7px 12px;font-weight:600;cursor:pointer}
.studio-lessons:hover{border-color:#4c64d9;color:#4c64d9}
#practice-view .studio-layout{display:block}
#practice-view .lesson-panel{position:fixed;top:0;left:0;bottom:0;width:min(320px,86vw);max-height:none;z-index:80;background:#fff;border-radius:0;box-shadow:8px 0 30px rgba(15,23,42,.18);transform:translateX(-105%);transition:transform .2s ease;overflow:auto}
body.lessons-open #practice-view .lesson-panel{transform:none}
body.lessons-open::after{content:'';position:fixed;inset:0;background:rgba(15,23,42,.25);z-index:79}
#practice-view .task-card{border:0;padding:0;margin:0 0 10px;background:none;box-shadow:none}
#practice-view .task-card h2{font-size:22px;margin:0 0 4px}
#practice-view #lesson-prompt{margin:0 0 6px;font-size:16px}
#practice-view .skill-guide,#practice-view #hint-button,#practice-view .platform-row{display:inline-flex;align-items:center;gap:8px;margin:0 14px 0 0;font-size:13px}
#practice-view .skill-guide{display:inline-block}
#practice-view .sheet-card{margin-top:6px}
#practice-view .sheet-toolbar{min-height:0;padding:0;border:0}
#practice-view .sheet-toolbar #download-data{display:none}
#practice-view .sheet-scroll{max-height:none;height:min(64vh,620px)}
#practice-view .answer-row{position:sticky;bottom:0;background:#fff;padding:10px 0;border-top:1px solid var(--line,#e2e8f0);z-index:5}
#practice-view .fallback{margin:8px 0;padding:8px 12px}
@media(max-width:700px){#practice-view .sheet-scroll{height:52vh}}
/* Big, Excel-like sheet that fills the width */
body:has(#practice-view:not([hidden])) .page{max-width:1320px}
#practice-view #spreadsheet{grid-template-columns:44px repeat(8,minmax(120px,1fr));font-size:15px;min-width:900px}
#practice-view #spreadsheet .grid-cell{min-height:42px;padding:10px 12px;display:flex;align-items:center}
#practice-view .sheet-scroll{height:auto;max-height:72vh}
#practice-view .formula-bar{font-size:16px;padding:8px 10px}
#practice-view .formula-bar input{font-size:16px;padding:8px 10px}
#practice-view #lesson-title:focus{outline:none}

/* Overview: what you will learn + founder note */
.learn-includes{margin:22px 0 0;padding:18px 20px;border:1px solid var(--line,#e2e8f0);border-radius:12px;background:#fff}
.learn-includes h2{font-size:17px;margin:0 0 10px}
.learn-includes ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px 18px}
.learn-includes li{position:relative;padding-left:24px}.learn-includes li::before{content:'✓';position:absolute;left:0;color:#4c64d9;font-weight:700}
.learn-founder{margin:16px 0 0;color:#475569;font-size:15px;line-height:1.6}

/* Free preview unlock bar */
.learn-unlock{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:12px 0 4px;padding:12px 16px;border:1px solid #c7d2fe;background:#eef1fd;border-radius:12px}
.learn-unlock p{margin:0;font-size:14px;color:#1e293b;line-height:1.45}
.learn-unlock .button{white-space:nowrap}
@media(max-width:700px){.learn-unlock{flex-direction:column;align-items:flex-start}}

/* Correct answer: a clear green banner and a pulsing next button */
#feedback.success{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:10px;background:#e7f6ec;border:1px solid #9fd8b3;color:#14532d;font-weight:600;font-size:15px;animation:learn-pop .35s ease-out}
#feedback.success::before{content:"✓";display:inline-flex;align-items:center;justify-content:center;flex:none;width:26px;height:26px;border-radius:50%;background:#16a34a;color:#fff;font-size:15px}
#feedback.error{padding:10px 14px;border-radius:10px;background:#fdecec;border:1px solid #f5c2c2}
#next-button:not([hidden]){animation:learn-pulse 1.6s ease-out 2}
@keyframes learn-pop{0%{transform:scale(.94);opacity:0}100%{transform:scale(1);opacity:1}}
@keyframes learn-pulse{0%{box-shadow:0 0 0 0 #16a34a66}100%{box-shadow:0 0 0 12px #16a34a00}}
@media(prefers-reduced-motion:reduce){#feedback.success,#next-button:not([hidden]){animation:none}}

/* Learn Excel landing (overview) */
#overview-view.lx{max-width:1040px;margin:0 auto 64px;color:#0f172a}
main:has(#overview-view:not([hidden])) .learn-unlock{display:none}
#overview-view .lx-hero{text-align:center;padding:64px 16px 40px}
#overview-view h1{font-size:clamp(36px,5.4vw,62px);line-height:1.06;letter-spacing:-2px;font-weight:750;margin:0 0 20px}
#overview-view h1 span{color:#4c64d9}
#overview-view .lx-lead{font-size:19px;line-height:1.6;color:#475569;margin:0 auto 30px;max-width:580px}
#overview-view .lx-cta{display:flex;justify-content:center}
#overview-view .lx-big{min-height:56px;padding:14px 34px;font-size:17px;border-radius:12px;box-shadow:0 12px 28px -12px #4c64d9;transition:transform .15s,box-shadow .15s}
#overview-view .lx-big:hover{transform:translateY(-1px);box-shadow:0 16px 32px -12px #4c64d9}
#overview-view .lx-meta{margin:16px 0 0;font-size:14px;color:#64748b}
#overview-view .lx-next{margin:6px 0 0;font-size:13px;color:#94a3b8}
#overview-view .lx-next strong{color:#475569;font-weight:600}
#overview-view .lx-next span{display:none}
#overview-view .lx-demo{max-width:860px;margin:0 auto;background:#fff;border-radius:16px;border:1px solid #e2e8f0;box-shadow:0 40px 80px -40px #1e293b66,0 1px 3px #0f172a12;overflow:hidden}
#overview-view .lx-demo-bar{display:flex;justify-content:space-between;gap:12px;padding:12px 18px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:13px;color:#64748b}
#overview-view .lx-demo-task{color:#0f172a;font-weight:600}
#overview-view .lx-fx{display:flex;align-items:center;gap:12px;padding:11px 18px;border-bottom:1px solid #e2e8f0;font-size:14px}
#overview-view .lx-fx b{font-weight:600;color:#64748b;min-width:28px}#overview-view .lx-fx em{color:#94a3b8}
#overview-view .lx-fx code{font-size:14px;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#overview-view .lx-demo table{width:100%;border-collapse:collapse;font-size:14px;table-layout:fixed}
#overview-view .lx-demo th{background:#f8fafc;color:#94a3b8;font-weight:500;font-size:11px;padding:6px 8px;border:1px solid #eef2f6;width:auto}
#overview-view .lx-demo thead th:first-child,#overview-view .lx-demo tbody th{width:36px}
#overview-view .lx-demo td{padding:10px 12px;border:1px solid #eef2f6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#overview-view .lx-demo td.h{font-weight:600}
#overview-view .lx-hit{background:#f1f4ff}
#overview-view .lx-sel{outline:2px solid #4c64d9;outline-offset:-2px;background:#eef1ff;font-weight:700}
#overview-view .lx-result{padding:14px 18px;border-top:1px solid #e2e8f0;font-size:14px;color:#334155;background:#fbfcff}
#overview-view .lx-result strong{color:#4c64d9}
#overview-view section>h2{font-size:clamp(24px,3vw,32px);letter-spacing:-.8px;margin:0 0 24px;text-align:center}
#overview-view .lx-how,#overview-view .lx-tracks,#overview-view .lx-faq{margin-top:88px}
#overview-view .lx-how ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
#overview-view .lx-how li{text-align:center;padding:0 8px}
#overview-view .lx-how b{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#eef1ff;color:#4c64d9;font-weight:750}
#overview-view .lx-how h3{font-size:18px;margin:14px 0 6px}
#overview-view .lx-how p{font-size:15px;color:#64748b;margin:0}
#overview-view .lx-track-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
#overview-view .lx-track{display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;padding:28px;min-height:0;border-radius:18px;background:#fff;border:1px solid #e2e8f0;font:inherit;color:inherit;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}
#overview-view .lx-track:hover{border-color:#4c64d9;box-shadow:0 18px 40px -24px #4c64d9;transform:translateY(-2px)}
#overview-view .lx-track-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;background:#eef1ff;color:#4c64d9;font-size:19px;font-weight:700;font-style:italic;margin-bottom:6px}
#overview-view .lx-key{font-size:13px;font-style:normal;border-bottom:3px solid #c7cff7}
#overview-view .lx-track strong{font-size:21px;font-weight:700}
#overview-view .lx-track>span:not(.lx-track-icon){font-size:15px;color:#475569;line-height:1.55;font-weight:400}
#overview-view .lx-track small{font-size:13px;color:#94a3b8;font-weight:400}
#overview-view .lx-track em{font-style:normal;font-weight:600;color:#4c64d9;margin-top:8px}
#overview-view .lx-founder{display:flex;gap:22px;align-items:flex-start;max-width:760px;margin:88px auto 0;padding:0}
#overview-view .lx-founder h2{text-align:left;font-size:22px;margin:4px 0 8px}
#overview-view .lx-founder p{margin:0;font-size:16px;line-height:1.75;color:#475569}
#overview-view .lx-avatar{flex:none;display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:#4c64d9;color:#fff;font-size:22px;font-weight:700}
#overview-view .lx-faq{max-width:760px;margin-left:auto;margin-right:auto}
#overview-view .lx-faq details{border-bottom:1px solid #e2e8f0;padding:18px 4px}
#overview-view .lx-faq summary{cursor:pointer;font-weight:600;font-size:16px}
#overview-view .lx-faq p{margin:10px 0 0;color:#475569}
#overview-view .lx-final{margin-top:88px;padding:56px 24px;border-radius:24px;text-align:center;background:#0f172a;color:#fff}
#overview-view .lx-final h2{color:#fff;margin-bottom:24px}
#overview-view .lx-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;max-width:900px;margin:56px auto 0;text-align:center}
#overview-view .lx-benefits h2{font-size:19px;font-weight:600;letter-spacing:0;margin:12px 0 6px}
#overview-view .lx-benefits p{font-size:14px;line-height:1.6;color:#64748b;margin:0 auto;max-width:260px}
#overview-view .lx-ic{display:inline-block;width:32px;height:32px;-webkit-mask:var(--i) center/contain no-repeat;mask:var(--i) center/contain no-repeat;background:#4c64d9}
#overview-view .lx-ic-key{--i:url(icons/keyboard.svg)}
#overview-view .lx-ic-calc{--i:url(icons/calculator.svg)}
#overview-view .lx-ic-spark{--i:url(icons/sparkle.svg)}
#overview-view .lx-track-icon .lx-ic{width:26px;height:26px}
@media(max-width:760px){#overview-view .lx-benefits{grid-template-columns:1fr;gap:28px;margin-bottom:40px}}
@media(max-width:760px){#overview-view .lx-hero{padding:36px 0 28px}#overview-view .lx-lead{font-size:17px}#overview-view .lx-demo thead th:nth-child(5),#overview-view .lx-demo tbody td:nth-child(5),#overview-view .lx-demo-task{display:none}#overview-view .lx-demo td{padding:9px 8px;font-size:13px}#overview-view .lx-how ol,#overview-view .lx-track-grid{grid-template-columns:1fr}#overview-view .lx-how,#overview-view .lx-tracks,#overview-view .lx-faq,#overview-view .lx-founder,#overview-view .lx-final{margin-top:56px}#overview-view .lx-founder{flex-direction:column}}
@media(prefers-reduced-motion:reduce){#overview-view .lx-big,#overview-view .lx-track{transition:none}}

/* Landing: live "try it now" sheet */
#overview-view .lx-try{max-width:920px;margin:0 auto;padding:24px;border-radius:16px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 40px 80px -40px #1e293b55,0 1px 3px #0f172a12}
#overview-view .lx-try-head{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;letter-spacing:.4px;text-transform:uppercase;color:#4c64d9}
#overview-view .lx-try-step{color:#94a3b8}
#overview-view .lx-try-task{font-size:20px;line-height:1.45;margin:8px 0 16px;color:#0f172a}
#overview-view .lx-try-sheet{border:1px solid #dfe3ea;border-radius:8px;overflow:hidden}
#overview-view .lx-try .lx-fx{display:flex;align-items:center;gap:12px;padding:0 14px;border-bottom:1px solid #dfe3ea;background:#fff}
#overview-view .lx-try .lx-fx b{min-width:34px;font-size:13px;color:#64748b;font-weight:600;border-right:1px solid #dfe3ea;padding:12px 10px 12px 0}
#overview-view .lx-try .lx-fx em{color:#94a3b8}
#overview-view .lx-try-input{flex:1;min-width:0;border:0;padding:12px 4px;font:15px ui-monospace,Consolas,monospace;background:transparent;outline:none}
#overview-view .lx-try-scroll{overflow-x:auto}
#overview-view .lx-try-grid{width:100%;min-width:560px;border-collapse:collapse;font-size:15px;table-layout:fixed}
#overview-view .lx-try-grid th{background:#f6f7f9;color:#94a3b8;font-weight:500;font-size:12px;padding:6px;border:1px solid #e6e9ee}
#overview-view .lx-try-grid thead th:first-child,#overview-view .lx-try-grid tbody th{width:40px}
#overview-view .lx-try-grid td{height:44px;padding:0 12px;border:1px solid #e6e9ee;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:cell}
#overview-view .lx-try-grid td.h{font-weight:600}
#overview-view .lx-try-grid td:hover{background:#f6f8ff}
#overview-view .lx-try-grid td.is-selected{outline:2px solid #4c64d9;outline-offset:-2px;background:#eef1ff}
#overview-view .lx-try-result{margin:14px 0 0;padding:12px 14px;border-radius:10px;font-size:15px}
#overview-view .lx-try-result.is-good{background:#eef1ff;color:#1e2a6b}
#overview-view .lx-try-result.is-good strong{color:#4c64d9}
#overview-view .lx-try-result.is-bad{background:#f8fafc;color:#475569}
#overview-view .lx-try-result code{font-size:14px}
#overview-view .lx-try-next{margin-top:14px}
@media(max-width:760px){#overview-view .lx-try{padding:16px}#overview-view .lx-try-task{font-size:17px}}

/* One "How it works" row with icons (replaces the separate benefits row) */
#overview-view .lx-how li .lx-ic{width:34px;height:34px}
#overview-view .lx-how h3{margin-top:12px}

/* Practice: one quiet help row (key chip only when the task text does not already name it, one hint link) */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.task-card .skill-guide summary{display:none}
.task-card .skill-guide:not([open]){display:none}
.task-card .platform-row{display:inline-flex;margin:12px 12px 0 0;vertical-align:middle}
.task-card .platform-row[hidden],.task-card .shortcut-chip[hidden]{display:none}
.task-card .shortcut-chip{margin:0;font-family:inherit;font-size:13px;font-weight:600;color:#272a30;background:#fff;border:1px solid #d6dbe3;border-bottom-width:3px;border-radius:6px;padding:4px 10px}
.task-card #hint-button{margin-top:12px;vertical-align:middle;padding:4px 0}
.fallback{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-top:10px;padding:0;border:0;background:none}
.fallback p{margin:0;font-size:13px;color:#64748b}
.fallback .button{min-height:0;padding:4px 10px;font-size:13px;border:0;background:none;color:#4c64d9;text-decoration:underline}
.task-card .skill-guide[open]{background:var(--pale);padding:12px 12px 2px;margin:12px 0 0;border-radius:8px 8px 0 0}
.task-card .skill-guide[open] p{margin:0;font-size:14px;max-width:none}
.task-card .skill-guide[open]+.platform-row+.hint,.task-card .skill-guide[open]~.hint{margin-top:0;border-radius:0 0 8px 8px}
.task-card .skill-guide,.task-card .skill-guide[open]{display:none}

/* Hint lives with the answer buttons; its text opens just above them */
#hint-content.hint{margin:14px 0 0;padding:12px 16px;border-radius:10px;background:#f1f4ff;color:#1e2a6b;font-size:15px;line-height:1.5}
.answer-row{flex-wrap:wrap}
.answer-row #hint-content.hint{flex:1 0 100%;order:-1;margin:0}
details.skill-guide[hidden]{display:none!important}
#practice-view .answer-actions #hint-button{display:inline-flex;margin:0;font-size:14px;gap:12px}

/* One selection look, like Excel: no start-cell fill or goal-cell outline (the task text names them; the legend is hidden) */
#practice-view .grid-cell.start:not(.selected){background:transparent}
#practice-view .grid-cell.target:not(.selected){box-shadow:none}
#overview-view .lx-try-grid th,#overview-view .lx-try-grid td{vertical-align:middle;text-align:left}#overview-view .lx-try-grid th{text-align:center}
#practice-view .answer-actions #hint-button[hidden]{display:none}
body:has(#practice-view:not([hidden])) .site-map{display:none}
