/* The same calm learning surfaces for both access levels. */
:root{--lh-ink:#193f36;--lh-muted:#596c61;--lh-paper:#fffdf8;--lh-sage:#edf3eb;--lh-line:#dbe2d7}
:is(.learning-home,.lh-finish,.lh-dialog){color:var(--lh-ink);font-family:system-ui,sans-serif;line-height:1.5;box-sizing:border-box}
:is(.learning-home,.lh-finish,.lh-dialog) *{box-sizing:border-box;min-width:0}
body:is(.ux-modern,.free-home-modern) :is(.learning-home,.lh-finish,.lh-dialog) :is(p,small,button,span,strong,select,dt,dd){font-family:system-ui,sans-serif!important}
.learning-home{max-width:640px;margin-inline:auto;overflow-wrap:anywhere}
.learning-home .lh-speaking{display:flex;align-items:center;gap:12px;padding:14px 16px;margin:0 0 18px;border:1px solid #bdcfbf;border-radius:18px;background:var(--lh-paper)}
.lh-speaking-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:var(--lh-sage);color:var(--lh-ink)}
.lh-speaking-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6}
.lh-speaking>div{flex:1;min-width:0}
.learning-home .lh-speaking h3{font-size:21px!important;margin:0 0 3px!important}
.learning-home .lh-speaking p{font-size:13px;margin:0;line-height:1.45}
.learning-home .lh-speaking-start{flex:none;background:var(--lh-ink);color:var(--lh-paper);font-weight:650;padding:10px 12px;min-height:44px}
@media(max-width:360px){.learning-home .lh-speaking{flex-wrap:wrap}.learning-home .lh-speaking-start{margin-left:52px;max-width:calc(100% - 52px)}}
.learning-home :is(h2,h3),.lh-dialog h2,.lh-finish h2{font-family:Georgia,serif!important;letter-spacing:-.025em;color:var(--lh-ink)!important}
.learning-home h2{font-size:32px!important;line-height:1.14;margin:7px 0 10px!important}
.learning-home h3{font-size:23px!important;line-height:1.23;margin:10px 0!important}
.learning-home p{font-size:15px;line-height:1.55;margin:10px 0;color:var(--lh-muted)}
.learning-home small,.lh-muted{font-size:13px!important;line-height:1.5;color:var(--lh-muted)!important}
.learning-home :is(button,select),.lh-dialog :is(button,select){font:inherit;cursor:pointer;min-height:44px;border:1px solid var(--lh-line);border-radius:13px;background:var(--lh-paper);color:var(--lh-ink);padding:10px 14px;white-space:normal!important;text-align:center}
.learning-home button:focus-visible,.lh-dialog :focus-visible{outline:3px solid #b58b39;outline-offset:3px}
.lh-greeting{padding:8px 0 17px}.lh-greeting>p{font-size:13px;font-weight:600;color:var(--lh-ink);margin:0}.lh-greeting>small{display:block}.lh-greeting>small span{display:block;font-size:12px;margin-top:3px}
.lh-islands{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px}.learning-home .lh-islands button{display:flex;flex:1 1 80px;align-items:center;justify-content:center;gap:5px;min-width:min-content;overflow-wrap:normal;border:0;background:#f3efdf;font-size:12px;padding:9px 4px;border-radius:24px;font-weight:650}.learning-home .lh-islands .isle-flag{display:inline-block;flex:none;font-size:14px;line-height:1;letter-spacing:0;white-space:nowrap}.learning-home .lh-islands [aria-pressed=true]{background:var(--lh-ink);color:#fff8eb}
@media(max-width:360px){.learning-home.lh-restored .lh-islands button{font-size:11px!important;padding:8px 2px;gap:3px}.learning-home .lh-islands .isle-flag{font-size:13px}.ux-modern header .island-bar .isle-btn{font-size:11px}.ux-modern header .island-bar .isle-btn .isle-flag{font-size:13px}}
.lh-mission,.lh-expression,.lh-upgrade{padding:22px;border:1px solid var(--lh-line);border-radius:22px;background:var(--lh-paper);margin:0 0 20px;box-shadow:none}.lh-mission{background:var(--lh-sage)}
.lh-kicker{font-size:11px!important;font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:var(--lh-muted)}
.lh-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.lh-mission>.lh-row{font-size:12px;color:var(--lh-muted);margin:16px 0 6px}.learning-home progress{display:block;width:100%;height:6px;border:0;border-radius:6px;overflow:hidden;accent-color:#47705d;background:#dce5db}.learning-home progress::-webkit-progress-bar{background:#dce5db}.learning-home progress::-webkit-progress-value{background:#47705d;border-radius:6px}
.learning-home .lh-primary,.lh-dialog .lh-primary{display:block;width:100%;background:#193f36!important;color:#fff8eb!important;border:0!important;min-height:48px;font:650 16px/1.4 system-ui,sans-serif!important;margin-top:18px}.lh-primary span{float:right}
.lh-week{margin:24px 0}.lh-week h3{font:650 15px/1.4 system-ui,sans-serif!important;margin:0!important;letter-spacing:0}.learning-home .lh-week button{border:0;background:transparent;padding:8px 0;font-size:12px;text-decoration:underline;text-underline-offset:4px}.lh-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:10px 0}.lh-days>span{text-align:center}.lh-days small{display:block;font-size:11px!important}.lh-days b{display:grid;place-items:center;border:1px solid var(--lh-line);border-radius:50%;width:29px;height:29px;margin:6px auto;color:#7f9382;font-size:17px}.lh-days .is-done b{background:#193f36;color:#fff8eb;border-color:#193f36}.lh-week p{font-size:12px;margin:13px 0 8px}
.lh-practice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.learning-home .lh-practice>button{display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;background:var(--lh-paper);padding:16px;border-radius:18px}.lh-practice svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.6}.lh-practice strong{font-size:15px;line-height:1.35}.lh-practice small{font-size:12px!important}.lh-practice button>span{margin-top:auto;font-size:18px}
.learning-home .lh-expression .lh-row>button{border:0;background:transparent;font-size:26px;width:44px;padding:0;color:#967024}.lh-expression h3{font-size:26px!important}.lh-example{margin:18px 0;padding:14px;border-left:2px solid #9bb59c;background:var(--lh-sage);border-radius:0 12px 12px 0}.lh-example p{margin:3px 0}.lh-example small{text-transform:uppercase;letter-spacing:.05em;font-size:10px!important}.lh-status:empty{display:none}.lh-premium-label{font-size:11px;letter-spacing:.06em;color:#80621f;font-weight:650}.lh-upgrade{background:#f6f1e4;padding:18px}.lh-upgrade h3{font-size:21px!important}.lh-upgrade p{font-size:13px}
.lh-dialog{width:min(92vw,440px);max-height:85dvh;overflow:auto;border:1px solid var(--lh-line);border-radius:24px;background:var(--lh-paper);padding:26px}.lh-dialog::backdrop{background:#193f3670}.lh-dialog h2{font-size:27px;line-height:1.2}.lh-dialog p,.lh-dialog li{font-size:15px;color:var(--lh-muted)}.lh-dialog ul{padding-left:20px}.lh-dialog button{display:block;width:100%;margin-top:12px}.lh-dialog label{display:block;font-size:14px}.lh-dialog select{display:block;width:100%;margin:8px 0;font-size:16px}
.lh-finish{border:1px solid var(--lh-line);border-radius:24px;background:var(--lh-paper);padding:24px;text-align:center}.lh-finish h2{font-size:29px!important;margin:12px 0}.lh-success{display:grid;place-items:center;width:50px;height:50px;background:#f3e6c1;border-radius:50%;color:#775d23;font-size:26px;margin:0 auto 18px}.lh-finish .lh-kicker{display:block}.lh-result{background:var(--lh-sage);border-radius:16px;padding:15px;margin:20px 0}.lh-result strong,.lh-result span{display:block}.lh-result strong{font-size:30px}.lh-result span{font-size:13px}.lh-finish>p{font-size:15px}.lh-finish details{text-align:left;margin:18px 0}.lh-finish summary{cursor:pointer;min-height:44px;padding:10px 0}.lh-finish dl>div{border-top:1px solid var(--lh-line);padding:9px 0}.lh-finish dt{font-weight:650}.lh-finish dd{margin:4px 0;color:var(--lh-muted)}.lh-next{margin-top:18px;padding-top:15px;border-top:1px solid var(--lh-line)}.lh-next strong,.lh-next small{display:block}.lh-next small{color:var(--lh-muted);font-size:12px}.lh-next strong{font-size:15px;margin-top:6px}
#qoGrid:has(.lh-finish){display:flex;flex-direction:column}#qoGrid>.lh-finish{width:100%}#quiz:has(.lh-finish) :is(#qt,#qw,.quiz-scores){display:none}#qoGrid:has(.lh-finish)>button{min-height:48px;font-size:16px}#qoGrid:has(.lh-finish)>button:not(:first-of-type){background:transparent;color:var(--lh-ink);border:1px solid var(--lh-line)}
.learning-home-active header .island-bar,.learning-home-active .isle-wrap,.learning-home-active #welcomeCard,.learning-home-active .ux-global-search{display:none!important}
body.free-home-modern>header,body.ux-modern>header{padding-top:max(14px,env(safe-area-inset-top))!important}
body:is(.free-home-modern,.ux-modern)>main{padding-bottom:calc(115px + env(safe-area-inset-bottom))!important}
body:is(.free-home-modern,.ux-modern) :is(.free-bottom-nav,#pkNav){bottom:max(10px,env(safe-area-inset-bottom))!important;min-height:64px!important;padding:6px 8px!important;border-radius:24px!important}
body:is(.free-home-modern,.ux-modern) :is(.free-bottom-nav,#pkNav) button{min-height:48px!important;padding:5px 2px!important}
body:is(.free-home-modern,.ux-modern) :is(.ux-library-picture,.discovery-picture,.activity-art){filter:none}
body.ux-modern #uxLearn>.ux-guided-overview{padding:20px;background:var(--lh-sage);border:1px solid var(--lh-line);border-radius:20px;margin:18px 0}.ux-guided-overview h3{font-family:Georgia,serif;font-size:24px}.ux-guided-overview progress{width:100%;accent-color:#47705d}.ux-guided-overview button{margin-top:12px}
@media(max-width:360px){.lh-mission,.lh-expression{padding:18px}.learning-home h2{font-size:28px!important}.lh-practice{gap:8px}.learning-home .lh-practice>button{padding:13px}.lh-days{gap:4px}.lh-week>.lh-row{align-items:start}.lh-islands{gap:4px}}
@media(prefers-reduced-motion:no-preference){.lh-success{animation:lh-arrive .25s ease-out}.learning-home button{transition:transform .12s ease}.learning-home button:active{transform:scale(.985)}@keyframes lh-arrive{from{transform:scale(.9);opacity:.4}to{transform:scale(1);opacity:1}}}
@media(prefers-reduced-motion:reduce){:is(.learning-home,.lh-finish,.pkl-fb,.qo) *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
:root[data-theme=dark]{--lh-ink:#f1f4e9;--lh-muted:#c5d3c8;--lh-paper:#243b31;--lh-sage:#2a4537;--lh-line:#48604d}
:root[data-theme=dark] .lh-islands button,:root[data-theme=dark] .lh-upgrade{background:#354737}.lh-dialog form{margin:0}
.learning-home .lh-islands button[aria-pressed=true]{background:#193f36!important;color:#fff8eb!important;-webkit-text-fill-color:#fff8eb}
.learning-home-active .pk-back-navigation{display:none!important}
.learning-home-active .pk-global-search{display:none!important}
#quiz .lock-card{display:none}
#quiz:has(.lh-finish) :is(.qs-bar,#quizBox){display:none}
.learning-home-active main{padding-top:12px!important}
.learning-home .lh-mission{padding:20px}
.learning-home .lh-mission>.lh-row{margin-top:12px}
.learning-home .lh-mission .lh-primary{margin-top:14px}
.lh-practice>button>svg{width:25px!important;height:25px!important}
/* Shared library and practice cards: one calm surface, no competing gradients. */
body.ux-modern .ux-page h2,.free-catalogue h2,#freeJourney>h2{font-family:Georgia,serif!important;color:var(--lh-ink);letter-spacing:-.025em}
body.ux-modern :is(.ux-action-list,.ux-category-grid)>button,
body.free-home-modern :is(#freeExplorer,#freePractice,#freeProfile) .catalogue-grid>button{background:var(--lh-paper)!important;border:1px solid var(--lh-line)!important;box-shadow:none!important;color:var(--lh-ink)!important;min-height:112px;gap:8px}
body.ux-modern #uxPractice .ux-action-list>button{background:var(--lh-paper)!important;border:1px solid var(--lh-line)!important;min-height:132px}
body:is(.ux-modern,.free-home-modern) :is(.ux-profile-intro,.discovery-level,.discovery-theme){background:var(--lh-sage)!important;box-shadow:none!important}
body:is(.ux-modern,.free-home-modern) :is(.ux-library-picture,.discovery-picture){width:32px!important;height:32px!important;background:transparent!important}
body:is(.ux-modern,.free-home-modern) .activity-art{width:30px!important;height:30px!important}
.lh-saved-list article{padding:18px;margin:12px 0;border:1px solid var(--lh-line);border-radius:18px;background:var(--lh-paper)}
.lh-saved-list h3{font:700 23px Georgia,serif;color:var(--lh-ink)}.lh-saved-list p{color:var(--lh-muted);line-height:1.5}
@media(prefers-reduced-motion:reduce){body:is(.free-home-modern,.ux-modern) *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Mission, path and celebration share a restrained visual hierarchy. */
.lh-symbol{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}
body.learning-home-active>header{padding-bottom:4px!important;border-bottom:0!important}
body.learning-home-active>header .hc{min-height:52px!important;padding-bottom:4px!important}
.learning-home .lh-mission{background:#193f36;border-color:#193f36;border-radius:20px;padding:20px 22px;color:#fff8eb}
.lh-mission-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.lh-mission-heading>div{min-width:0}
.learning-home .lh-mission h3{color:#fff8eb!important;font-size:27px!important;margin:6px 0 0!important;line-height:1.17}
.learning-home .lh-mission p,.learning-home .lh-mission>.lh-row{color:#e1e9df!important}
.learning-home .lh-mission .lh-kicker{color:#ecd6a0!important;letter-spacing:.07em;font-size:10px!important}
.lh-mission-seal{display:grid;place-items:center;width:42px;height:42px;border:1px solid #8da89b;border-radius:50%;color:#e1e9df;flex:none}
.learning-home .lh-mission p{font-size:14px;margin:13px 0}
.learning-home .lh-mission .lh-primary{background:#fff4d9!important;color:#193f36!important;-webkit-text-fill-color:#193f36;max-width:220px;text-align:left;padding-inline:16px;border-radius:12px}
.learning-home .lh-mission progress,.learning-home .lh-mission progress::-webkit-progress-bar{background:#49685c}
.learning-home .lh-mission progress::-webkit-progress-value{background:#e7c67c}
.learning-home .lh-mission progress::-moz-progress-bar{background:#e7c67c}
.learning-home .lh-week{margin:22px 0}
.lh-days b{width:30px;height:30px;margin:5px auto 7px;font-weight:500}
.learning-home .lh-practice>button{background:var(--lh-sage);border-color:transparent;border-radius:16px;padding:16px;gap:7px}
.learning-home .lh-practice>button>span{align-self:flex-end;line-height:1;margin-top:-19px}
.learning-home .lh-practice strong{padding-right:8px}
.learning-home .lh-practice small{padding-right:14px}
.learning-home .lh-expression{padding:18px 0 4px;border:0;border-top:1px solid var(--lh-line);border-radius:0;background:transparent}
.learning-home .lh-expression h3{font-size:25px!important;margin-top:8px!important}
.learning-home .lh-expression .lh-example{padding:12px 14px;margin:14px 0;background:var(--lh-sage)}
.learning-home .lh-expression [data-routine=audio]{min-height:44px;font-size:14px;padding:8px 16px;border-color:#a8bbaa;background:transparent}
.learning-home .lh-upgrade{background:#f6edda;border:1px solid #e9dcc0;padding:0;border-radius:17px;margin-top:24px}
.learning-home .lh-upgrade>button{display:flex;align-items:center;gap:13px;width:100%;border:0;background:transparent;padding:17px;text-align:left;border-radius:17px}
.lh-upgrade>button>span:nth-child(2){flex:1;min-width:0}
.lh-upgrade strong,.lh-upgrade small{display:block}
.lh-upgrade strong{font-size:16px;margin:3px 0;color:var(--lh-ink)}
.lh-upgrade small{font-size:12px!important}
.lh-upgrade .lh-premium-label{font-size:10px!important;color:#795d24!important}
.lh-upgrade-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#ecdcaf;color:#70551e;flex:none}
.lh-upgrade-icon svg{width:21px;height:21px}
.lh-finish{padding:26px 20px;border:0;background:transparent;border-radius:0}
.lh-finish h2{font-size:29px!important;line-height:1.15}
.lh-success{width:62px;height:62px;background:#b79543;color:#fffdf4;font-size:32px;outline:1px solid #d6c18f;outline-offset:7px;margin:14px auto 25px}
.lh-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}
.lh-result-grid>.lh-result:only-child{grid-column:1 / -1}
.lh-result-grid .lh-result{margin:0;padding:18px 9px;border:1px solid var(--lh-line);background:var(--lh-sage);border-radius:16px}
.lh-result .lh-symbol{display:block;margin:0 auto 9px;color:var(--lh-ink)}
.lh-result strong{font-family:Georgia,serif;font-size:29px;line-height:1.2;margin-bottom:6px}
.lh-result span{font-size:12px;line-height:1.4;color:var(--lh-muted)}
.lh-finish-week{border-block:1px solid var(--lh-line);padding:16px 0 10px;margin:20px 0;text-align:left}
.lh-finish-week .lh-row{align-items:baseline;flex-wrap:wrap;gap:5px}
.lh-finish-week h3{font:650 14px/1.4 system-ui,sans-serif;margin:0;color:var(--lh-ink)}
.lh-finish-week .lh-row>span{font-size:12px;color:var(--lh-muted)}
.lh-finish-week .lh-days{gap:4px;margin:10px 0 0}
.lh-finish-week .lh-days b{width:28px;height:28px}
.lh-finish summary{font-size:14px;color:var(--lh-ink);text-underline-offset:3px}
.lh-next{display:flex;align-items:center;gap:13px;text-align:left;padding:16px;margin-top:20px;background:var(--lh-sage);border:0;border-radius:15px}
.lh-next>.lh-symbol{color:#587c66}
.lh-next strong{font-size:14px;margin-top:3px}
.lh-next small{font-size:11px}
body.free-home-modern #freeJourney .free-journey-step{background:var(--lh-paper)!important;border:1px solid var(--lh-line)!important;box-shadow:none;border-radius:16px;padding:15px 13px;align-items:start;gap:12px}
body.free-home-modern #freeJourney .free-journey-step[aria-current=step]{background:var(--lh-sage)!important}
body.free-home-modern #freeJourney .free-step-number{display:grid;place-items:center;width:30px;height:30px;background:#e6ece2;border-radius:50%;font:600 14px system-ui;color:#193f36;flex:none}
body.free-home-modern #freeJourney [aria-current=step] .free-step-number{background:#193f36;color:#fff8eb}
body.free-home-modern #freeJourney .free-journey-step strong{font-family:Georgia,serif;font-size:19px}
body.free-home-modern #freeJourney .free-journey-step>span:last-child{align-self:center;background:transparent}
body.free-home-modern #freeJourney .discovery-step-detail{margin:4px 0 7px}
body.free-home-modern #freeJourney .discovery-level{background:var(--lh-paper)!important;border:1px solid var(--lh-line)!important;box-shadow:none;padding:13px;border-radius:16px}
body.ux-modern #uxLearn>.ux-guided-overview{padding:18px;border-radius:16px;box-shadow:none}
body.ux-modern #uxLearn .ux-level-links{display:grid;gap:10px}
body.ux-modern #uxLearn .ux-level-links>button{display:grid;grid-template-columns:30px minmax(0,1fr) 16px;gap:12px;align-items:center;text-align:left;padding:16px 13px;border-radius:16px;border:1px solid var(--lh-line);background:var(--lh-paper);box-shadow:none}
.lh-level-number{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--lh-sage);font-size:13px;color:var(--lh-ink)}
body.ux-modern #uxLearn .ux-level-links strong{font-family:Georgia,serif;font-size:19px;line-height:1.25}
body.ux-modern #uxLearn .ux-level-links small{display:block;font-size:12px;line-height:1.5;margin-top:5px;color:var(--lh-muted)}
body.ux-modern #uxLearn .ux-level-links .lh-level-progress{font-size:11px;margin-top:7px;color:var(--lh-muted)}
@media(max-width:360px){.learning-home .lh-mission{padding:18px}.learning-home .lh-mission h3{font-size:25px!important}.lh-mission-seal{width:36px;height:36px}.lh-finish{padding:20px 6px}.lh-result-grid{gap:9px}}
:root[data-theme=dark] .learning-home .lh-upgrade{background:#354737;border-color:var(--lh-line)}
:root[data-theme=dark] .learning-home .lh-upgrade .lh-premium-label{color:#e7c67c!important}

/* Guadeloupe availability note, shared by discovery and Premium home. */
.learning-home .lh-island-notice{display:grid;gap:4px;padding:13px 16px;margin:12px 0 16px;border:1px solid var(--lh-line,#d9e1d4);border-left:3px solid #8faf95;border-radius:14px;background:var(--lh-paper,#fffef9);color:var(--night,#193f36);font-size:14px;line-height:1.5}
.learning-home .lh-island-notice strong{font-size:14px;font-weight:650}.learning-home .lh-island-notice span{color:var(--muted,#55645a)}
:root[data-theme=dark] .learning-home .lh-island-notice{background:#243d32;color:#e6ede5;border-color:#536b58}:root[data-theme=dark] .learning-home .lh-island-notice span{color:#c2cec1}
