/* Bright illustrated home, isolated from the approved lesson theme. */
.shell[data-hub="true"]{background:#fffaf0;color:#223d3a}
.shell[data-hub="true"] aside{background:none;flex:0 0 82px;height:82px;padding:16px 20px 4px}
.shell[data-hub="true"] .brand{box-shadow:none;border:0;background:none;padding:0;font-size:17px}
.shell[data-hub="true"] main{background:none;padding:0 20px 8px;position:static}
.shell[data-hub="true"] main:before{display:none}
.shell[data-hub="true"] header{position:absolute;top:27px;right:20px;border:0;padding:0}
.shell[data-hub="true"] header>div{display:none}
.shell[data-hub="true"] #language{max-width:100px;background:#fff;border-radius:12px;font-size:10px}
.shell[data-hub="true"] #steps{display:none}
.shell[data-hub="true"] #screen{gap:12px}
.home-intro{flex:0 0 auto}.home-kicker{font-size:8px;font-weight:800;letter-spacing:1.1px;color:#62817a}
#screen>.home-intro h2{font-size:30px;line-height:1.08;letter-spacing:-1px;margin:8px 0 7px;font-weight:800}.home-intro em{font-style:normal;color:#078b80}
.home-intro p{font-size:12px;color:#718178;margin:0;line-height:1.4}
.featured-lesson{border-radius:22px;overflow:hidden;background:#fff;border:1px solid #e6e9dd;box-shadow:0 5px 0 #dce8da;flex:1!important;min-height:210px;display:flex;flex-direction:column}
.feature-art{position:relative;min-height:80px;flex:1;overflow:hidden;background:#9bddd9}
.feature-art img{width:100%;height:100%;position:absolute;object-fit:cover;object-position:center 48%}
.free-tag{position:absolute;left:12px;top:12px;border-radius:8px;padding:6px 9px;background:#fff8b9;color:#65521c;font-size:9px;font-weight:800;letter-spacing:.5px;box-shadow:0 2px 8px #3b79521a}
.feature-info{padding:12px 14px 14px;flex-shrink:0}.feature-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.feature-heading h3{font-size:20px;margin:0}.feature-heading>span{font-size:10px;color:#75877b;font-weight:700}.feature-info p{font-size:10px;color:#6a7b74;margin:5px 0 10px}.feature-info .btn{background:#067f74;box-shadow:0 3px 0 #035f57;border-radius:12px;min-height:44px;padding:10px;font-size:12px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.section-heading h3{margin:0;font-size:15px}.section-heading .text-button{font-size:10px;padding:0;text-decoration:none;font-weight:700}
.future-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;flex:0 0 125px!important;min-height:0}.future-grid article{border-radius:16px;background:#ffe3ab;overflow:hidden;display:flex;flex-direction:column}.future-grid article+article{background:#ffd8cf}.future-grid img{height:0;flex:1;min-height:0;width:100%;object-fit:cover;object-position:center 48%}.future-grid article>div{padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:4px}.future-grid b{font-size:12px}.future-grid span{font-size:8px;font-weight:700;color:#6b5b48}
.voice-strip{display:flex;align-items:center;gap:10px;background:#e5e3fc;border-radius:16px;padding:10px 12px;min-height:56px}.voice-symbol{font-size:25px;color:#7762c7}.voice-strip>div{flex:1}.voice-strip b,.voice-strip span:not(.voice-symbol){display:block}.voice-strip b{font-size:11px}.voice-strip div span{font-size:9px;margin-top:4px;color:#6e6b85}.voice-strip .play{background:#7762c7}
#hubNav{flex:0 0 65px;display:flex;align-items:center;justify-content:space-around;border-top:1px solid #e9e8dc;background:#fffdf6;padding:5px 5px max(7px,env(safe-area-inset-bottom))}#hubNav[hidden]{display:none}#hubNav button{background:none;border:0;color:#89928a;display:flex;align-items:center;flex-direction:column;gap:3px;font-size:9px;min-height:46px;min-width:66px}#hubNav button>span{font-size:25px;line-height:28px}#hubNav button[aria-current]{color:#087e73;font-weight:750}#hubNav button[aria-current]>span{background:#d8eee0;border-radius:12px;padding:0 15px}
.hub-note{font-size:11px;color:#758279;line-height:1.5;margin:0}.saved-card,.profile-card{background:#fff;border:1px solid #e7e9df;border-radius:20px;padding:20px}.saved-card .russian{margin-top:15px}.saved-card p,.profile-card p,.empty-state p{font-size:13px;color:#758279;line-height:1.6;margin:10px 0}.empty-state{text-align:center;background:#fff;border-radius:22px;overflow:hidden;padding:0 18px 18px}.empty-state img{width:calc(100% + 36px);margin:0 -18px 18px;height:180px;object-fit:cover}.profile-card{text-align:center}.profile-avatar{display:grid;place-items:center;background:#ffe7a0;border-radius:22px;width:65px;height:65px;margin:0 auto 15px;font-size:40px;color:#b87325}.profile-stats{display:flex;gap:20px;justify-content:center;border-top:1px solid #eee;padding-top:15px}.profile-stats b{display:block;color:#087e73;font-size:25px}.profile-stats span{font-size:11px;color:#758279}
@media(max-height:740px){.shell[data-hub="true"] aside{height:66px;flex-basis:66px;padding-top:12px}.shell[data-hub="true"] header{top:19px}.shell[data-hub="true"] #screen{gap:8px}#screen>.home-intro h2{font-size:26px;margin-top:4px}.home-kicker{font-size:7px}.featured-lesson{min-height:190px}.feature-info{padding:9px 12px 11px}.feature-heading h3{font-size:18px}.future-grid{flex-basis:100px!important}.voice-strip{min-height:46px;padding:6px 10px}#hubNav{flex-basis:56px}.empty-state img{height:120px}.saved-card,.profile-card{padding:14px}.profile-avatar{width:45px;height:45px;font-size:30px;margin-bottom:10px}}

@media(max-height:740px){.feature-art img{object-position:center 20%}}
.catalog-art{width:100%;height:130px;object-fit:cover;object-position:center 30%;border-radius:18px}.chapter-list{display:grid;gap:10px}.chapter-list button{display:flex;align-items:center;gap:12px;background:white;border:1px solid #dce5d6;border-radius:16px;text-align:left;padding:14px;color:#214f42;width:100%;min-height:74px}.chapter-list button>span:nth-child(2){flex:1}.chapter-list b{display:block;font-size:14px}.chapter-list small{display:block;margin-top:6px;font-size:11px;color:#738078}.chapter-number{font-size:21px;font-weight:750;background:#ddf0e4;padding:8px;border-radius:10px}@media(max-height:740px){.catalog-art{height:85px}.chapter-list{gap:7px}.chapter-list button{padding:10px;min-height:65px}.chapter-list b{font-size:12px}}
/* Soft, colourful backdrop for the home screen only. */
.shell[data-hub="true"][data-stage="home"]{background-color:#fff9e9;background-image:radial-gradient(ellipse at 105% 5%,#8bdaca88 0%,#bce9da44 24%,transparent 47%),radial-gradient(ellipse at -12% 45%,#ffcf6480 0%,#ffdf9533 29%,transparent 51%),radial-gradient(ellipse at 110% 94%,#ffbcb15c 0%,transparent 43%)}
.shell[data-stage="home"] .future-grid article:first-child img{object-position:center 38%}
.shell[data-stage="home"] .future-grid article:nth-child(2) img{object-position:center 68%}
.shell[data-stage="home"] #hubNav{background:#fffdf3ed}

.catalog-pager{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:4px}.catalog-pager .btn{min-height:44px;padding:10px 16px;font-size:12px}.catalog-pager>span{font-size:12px;color:#52665d}.shell[data-stage="catalog"] #screen>.chapter-list{flex:1 1 0!important;min-height:0;overflow-y:auto;align-content:start;overscroll-behavior:contain;padding:2px 2px 6px}

.catalog-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.catalog-total{flex-shrink:0;background:#d8eee0;color:#135d4e;padding:8px 12px;border-radius:20px;font-size:13px;font-weight:750}.catalog-ranges{display:flex;gap:8px;flex:0 0 auto}.catalog-ranges button{flex:1;min-height:44px;border:1px solid #b9cec2;border-radius:12px;background:#fffdf7;color:#214f42;font-size:14px;font-weight:700}.catalog-ranges button[aria-current]{background:#214f42;color:#fff;border-color:#214f42}.catalog-position{margin:0;font-size:12px;font-weight:700;color:#52665d}.catalog-ranges button:focus-visible{outline:3px solid #e4ae36;outline-offset:2px}.catalog-pager .btn{flex:1;padding:10px 8px}.catalog-pager .btn:disabled{opacity:.5}

/* Colour accents for the airport chapter catalogue. */
.shell[data-stage="catalog"]{background-color:#fffaf0;background-image:radial-gradient(ellipse at 105% 4%,#a3e3d16b,transparent 43%),radial-gradient(ellipse at -15% 72%,#ffdc8873,transparent 48%),radial-gradient(ellipse at 110% 100%,#d4c5ff66,transparent 40%)}
.catalog-total{background:#ffdf88;color:#674b12;box-shadow:0 3px 0 #e8bb4a40}
.catalog-ranges button:nth-child(1){--range-fill:#d9efe1;--range-ink:#236047}
.catalog-ranges button:nth-child(2){--range-fill:#ffe5a9;--range-ink:#785113}
.catalog-ranges button:nth-child(3){--range-fill:#ffdad1;--range-ink:#853f31}
.catalog-ranges button:nth-child(4){--range-fill:#e6defb;--range-ink:#57438a}
.catalog-ranges button{background:var(--range-fill);color:var(--range-ink);border-color:transparent;box-shadow:0 3px 0 #213f3510}
.catalog-ranges button[aria-current]{background:var(--range-ink);color:#fff;border-color:var(--range-ink);box-shadow:0 3px 0 #213f3525}
.shell[data-stage="catalog"] .chapter-list button{border-color:#ffffffcc;background:#ffffffed;box-shadow:0 4px 12px #45645209;border-left:4px solid #83c8ad}
.shell[data-stage="catalog"] .chapter-list button:nth-child(2){border-left-color:#e9bb55}.shell[data-stage="catalog"] .chapter-list button:nth-child(2) .chapter-number{background:#ffedbd;color:#7b581a}
.shell[data-stage="catalog"] .chapter-list button:nth-child(3){border-left-color:#b6a0e3}.shell[data-stage="catalog"] .chapter-list button:nth-child(3) .chapter-number{background:#eae1fc;color:#66518e}
.shell[data-stage="catalog"] .chapter-list button>span:last-child{background:#eaf4ed;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;flex-shrink:0}
.shell[data-stage="catalog"] .catalog-position:before{content:"";display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#db9c35}
.shell[data-stage="catalog"] #hubNav{background:#fffdf6e8}
#catalog-topic{width:100%;max-width:100%;margin-top:8px;padding:8px;border-radius:10px;font:inherit;color:#214f42;background:#fffdf7;border:1px solid #b9cec2}
.future-grid article>button{display:flex;flex-direction:column;align-items:stretch;width:100%;height:100%;border:0;padding:0;color:inherit;background:transparent;text-align:left;cursor:pointer}
.future-grid article>button>span{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;color:#214f42;font-size:14px}
@media (max-height:740px) {
  .shell[data-stage="catalog"] .chapter-list {gap:5px}
  .shell[data-stage="catalog"] .chapter-list button {min-height:48px;padding:5px 9px}
  .shell[data-stage="catalog"] .chapter-number {font-size:18px;padding:5px}
  .shell[data-stage="catalog"] .chapter-list small {margin-top:2px}
}

.shell[data-stage="catalog"] .chapter-list button[aria-current="true"]{
  background:#087f70;
  color:#fff;
  border-color:#087f70;
  box-shadow:inset 0 0 0 2px #087f70;
}
.shell[data-stage="catalog"] .chapter-list button[aria-current="true"] .chapter-number{
  background:#ffffff26;
  color:white;
}
.shell[data-stage="catalog"] .chapter-list button[aria-current="true"] small{
  color:#e4f5ee;
}
.shell[data-stage="catalog"] .chapter-list button[aria-current="true"]>span:last-child{
  background:#ffffff26;
  color:#fff;
}


.shell[data-stage="phrases"] #screen{overflow-y:auto;display:block;overscroll-behavior:contain;padding-bottom:10px}
.shell[data-stage="phrases"] .home-intro{margin-bottom:16px}.saved-phrase-list{display:grid;gap:12px;margin-bottom:12px}.saved-source{font-size:10px;color:#718178}.saved-phrase-list .saved-card{padding:15px}.saved-phrase-list .russian{font-size:17px;margin-top:9px}.saved-phrase-list .actions{flex-wrap:nowrap;margin-top:12px}.saved-phrase-list .actions .small{flex:1;line-height:1.35}.saved-phrase-list .play{width:44px;height:44px}

.voice-strip .author-link{display:inline-block;border:0;background:transparent;color:#63509d;font-size:11px;min-height:30px;padding:5px 0;text-decoration:underline;text-underline-offset:3px;text-align:left;cursor:pointer}
.shell[data-stage="about"] #screen{display:block;overflow-y:auto;overscroll-behavior:contain;padding:0 2px 18px}.about-author{padding:0 0 12px}.about-author>.text-button{display:block;margin-bottom:16px;min-height:44px}.about-monogram{display:grid;place-items:center;width:66px;height:66px;background:#ffe2a4;color:#815b2f;font-size:34px;font-family:Georgia,serif;border-radius:22px;margin-bottom:18px}.about-author .home-kicker{display:block}.about-author h2{font-family:inherit;font-weight:750;font-size:29px;line-height:1.15;margin:10px 0 20px}.about-author p{font-size:15px;line-height:1.75;color:#52675d;margin-bottom:17px}.about-author .about-lead{font-size:17px;color:#214f42}.about-author h3{font-size:19px;line-height:1.35;margin:28px 0 12px}.about-author .about-signature{font-family:Georgia,serif;font-size:24px;color:#214f42;font-style:italic;margin-top:24px}

/* An editorial author page with consistent reading size. */
.shell[data-stage="about"]{background:radial-gradient(ellipse at 100% 0,#dcebdc66,transparent 45%),#fffaf0}
.about-author{background:#fffdf6;border:1px solid #e5e7db;border-radius:24px;padding:12px 17px 22px;box-shadow:0 5px 20px #254a3e06}
.about-author>.text-button{margin-bottom:8px;padding-left:0;font-size:12px}
.author-portrait{position:relative;margin:0 -5px 24px;border-radius:19px;overflow:hidden;background:#d1d8c8;aspect-ratio:4/4.7}
.author-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 33%}
.author-portrait figcaption{position:absolute;bottom:0;left:0;right:0;padding:45px 18px 17px;background:linear-gradient(transparent,#142d26eb);color:#fff8e5}
.author-portrait figcaption b{display:block;font-size:24px;font-weight:650;letter-spacing:-.4px}
.author-portrait figcaption span{display:block;font-size:11px;margin-top:3px;color:#eee9d8}
.about-author p,.about-author .about-lead{font-size:15px;line-height:1.8;color:#435d51;font-weight:400;margin:0 0 18px;letter-spacing:0}
.about-author h2{font-size:28px;margin:9px 0 20px;letter-spacing:-.6px}
.about-author h3{font-size:19px;line-height:1.35;margin:27px 0 14px;padding-top:20px;border-top:1px solid #e6e8dd}
.about-author h3:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#eeae67;margin-right:8px;vertical-align:middle}
.about-author .home-kicker{color:#7b896a;font-size:9px;letter-spacing:1.6px}
.about-author .about-signature{font-size:23px;font-family:Georgia,serif;color:#214f42;font-style:italic;margin:24px 0}

.author-audio-card{background:#eaf1e4;border:1px solid #d8e3ce;border-radius:17px;padding:14px;margin:-8px 0 24px}.author-audio-heading{display:flex;align-items:center;gap:10px;margin-bottom:10px}.author-audio-heading>span{font-size:26px;color:#53816c}.author-audio-heading b{display:block;font-size:14px;color:#214f42}.author-audio-heading small{display:block;font-size:10px;color:#677d6b;line-height:1.4;margin-top:3px}.author-audio-card audio{display:block;width:100%;height:44px;max-width:100%}

.shell[data-stage="catalog"][data-catalog-view="topics"] #screen{display:flex;flex-direction:column;overflow:hidden;gap:14px}.shell[data-stage="catalog"][data-catalog-view="topics"] .home-intro h2{font-size:26px}.topic-access-list{min-height:0;overflow-y:auto;padding:0 2px 16px;overscroll-behavior:contain}.access-section-title{display:flex;align-items:center;justify-content:space-between;font-size:15px;margin:0 0 12px}.access-section-title>span{font-size:11px;color:#62816c;font-weight:500}.topic-access-card{display:flex;align-items:center;gap:9px;width:100%;padding:12px 10px;margin-bottom:10px;background:#fffefa;border:1px solid #e5e8dd;border-left:4px solid #8bc8a5;border-radius:17px;text-align:left;color:#214f42;min-height:78px}.topic-access-card.paid{border-left-color:#b6a2dc}.topic-access-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:46px;border-radius:13px;background:#e6f1e6;color:#3d8971}.topic-access-icon svg{width:29px;height:31px}.paid .topic-access-icon{background:#eee7fb;color:#8064aa}.topic-access-copy{flex:1;min-width:0}.topic-access-copy b{display:block;font-size:13px;line-height:1.3}.topic-access-copy small{display:block;font-size:10px;color:#7a897e;margin-top:5px}.access-badge{font-size:9px;white-space:nowrap;font-weight:700;border-radius:8px;background:#dcefdc;color:#397447;padding:5px 6px}.paid .access-badge{background:#eee6fa;color:#755392}.paid-pack-summary{padding:17px 15px;border:1px solid #dbceef;border-radius:18px;background:linear-gradient(120deg,#eee5ff,#ffefdc);margin:20px 0 12px}.paid-pack-summary>span{font-size:8px;letter-spacing:1.2px;color:#81639b;font-weight:800}.paid-pack-summary>div{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0}.paid-pack-summary h3{font-size:18px;line-height:1.2;margin:0}.paid-pack-summary b{font-size:22px;color:#694c91;white-space:nowrap}.paid-pack-summary p{font-size:11px;margin:0 0 5px;color:#6b6177}.paid-pack-summary small{font-size:10px;color:#786b7b}.catalog-preview-note{font-size:10px;line-height:1.5;color:#7c887c;margin:12px 0 0}.catalog-topics-back{padding:0;min-height:32px;font-size:11px;margin-bottom:4px}.topic-access-note{font-size:10px;padding:9px 10px;border-radius:10px;margin:8px 0 0;line-height:1.4;background:#e5f1e2;color:#3e734f}.topic-access-note.paid{background:#eee5fa;color:#755591}

/* Constrain the topic list so its contents scroll above the fixed tab bar. */
.shell[data-stage="catalog"][data-catalog-view="topics"] #screen>.topic-access-list{flex:1 1 0;min-height:0;overflow-y:scroll;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#98b5a4 #e8eee3;padding-right:7px;touch-action:pan-y;-webkit-overflow-scrolling:touch}
.topic-access-list::-webkit-scrollbar{width:6px}.topic-access-list::-webkit-scrollbar-track{background:#e8eee3;border-radius:8px}.topic-access-list::-webkit-scrollbar-thumb{background:#98b5a4;border-radius:8px}
