/* Image-led touches on the existing composition, shared by Free and Premium. */
.learning-home.lh-restored .lh-greeting{position:relative;isolation:isolate;overflow:hidden;border:1px solid #d8dfcb;border-radius:20px;background:#faf2e2;padding:11px 17px 10px;margin:0 0 13px;min-height:108px}
.lh-restored .editorial-welcome-scene{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;border-radius:inherit}
.lh-restored .editorial-welcome-scene img{width:100%;height:100%;object-fit:cover;object-position:center 66%;opacity:.72;mask-image:linear-gradient(90deg,transparent 27%,#000 100%);-webkit-mask-image:linear-gradient(90deg,transparent 27%,#000 100%)}
.learning-home.lh-restored .lh-greeting>p{color:#385b49!important;font-size:11px!important;letter-spacing:.06em;max-width:90%}
.learning-home.lh-restored .lh-greeting>h2{font-size:27px!important;margin:4px 0 5px!important;max-width:78%;text-shadow:0 1px #fff8eb99}
.learning-home.lh-restored .lh-greeting>small{display:block;font-size:16px!important;line-height:1.45!important;color:#244f3e!important;max-width:78%;font-weight:550}
.learning-home.lh-restored .lh-greeting>small span{display:block;width:fit-content;margin:3px 0 0;padding:1px 4px;border-radius:4px;background:#fff8ebdf;font-size:12px!important;color:#405a48!important;font-weight:400}
.learning-home.lh-restored .lh-lesson{background:#e5eee3!important;border-color:#bccfbd!important;box-shadow:0 2px 10px #193f3603}
.learning-home.lh-restored .lh-lesson .lh-primary{background:#193f36!important;color:#fff8eb!important;border-radius:13px}
.learning-home.lh-restored nav.lh-shortcuts>button{background:#f2f3e9;border-color:#e0e3d2;box-shadow:none}
.learning-home.lh-restored nav.lh-shortcuts{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;gap:8px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:1px;scrollbar-width:thin;scrollbar-color:#b6c5ac transparent;padding:2px 1px 11px;-webkit-overflow-scrolling:touch}
.learning-home.lh-restored nav.lh-shortcuts>button{flex:0 0 clamp(88px,26vw,108px);min-height:128px;scroll-snap-align:start}
.learning-home.lh-restored nav.lh-shortcuts:focus-visible{outline:2px solid #b59653;outline-offset:3px;border-radius:16px}
.learning-home.lh-restored nav.lh-shortcuts::-webkit-scrollbar{height:4px}
.learning-home.lh-restored nav.lh-shortcuts::-webkit-scrollbar-thumb{background:#b6c5ac;border-radius:4px}
.learning-home.lh-restored .lh-shortcut-icon svg{color:#3b6652;filter:none}
.learning-home.lh-restored .lh-theme-carousel{gap:10px;padding-bottom:12px}
.learning-home.lh-restored .lh-theme-carousel>button{flex:0 0 137px;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0!important;border-radius:16px!important;overflow:hidden;background:#fffbf3!important;min-height:139px;text-align:left;scroll-snap-align:start}
.lh-restored .lh-theme-visual{display:flex;justify-content:center;align-items:center;flex:none;height:76px;width:100%;overflow:hidden;background:#e9eedf}
.lh-restored .lh-theme-visual .editorial-thumbnail{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.lh-restored .lh-theme-visual>svg{width:29px;height:29px}
.learning-home.lh-restored .lh-theme-carousel>button>span:last-child{display:block;padding:10px 11px 12px}
.learning-home.lh-restored .lh-theme-carousel strong{font-size:12px!important;line-height:1.3}
.learning-home.lh-restored .lh-theme-carousel small{font-size:10px!important;line-height:1.4;margin-top:4px}
.learning-home.lh-restored .lh-recommendation{background:#fffaf0;border-color:#e3ddca}
.learning-home.lh-restored .lh-expression{background:#f3f2e4;border-color:#e2dec7;border-left-color:#a5b894}
.learning-home.lh-restored .lh-practice>button{background:#f6edda;border-color:#e6dbc2}
@media(max-width:360px){.learning-home.lh-restored .lh-greeting{padding:10px 14px;min-height:106px}.learning-home.lh-restored .lh-greeting>h2{font-size:25px!important;max-width:85%}.learning-home.lh-restored .lh-greeting>small{max-width:77%}.learning-home.lh-restored .lh-theme-carousel>button{flex-basis:132px}}
@media(prefers-reduced-motion:reduce){.editorial-welcome-scene{animation:none!important}}
:root[data-theme=dark] .learning-home.lh-restored .lh-greeting{background:#263d30;border-color:#4d5d43}
:root[data-theme=dark] .lh-restored .editorial-welcome-scene img{opacity:.18}
:root[data-theme=dark] .learning-home.lh-restored .lh-greeting :is(p,h2,small,small span){color:#e3e9d8!important;text-shadow:none}
:root[data-theme=dark] .learning-home.lh-restored .lh-greeting>small span{background:#263d30df}
:root[data-theme=dark] .learning-home.lh-restored .lh-theme-visual{background:#344c39}
/* A clearer paper/sage hierarchy, shared by discovery and Premium. */
.learning-home.lh-restored .lh-metrics button{background:#fffefb!important;border:1px solid #ccd8ca!important}
.learning-home.lh-restored .lh-metrics button:nth-child(2){background:#e5eee3!important;border-color:#bccfbd!important}
.learning-home.lh-restored .lh-week{background:#fffefb;border-color:#ccd8ca}
.learning-home.lh-restored nav.lh-shortcuts>button:nth-child(n){background:#fffefb;border-color:#ccd8ca}
.learning-home.lh-restored .lh-shortcut-icon{background:#e5eee3;border-radius:50%}
.learning-home.lh-restored .lh-recommendation{background:#fffefb;border-color:#ccd8ca}
:root[data-theme=dark] .learning-home.lh-restored :is(.lh-lesson,.lh-week,.lh-metrics button,.lh-metrics button:nth-child(2),nav.lh-shortcuts>button:nth-child(n),.lh-recommendation){background:#294438!important;border-color:#587160!important}
:root[data-theme=dark] .learning-home.lh-restored .lh-shortcut-icon{background:#385443}
:root[data-theme=dark] .learning-home.lh-restored :is(.lh-week,.lh-shortcuts) :is(strong,small,h3,p,button){color:#e3e9d8!important}
