/* ==========================================================================
   Doorway design system — one theme layer for the app.
   Loaded LAST. Tokens + shell + screens. Overrides the legacy stylesheets
   (luxury, polish, learn-refresh, lesson-hub, phone-reference …) so they can
   be retired one by one without changing what the learner sees.
   ========================================================================== */

@font-face{font-family:'Fraunces';font-style:normal;font-weight:100 900;font-display:swap;src:url('fonts/fraunces-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:100 900;font-display:swap;src:url('fonts/fraunces-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Lexend';font-style:normal;font-weight:100 900;font-display:swap;src:url('fonts/lexend-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Lexend';font-style:normal;font-weight:100 900;font-display:swap;src:url('fonts/lexend-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* ---------- 1. Tokens ---------- */
:root, body.premium-app, body.adult-luxury{
  --dw-bg:#0e1a16;            /* page ground */
  --dw-bg-2:#0a1310;          /* deeper band */
  --dw-surface:#16261f;       /* dark card */
  --dw-surface-2:#1f3129;     /* raised dark card / hover */
  --dw-line:#2a3f36;
  --dw-paper:#f3f1e6;         /* cream card for reading */
  --dw-paper-2:#e8e9dc;       /* cream card alt / inputs */
  --dw-paper-line:#d6d9c9;
  --dw-ink:#eef3ee;           /* text on dark */
  --dw-dim:#a3b5ab;           /* secondary on dark */
  --dw-ink-on-paper:#17302a;  /* text on cream */
  --dw-dim-on-paper:#51645b;
  --dw-accent:#d4f478;        /* lime */
  --dw-accent-deep:#b7dd55;
  --dw-on-accent:#10231a;
  --dw-teal:#7fd6c8;
  --dw-gold:#efad4d;
  --dw-danger:#ff9d8a;
  --dw-serif:'Fraunces',Georgia,'Times New Roman',serif;
  --dw-sans:'Lexend','Plus Jakarta Sans','Segoe UI',system-ui,sans-serif;
  --dw-r-lg:22px; --dw-r:16px; --dw-r-sm:12px; --dw-pill:999px;
  --dw-shadow:0 10px 30px #00000055;
  --dw-dock-h:84px;

  /* map legacy tokens so old rules fall in line */
  --green:var(--dw-surface); --ink:var(--dw-ink); --muted:var(--dw-dim); --line:var(--dw-line);
  --cream:var(--dw-bg); --paper:var(--dw-bg); --lime:var(--dw-accent); --accent:var(--dw-accent);
  --premium-ink:var(--dw-ink); --premium-paper:var(--dw-bg);
  --font-reading:var(--dw-sans); --font-interface:var(--dw-sans);
  color-scheme:dark;
}

/* ---------- 2. Base ---------- */
html{background:var(--dw-bg)}
body.premium-app, body.adult-luxury{background:var(--dw-bg)!important;color:var(--dw-ink)!important;font-family:var(--dw-sans)!important;line-height:1.55}
body :is(h1,h2,h3,h4){font-family:var(--dw-serif)!important;font-weight:600;letter-spacing:-.01em;color:inherit}
body :is(button,.button,.nav-btn,input,select,textarea){font-family:var(--dw-sans)!important}
body a{color:var(--dw-accent)}
body :focus-visible{outline:3px solid var(--dw-accent);outline-offset:3px;border-radius:8px}
.launch-shell{background:transparent!important;color:var(--dw-ink)}
#main{padding-bottom:calc(var(--dw-dock-h) + 24px)}
.eyebrow,.hub-kicker{font-family:var(--dw-sans)!important;font-size:11px!important;font-weight:600!important;letter-spacing:1.8px;text-transform:uppercase;color:var(--dw-accent)!important}
.shell-meta,.muted,small{color:var(--dw-dim)}
hr{border-color:var(--dw-line)}

/* Buttons */
.button,button.button,.hub-continue button,.daily-launch-start,#path-continue,.hub-more,.hub-card-link{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 22px;
  border-radius:var(--dw-pill)!important;border:0!important;background:var(--dw-accent)!important;color:var(--dw-on-accent)!important;
  font-weight:600!important;font-size:15px!important;text-decoration:none;box-shadow:none!important;cursor:pointer}
.button.secondary,button.button.secondary,.text-button{background:transparent!important;color:var(--dw-accent)!important;border:1px solid var(--dw-line)!important}
.text-button{border:0!important;padding:0!important;min-height:0!important;text-decoration:underline;text-underline-offset:4px;font-weight:600}
.button:hover,.hub-continue button:hover{filter:brightness(1.05)}

/* Pills / badges */
.badge,.free-lesson-badge,.mission-access-badge,.hub-access,.pill,.path-meta-pill{
  display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:var(--dw-pill);font-size:11px;font-weight:700;letter-spacing:.4px;border:1px solid var(--dw-line);background:var(--dw-surface-2);color:var(--dw-ink)}
.free-lesson-badge,.mission-access-badge.is-free,.hub-access.is-free,.badge.mint{background:var(--dw-accent);color:var(--dw-on-accent);border-color:var(--dw-accent)}
.mission-access-badge.is-plus,.hub-access.is-plus,.badge.gold{background:#2a2410;color:var(--dw-gold);border-color:#5a4a1f}

/* ---------- 3. Shell: masthead + dock ---------- */
html body.premium-app .premium-masthead{display:flex!important;align-items:center;justify-content:space-between;gap:12px;margin:0 0 22px!important;padding:6px 0}
.premium-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--dw-ink)!important;font-family:var(--dw-sans)!important;font-weight:800;font-size:21px;letter-spacing:-.4px}
.premium-brand img{width:36px;height:36px;border-radius:10px}
.premium-header-actions{display:flex;align-items:center;gap:8px}
.akintalk-header-weather,.hub-weather{display:none!important}           /* weather lives in Account › Preferences */
.shell-more>summary{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--dw-pill);background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;color:var(--dw-ink);cursor:pointer;list-style:none;box-shadow:none!important;padding:0!important}
.shell-more>summary::-webkit-details-marker{display:none}
.shell-more-panel{position:absolute;right:16px;top:64px;z-index:90;width:min(360px,calc(100vw - 32px));padding:16px;border-radius:var(--dw-r-lg);background:var(--dw-surface);border:1px solid var(--dw-line);box-shadow:var(--dw-shadow);color:var(--dw-ink)}
.shell-more-panel h2{font-family:var(--dw-sans)!important;font-size:11px;font-weight:600;letter-spacing:1.8px;text-transform:uppercase;color:var(--dw-accent);margin:10px 0 8px}
.shell-more-panel a,.shell-more-panel button{color:var(--dw-ink)}
.shell-secondary div{display:flex;flex-wrap:wrap;gap:8px 16px}
.shell-secondary a{text-decoration:none;font-weight:500}
.compact-ai,.compact-dictionary-button{background:var(--dw-surface-2)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-pill)!important;box-shadow:none!important}
.compact-language-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}
.compact-language-options button{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:var(--dw-r-sm);background:var(--dw-surface-2);border:1px solid var(--dw-line);color:var(--dw-ink);font-size:13px}

html body.premium-app .hub-dock[data-shell-primary],html body.premium-app .hub-dock{position:fixed!important;inset:auto 12px max(10px,env(safe-area-inset-bottom))!important;transform:none!important;width:auto!important;max-width:560px!important;margin:0 auto!important;padding:6px!important;gap:2px!important;z-index:80;min-height:0!important;display:flex!important;background:#0c1612f2!important;border:1px solid var(--dw-line)!important;border-top:1px solid var(--dw-line)!important;border-radius:var(--dw-r-lg)!important;box-shadow:var(--dw-shadow)!important;backdrop-filter:blur(14px);overflow:visible!important}
html body.premium-app .hub-dock .nav-btn{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:58px;padding:8px 2px!important;border-radius:var(--dw-r)!important;background:transparent!important;color:var(--dw-dim)!important;font:500 11.5px/1.2 var(--dw-sans)!important;text-decoration:none;box-shadow:none!important}
.hub-dock .nav-btn svg{width:22px!important;height:22px!important}
html body.premium-app .hub-dock .nav-btn.active{background:var(--dw-accent)!important;color:var(--dw-on-accent)!important;font-weight:700!important}

/* ---------- 4. Home ---------- */
.lesson-hub{max-width:640px;margin:0 auto;padding:12px 16px 0}
.premium-title{font-size:clamp(30px,8vw,38px)!important;line-height:1.1;margin:4px 0 6px!important;color:var(--dw-ink)!important}
.hub-purpose{margin:0 0 22px!important;color:var(--dw-dim)!important;font-size:16px}

/* Next lesson — the one big card */
html body.premium-app .hub-continue{display:flex!important;flex-direction:column;gap:14px;padding:22px!important;border-radius:var(--dw-r-lg)!important;background:var(--dw-paper)!important;color:var(--dw-ink-on-paper)!important;border:0!important;box-shadow:none!important;margin:0 0 18px!important}
html body.premium-app .hub-continue h2{font-size:26px;color:var(--dw-ink-on-paper)!important;margin:0 0 4px}
html body.premium-app .hub-continue p{margin:0;color:var(--dw-dim-on-paper)!important;font-size:14px}
html body.premium-app .hub-continue button{align-self:stretch;background:var(--dw-on-accent)!important;color:var(--dw-accent)!important;min-height:52px}
.hub-continue button svg{width:18px;height:18px}

/* Tracks — quick-action chips */
.hub-goals{margin:0 0 18px!important}
html body.premium-app .hub-goals h2{font-family:var(--dw-sans)!important;font-size:11px!important;line-height:1.4;font-weight:600!important;letter-spacing:1.8px;text-transform:uppercase;color:var(--dw-accent)!important;margin:0 0 10px!important}
html body.premium-app .hub-goals>div{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html body.premium-app .hub-goals button{display:flex!important;align-items:center;gap:10px;min-height:56px;padding:12px 14px!important;border-radius:var(--dw-r)!important;background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;color:var(--dw-ink)!important;box-shadow:none!important;text-align:left;font-family:var(--dw-sans)!important}
.hub-goals button svg{width:20px;height:20px;color:var(--dw-accent);flex:none}
.hub-goals button strong{font-family:var(--dw-sans)!important;font-weight:600;font-size:14.5px;flex:1}
.hub-goals button span{color:var(--dw-accent)}

/* Coach card */
.hub-coach-card{margin:0 0 12px!important}
html body.premium-app .hub-coach-card button{display:flex!important;outline:0!important;margin:0!important;min-height:0!important;align-items:center;gap:14px;width:100%;padding:16px!important;border-radius:var(--dw-r-lg)!important;background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;color:var(--dw-ink)!important;box-shadow:none!important;text-align:left}
html body.premium-app .hub-coach-card button>svg:first-child{width:44px;height:44px;padding:11px;border-radius:12px;background:var(--dw-accent);color:var(--dw-on-accent);flex:none;box-sizing:border-box}
html body.premium-app .hub-coach-card button>svg:last-child{width:18px;height:18px;color:var(--dw-accent);margin-left:auto;flex:none}
.hub-coach-card strong{display:block;font-family:var(--dw-sans)!important;font-weight:700;font-size:16px}
.hub-coach-card small{color:var(--dw-dim);font-size:13px}

/* Video shortcut — quieter, same card language */
html body.premium-app .lesson-hub>.film-shortcut{margin:0 0 18px!important}
html body.premium-app .film-shortcut button{display:flex!important;outline:0!important;margin:0!important;min-height:0!important;align-items:center;gap:14px;width:100%;padding:12px!important;border-radius:var(--dw-r-lg)!important;background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;color:var(--dw-ink)!important;box-shadow:none!important;text-align:left;overflow:hidden}
html body.premium-app .film-thumb{width:72px;height:54px;border-radius:12px;background:var(--dw-surface-2);display:flex;align-items:center;justify-content:center;color:var(--dw-accent);flex:none;overflow:hidden}
.film-thumb img{width:100%;height:100%;object-fit:cover}
.film-shortcut strong{display:block;font-family:var(--dw-sans)!important;font-weight:700;font-size:15px}
.film-shortcut small{color:var(--dw-dim);font-size:13px}
.film-shortcut button>span:last-child{margin-left:auto;color:var(--dw-accent)}

/* Collapsible "more" panels: one quiet row each */
details.phone-secondary,details.hub-learning-plan,details.growth-panel,details.lesson-preview,details.path-personalize{
  border:1px solid var(--dw-line);border-radius:var(--dw-r);background:var(--dw-surface);margin:0 0 10px;padding:0}
details.phone-secondary>summary,details.hub-learning-plan>summary,details.growth-panel>summary{
  list-style:none;cursor:pointer;padding:14px 16px;font-family:var(--dw-sans);font-weight:600;font-size:14px;color:var(--dw-ink);display:flex;justify-content:space-between;align-items:center}
details.phone-secondary>summary::after,details.hub-learning-plan>summary::after,details.growth-panel>summary::after{content:"+";color:var(--dw-accent);font-size:18px}
details[open].phone-secondary>summary::after,details[open].hub-learning-plan>summary::after,details[open].growth-panel>summary::after{content:"–"}
details.phone-secondary>summary::-webkit-details-marker,details.hub-learning-plan>summary::-webkit-details-marker{display:none}
details.phone-secondary>div,details.hub-learning-plan>div{padding:0 16px 16px}

/* Inside "More practice tools" */
.hub-practice a{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--dw-line);color:var(--dw-ink);text-decoration:none}
.hub-practice a:first-of-type{border-top:0}
.hub-practice a svg:first-child{width:20px;height:20px;color:var(--dw-accent);flex:none}
.hub-practice a svg:last-child{margin-left:auto;width:16px;height:16px;color:var(--dw-dim)}
.hub-practice strong{display:block;font-family:var(--dw-sans)!important;font-weight:600;font-size:14.5px}
.hub-practice small{color:var(--dw-dim)}
.hub-section-heading h2{font-size:18px;margin:8px 0}
.hub-progress{padding:14px 0 0;border-top:1px solid var(--dw-line);margin-top:8px}
.hub-progress h2{font-size:28px;margin:4px 0}
.hub-progress h2 span{font-family:var(--dw-sans)!important;font-size:14px;font-weight:500;color:var(--dw-dim)}

/* The nested legacy dashboard: readable, on cream, no competing hero */
.hub-original{color:var(--dw-ink)}
.hub-original .learn-heading,.hub-original .confidence-heading{display:none!important}
.hub-original section,.hub-original .path-next-card,.hub-original .free-starter,.hub-original .mission-home,.hub-original .home-support,.hub-original .path-outline,.hub-original .learn-side>section,.hub-original .first-win,.hub-original .growth-summary{
  background:var(--dw-surface-2)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r)!important;box-shadow:none!important;color:var(--dw-ink)!important;padding:16px!important;margin:0 0 12px!important}
.hub-original h2,.hub-original h3{color:var(--dw-ink)!important;font-size:20px}
.hub-original p{color:var(--dw-dim)}
.hub-original .mission-lesson-link,.hub-original .free-starter-list button,.hub-original .path-outline li button{display:flex;align-items:center;gap:10px;width:100%;padding:12px 0;background:transparent!important;border:0!important;border-top:1px solid var(--dw-line)!important;border-radius:0!important;color:var(--dw-ink)!important;text-align:left;text-decoration:none;box-shadow:none!important}
.hub-original .mission-link-title,.hub-original .free-starter-copy strong,.hub-original .path-outline strong{flex:1;font-family:var(--dw-sans)!important;font-weight:600;font-size:14.5px}
.hub-original .mission-link-arrow,.hub-original .free-starter-action>span:last-child{color:var(--dw-accent)}
.hub-original .path-outline ol{list-style:none;padding:0;margin:0}
.hub-original .path-outline li{display:flex;gap:10px;align-items:center}
.hub-original .path-index{color:var(--dw-dim);font-size:12px;font-weight:600}
.hub-original .win-goals button,.hub-original .growth-actions button{background:var(--dw-surface)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-pill)!important;min-height:40px;padding:0 14px!important;font-size:14px!important}
.hub-original select{background:var(--dw-surface)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r-sm)}
.hub-original progress{accent-color:var(--dw-accent)}
.growth-actions button:has(+ button:last-child):last-child{display:none}

/* Footer tails: once, quietly */
.hub-footer{display:flex;flex-wrap:wrap;gap:8px 18px;padding:18px 0 8px;border-top:1px solid var(--dw-line);font-size:13px}
.hub-footer a{color:var(--dw-dim);text-decoration:none}
.learning-updates-invite{display:none!important}          /* lives in Account › Updates */
.polish-report-action{text-align:right;margin:6px 0}
.polish-report-action .text-button{color:var(--dw-dim)!important;font-size:12px;font-weight:500}
.bh-privacy-choices{margin:8px 0 0}
.bh-privacy-choices button{background:transparent!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-pill)!important;color:var(--dw-dim)!important;font-size:12px!important;min-height:36px;padding:0 12px!important}
.launch-footer{max-width:640px;margin:16px auto 0;padding:18px 16px calc(var(--dw-dock-h) + 8px);border-top:1px solid var(--dw-line);font-size:12.5px;color:var(--dw-dim);background:transparent!important;display:flex;flex-direction:column;gap:8px}
.launch-footer .footer-brand{color:var(--dw-ink);font-family:var(--dw-sans)}
.launch-footer nav{display:flex;flex-wrap:wrap;gap:6px 14px}
.launch-footer a{color:var(--dw-dim);text-decoration:none}
.launch-footer p{margin:0}

/* ---------- 5. Lessons hub ---------- */
.hub-search,.lesson-hub input[type=search],.lesson-hub input[type=text]{width:100%;min-height:50px;padding:0 16px 0 44px;border-radius:var(--dw-r)!important;background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;color:var(--dw-ink)!important;font-size:15px}
.lesson-hub input::placeholder{color:var(--dw-dim)}
.hub-filters,.hub-goal-row{display:flex;gap:8px;overflow-x:auto;padding:4px 0 8px;scrollbar-width:none}
.hub-filters button,.hub-goal-row button,.hub-topic-practice{flex:none;min-height:40px;padding:0 14px!important;border-radius:var(--dw-pill)!important;background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;color:var(--dw-ink)!important;font-size:14px!important;font-weight:500!important;box-shadow:none!important;white-space:nowrap}
.hub-filters button[aria-pressed=true],.hub-goal-row button[aria-pressed=true],.hub-filters button.active,.hub-goal-row button.active{background:var(--dw-accent)!important;color:var(--dw-on-accent)!important;border-color:var(--dw-accent)!important;font-weight:700!important}
.hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hub-card{display:flex;flex-direction:column;gap:10px;padding:16px!important;border-radius:var(--dw-r)!important;background:var(--dw-paper)!important;color:var(--dw-ink-on-paper)!important;border:0!important;box-shadow:none!important}
.hub-card h3,.hub-card .hub-card-title{font-size:18px;line-height:1.2;color:var(--dw-ink-on-paper)!important;margin:0}
.hub-card-top{display:flex;justify-content:space-between;align-items:center;color:var(--dw-ink-on-paper)}
.hub-card-top svg{width:22px;height:22px}
.hub-card-description{color:var(--dw-dim-on-paper)!important;font-size:13px}
.hub-card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:auto;font-size:12.5px;color:var(--dw-dim-on-paper)}
.hub-card .hub-access{background:var(--dw-paper-2);color:var(--dw-ink-on-paper);border-color:var(--dw-paper-line)}
.hub-card .hub-access.is-free{background:#dff3b7;color:#1f3a14;border-color:#dff3b7}
.hub-card .hub-access.is-plus{background:#f8e7c3;color:#5a4210;border-color:#f8e7c3}
.hub-more{width:100%;margin:12px 0 18px}
.hub-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:14px 0 10px}
.hub-section-heading span{color:var(--dw-dim);font-size:13px}

/* Legacy lesson lists (course library, series) on dark */
.panel,.lesson-card,.unit-tile,.adult-series{background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r)!important;color:var(--dw-ink)!important;box-shadow:none!important}
.lesson-card h3,.unit-tile h3,.adult-series h3{color:var(--dw-ink)!important}
.card-meta,.unit-meta{color:var(--dw-dim)!important}
.unit-action,.adult-series .button{background:var(--dw-surface-2)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-pill)!important;box-shadow:none!important}

/* ---------- 6. Coach ---------- */
.coach-shell,.ai-coach,.coach-page{color:var(--dw-ink)}
.coach-tabs,.coach-mode-switch{display:flex;padding:4px;border-radius:var(--dw-pill);background:var(--dw-surface);border:1px solid var(--dw-line)}
.coach-tabs button,.coach-mode-switch button{flex:1;min-height:44px;border-radius:var(--dw-pill)!important;background:transparent!important;border:0!important;color:var(--dw-ink)!important;font-weight:600!important;box-shadow:none!important}
.coach-tabs button[aria-selected=true],.coach-mode-switch button[aria-pressed=true],.coach-tabs button.active{background:var(--dw-paper)!important;color:var(--dw-ink-on-paper)!important}
.coach-prompt,.coach-card-paper{background:var(--dw-paper)!important;color:var(--dw-ink-on-paper)!important;border-radius:var(--dw-r-lg)!important;border:0!important}
.coach-step,.coach-steps button{background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r)!important;color:var(--dw-ink)!important}

/* ---------- 7. Progress / Account: cards + inputs on dark ---------- */
#main input:not([type=checkbox]):not([type=radio]),#main select,#main textarea{background:var(--dw-surface)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r-sm)!important;min-height:46px;padding:0 14px}
#main label{color:var(--dw-ink)}
#main table{color:var(--dw-ink)}
#main :is(section,article,aside):not(.hub-continue):not(.hub-goals):not(.hub-coach-card):not(.film-shortcut):not(.hub-practice):not(.hub-progress):not(.hub-original *){color:inherit}

/* ---------- 8. Motion & width ---------- */
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media (min-width:900px){.lesson-hub{max-width:760px}.hub-goals>div{grid-template-columns:repeat(4,minmax(0,1fr))}.hub-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ---------- 9. Specificity fixes against legacy premium-view rules ---------- */
html body.premium-app[data-premium-view] .hub-dock[data-shell-primary],html body.premium-app .hub-dock[data-shell-primary]{
  position:fixed!important;inset:auto 12px max(10px,env(safe-area-inset-bottom))!important;transform:none!important;width:auto!important;max-width:560px!important;margin:0 auto!important;
  padding:6px!important;gap:2px!important;min-height:0!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r-lg)!important;background:#0c1612f2!important;box-shadow:var(--dw-shadow)!important;overflow:visible!important}
html body.premium-app[data-premium-view] .hub-dock[data-shell-primary] .nav-btn{color:var(--dw-dim)!important;border-radius:var(--dw-r)!important;margin:0!important;background:transparent!important}
html body.premium-app[data-premium-view] .hub-dock[data-shell-primary] .nav-btn.active{background:var(--dw-accent)!important;color:var(--dw-on-accent)!important}

/* wrappers that carried their own cream box */
html body.premium-app .hub-coach-card,html body.premium-app .film-shortcut,html body.premium-app .lesson-hub>.film-shortcut{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;outline:0!important}
html body.premium-app[data-premium-view] .film-shortcut button{background:var(--dw-surface)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r-lg)!important;padding:12px!important;min-height:0!important}
html body.premium-app[data-premium-view] .hub-coach-card button{background:var(--dw-surface)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r-lg)!important;padding:16px!important;min-height:0!important}
html body.premium-app[data-premium-view] .hub-goals h2{font-size:11px!important;margin:0 0 10px!important}

/* hub cards: the whole card is the link; keep the link as an invisible overlay, show the title */
html body.premium-app .hub-card{position:relative;min-height:0!important;padding:16px!important}
html body.premium-app .hub-card>strong{display:block;font-family:var(--dw-serif)!important;font-size:19px!important;line-height:1.2;color:var(--dw-ink-on-paper)!important;margin:2px 0 4px}
html body.premium-app .hub-card .hub-card-link{position:absolute!important;inset:0!important;min-height:0!important;padding:0!important;background:transparent!important;color:transparent!important;font-size:0!important;border-radius:inherit!important}
html body.premium-app .hub-card .hub-card-link svg{display:none}
html body.premium-app .hub-card:hover{border:0!important;box-shadow:0 0 0 2px var(--dw-accent)!important}
html body.premium-app .hub-card .hub-symbol{color:var(--dw-ink-on-paper)}
html body.premium-app .hub-card .hub-symbol svg{width:22px;height:22px}
html body.premium-app .hub-card{display:flex!important;flex-direction:column;gap:8px;min-height:150px!important}
html body.premium-app .hub-card>strong{font-size:17px!important;flex:1}
html body.premium-app .hub-card .hub-card-bottom{position:static!important;margin:auto 0 0!important;padding:0!important;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--dw-dim-on-paper)}
html body.premium-app .hub-card .hub-card-description{display:none}
html body.premium-app .hub-card:hover{box-shadow:none!important}
html body.premium-app .hub-card:focus-within{box-shadow:0 0 0 2px var(--dw-accent)!important}

/* ---------- 10. Progress ---------- */
html body.premium-app .workspace{max-width:640px;margin:0 auto;padding:12px 16px 0}
html body.premium-app .page-heading h1{font-size:clamp(28px,7vw,34px);margin:4px 0 4px;color:var(--dw-ink)!important}
html body.premium-app .page-heading p{color:var(--dw-dim)!important;margin:0 0 18px}
html body.premium-app .luxury-breadcrumb{display:none!important}
html body.premium-app .growth-summary{display:flex!important;align-items:center;justify-content:space-between;gap:14px;padding:18px!important;border-radius:var(--dw-r-lg)!important;background:var(--dw-paper)!important;color:var(--dw-ink-on-paper)!important;border:0!important;box-shadow:none!important;margin:0 0 12px!important}
html body.premium-app .growth-summary *{color:var(--dw-ink-on-paper)!important}
html body.premium-app .growth-summary strong,html body.premium-app .growth-summary b{font-family:var(--dw-sans)!important}
html body.premium-app .growth-summary a,html body.premium-app .growth-summary button{color:var(--dw-ink-on-paper)!important}
html body.premium-app .growth-xp,html body.premium-app .growth-summary .xp{font-family:var(--dw-sans)!important;font-weight:800;padding:10px 16px;border-radius:var(--dw-r-sm);background:var(--dw-on-accent)!important;color:var(--dw-accent)!important;border:0!important}
html body.premium-app .stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 12px}
html body.premium-app .panel.stat{padding:18px!important;background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r)!important;color:var(--dw-ink)!important}
html body.premium-app .panel.stat strong,html body.premium-app .panel.stat .stat-value{display:block;font-family:var(--dw-sans)!important;font-size:30px;font-weight:700;line-height:1.1;color:var(--dw-ink)!important}
html body.premium-app .panel.stat span,html body.premium-app .panel.stat small{color:var(--dw-dim)!important;font-size:13px}
html body.premium-app details.premium-quiz-detail{border:1px solid var(--dw-line);border-radius:var(--dw-r);background:var(--dw-surface);margin:0 0 12px}
html body.premium-app details.premium-quiz-detail>summary{list-style:none;cursor:pointer;padding:14px 16px;font-weight:600;color:var(--dw-ink);display:flex;justify-content:space-between}
html body.premium-app details.premium-quiz-detail>summary::after{content:"+";color:var(--dw-accent)}
html body.premium-app .workspace>section.panel{background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r)!important;padding:18px!important;color:var(--dw-ink)!important;margin:0 0 12px!important;box-shadow:none!important}
html body.premium-app .workspace>section.panel h2{font-size:20px;margin:0 0 6px;color:var(--dw-ink)!important}
html body.premium-app .workspace>section.panel p{color:var(--dw-dim)!important}
html body.premium-app .note-strip{padding:12px 14px;border-radius:var(--dw-r-sm);background:var(--dw-surface-2)!important;border:1px solid var(--dw-line)!important;color:var(--dw-dim)!important;font-size:13px;margin:0 0 12px}
html body.premium-app .workspace>.growth-panel,html body.premium-app .workspace>section.growth-panel{background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r)!important;padding:18px!important;color:var(--dw-ink)!important;box-shadow:none!important;margin:0 0 12px!important}
html body.premium-app .growth-panel h2{color:var(--dw-ink)!important;font-size:20px}
html body.premium-app .growth-panel p{color:var(--dw-dim)!important}
html body.premium-app .growth-panel a{color:var(--dw-accent)!important}
html body.premium-app .growth-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
html body.premium-app .growth-actions .button{background:var(--dw-surface-2)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;min-height:44px;padding:0 12px!important;font-size:14px!important}
html body.premium-app .growth-actions .button:nth-child(4){display:none}  /* Offline lesson packs: not offered */
html body.premium-app .growth-panel details>summary{color:var(--dw-ink);cursor:pointer;font-weight:600;padding:8px 0}
html body.premium-app .premium-word-card{background:var(--dw-paper)!important;color:var(--dw-ink-on-paper)!important;border:0!important;border-radius:var(--dw-r-lg)!important;padding:20px!important;margin:0 0 12px!important;box-shadow:none!important}
html body.premium-app .premium-word-card *{color:var(--dw-ink-on-paper)!important}
html body.premium-app .premium-word-card .button,html body.premium-app .premium-word-card a.button{background:var(--dw-on-accent)!important;color:var(--dw-accent)!important}

/* ---------- 11. Account ---------- */
html body.premium-app .account-layout{max-width:640px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
html body.premium-app .account-intro h1{font-size:clamp(28px,7vw,34px);margin:4px 0 8px}
html body.premium-app .account-intro p{color:var(--dw-dim)}
html body.premium-app .account-card,html body.premium-app .premium-settings{background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r-lg)!important;padding:18px!important;color:var(--dw-ink)!important;box-shadow:none!important}
html body.premium-app .account-card h2,html body.premium-app .premium-settings h2{font-size:20px;margin:0 0 10px;color:var(--dw-ink)!important}
html body.premium-app .account-card label{display:block;font-weight:600;font-size:14px;margin:10px 0 6px;color:var(--dw-ink)}
html body.premium-app .account-card .shell-meta,html body.premium-app .account-card small{color:var(--dw-dim)}
html body.premium-app .account-actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:12px}
html body.premium-app .account-actions .text-button,html body.premium-app .account-actions a{color:var(--dw-accent)!important}
html body.premium-app .account-note>summary{color:var(--dw-ink);cursor:pointer;font-weight:600;padding:10px 0}
html body.premium-app .premium-settings a,html body.premium-app .premium-settings button{color:var(--dw-ink)}
html body.premium-app .premium-settings>*:not(h2){display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--dw-line);text-decoration:none;background:transparent!important;border-left:0!important;border-right:0!important;border-bottom:0!important;border-radius:0!important;width:100%;font-weight:600;font-size:15px}
html body.premium-app .premium-settings>*:not(h2) span,html body.premium-app .premium-settings>*:not(h2) small{color:var(--dw-dim);font-weight:400}
/* progress fixes */
html body.premium-app[data-premium-view] .growth-summary{flex-wrap:wrap}
html body.premium-app[data-premium-view] .growth-summary .growth-xp,html body.premium-app[data-premium-view] .growth-summary .growth-xp strong{color:var(--dw-accent)!important}
html body.premium-app[data-premium-view] .growth-summary .growth-xp{flex:0 0 auto;width:auto!important;margin-left:auto}
html body.premium-app[data-premium-view] .growth-summary .text-button{flex-basis:100%;text-align:left;padding:0;text-decoration:none;font-size:13px}
html body.premium-app[data-premium-view] section.growth-panel{background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r)!important;padding:18px!important;color:var(--dw-ink)!important;box-shadow:none!important;margin:0 0 12px!important}
html body.premium-app[data-premium-view] section.growth-panel h2{color:var(--dw-ink)!important;font-size:20px;margin:0 0 6px}
html body.premium-app[data-premium-view] section.growth-panel p{color:var(--dw-dim)!important}
html body.premium-app[data-premium-view] section.growth-panel .text-button{color:var(--dw-accent)!important}
html body.premium-app[data-premium-view] section.growth-panel details summary{color:var(--dw-ink)!important}
html body.premium-app[data-premium-view] section.growth-panel .growth-actions .button{background:var(--dw-surface-2)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important}

/* ---------- 12. Practice dashboard ---------- */
html body.premium-app .hub-coach-button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border-radius:999px;background:var(--dw-surface-2);color:var(--dw-accent);border:1px solid var(--dw-line);font:600 14px/1 var(--dw-sans);cursor:pointer}
html body.premium-app .hub-coach-button svg{width:18px;height:18px}
html body.premium-app .hub-weather{display:block!important;margin-top:12px}
html body.premium-app .practice-dashboard{max-width:640px;margin:0 auto;padding:0 0 24px}
html body.premium-app .practice-dashboard .page-heading h1{font-size:clamp(30px,8vw,36px);margin:4px 0 2px}
html body.premium-app .practice-dashboard .page-heading p{color:var(--dw-dim);margin:0 0 16px}
html body.premium-app .pd-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 12px}
html body.premium-app .pd-metric{background:var(--dw-surface);border:1px solid var(--dw-line);border-radius:var(--dw-r);padding:16px 12px;text-align:center}
html body.premium-app .pd-metric strong{display:block;font:700 30px/1.1 var(--dw-sans);color:var(--dw-accent)}
html body.premium-app .pd-metric span{display:block;margin-top:6px;font-size:12px;color:var(--dw-dim)}
html body.premium-app .pd-coach{display:flex;align-items:center;gap:14px;width:100%;text-align:left;padding:16px 18px;border-radius:var(--dw-r-lg);background:var(--dw-paper)!important;color:var(--dw-ink-on-paper)!important;border:0;margin:0 0 18px;cursor:pointer}
html body.premium-app .pd-coach>svg{width:26px;height:26px;flex:0 0 auto;color:var(--dw-on-accent)}
html body.premium-app .pd-coach span{flex:1;display:flex;flex-direction:column;gap:2px}
html body.premium-app .pd-coach strong{font:600 18px/1.2 var(--dw-serif)}
html body.premium-app .pd-coach small{font-size:13px;color:#4a5e55}
html body.premium-app .pd-section{margin:0 0 18px}
html body.premium-app .pd-heading{display:flex;align-items:center;gap:8px;margin:0 0 10px}
html body.premium-app .pd-heading svg{width:18px;height:18px;color:var(--dw-accent)}
html body.premium-app .pd-heading h2{font:600 13px/1 var(--dw-sans);letter-spacing:.12em;text-transform:uppercase;color:var(--dw-accent);margin:0;flex:1}
html body.premium-app .pd-heading a{font-size:13px;color:var(--dw-dim);text-decoration:none}
html body.premium-app .pd-list{display:flex;flex-direction:column;gap:8px}
html body.premium-app .pd-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:14px 16px;border-radius:var(--dw-r);background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;color:var(--dw-ink)!important;cursor:pointer;font-family:var(--dw-sans)}
html body.premium-app .pd-row>span:first-child>svg{width:22px;height:22px;color:var(--dw-accent)}
html body.premium-app .pd-row>span{display:flex;flex-direction:column;gap:2px}
html body.premium-app .pd-row>span:nth-child(2),html body.premium-app .pd-row>span:only-of-type{flex:1}
html body.premium-app .pd-row strong{font-size:15px;font-weight:600}
html body.premium-app .pd-row small{font-size:12px;color:var(--dw-dim)}
html body.premium-app .pd-row .pd-play{flex:0 0 auto;flex-direction:row;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;background:var(--dw-accent);color:var(--dw-on-accent);font:700 13px/1 var(--dw-sans)}
html body.premium-app .pd-row .pd-play svg{width:14px;height:14px;fill:currentColor}
html body.premium-app .pd-row .pd-chev{flex:0 0 auto;color:var(--dw-dim);font-size:22px}
html body.premium-app .pd-tip{background:var(--dw-surface-2);border:1px solid var(--dw-line);border-radius:var(--dw-r);padding:14px 16px;margin:0 0 18px}
html body.premium-app .pd-kicker{font:600 11px/1 var(--dw-sans);letter-spacing:.14em;color:var(--dw-gold);margin:0 0 8px}
html body.premium-app .pd-tip p:last-child{margin:0;font-size:15px;color:var(--dw-ink)}
html body.premium-app .pd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html body.premium-app .pd-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:14px;border-radius:var(--dw-r);background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;color:var(--dw-ink)!important;text-align:left;cursor:pointer;font-family:var(--dw-sans)}
html body.premium-app .pd-grid button svg{width:20px;height:20px;color:var(--dw-accent);margin-bottom:4px}
html body.premium-app .pd-grid strong{font-size:15px}
html body.premium-app .pd-grid small{font-size:12px;color:var(--dw-dim)}
html body.premium-app .pd-all-tools{max-width:640px;margin:0 auto 24px;border:1px solid var(--dw-line);border-radius:var(--dw-r);background:var(--dw-surface)}
html body.premium-app .pd-all-tools>summary{list-style:none;cursor:pointer;padding:14px 16px;font-weight:600;color:var(--dw-ink);display:flex;justify-content:space-between}
html body.premium-app .pd-all-tools>summary::after{content:"+";color:var(--dw-accent)}
html body.premium-app .pd-all-tools>.practice-directory{padding:0 16px 16px}
html body.premium-app[data-premium-view] .practice-dashboard .page-heading{display:block!important;margin:0 0 14px}
html body.premium-app[data-premium-view] .practice-dashboard .page-heading h1{display:block;font-family:var(--dw-serif)!important}
html body.premium-app[data-premium-view] .pd-heading h2{font-family:var(--dw-sans)!important;font-size:13px!important;letter-spacing:.12em!important}

/* ---------- 13. Tool pages (pronunciation, interview, coach, writing, dictionary, today) ---------- */
html body.premium-app[data-premium-view="pronunciation"] #main,html body.premium-app[data-premium-view="interview-coach"] #main,html body.premium-app[data-premium-view="practice"] #main,html body.premium-app[data-premium-view="writing"] #main,html body.premium-app[data-premium-view="dictionary"] #main,html body.premium-app[data-premium-view="today"] #main{max-width:640px;margin:0 auto;padding:12px 16px 24px}
html body.premium-app[data-premium-view] .page-heading .badge{display:none}
html body.premium-app[data-premium-view] .page-heading .muted{color:var(--dw-dim)!important}
/* cards */
html body.premium-app[data-premium-view] details.polish-example,html body.premium-app[data-premium-view] .pron-guided-card,html body.premium-app[data-premium-view] .pron-status,html body.premium-app[data-premium-view] .pron-studio,html body.premium-app[data-premium-view] .pron-feedback,html body.premium-app[data-premium-view] .pron-focus,html body.premium-app[data-premium-view] .iv-start,html body.premium-app[data-premium-view] .iv-shell>section,html body.premium-app[data-premium-view] .panel.ai-availability,html body.premium-app[data-premium-view] .ai-review-panel,html body.premium-app[data-premium-view] #ai-coach-panel>section,html body.premium-app[data-premium-view] #ai-coach-panel .panel,html body.premium-app[data-premium-view] .ai-chat,html body.premium-app[data-premium-view] .writing-panel,html body.premium-app[data-premium-view] .dictionary-panel,html body.premium-app[data-premium-view] .today-panel{background:var(--dw-surface)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r)!important;box-shadow:none!important;margin:0 0 12px!important;padding:16px!important}
html body.premium-app[data-premium-view] .pron-focus{background:var(--dw-paper)!important;color:var(--dw-ink-on-paper)!important;border:0!important}
html body.premium-app[data-premium-view] .pron-focus *{color:var(--dw-ink-on-paper)!important}
html body.premium-app[data-premium-view] .pron-focus blockquote{font-family:var(--dw-serif);font-size:22px;margin:6px 0 8px}
html body.premium-app[data-premium-view] .pron-studio .pron-focus{margin:12px 0!important}
html body.premium-app[data-premium-view] .pron-status{display:flex;gap:12px;align-items:flex-start;background:var(--dw-surface-2)!important}
html body.premium-app[data-premium-view] .pron-status>span{flex:0 0 24px;height:24px;border-radius:50%;background:var(--dw-gold);color:var(--dw-on-accent);display:grid;place-items:center;font-weight:700}
html body.premium-app[data-premium-view] details.polish-example>summary{color:var(--dw-ink);font-weight:600;cursor:pointer}
html body.premium-app[data-premium-view] .polish-example-grid section{background:var(--dw-surface-2)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r-sm)!important;padding:12px!important;color:var(--dw-ink)!important}
html body.premium-app[data-premium-view] .polish-example-grid h3,html body.premium-app[data-premium-view] .polish-kicker{color:var(--dw-dim)!important;font-size:12px}
/* text inside cards */
html body.premium-app[data-premium-view] .pron-guided-card h2,html body.premium-app[data-premium-view] .pron-studio h2,html body.premium-app[data-premium-view] .pron-feedback h2,html body.premium-app[data-premium-view] .iv-start h2,html body.premium-app[data-premium-view] .ai-availability h2,html body.premium-app[data-premium-view] .ai-review-panel h2{color:var(--dw-ink)!important;font-size:21px;margin:4px 0 6px}
html body.premium-app[data-premium-view] .pron-guided-card p,html body.premium-app[data-premium-view] .pron-studio p,html body.premium-app[data-premium-view] .pron-feedback p,html body.premium-app[data-premium-view] .iv-start p,html body.premium-app[data-premium-view] .ai-availability p,html body.premium-app[data-premium-view] .ai-review-panel p,html body.premium-app[data-premium-view] .pron-status p{color:var(--dw-dim)!important}
html body.premium-app[data-premium-view] .pron-status strong{color:var(--dw-ink)!important}
html body.premium-app[data-premium-view] .eyebrow{color:var(--dw-accent)!important;font:600 11px/1 var(--dw-sans)!important;letter-spacing:.14em}
html body.premium-app[data-premium-view] .iv-status{color:var(--dw-dim)}
html body.premium-app[data-premium-view] .iv-privacy a,html body.premium-app[data-premium-view] .ai-data-note a{color:var(--dw-accent)}
/* course grid / phrase list */
html body.premium-app[data-premium-view] .pron-course-grid{display:grid;grid-template-columns:1fr;gap:8px;margin:12px 0}
html body.premium-app[data-premium-view] .pron-course-grid .button{display:flex!important;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;padding:14px!important;border-radius:var(--dw-r)!important;background:var(--dw-surface-2)!important;border:1px solid var(--dw-line)!important;color:var(--dw-ink)!important;min-height:0;font-size:15px!important}
html body.premium-app[data-premium-view] .pron-course-grid .button span{font-size:13px;color:var(--dw-dim);font-weight:400}
html body.premium-app[data-premium-view] .pron-phrase-list{display:flex;flex-direction:column;gap:8px;margin:12px 0}
html body.premium-app[data-premium-view] .pron-phrase-list button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;width:100%;padding:12px 14px;border-radius:var(--dw-r);background:var(--dw-surface-2)!important;border:1px solid var(--dw-line)!important;color:var(--dw-ink)!important;font-family:var(--dw-sans);cursor:pointer}
html body.premium-app[data-premium-view] .pron-phrase-list button.selected{border-color:var(--dw-accent)!important;box-shadow:inset 0 0 0 1px var(--dw-accent)}
html body.premium-app[data-premium-view] .pron-phrase-list small{color:var(--dw-dim);font-size:12px}
html body.premium-app[data-premium-view] .pron-phrase-list strong{font-size:15px}
html body.premium-app[data-premium-view] .pron-kicker>span{display:none}
/* recorder / voice */
html body.premium-app[data-premium-view] .pron-record-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;border-radius:999px;background:var(--dw-accent)!important;color:var(--dw-on-accent)!important;border:0!important;font:700 16px/1 var(--dw-sans);cursor:pointer}
html body.premium-app[data-premium-view] .pron-record-button span{color:#c62828}
html body.premium-app[data-premium-view] .pron-voice{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
html body.premium-app[data-premium-view] .pron-voice label{display:block}
html body.premium-app[data-premium-view] .pron-voice p{grid-column:1/-1;color:var(--dw-dim);font-size:13px;margin:0}
html body.premium-app[data-premium-view] .pron-voice .button,html body.premium-app[data-premium-view] #dict-voice-retry{grid-column:1/-1}
html body.premium-app[data-premium-view] .pron-privacy,html body.premium-app[data-premium-view] #pron-record-status{color:var(--dw-dim);font-size:13px}
html body.premium-app[data-premium-view] .pron-empty{text-align:center;padding:12px 0}
html body.premium-app[data-premium-view] .pron-empty>span{display:none}
/* interview */
html body.premium-app[data-premium-view] .iv-options{display:grid;gap:10px;margin:12px 0}
html body.premium-app[data-premium-view] .iv-options label{display:block;color:var(--dw-dim);font-size:13px}
html body.premium-app[data-premium-view] .iv-options select{width:100%;margin-top:4px}
html body.premium-app[data-premium-view] .button.lime,html body.premium-app[data-premium-view] #iv-start{display:flex!important;justify-content:center;width:100%;background:var(--dw-accent)!important;color:var(--dw-on-accent)!important;border:0!important;min-height:52px;font-size:16px!important}
/* ai coach */
html body.premium-app[data-premium-view] .ai-mode-switch{display:flex;gap:4px;padding:4px;border-radius:999px;background:var(--dw-surface-2);border:1px solid var(--dw-line);margin:0 0 14px}
html body.premium-app[data-premium-view] .ai-mode-switch button{flex:1;min-height:42px;border-radius:999px;border:0!important;background:transparent!important;color:var(--dw-dim)!important;font:600 15px/1 var(--dw-sans);cursor:pointer}
html body.premium-app[data-premium-view] .ai-mode-switch button[aria-selected="true"],html body.premium-app[data-premium-view] .ai-mode-switch button.active{background:var(--dw-paper)!important;color:var(--dw-ink-on-paper)!important}
html body.premium-app[data-premium-view] .ai-spark{color:var(--dw-gold);font-size:22px}
html body.premium-app[data-premium-view] .coach-guided-link{display:block;margin:0 auto 16px;background:transparent!important;border:0!important;color:var(--dw-accent)!important;text-decoration:underline;text-underline-offset:4px;font-weight:600}
html body.premium-app[data-premium-view] .phone-guidance{border:1px solid var(--dw-line);border-radius:var(--dw-r);padding:0 16px;margin:0 0 12px;background:var(--dw-surface)}
html body.premium-app[data-premium-view] .phone-guidance>summary{padding:14px 0;cursor:pointer;font-weight:600;color:var(--dw-ink)}
html body.premium-app[data-premium-view] .phone-guidance p{color:var(--dw-dim);font-size:13px}
html body.premium-app[data-premium-view] .polish-report-action{text-align:right;margin:4px 0 12px}
/* interview + writing status/panels */
html body.premium-app[data-premium-view] .iv-status,html body.premium-app[data-premium-view] .writing-status,html body.premium-app[data-premium-view] .iv-note,html body.premium-app[data-premium-view] .iv-error,html body.premium-app[data-premium-view] .writing-error{display:block;background:var(--dw-surface-2)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r)!important;padding:14px 16px!important;color:var(--dw-dim)!important;margin:0 0 12px!important;box-shadow:none!important}
html body.premium-app[data-premium-view] .iv-status *,html body.premium-app[data-premium-view] .writing-status *{color:var(--dw-dim)!important}
html body.premium-app[data-premium-view] .iv-status strong,html body.premium-app[data-premium-view] .writing-status strong{color:var(--dw-ink)!important}
html body.premium-app[data-premium-view] .iv-status a,html body.premium-app[data-premium-view] .iv-status .text-button,html body.premium-app[data-premium-view] .writing-status a,html body.premium-app[data-premium-view] .writing-status .text-button{color:var(--dw-accent)!important}
html body.premium-app[data-premium-view] .writing-status>span,html body.premium-app[data-premium-view] .writing-status>i{display:none}
html body.premium-app[data-premium-view] .writing-status .button{background:var(--dw-surface)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important}
html body.premium-app[data-premium-view] .writing-workspace,html body.premium-app[data-premium-view] .writing-workspace>section,html body.premium-app[data-premium-view] .writing-feedback,html body.premium-app[data-premium-view] .writing-result,html body.premium-app[data-premium-view] .writing-empty,html body.premium-app[data-premium-view] .iv-workspace,html body.premium-app[data-premium-view] .iv-question,html body.premium-app[data-premium-view] .iv-feedback,html body.premium-app[data-premium-view] .iv-answer{background:var(--dw-surface)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r)!important;box-shadow:none!important;padding:16px!important;margin:0 0 12px!important}
html body.premium-app[data-premium-view] .writing-workspace>section{background:transparent!important;border:0!important;padding:0!important}
html body.premium-app[data-premium-view] .writing-workspace h2,html body.premium-app[data-premium-view] .iv-workspace h2{color:var(--dw-ink)!important;font-size:21px}
html body.premium-app[data-premium-view] .writing-workspace p,html body.premium-app[data-premium-view] .writing-kicker,html body.premium-app[data-premium-view] .writing-text-meta,html body.premium-app[data-premium-view] .writing-privacy,html body.premium-app[data-premium-view] .iv-small,html body.premium-app[data-premium-view] .iv-privacy{color:var(--dw-dim)!important}
html body.premium-app[data-premium-view] .writing-workspace .ai-spark{display:none}
html body.premium-app[data-premium-view] .writing-mode-grid{display:grid;gap:8px;margin:10px 0}
html body.premium-app[data-premium-view] .writing-mode-grid label,html body.premium-app[data-premium-view] .writing-mode-grid button{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:var(--dw-r);background:var(--dw-surface-2)!important;border:1px solid var(--dw-line)!important;color:var(--dw-ink)!important;text-align:left}
html body.premium-app[data-premium-view] .writing-mode-grid :checked+*,html body.premium-app[data-premium-view] .writing-mode-grid [aria-pressed="true"],html body.premium-app[data-premium-view] .writing-mode-grid label:has(:checked){border-color:var(--dw-accent)!important;box-shadow:inset 0 0 0 1px var(--dw-accent)}
html body.premium-app[data-premium-view] .writing-mode-grid small,html body.premium-app[data-premium-view] .writing-mode-grid span{color:var(--dw-dim);font-size:12px}
html body.premium-app[data-premium-view] .writing-text-label{color:var(--dw-ink);font-weight:600}
html body.premium-app[data-premium-view] .writing-mode-grid label{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body.premium-app[data-premium-view] .writing-mode-grid label>span{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:var(--dw-r);background:var(--dw-surface-2)!important;border:1px solid var(--dw-line)!important;color:var(--dw-ink)!important;box-shadow:none!important}
html body.premium-app[data-premium-view] .writing-mode-grid label>span strong{color:var(--dw-ink)!important;font-size:15px}
html body.premium-app[data-premium-view] .writing-mode-grid input:checked+span{border-color:var(--dw-accent)!important;box-shadow:inset 0 0 0 1px var(--dw-accent)!important}
html body.premium-app[data-premium-view] .writing-mode-grid input{position:absolute;opacity:0;width:1px;height:1px}
html body.premium-app[data-premium-view] .writing-status .text-button{margin-right:14px}
/* privacy choices: only where it belongs */
html body.premium-app[data-premium-view]:not([data-premium-view="account"]):not([data-premium-view="help"]) #bh-privacy-choices{display:none!important}
html body.premium-app[data-premium-view] .polish-report-action{display:none!important}
html body.premium-app[data-premium-view="account"] .polish-report-action,html body.premium-app[data-premium-view="help"] .polish-report-action{display:block!important}

/* ---------- 14. Lesson sheet (cream paper on dark) ---------- */
html body.premium-app #lesson-dialog{background:var(--dw-paper)!important;color:var(--dw-ink-on-paper)!important;border:0!important;border-radius:24px!important}
html body.premium-app #lesson-dialog .modal-header{padding-bottom:8px;border-bottom:0!important}
html body.premium-app #lesson-dialog #dialog-title{font-family:var(--dw-serif);font-size:26px}
html body.premium-app #lesson-dialog .close-button{background:transparent!important;border:1px solid #d9d6c6!important;border-radius:50%!important;width:40px;height:40px;color:var(--dw-ink-on-paper)!important}
html body.premium-app #lesson-dialog .lesson-timer{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px!important;background:#e9efe4!important;border:0!important;border-radius:var(--dw-r)!important;margin:0 0 10px!important}
html body.premium-app #lesson-dialog .lesson-timer-top{display:contents}
html body.premium-app #lesson-dialog .lesson-timer-top strong{font-size:13px;color:#4a5e55;flex:1}
html body.premium-app #lesson-dialog .lesson-timer-top span{font:700 18px/1 var(--dw-sans);color:var(--dw-ink-on-paper)}
html body.premium-app #lesson-dialog .lesson-timer-controls{display:flex;gap:6px;width:100%}
html body.premium-app #lesson-dialog .lesson-timer-controls select{flex:1;min-height:38px;font-size:14px;background:#fff;color:var(--dw-ink-on-paper);border:1px solid #cfd8cf;border-radius:10px}
html body.premium-app #lesson-dialog .lesson-timer-controls button{min-height:38px!important;padding:0 14px!important;font-size:14px!important;background:#fff!important;color:var(--dw-ink-on-paper)!important;border:1px solid #cfd8cf!important;border-radius:10px!important}
html body.premium-app #lesson-dialog .lesson-timer>p{display:none}
html body.premium-app #lesson-dialog .meter{background:#e3e1d2!important;border-radius:999px;height:6px;margin:6px 0 18px}
html body.premium-app #lesson-dialog .meter span{background:var(--dw-on-accent)!important;border-radius:999px}
html body.premium-app #lesson-dialog .exercise .eyebrow{color:#4f7a50!important;font:600 11px/1 var(--dw-sans)!important;letter-spacing:.14em}
html body.premium-app #lesson-dialog .exercise h3{font-family:var(--dw-serif);font-size:24px;color:var(--dw-ink-on-paper)!important;margin:8px 0}
html body.premium-app #lesson-dialog .translation,html body.premium-app #lesson-dialog .exercise .muted{color:#4a5e55!important}
html body.premium-app #lesson-dialog .listen-button{background:var(--dw-on-accent)!important;color:var(--dw-accent)!important;border:0!important;border-radius:50%!important;width:48px;height:48px}
html body.premium-app #lesson-dialog .lesson-speaking{background:#e9efe4!important;border:0!important;border-radius:var(--dw-r)!important}
html body.premium-app #lesson-dialog #lesson-record{background:#fff!important;color:var(--dw-ink-on-paper)!important;border:1.5px solid var(--dw-on-accent)!important;border-radius:999px!important}
html body.premium-app #lesson-dialog #lesson-record-privacy{font-size:12px;color:#6b7f75!important}
html body.premium-app #lesson-dialog .option{background:#fff!important;color:var(--dw-ink-on-paper)!important;border:1px solid #d9d6c6!important;border-radius:14px!important;font-size:16px!important}
html body.premium-app #lesson-dialog .option[aria-pressed="true"],html body.premium-app #lesson-dialog .option.selected,html body.premium-app #lesson-dialog .option:focus-visible{border-color:var(--dw-on-accent)!important;box-shadow:0 0 0 2px var(--dw-on-accent) inset!important}
html body.premium-app #lesson-dialog .option.correct{background:#e4f5d4!important;border-color:#4f7a50!important}
html body.premium-app #lesson-dialog .option.wrong,html body.premium-app #lesson-dialog .option.incorrect{background:#fbe9e4!important;border-color:#c06a5b!important}
html body.premium-app #lesson-dialog .dialog-footer{border-top:0!important;padding-top:4px}
html body.premium-app #lesson-dialog #next-step{background:var(--dw-on-accent)!important;color:var(--dw-accent)!important;min-height:54px;font-size:17px!important}
html body.premium-app #lesson-dialog #next-step:disabled{background:#cfd8cf!important;color:#6b7f75!important}
html body.premium-app #lesson-dialog .resume-controls{background:transparent!important;border:1px solid #d9d6c6!important;border-radius:var(--dw-r)!important;margin-top:8px}
html body.premium-app #lesson-dialog .resume-controls>summary{color:#4a5e55!important;font-size:14px;font-weight:500}
html body.premium-app #lesson-dialog .polish-report-action{display:none!important}

/* ---------- 15. Doorway brand ---------- */
html body.premium-app .premium-brand img{width:34px;height:34px;border-radius:9px}
html body.premium-app .premium-brand span{font-family:var(--dw-serif);font-weight:600;font-size:21px;letter-spacing:-.01em;color:var(--dw-ink)}
#akintalk-startup{background:var(--dw-bg,#0e1a16)!important}
#akintalk-startup h1{font-family:Fraunces,Georgia,serif!important;font-weight:600!important;letter-spacing:-.02em!important}
#akintalk-startup .startup-tagline{letter-spacing:0!important;font-style:italic;color:#d4f478!important}
#akintalk-startup img{border-radius:28%}
dialog.akintalk-opening{background:#0e1a16!important}
dialog.akintalk-opening .opening-signature strong{font-family:Fraunces,Georgia,serif!important;font-weight:600;letter-spacing:-.02em}
dialog.akintalk-opening .opening-signature span{letter-spacing:0!important;font-style:italic;color:#d4f478}
/* Ask Coach conversation */
html body.premium-app[data-premium-view] .ai-session{background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r)!important;color:var(--dw-ink)!important}
html body.premium-app[data-premium-view] .ai-message{background:var(--dw-paper)!important;color:var(--dw-ink-on-paper)!important;border:0!important}
html body.premium-app[data-premium-view] .ai-message p,html body.premium-app[data-premium-view] .ai-message li{color:var(--dw-ink-on-paper)!important;font-family:var(--dw-sans)!important;font-size:16px!important;line-height:1.5}
html body.premium-app[data-premium-view] .ai-message>span{color:var(--dw-dim-on-paper)!important}
html body.premium-app[data-premium-view] .ai-message.learner{background:var(--dw-surface-2)!important;color:var(--dw-ink)!important}
html body.premium-app[data-premium-view] .ai-message.learner p{color:var(--dw-ink)!important}
html body.premium-app[data-premium-view] .ai-message.learner>span{color:var(--dw-dim)!important}
html body.premium-app[data-premium-view] .ai-message .button,html body.premium-app[data-premium-view] .ai-hear{background:var(--dw-on-accent)!important;color:var(--dw-accent)!important;border:0!important}
html body.premium-app[data-premium-view] .ai-reply-form label,html body.premium-app[data-premium-view] .ai-session label{color:var(--dw-ink)!important;font-weight:600}
html body.premium-app[data-premium-view] .ai-session textarea{background:var(--dw-surface-2)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r-sm)!important}
html body.premium-app[data-premium-view] .ai-session .eyebrow,html body.premium-app[data-premium-view] .ai-session h2{color:var(--dw-accent)!important}
html body.premium-app[data-premium-view] .ai-waiting,html body.premium-app[data-premium-view] .ai-session .small{color:var(--dw-dim)!important}
html body.premium-app[data-premium-view] .ai-error{background:var(--dw-surface-2)!important;border:1px solid var(--dw-line)!important;color:var(--dw-ink)!important;border-radius:var(--dw-r)!important;padding:14px!important}
html body.premium-app[data-premium-view] .ai-summary,html body.premium-app[data-premium-view] .ai-correction,html body.premium-app[data-premium-view] .ai-example,html body.premium-app[data-premium-view] .ai-good,html body.premium-app[data-premium-view] .ai-start-card{background:var(--dw-surface-2)!important;border:1px solid var(--dw-line)!important;color:var(--dw-ink)!important;border-radius:var(--dw-r)!important}
html body.premium-app[data-premium-view] .ai-correction p,html body.premium-app[data-premium-view] .ai-example p,html body.premium-app[data-premium-view] .ai-good p,html body.premium-app[data-premium-view] .ai-summary p{color:var(--dw-ink)!important}
/* header never wraps on large-text phones */
html body.premium-app .premium-masthead{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:8px}
html body.premium-app .premium-masthead .premium-brand{flex:1 1 auto;min-width:0;display:inline-flex;align-items:center;gap:8px}
html body.premium-app .premium-masthead .premium-brand span{font-size:clamp(17px,5vw,21px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.premium-app .premium-header-actions{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;flex-wrap:nowrap}
html body.premium-app .hub-coach-button{padding:0 12px;font-size:13px;min-height:38px}
@media(max-width:360px){html body.premium-app .hub-coach-button span{display:none}html body.premium-app .hub-coach-button{width:38px;padding:0;justify-content:center;border-radius:50%}}

/* ---------- 16. Tighter gutters, slightly larger type on phones ---------- */
html body.premium-app .app-shell>.workspace{padding:0!important}
html body.premium-app .launch-shell{padding:0!important}
html body.premium-app #main.content,html body.premium-app .launch-shell>#main{padding:4px 14px 0!important;max-width:680px;margin:0 auto}
html body.premium-app .lesson-hub{padding:0!important}
html body.premium-app .premium-masthead{padding:2px 0 10px!important;margin:0 0 6px!important}
html body.premium-app[data-premium-view] .page-heading,html body.premium-app .premium-title,html body.premium-app .account-intro h1{margin-top:2px}
html body.premium-app .workspace,html body.premium-app .account-layout,html body.premium-app .practice-dashboard,html body.premium-app .pd-all-tools{max-width:680px}
@media(max-width:480px){
 html body.premium-app{font-size:16px}
 html body.premium-app .hub-purpose,html body.premium-app .page-heading p,html body.premium-app .account-intro p,html body.premium-app .practice-dashboard .page-heading p{font-size:16px}
 html body.premium-app .hub-goals button strong,html body.premium-app .hub-practice strong,html body.premium-app .pd-row strong,html body.premium-app .pd-grid strong{font-size:16px!important}
 html body.premium-app .hub-coach-card strong,html body.premium-app .film-shortcut strong{font-size:17px!important}
 html body.premium-app .hub-continue h2{font-size:26px}
 html body.premium-app .hub-continue button,html body.premium-app .button{font-size:17px!important}
 html body.premium-app .hub-card strong{font-size:19px}
 html body.premium-app .hub-card-bottom{font-size:14px}
 html body.premium-app .hub-dock .nav-btn span{font-size:12px}
 html body.premium-app .pd-metric strong{font-size:32px}
 html body.premium-app .panel.stat strong{font-size:32px}
}
/* welcome / privacy dialogs */
dialog.bh-privacy-dialog{background:var(--dw-paper)!important;color:var(--dw-ink-on-paper)!important;border:0!important;border-radius:24px!important;padding:24px 22px!important}
dialog.bh-privacy-dialog::backdrop{background:#0a1310cc}
.bh-welcome-mark{width:56px;height:56px;border-radius:16px;overflow:hidden;background:transparent!important;margin:0 0 14px}
.bh-welcome-mark img{display:block;width:56px;height:56px;border-radius:16px}
.bh-welcome-kicker{font:600 11px/1 var(--dw-sans)!important;letter-spacing:.14em;color:#4f7a50!important;margin:0 0 10px}
dialog.bh-privacy-dialog h2{font-family:var(--dw-serif)!important;font-size:26px!important;color:var(--dw-ink-on-paper)!important;margin:0 0 10px}
dialog.bh-privacy-dialog p,dialog.bh-privacy-dialog label{color:var(--dw-ink-on-paper)!important;font-size:16px}
dialog.bh-privacy-dialog .bh-welcome-parent{color:#4a5e55!important;font-size:14px}
dialog.bh-privacy-dialog a{color:#2f5e40!important}
dialog.bh-privacy-dialog .bh-welcome-continue,dialog.bh-privacy-dialog button[type="submit"]{background:var(--dw-on-accent)!important;color:var(--dw-accent)!important;border:0!important;border-radius:999px!important;min-height:52px;font:700 17px/1 var(--dw-sans)!important;width:100%}
dialog.bh-privacy-dialog .bh-welcome-later{color:#4a5e55!important}
dialog.bh-privacy-dialog input[type="checkbox"]{width:22px;height:22px;accent-color:var(--dw-on-accent)}
/* bigger words on phones */
@media(max-width:480px){
 html body.premium-app{font-size:17px}
 html body.premium-app .premium-brand span{font-size:24px}
 html body.premium-app .premium-title,html body.premium-app .page-heading h1,html body.premium-app .practice-dashboard .page-heading h1,html body.premium-app .account-intro h1{font-size:36px!important;line-height:1.05}
 html body.premium-app .hub-purpose,html body.premium-app .page-heading p,html body.premium-app .practice-dashboard .page-heading p{font-size:17px}
 html body.premium-app .hub-goals button strong,html body.premium-app .pd-row strong,html body.premium-app .pd-grid strong,html body.premium-app .hub-practice strong{font-size:17px!important}
 html body.premium-app .pd-row small,html body.premium-app .pd-grid small,html body.premium-app .hub-coach-card small,html body.premium-app .film-shortcut small{font-size:14px}
 html body.premium-app .hub-continue h2{font-size:28px}
 html body.premium-app .hub-card strong{font-size:20px;line-height:1.15}
 html body.premium-app .pd-metric strong,html body.premium-app .panel.stat strong{font-size:34px}
 html body.premium-app .pd-metric span,html body.premium-app .panel.stat span{font-size:13px}
 html body.premium-app .pd-coach strong{font-size:20px}
 html body.premium-app .pd-coach small{font-size:14px}
 html body.premium-app .pd-heading h2{font-size:14px!important}
 html body.premium-app .pd-row .pd-play{font-size:14px;padding:10px 16px}
 html body.premium-app .hub-dock .nav-btn span{font-size:12.5px}
 html body.premium-app .hub-filters button{font-size:15px}
 html body.premium-app .growth-summary strong{font-size:17px}
 html body.premium-app .ai-message p{font-size:17px!important}
 html body.premium-app .option{font-size:17px!important}
}

/* ---------- 17. Video gallery & player ---------- */
dialog.film-gallery{background:var(--dw-bg)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:24px!important;padding:16px!important}
dialog.film-gallery::backdrop{background:#0a1310d9}
.film-gallery-top h2{font-family:var(--dw-serif);font-size:24px;color:var(--dw-ink)}
.film-gallery-top p,.film-result-count{color:var(--dw-dim)!important}
.film-gallery-close{background:var(--dw-surface-2)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:999px!important}
.film-filters button{background:var(--dw-surface-2)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:999px!important}
.film-filters button[aria-pressed=true]{background:var(--dw-accent)!important;color:var(--dw-on-accent)!important;border-color:var(--dw-accent)!important}
.film-gallery-list button{display:flex;align-items:center;gap:12px;background:var(--dw-surface)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r)!important;font-family:var(--dw-sans)!important;font-size:16px!important}
.film-gallery-list button[aria-pressed=true]{border-color:var(--dw-accent)!important;box-shadow:inset 0 0 0 1px var(--dw-accent)}
.film-gallery-list small{color:var(--dw-dim)!important}
.film-thumb{flex:0 0 72px;width:72px;height:72px;border-radius:12px;background:var(--dw-surface-2);overflow:hidden;display:grid;place-items:center;color:var(--dw-accent)}
.film-thumb img{width:100%;height:100%;object-fit:cover}
.film-play-icon{background:var(--dw-accent)!important;color:var(--dw-on-accent)!important}
.lesson-film{background:var(--dw-surface)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r)!important}
.lesson-film h4{font-family:var(--dw-serif);font-size:20px;color:var(--dw-ink)}
.lesson-film p,.lesson-film li,.lesson-film summary{color:var(--dw-ink)}
.lesson-film .eyebrow{color:var(--dw-accent)!important}
.lesson-film .small,.lesson-film-question{color:var(--dw-dim)!important;border-color:var(--dw-line)!important}
.lesson-film-player{background:#000!important;border-radius:14px!important}
.lesson-film-cue{background:var(--dw-surface-2)!important;border:1px solid var(--dw-line)!important;color:var(--dw-ink)!important;border-radius:var(--dw-r-sm)!important}
.lesson-film-error{background:var(--dw-surface-2)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important}
.lesson-film a{color:var(--dw-accent)!important}
.film-chapters button{background:var(--dw-surface-2)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:999px!important}
.film-chapters button[aria-current=true],.film-chapters button.active{background:var(--dw-accent)!important;color:var(--dw-on-accent)!important}
.film-transcript{background:var(--dw-surface-2)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r-sm)!important}

/* ---------- 18. Dictionary ---------- */
html body.premium-app[data-premium-view] .dict-card,html body.premium-app[data-premium-view] .dict-full-entry,html body.premium-app[data-premium-view] .dict-voice-panel,html body.premium-app[data-premium-view] .dict-reference,html body.premium-app[data-premium-view] .dict-discover,html body.premium-app[data-premium-view] .dict-empty,html body.premium-app[data-premium-view] .dict-loading,html body.premium-app[data-premium-view] .dict-invite,html body.premium-app[data-premium-view] .dict-browse{background:var(--dw-surface)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r)!important;box-shadow:none!important}
html body.premium-app[data-premium-view] .dict-card *,html body.premium-app[data-premium-view] .dict-full-entry *{color:var(--dw-ink)}
html body.premium-app[data-premium-view] .dict-word,html body.premium-app[data-premium-view] .dict-full-entry h2,html body.premium-app[data-premium-view] .dict-heading h2{font-family:var(--dw-serif)!important;color:var(--dw-ink)!important;font-size:30px!important;opacity:1!important}
html body.premium-app[data-premium-view] .dict-pos{font-family:var(--dw-serif)!important;color:var(--dw-accent)!important;font-size:20px}
html body.premium-app[data-premium-view] .dict-meaning,html body.premium-app[data-premium-view] .dict-meaning li,html body.premium-app[data-premium-view] .dict-full-entry li,html body.premium-app[data-premium-view] .dict-full-entry p{color:var(--dw-ink)!important;opacity:1!important;font-size:16px;line-height:1.55}
html body.premium-app[data-premium-view] .dict-reference-label,html body.premium-app[data-premium-view] .dict-regional-note,html body.premium-app[data-premium-view] .dict-reference-notice,html body.premium-app[data-premium-view] .dict-source,html body.premium-app[data-premium-view] .dict-origin,html body.premium-app[data-premium-view] .dict-note,html body.premium-app[data-premium-view] .dict-historical,html body.premium-app[data-premium-view] .dict-learner-hint,html body.premium-app[data-premium-view] .dict-search-help{color:var(--dw-dim)!important}
html body.premium-app[data-premium-view] .dict-reference h3,html body.premium-app[data-premium-view] .dict-full-entry h3{font-family:var(--dw-serif)!important;color:var(--dw-ink)!important;opacity:1!important}
html body.premium-app[data-premium-view] .dict-audio,html body.premium-app[data-premium-view] .dict-save{background:var(--dw-surface-2)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:999px!important}
html body.premium-app[data-premium-view] .dict-search-row input{background:var(--dw-surface-2)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:999px!important;font-size:17px}
html body.premium-app[data-premium-view] .dict-search-button{background:var(--dw-accent)!important;color:var(--dw-on-accent)!important;border:0!important;border-radius:999px!important}
html body.premium-app[data-premium-view] .dict-modes button,html body.premium-app[data-premium-view] .dict-filters button,html body.premium-app[data-premium-view] .dict-suggestions button,html body.premium-app[data-premium-view] .dict-topic{background:var(--dw-surface-2)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:999px!important}
html body.premium-app[data-premium-view] .dict-modes button[aria-pressed=true],html body.premium-app[data-premium-view] .dict-filters button[aria-pressed=true]{background:var(--dw-accent)!important;color:var(--dw-on-accent)!important;border-color:var(--dw-accent)!important}
html body.premium-app[data-premium-view] .dict-voice-panel select{background:var(--dw-surface-2)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important}
html body.premium-app[data-premium-view] .dict-voice-panel p,html body.premium-app[data-premium-view] #dict-voice-status{color:var(--dw-dim)!important}
html body.premium-app[data-premium-view] .dict-book-scene,html body.premium-app[data-premium-view] .dict-emblem{filter:none}
html body.premium-app[data-premium-view] .dictionary-page .eyebrow{color:var(--dw-accent)!important}
html body.premium-app[data-premium-view] .dictionary-page h1{color:var(--dw-ink)!important}

/* ---------- 19. Room for the floating dock ---------- */
html body.premium-app #main,html body.premium-app .launch-shell>#main,html body.premium-app #main.content{padding-bottom:84px!important}
html body.premium-app .pd-all-tools,html body.premium-app .hub-learning-plan,html body.premium-app .hub-footer{margin-bottom:0}
html body.premium-app[data-premium-view] form.dict-controls,html body.premium-app[data-premium-view] .dict-lookup-results,html body.premium-app[data-premium-view] .dict-lookup-results>*{background:var(--dw-surface)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r)!important;box-shadow:none!important}
html body.premium-app[data-premium-view] .dict-lookup-results>*>*{border-color:var(--dw-line)!important}
html body.premium-app[data-premium-view] .dict-lookup-results h2,html body.premium-app[data-premium-view] .dict-lookup-results h3,html body.premium-app[data-premium-view] .dict-lookup-results strong{color:var(--dw-ink)!important;opacity:1!important}
html body.premium-app[data-premium-view] .dict-lookup-results li,html body.premium-app[data-premium-view] .dict-lookup-results p{color:var(--dw-ink)!important;opacity:1!important}
html body.premium-app[data-premium-view] .dict-lookup-results .button,html body.premium-app[data-premium-view] .dict-lookup-results button:not(.text-button){background:var(--dw-surface-2)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:999px!important}
html body.premium-app[data-premium-view] .dict-lookup-results .button.primary,html body.premium-app[data-premium-view] .dict-lookup-results button.lime{background:var(--dw-accent)!important;color:var(--dw-on-accent)!important;border:0!important}
html body.premium-app[data-premium-view] .dict-heading h1{font-size:32px!important}
html body.premium-app[data-premium-view] .dict-heading h1 span,html body.premium-app[data-premium-view] .dict-heading .muted{color:var(--dw-dim)!important}

/* ---------- 20. Pricing & Help ---------- */
html body.premium-app[data-premium-view="pricing"] .pricing-heading h1,html body.premium-app .pricing-heading h1{color:var(--dw-ink)!important;opacity:1!important;font-family:var(--dw-serif)!important;font-size:34px!important;line-height:1.1}
html body.premium-app .pricing-heading p{color:var(--dw-dim)!important}
html body.premium-app .pricing-heading .eyebrow{color:var(--dw-accent)!important}
html body.premium-app .preview-pricing{background:var(--dw-surface-2)!important;border:1px solid var(--dw-line)!important;color:var(--dw-ink)!important;border-radius:var(--dw-r)!important;padding:14px 16px!important;text-align:left}
html body.premium-app .preview-pricing strong{color:var(--dw-accent)!important}
html body.premium-app .price-card{background:var(--dw-surface)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r-lg)!important;box-shadow:none!important}
html body.premium-app .price-card.featured{background:var(--dw-paper)!important;color:var(--dw-ink-on-paper)!important;border:0!important}
html body.premium-app .price-card.featured *{color:var(--dw-ink-on-paper)}
html body.premium-app .price-card h2{font-family:var(--dw-serif)!important;font-size:22px!important}
html body.premium-app .price-card .eyebrow{color:var(--dw-accent)!important}
html body.premium-app .price-card.featured .eyebrow{color:#4f7a50!important}
html body.premium-app .price-card .price{font:700 36px/1.1 var(--dw-sans)!important}
html body.premium-app .price-card .price-note,html body.premium-app .price-card .plan-caption,html body.premium-app .price-card .annual-comparison{color:var(--dw-dim)!important;font-size:13px}
html body.premium-app .price-card.featured .price-note,html body.premium-app .price-card.featured .plan-caption,html body.premium-app .price-card.featured .annual-comparison{color:#4a5e55!important}
html body.premium-app .price-card li{color:inherit}
html body.premium-app .price-card .button.secondary{background:var(--dw-surface-2)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;opacity:1!important}
html body.premium-app .price-card .button.lime{background:var(--dw-on-accent)!important;color:var(--dw-accent)!important;border:0!important}
html body.premium-app .plan-cycle{border:1px solid #d6d9c9!important;border-radius:var(--dw-r-sm)!important}
html body.premium-app .plan-cycle label{color:var(--dw-ink-on-paper)!important}
html body.premium-app .plan-saving,html body.premium-app .annual-offer{color:#2f5e40!important}
html body.premium-app .free-starter{background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r-lg)!important;color:var(--dw-ink)!important}
html body.premium-app .free-starter h2{color:var(--dw-ink)!important;font-family:var(--dw-serif)!important}
html body.premium-app .free-starter p,html body.premium-app .free-starter-footnote{color:var(--dw-dim)!important}
html body.premium-app .free-starter-list button{background:var(--dw-surface-2)!important;border:1px solid var(--dw-line)!important;color:var(--dw-ink)!important;border-radius:var(--dw-r)!important}
html body.premium-app .free-starter-action{color:var(--dw-accent)!important}
html body.premium-app .polish-help,html body.premium-app .help-hero,html body.premium-app .help-english-note{background:var(--dw-surface)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r-lg)!important;box-shadow:none!important}
html body.premium-app .polish-help *,html body.premium-app .help-english-note *{color:var(--dw-ink)}
html body.premium-app .polish-help h2,html body.premium-app .help-hero h2{font-family:var(--dw-serif)!important;color:var(--dw-ink)!important;opacity:1!important}
html body.premium-app .polish-help p,html body.premium-app .help-hero p,html body.premium-app .help-english-note p{color:var(--dw-dim)!important}
html body.premium-app .polish-help summary{color:var(--dw-ink)!important;font-weight:600;cursor:pointer;min-height:44px;display:flex;align-items:center}
html body.premium-app .help-hero .eyebrow{color:var(--dw-accent)!important}
html body.premium-app .help-hero .button.lime{background:var(--dw-accent)!important;color:var(--dw-on-accent)!important}
html body.premium-app .help-hero .button.secondary{background:var(--dw-surface-2)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important}
html body.premium-app .help-path span{background:var(--dw-surface-2)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;border-radius:999px!important}
html body.premium-app .help-path i{color:var(--dw-dim)}
html body.premium-app .help-english-note table{color:var(--dw-ink)}
html body.premium-app .help-english-note th,html body.premium-app .help-english-note td{border-color:var(--dw-line)!important}

html body.premium-app #main>*:last-child,html body.premium-app .lesson-hub>*:last-child,html body.premium-app .workspace>*:last-child,html body.premium-app .account-layout>*:last-child{margin-bottom:0!important}

/* ---------- 21. Category colours (secondary palette) ---------- */
:root{--dw-clay:#c8694f;--dw-clay-soft:#3a251f;--dw-moss:#4f9a6c;--dw-moss-soft:#1b3328;--dw-indigo:#7d8ad6;--dw-indigo-soft:#262b45;--dw-teal-soft:#16332f}
/* Home goal tiles */
html body.premium-app .hub-goals button svg{width:30px;height:30px;padding:6px;border-radius:10px;box-sizing:content-box}
html body.premium-app .hub-goals button.cat-jobs svg{color:var(--dw-clay);background:var(--dw-clay-soft)}
html body.premium-app .hub-goals button.cat-everyday svg{color:var(--dw-moss);background:var(--dw-moss-soft)}
html body.premium-app .hub-goals button.cat-exams svg{color:var(--dw-indigo);background:var(--dw-indigo-soft)}
html body.premium-app .hub-goals button.cat-sounds svg{color:var(--dw-teal);background:var(--dw-teal-soft)}
html body.premium-app .hub-goals button.cat-jobs{border-color:#4a2e26!important}
html body.premium-app .hub-goals button.cat-everyday{border-color:#24402f!important}
html body.premium-app .hub-goals button.cat-exams{border-color:#30375a!important}
html body.premium-app .hub-goals button.cat-sounds{border-color:#1f4440!important}
/* Lesson cards: coloured icon badge + top stripe */
html body.premium-app .hub-card .hub-symbol{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e4e6d8;color:var(--dw-ink-on-paper)}
html body.premium-app .hub-card.cat-jobs .hub-symbol,html body.premium-app .hub-card.cat-work .hub-symbol{background:var(--dw-clay);color:#fff}
html body.premium-app .hub-card.cat-everyday .hub-symbol{background:#3f7d58;color:#fff}
html body.premium-app .hub-card.cat-exams .hub-symbol{background:#4d5a8d;color:#fff}
html body.premium-app .hub-card.cat-sounds .hub-symbol{background:#2f8a7c;color:#fff}
html body.premium-app .hub-card.cat-visa .hub-symbol{background:#8a6a2f;color:#fff}
/* Lessons hub filter chips */
html body.premium-app .hub-filters button[data-hub-goal="jobs"][aria-pressed="true"],html body.premium-app .hub-filters button[data-hub-goal="work"][aria-pressed="true"]{background:var(--dw-clay)!important;color:#fff!important}
html body.premium-app .hub-filters button[data-hub-goal="everyday"][aria-pressed="true"]{background:#3f7d58!important;color:#fff!important}
html body.premium-app .hub-filters button[data-hub-goal="exams"][aria-pressed="true"]{background:#4d5a8d!important;color:#fff!important}
html body.premium-app .hub-filters button[data-hub-goal="sounds"][aria-pressed="true"]{background:#2f8a7c!important;color:#fff!important}
/* Practice sections */
html body.premium-app .pd-section:nth-of-type(1) .pd-heading h2,html body.premium-app .pd-section:nth-of-type(1) .pd-heading svg{color:var(--dw-teal)!important}
html body.premium-app .pd-section:nth-of-type(2) .pd-heading h2,html body.premium-app .pd-section:nth-of-type(2) .pd-heading svg{color:var(--dw-clay)!important}
html body.premium-app .pd-section:nth-of-type(3) .pd-heading h2,html body.premium-app .pd-section:nth-of-type(3) .pd-heading svg{color:var(--dw-indigo)!important}
html body.premium-app .pd-section:nth-of-type(2) .pd-row>span:first-child>svg{color:var(--dw-clay)}
html body.premium-app .pd-grid button:nth-child(1) svg{color:var(--dw-indigo)}
html body.premium-app .pd-grid button:nth-child(2) svg{color:var(--dw-teal)}
html body.premium-app .pd-grid button:nth-child(3) svg{color:var(--dw-moss)}
html body.premium-app .pd-grid button:nth-child(4) svg{color:var(--dw-clay)}
html body.premium-app .pd-grid button:nth-child(5) svg{color:var(--dw-gold)}
html body.premium-app .pd-metric:nth-child(2) strong{color:var(--dw-clay)!important}
html body.premium-app .pd-metric:nth-child(3) strong{color:var(--dw-indigo)!important}
html body.premium-app .pd-kicker{color:var(--dw-teal)!important}
/* Progress */
html body.premium-app .stats .panel.stat:nth-child(1) strong{color:var(--dw-teal)!important}
html body.premium-app .stats .panel.stat:nth-child(2) strong{color:var(--dw-clay)!important}
/* Coach card + dictionary card on Home */
html body.premium-app .hub-coach-card:not(.hub-dictionary-card) svg:first-child{color:var(--dw-gold)}
html body.premium-app .hub-dictionary-card button>svg:first-child{color:var(--dw-indigo)}
html body.premium-app .pd-coach>svg{color:var(--dw-clay)}
html body.premium-app .hub-goals button.cat-visa svg{color:var(--dw-gold);background:#3b2f18}
html body.premium-app .hub-goals button.cat-visa{border-color:#4a3c1f!important}
html body.premium-app .hub-goals button.cat-work svg{color:var(--dw-clay);background:var(--dw-clay-soft)}
html body.premium-app .hub-goals button.cat-work{border-color:#4a2e26!important}
html body.premium-app .hub-filters button[data-hub-goal="visa"][aria-pressed="true"]{background:#8a6a2f!important;color:#fff!important}
/* Home: slim dictionary bar above the next lesson */
html body.premium-app .hub-quick-dict{display:flex;align-items:center;gap:10px;width:100%;min-height:46px;margin:0 0 12px;padding:0 14px;border-radius:999px;background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;color:var(--dw-dim)!important;font:500 15px/1 var(--dw-sans);text-align:left;cursor:pointer}
html body.premium-app .hub-quick-dict span{flex:1}
html body.premium-app .hub-quick-dict svg{width:18px;height:18px;color:var(--dw-indigo)}
html body.premium-app .hub-quick-dict svg:last-child{color:var(--dw-accent)}
/* picture icons */
html body.premium-app .cat-img{display:block;object-fit:contain;filter:drop-shadow(0 4px 8px #00000066)}
html body.premium-app .hub-goals button .cat-img{width:46px;height:46px;margin:0 0 6px}
html body.premium-app .hub-goals button svg{display:none}
html body.premium-app .hub-card .hub-symbol{background:transparent!important;width:44px;height:44px}
html body.premium-app .hub-card .hub-symbol .cat-img{width:40px;height:40px}
html body.premium-app .hub-coach-card .cat-img{width:40px;height:40px;flex:0 0 auto}
html body.premium-app .hub-quick-dict .cat-img{width:26px;height:26px}
/* avatar */
html body.premium-app .shell-more>summary{list-style:none;cursor:pointer;padding:0!important;background:transparent!important;border:0!important;width:40px;height:40px;display:grid;place-items:center}
html body.premium-app .hub-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--dw-surface-2);border:1px solid var(--dw-line);color:var(--dw-ink);font:700 16px/1 var(--dw-sans)}
html body.premium-app .hub-avatar svg{width:20px;height:20px}
html body.premium-app .hub-avatar.is-in{background:var(--dw-accent);border-color:var(--dw-accent);color:var(--dw-on-accent)}
html body.premium-app .shell-more>summary{width:40px!important;height:40px!important;min-width:0!important;min-height:0!important;border-radius:50%!important}
html body.premium-app .hub-avatar{width:38px!important;height:38px!important;min-width:38px;aspect-ratio:1;box-sizing:border-box}

/* 22. Trademark mark */
html body .tm,html body sup.tm{font-size:.42em;font-weight:600;vertical-align:top;position:relative;top:.15em;margin-left:.12em;letter-spacing:0;opacity:.75;font-family:Lexend,system-ui,sans-serif}

/* 23. Header language pill */
html body.premium-app .premium-brand{font-size:18px;letter-spacing:-.3px}
html body.premium-app .premium-brand .tm{font-size:.5em;top:.1em}
html body.premium-app .premium-header-actions .hub-languages{position:relative;margin:0;padding:0;border:0;background:none}
html body.premium-app .hub-languages>summary{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 10px 0 8px;border-radius:999px;background:var(--dw-surface-2);border:1px solid var(--dw-line);color:var(--dw-ink);font:600 13px/1 var(--dw-sans);list-style:none;cursor:pointer;white-space:nowrap}
html body.premium-app .hub-languages>summary::-webkit-details-marker{display:none}
html body.premium-app .hub-languages>summary::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:-3px 2px 0 0;opacity:.7}
html body.premium-app .hub-languages .language-label-full{display:none}
html body.premium-app .hub-languages .language-label-short{display:inline}
html body.premium-app .hub-languages>summary .compact-flags img{width:22px;height:16px;border-radius:3px;object-fit:cover}
html body.premium-app .hub-languages>summary .compact-flags img:not(:first-child){display:none}
html body.premium-app .hub-languages .compact-language-options{position:absolute;right:0;top:calc(100% + 8px);z-index:80;min-width:230px;max-height:70vh;overflow:auto;display:grid;gap:2px;padding:8px;border-radius:16px;background:var(--dw-surface);border:1px solid var(--dw-line);box-shadow:0 18px 40px rgba(0,0,0,.45)}
html body.premium-app .hub-languages .compact-language-options button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:0 12px;border-radius:10px;background:transparent;border:0;color:var(--dw-ink);font:500 15px/1.2 var(--dw-sans);text-align:left;cursor:pointer}
html body.premium-app .hub-languages .compact-language-options button .compact-flags{display:inline-flex;gap:3px}
html body.premium-app .hub-languages .compact-language-options button .compact-flags img{width:20px;height:14px;border-radius:2px}
html body.premium-app .hub-languages .compact-language-options button[aria-pressed="true"]{background:rgba(212,244,120,.14);color:var(--dw-accent)}
html body.premium-app .hub-languages .compact-language-options button:hover{background:var(--dw-surface-2)}
@media (max-width:360px){html body.premium-app .premium-brand span{display:none}}

/* 23b. Header fit on phones */
html body.premium-app .premium-brand{font-size:15.5px;gap:8px}
html body.premium-app .premium-brand img{width:30px;height:30px;border-radius:8px}
html body.premium-app .hub-languages>summary{padding:0 8px;gap:4px;min-width:40px}
html body.premium-app .hub-languages>summary .language-label-short{display:none}
@media (min-width:440px){html body.premium-app .hub-languages>summary{padding:0 10px 0 8px;gap:6px}html body.premium-app .hub-languages>summary .language-label-short{display:inline}}
html body.premium-app .hub-languages .compact-language-options{right:auto;left:50%;transform:translateX(-50%);width:240px;min-width:0;grid-template-columns:1fr}
html body.premium-app .hub-coach-button{padding:0 12px}
/* 23c. Brand fits beside language pill + Coach + avatar on 390px phones */
html body.premium-app .premium-masthead .premium-brand span{font-size:clamp(14.5px,4vw,19px);letter-spacing:-.02em}
@media (min-width:520px){html body.premium-app .premium-masthead .premium-brand span{font-size:21px}}
html body.premium-app .hub-languages>summary{padding:0 6px 0 7px;gap:3px;min-height:38px}
html body.premium-app .hub-languages>summary .compact-flags img{width:21px;height:15px}
html body.premium-app .hub-coach-button{padding:0 11px;min-height:38px}
@media (max-width:439px){html body.premium-app .hub-languages>summary::after{display:none}html body.premium-app .hub-languages>summary{padding:0 9px}html body.premium-app .premium-masthead .premium-brand span{font-size:clamp(14px,3.9vw,19px)}}
/* 23d. All of a language's country flags in the header pill (stacked) */
html body.premium-app .hub-languages>summary .compact-flags{display:inline-flex;align-items:center}
html body.premium-app .hub-languages>summary .compact-flags img:not(:first-child){display:inline-block;margin-left:-9px;box-shadow:-1px 0 0 1px var(--dw-surface-2)}
html body.premium-app .hub-languages>summary .compact-flags img{border-radius:3px}
html body.premium-app .pd-play,html body.premium-app .hub-coach-button span{white-space:nowrap}

/* 24. Launch price */
html body.premium-app .intro-offer{display:inline-block;margin:0 0 6px;padding:6px 10px;border-radius:999px;background:rgba(239,173,77,.16);color:var(--dw-gold);font:600 12px/1 var(--dw-sans);letter-spacing:.06em}
html body.premium-app .intro-offer strong{color:var(--dw-ink);font-size:13px}

/* 25. Google sign-in */
html body.premium-app .account-google{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:50px;margin:0 0 14px;border-radius:14px;background:#fff;color:#1f1f1f;border:1px solid rgba(0,0,0,.12);font:600 16px var(--dw-sans);cursor:pointer}
html body.premium-app .account-google:hover{background:#f4f4f4}
html body.premium-app .account-or{display:flex;align-items:center;gap:12px;margin:0 0 14px;color:var(--dw-dim);font:500 13px var(--dw-sans);text-transform:uppercase;letter-spacing:.08em}
html body.premium-app .account-or::before,html body.premium-app .account-or::after{content:"";flex:1;height:1px;background:var(--dw-line)}

/* 26. Install card + row */
html body.premium-app .hub-install{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:12px;margin:0 0 16px;padding:12px 12px 12px 14px;border-radius:var(--dw-r);background:var(--dw-surface);border:1px solid var(--dw-line)}
html body.premium-app .hub-install img{border-radius:10px}
html body.premium-app .hub-install strong{display:block;font:600 15px/1.25 var(--dw-sans);color:var(--dw-ink)}
html body.premium-app .hub-install small{display:block;margin-top:2px;font:400 13px/1.3 var(--dw-sans);color:var(--dw-dim)}
html body.premium-app .hub-install-go{min-height:38px;padding:0 14px;border-radius:999px;background:var(--dw-accent);color:var(--dw-on-accent);border:0;font:700 14px var(--dw-sans);cursor:pointer}
html body.premium-app .hub-install-x{width:32px;height:32px;border-radius:50%;background:transparent;border:0;color:var(--dw-dim);font-size:20px;cursor:pointer}
html body.premium-app .premium-settings-install{display:flex;justify-content:space-between;align-items:center;width:100%;background:none;border:0;border-bottom:1px solid var(--dw-line);padding:14px 0;color:var(--dw-ink);font:600 16px var(--dw-sans);text-align:left;cursor:pointer}
html body.premium-app .premium-settings-install span{color:var(--dw-accent);font-weight:500;font-size:14px}
html body.premium-app dialog:has(.install-guide) .lesson-timer{display:none!important}
/* 27. Header fit with 3 stacked flags */
@media (max-width:439px){
 html body.premium-app .hub-languages>summary .compact-flags img:not(:first-child){margin-left:-13px}
 html body.premium-app .hub-languages>summary{padding:0 7px}
 html body.premium-app .hub-coach-button{padding:0 10px;font-size:13px;gap:5px}
 html body.premium-app .hub-coach-button svg{width:16px;height:16px}
 html body.premium-app .premium-masthead .premium-brand span{font-size:clamp(13.5px,3.7vw,19px);letter-spacing:-.025em}
 html body.premium-app .premium-masthead .premium-brand{gap:7px}
 html body.premium-app .premium-header-actions{gap:6px}
}

/* 28. Menu tidy */
html body.premium-app .shell-settings-links{display:flex;flex-wrap:wrap;gap:8px}
html body.premium-app .shell-settings-links a,html body.premium-app .shell-settings-links button{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:999px;background:var(--dw-paper-2);color:var(--dw-ink-on-paper);border:1px solid var(--dw-paper-line);font:600 14px var(--dw-sans);text-decoration:none;cursor:pointer}

/* 29. Coach thinking bubble */
html body.premium-app .ai-thinking{display:flex;align-items:center;gap:10px;max-width:86%;margin:6px 0 0;padding:12px 14px;border-radius:18px 18px 18px 6px;background:var(--dw-surface-2);border:1px solid var(--dw-line);color:var(--dw-dim);font:500 14px var(--dw-sans)}
html body.premium-app .ai-thinking .text-button{margin-left:auto;color:var(--dw-accent);font-size:13px}
html body.premium-app .ai-dots{display:inline-flex;gap:4px}
html body.premium-app .ai-dots i{width:7px;height:7px;border-radius:50%;background:var(--dw-accent);opacity:.35;animation:dw-dot 1.2s infinite ease-in-out}
html body.premium-app .ai-dots i:nth-child(2){animation-delay:.2s}
html body.premium-app .ai-dots i:nth-child(3){animation-delay:.4s}
@keyframes dw-dot{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){html body.premium-app .ai-dots i{animation:none;opacity:.8}}

/* 30. Onboarding */
html body dialog.dw-onboard{width:min(100vw - 24px,440px);max-height:92vh;margin:auto;padding:0;border:0;border-radius:24px;background:var(--dw-surface);color:var(--dw-ink);overflow:auto}
html body dialog.dw-onboard::backdrop{background:rgba(5,12,10,.78);backdrop-filter:blur(6px)}
html body .dw-ob{padding:18px 18px 20px;font-family:var(--dw-sans)}
html body .dw-ob-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
html body .dw-ob-dots{display:inline-flex;gap:6px}
html body .dw-ob-dots i{width:22px;height:5px;border-radius:999px;background:var(--dw-line);display:block}
html body .dw-ob-dots i.is-on{background:var(--dw-accent)}html body .dw-ob-dots i.is-done{background:var(--dw-teal)}
html body .dw-ob-skip,html body .dw-ob-back{background:none;border:0;color:var(--dw-dim);font:600 14px var(--dw-sans);cursor:pointer;padding:6px 8px}
html body .dw-ob h2{margin:0 0 4px;font:600 26px/1.15 var(--dw-serif);color:var(--dw-ink);outline:0}
html body .dw-ob-sub{margin:0 0 16px;color:var(--dw-dim);font-size:15px}
html body .dw-ob-options{display:grid;gap:10px}
html body .dw-ob-options.is-grid{grid-template-columns:1fr 1fr}
html body .dw-ob-option{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:14px;border-radius:16px;background:var(--dw-surface-2);border:1.5px solid var(--dw-line);color:var(--dw-ink);text-align:left;cursor:pointer;font-family:var(--dw-sans)}
html body .dw-ob-option strong{font-size:16px;line-height:1.2}
html body .dw-ob-option small{color:var(--dw-dim);font-size:13px;line-height:1.3}
html body .dw-ob-option .cat-img{width:40px;height:40px;margin-bottom:6px}
html body .dw-ob-option.is-chosen{border-color:var(--dw-accent);background:rgba(212,244,120,.12)}
html body .dw-ob-option.is-chosen strong{color:var(--dw-accent)}
html body .dw-ob-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}
html body .dw-ob-next{flex:1;min-height:50px;border-radius:999px;background:var(--dw-accent);color:var(--dw-on-accent);border:0;font:700 16px var(--dw-sans);cursor:pointer}
html body .dw-ob-next:disabled{opacity:.4;cursor:default}
html body.premium-app .hub-goal-tag{display:inline-block;margin-top:6px;font:700 10px/1 var(--dw-sans);letter-spacing:.08em;text-transform:uppercase;color:var(--dw-on-accent);background:var(--dw-accent);padding:4px 7px;border-radius:999px}
html body.premium-app .hub-goals button{position:relative}
html body.premium-app .pd-plan{margin:-4px 0 12px;color:var(--dw-dim);font:500 14px var(--dw-sans)}
html body.premium-app .pd-plan strong{color:var(--dw-ink)}

/* 31. Compact menu panel */
html body.premium-app .shell-more .shell-more-panel{padding:14px 16px 16px!important;border-radius:20px!important;max-width:320px!important;width:calc(100vw - 28px)!important;right:0!important;left:auto!important;gap:0!important}
html body.premium-app .shell-more .shell-menu-close{min-height:34px!important;padding:0 12px!important;font-size:13px!important;border-radius:999px!important;margin:0 0 4px auto!important;display:block!important}
html body.premium-app .shell-more .shell-more-panel h2{margin:6px 0 6px!important;font:700 11px/1.2 var(--dw-sans)!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:#5d6f66!important}
html body.premium-app .shell-more .shell-explore{padding:0 0 10px!important;margin:0 0 10px!important;border-bottom:1px solid #dfe3d8!important}
html body.premium-app .shell-more .shell-secondary div:not(.shell-audience){display:grid!important;grid-template-columns:1fr 1fr!important;gap:2px 10px!important}
html body.premium-app .shell-more .shell-secondary a{display:flex!important;align-items:center!important;min-height:40px!important;padding:0 6px!important;font:600 15px var(--dw-sans)!important;color:#1d2b25!important;border-radius:10px!important;text-decoration:none!important}
html body.premium-app .shell-more .shell-secondary a:hover,html body.premium-app .shell-more .shell-secondary a:focus-visible{background:#eef1e6!important}
html body.premium-app .shell-settings-links{gap:6px!important}
html body.premium-app .shell-settings-links a,html body.premium-app .shell-settings-links button{min-height:36px!important;padding:0 12px!important;font-size:13px!important;background:#eef1e6!important;border-color:#dfe3d8!important;color:#1d2b25!important}
/* 32. Account page: cards fill the width */
html body.premium-app .account-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
html body.premium-app .account-layout>*{width:100%!important;max-width:none!important;justify-self:stretch!important;box-sizing:border-box!important}
html body.premium-app .account-card a:not(.button),html body.premium-app .account-privacy a{color:var(--dw-accent)!important}
html body.premium-app .shell-more .shell-settings{border-top:0!important;padding-top:0!important;margin-top:0!important}
html body.premium-app .shell-more .shell-secondary{border:0!important;padding-bottom:0!important;margin-bottom:0!important}
html body.premium-app .shell-settings-links{display:flex!important;flex-wrap:wrap!important;align-items:center!important}
html body.premium-app .shell-settings-links>*{margin:0!important;vertical-align:middle!important;line-height:1!important;box-sizing:border-box!important;height:36px!important}
/* 33. Premium "continue" card */
html body.premium-app .hub-continue.hc{position:relative;overflow:hidden;gap:16px!important;padding:20px 20px 18px!important;text-align:start!important;align-items:stretch!important;
 background:radial-gradient(120% 90% at 100% 0%,rgba(212,244,120,.32) 0%,rgba(212,244,120,0) 55%),radial-gradient(90% 70% at 0% 100%,rgba(127,214,200,.18) 0%,rgba(127,214,200,0) 60%),linear-gradient(160deg,#f7f4ea 0%,#ece7d6 100%)!important;
 box-shadow:0 18px 40px -18px rgba(0,0,0,.6),inset 0 0 0 1px rgba(255,255,255,.55),inset 0 -1px 0 rgba(0,0,0,.05)!important}
html body.premium-app .hc-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
html body.premium-app .hub-continue .hc-kicker{display:inline-flex!important;align-items:center;gap:7px;margin:0!important;font:700 11px/1 var(--dw-sans)!important;letter-spacing:.14em!important;text-transform:uppercase;color:#3f6b52!important}
html body.premium-app .hc-kicker::before{content:"";width:7px;height:7px;border-radius:50%;background:#4f9a6c;box-shadow:0 0 0 4px rgba(79,154,108,.18)}
html body.premium-app .hc-badge{padding:5px 10px;border-radius:999px;font:700 11px/1 var(--dw-sans);letter-spacing:.06em;text-transform:uppercase}
html body.premium-app .hc-badge.is-free{background:#173e33;color:var(--dw-accent)}
html body.premium-app .hc-badge.is-plus{background:linear-gradient(135deg,#efad4d,#e08c3a);color:#2a1a06}
html body.premium-app .hc-body{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px}
html body.premium-app .hub-continue .hc-text h2{margin:0 0 6px!important;font:600 27px/1.12 var(--dw-serif)!important;letter-spacing:-.01em;color:#13231c!important;text-align:start!important}
html body.premium-app .hub-continue .hc-desc{margin:0 0 12px!important;font:400 14.5px/1.4 var(--dw-sans)!important;color:#4c5d55!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body.premium-app .hc-meta{display:flex;flex-wrap:wrap;gap:6px}
html body.premium-app .hc-meta span{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.65);border:1px solid rgba(19,35,28,.08);font:600 12.5px/1 var(--dw-sans);color:#2b3c34}
html body.premium-app .hc-meta svg{width:14px;height:14px}
html body.premium-app .hc-art{display:grid;place-items:center;width:78px;height:78px;border-radius:24px;background:radial-gradient(circle at 50% 40%,#fff 0%,rgba(255,255,255,.4) 70%);box-shadow:0 10px 24px -10px rgba(19,35,28,.35),inset 0 0 0 1px rgba(255,255,255,.8);transform:rotate(-4deg)}
html body.premium-app .hc-art img{width:54px;height:54px;filter:drop-shadow(0 6px 8px rgba(0,0,0,.18))}
html body.premium-app .hub-continue .hc-go{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px;min-height:56px!important;padding:0 8px 0 22px!important;border-radius:999px!important;background:#10201a!important;color:#f3f1e6!important;font:700 17px var(--dw-sans)!important;box-shadow:0 10px 22px -10px rgba(16,32,26,.8)!important}
html body.premium-app .hc-arrow{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--dw-accent);color:#10201a;transition:transform .2s ease}
html body.premium-app .hc-arrow svg{width:20px!important;height:20px!important}
html body.premium-app .hc-go:hover .hc-arrow,html body.premium-app .hc-go:focus-visible .hc-arrow{transform:translateX(3px)}
@media (max-width:360px){html body.premium-app .hc-art{width:62px;height:62px;border-radius:20px}html body.premium-app .hc-art img{width:42px;height:42px}html body.premium-app .hub-continue .hc-text h2{font-size:24px!important}}

/* 34. Signed-in identity card */
html body.premium-app .phone-identity{background:linear-gradient(160deg,#1a2c24 0%,#142219 100%)!important;border:1px solid var(--dw-line)!important;border-radius:var(--dw-r-lg)!important;padding:16px 18px!important;gap:14px!important;box-shadow:0 14px 30px -18px rgba(0,0,0,.7)!important}
html body.premium-app .phone-identity .phone-avatar{display:grid!important;place-items:center!important;flex:0 0 auto;width:52px!important;height:52px!important;border-radius:50%!important;background:var(--dw-surface-2)!important;color:var(--dw-ink)!important}
html body.premium-app .phone-identity .phone-avatar.has-initial{background:var(--dw-accent)!important;color:#10201a!important;font:800 22px/1 var(--dw-sans)!important}
html body.premium-app .phone-identity .phone-avatar svg{width:24px;height:24px}
html body.premium-app .phone-identity strong{display:block;color:var(--dw-ink)!important;font:700 17px/1.2 var(--dw-sans)!important;opacity:1!important}
html body.premium-app .phone-identity .account-email{color:var(--dw-ink)!important;opacity:.85!important;font:500 14px/1.3 var(--dw-sans)!important;margin:4px 0!important;word-break:break-all}
html body.premium-app .phone-identity .account-status{display:inline-flex!important;align-items:center;gap:4px;margin:4px 0 0!important;padding:4px 9px!important;border-radius:999px!important;background:rgba(79,154,108,.18)!important;color:#8fd3a5!important;font:600 12px/1 var(--dw-sans)!important}
html body.premium-app[data-premium-view=account] .phone-identity{margin:0!important}
html body.premium-app[data-premium-view=account] .account-layout{gap:14px!important}
html body.premium-app[data-premium-view=account] .account-intro{margin-bottom:0!important;padding-bottom:0!important}

/* 35. Weather row with temperature colour */
html body.premium-app .premium-settings-weather{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;background:none;border:0;border-bottom:1px solid var(--dw-line);padding:14px 0;color:var(--dw-ink);font:600 16px var(--dw-sans);text-align:left;cursor:pointer}
html body.premium-app .premium-settings-weather .pw-val{display:inline-flex;align-items:center;gap:8px;color:var(--dw-dim);font-weight:500;font-size:14px;white-space:nowrap}
html body.premium-app .pw-temp{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;font:800 14px/1 var(--dw-sans);letter-spacing:-.01em}
html body.premium-app .pw-temp.tone-freezing{background:rgba(143,199,255,.16);color:#9fd0ff}
html body.premium-app .pw-temp.tone-cool{background:rgba(127,214,200,.16);color:#7fd6c8}
html body.premium-app .pw-temp.tone-mild{background:rgba(212,244,120,.16);color:#d4f478}
html body.premium-app .pw-temp.tone-warm{background:rgba(239,173,77,.18);color:#efad4d}
html body.premium-app .pw-temp.tone-hot{background:rgba(240,122,85,.18);color:#ff8a63}
/* 36. Weather sheet polish */
html body dialog.today-dialog select#today-city{background:#fff!important;color:#13231c!important;border:1.5px solid #cfd6c8!important;border-radius:14px!important;min-height:50px!important;padding:0 14px!important;font:500 16px var(--dw-sans)!important}
html body dialog.today-dialog .temperature-value{display:inline-block;font:800 30px/1 var(--dw-sans)!important;padding:8px 14px;border-radius:14px}
html body dialog.today-dialog .temperature-freezing{color:#1f6fb8!important;background:rgba(31,111,184,.1)}
html body dialog.today-dialog .temperature-cool{color:#167a6c!important;background:rgba(22,122,108,.1)}
html body dialog.today-dialog .temperature-mild{color:#4f7a12!important;background:rgba(122,170,30,.14)}
html body dialog.today-dialog .temperature-warm{color:#b06a10!important;background:rgba(239,173,77,.18)}
html body dialog.today-dialog .temperature-hot{color:#c2401c!important;background:rgba(240,122,85,.16)}
/* 37. Arabic right-to-left */
html body.premium-app [dir=rtl] .hc-arrow svg,html body.premium-app [dir=rtl] .pd-coach>svg:last-child,html body.premium-app [dir=rtl] .hub-coach-card button>svg:last-child,html body.premium-app [dir=rtl] .hub-quick-dict svg:last-child{transform:scaleX(-1)}
html body.premium-app [dir=rtl] .hub-goals button>span[aria-hidden],html body.premium-app [dir=rtl] .pd-chev{display:inline-block;transform:scaleX(-1)}
html body.premium-app [dir=rtl] .hc-go{padding:0 22px 0 8px!important}
html body.premium-app [dir=rtl] .hc-art{transform:rotate(4deg)}
html body.premium-app [dir=rtl] .hub-goal-tag{left:auto;right:12px}
html body.premium-app [dir=rtl] :is(h1,h2,h3,p,strong,small,span){text-align:start}
html body.premium-app [dir=rtl] .hc-text h2,html body.premium-app [dir=rtl] .hub-card strong,html body.premium-app [dir=rtl] .pd-row strong{unicode-bidi:plaintext}
html body dialog.dw-onboard[dir=rtl] .dw-ob-option{text-align:right}
html body.premium-app [dir=rtl] :is(.hc-desc,.hub-card small,.pd-row small,.pd-row strong,.hc-text h2){unicode-bidi:plaintext}
html body.premium-app [dir=rtl] :is(.hc-meta span,.pd-plan strong,.pd-plan span){unicode-bidi:isolate}
/* 38. Library: shelves + grouped list */
html body.premium-app #hub-results{--lx-ev:#7d8ad6;--lx-jobs:#c8694f;--lx-work:#7fd6c8;--lx-visa:#4f9a6c;--lx-exams:#efad4d;--lx-sounds:#b48be0}
html body.premium-app .lx-shelves{display:grid;gap:26px;margin-top:6px}
html body.premium-app .lx-shelf-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 12px}
html body.premium-app .lx-shelf-head h3{margin:0;font:600 21px/1.15 var(--dw-serif)!important;letter-spacing:-.01em;color:var(--dw-ink)!important}
html body.premium-app .lx-see{display:inline-flex;align-items:center;gap:5px;padding:0;background:none;border:0;color:var(--dw-accent);font:600 14px var(--dw-sans);cursor:pointer;white-space:nowrap}
html body.premium-app .lx-see b{display:inline-grid;place-items:center;min-width:24px;height:20px;padding:0 6px;border-radius:999px;background:rgba(212,244,120,.14);font:700 11px var(--dw-sans)}
html body.premium-app .lx-track{display:grid;grid-auto-flow:column;grid-auto-columns:158px;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:14px;margin:0 -14px;padding:2px 14px 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
html body.premium-app .lx-track::-webkit-scrollbar{display:none}
html body.premium-app .lx-card{scroll-snap-align:start;display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:178px;padding:14px;border-radius:20px;border:0;text-align:start;cursor:pointer;
 background:linear-gradient(165deg,#f8f5eb 0%,#ece7d7 100%);box-shadow:0 12px 26px -16px rgba(0,0,0,.75),inset 0 0 0 1px rgba(255,255,255,.6);color:#13231c;transition:transform .18s ease}
html body.premium-app .lx-card:active{transform:scale(.98)}
html body.premium-app .lx-card-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:rgba(255,255,255,.75);box-shadow:inset 0 0 0 1px rgba(19,35,28,.06)}
html body.premium-app .lx-card-icon img{width:30px;height:30px}
html body.premium-app .lx-card-title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font:600 16.5px/1.2 var(--dw-serif)!important;color:#13231c!important;letter-spacing:-.005em}
html body.premium-app .lx-card-meta{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;font:600 12px/1 var(--dw-sans);color:#56665e}
html body.premium-app .lx-card-more{align-items:center;justify-content:center;gap:6px;background:linear-gradient(165deg,#1d3128,#152520);box-shadow:inset 0 0 0 1px var(--dw-line);color:var(--dw-accent)}
html body.premium-app .lx-card-more .lx-more-n{font:600 30px/1 var(--dw-serif);color:var(--dw-ink)}
html body.premium-app .lx-card-more span:last-child{font:600 14px var(--dw-sans)}
html body.premium-app .lx-badge{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:999px;font:700 10.5px/1 var(--dw-sans);letter-spacing:.06em;text-transform:uppercase}
html body.premium-app .lx-badge.is-free{background:#173e33;color:var(--dw-accent)}
html body.premium-app .lx-badge.is-plus{background:linear-gradient(135deg,#efad4d,#e08c3a);color:#2a1a06}
html body.premium-app .lx-done{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#4f9a6c;color:#fff;font:800 12px/1 var(--dw-sans)}
/* grouped list */
html body.premium-app .lx-list{list-style:none;margin:6px 0 0;padding:0;border-radius:20px;overflow:hidden;background:var(--dw-surface);border:1px solid var(--dw-line);box-shadow:0 14px 30px -20px rgba(0,0,0,.7)}
html body.premium-app .lx-list li+li .lx-row{border-top:1px solid var(--dw-line)}
html body.premium-app .lx-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;width:100%;min-height:68px;padding:10px 14px;background:transparent;border:0;color:var(--dw-ink);text-align:start;cursor:pointer}
html body.premium-app .lx-row:active{background:var(--dw-surface-2)}
html body.premium-app .lx-row-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:color-mix(in srgb,var(--lx-tint,#7d8ad6) 16%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--lx-tint,#7d8ad6) 28%,transparent)}
html body.premium-app .lx-row-icon img{width:28px;height:28px}
html body.premium-app .lx-row-text strong{display:block;font:600 15.5px/1.25 var(--dw-sans);color:var(--dw-ink);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
html body.premium-app .lx-row-text small{display:block;margin-top:3px;font:500 12.5px/1.2 var(--dw-sans);color:var(--dw-dim)}
html body.premium-app .lx-chev{color:var(--dw-dim);font:400 22px/1 var(--dw-sans);margin-inline-start:-4px}
html body.premium-app .lx-row.cat-everyday{--lx-tint:var(--lx-ev)}html body.premium-app .lx-row.cat-jobs{--lx-tint:var(--lx-jobs)}html body.premium-app .lx-row.cat-work{--lx-tint:var(--lx-work)}html body.premium-app .lx-row.cat-visa{--lx-tint:var(--lx-visa)}html body.premium-app .lx-row.cat-exams{--lx-tint:var(--lx-exams)}html body.premium-app .lx-row.cat-sounds{--lx-tint:var(--lx-sounds)}
html body.premium-app .lx-more{display:block;width:100%;margin:14px 0 0;min-height:48px;border-radius:999px;background:transparent;border:1px solid var(--dw-line);color:var(--dw-ink);font:600 15px var(--dw-sans);cursor:pointer}
html body.premium-app [dir=rtl] .lx-chev,html body.premium-app [dir=rtl] .lx-see{transform:none}
html body.premium-app [dir=rtl] .lx-chev{display:inline-block;transform:scaleX(-1)}
html body.premium-app .hub-columns,html body.premium-app #hub-results,html body.premium-app .lx-shelves,html body.premium-app .lx-shelf{min-width:0!important;max-width:100%!important}
html body.premium-app .hub-columns{display:block!important}
html body.premium-app .lx-shelves{grid-template-columns:minmax(0,1fr)!important}
html body.premium-app .lx-track{width:auto!important;max-width:none!important}
/* 38b. refinements */
html body.premium-app .lx-count{margin:2px 0 14px;color:var(--dw-dim);font:500 13px var(--dw-sans);letter-spacing:.02em}
html body.premium-app .lx-shelves{gap:22px!important}
html body.premium-app .lx-track{grid-auto-columns:146px!important;gap:10px!important}
html body.premium-app .lx-card{min-height:150px!important;padding:12px!important;gap:8px!important;border-radius:18px!important}
html body.premium-app .lx-card-icon{width:40px!important;height:40px!important;border-radius:12px!important}
html body.premium-app .lx-card-icon img{width:26px!important;height:26px!important}
html body.premium-app .lx-card-title{font-size:15.5px!important;-webkit-line-clamp:3}
html body.premium-app .lx-card-meta>span:first-child{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.premium-app .lx-shelf-head h3{font-size:19px!important}
html body.premium-app .lx-row.cat-everyday .lx-row-icon{background:rgba(125,138,214,.18)!important;box-shadow:inset 0 0 0 1px rgba(125,138,214,.32)!important}
html body.premium-app .lx-row.cat-jobs .lx-row-icon{background:rgba(200,105,79,.18)!important;box-shadow:inset 0 0 0 1px rgba(200,105,79,.32)!important}
html body.premium-app .lx-row.cat-work .lx-row-icon{background:rgba(127,214,200,.16)!important;box-shadow:inset 0 0 0 1px rgba(127,214,200,.3)!important}
html body.premium-app .lx-row.cat-visa .lx-row-icon{background:rgba(79,154,108,.2)!important;box-shadow:inset 0 0 0 1px rgba(79,154,108,.34)!important}
html body.premium-app .lx-row.cat-exams .lx-row-icon{background:rgba(239,173,77,.17)!important;box-shadow:inset 0 0 0 1px rgba(239,173,77,.32)!important}
html body.premium-app .lx-row.cat-sounds .lx-row-icon{background:rgba(180,139,224,.18)!important;box-shadow:inset 0 0 0 1px rgba(180,139,224,.32)!important}
html body.premium-app .lx-row{min-height:64px!important;padding:9px 14px!important}
html body.premium-app .lx-row-icon{width:42px!important;height:42px!important}
/* 39. Library mix: compact featured tiles (A) + paper stacks (B) */
html body.premium-app .lx-shelves{gap:20px!important}
html body.premium-app .lx-shelf-head{margin-bottom:10px!important}
html body.premium-app .lx-shelf-head h3{font-size:18px!important}
/* A: Start here tiles */
html body.premium-app .lx-shelf:not(.lx-shelf-stack) .lx-track{grid-auto-columns:122px!important;gap:9px!important}
html body.premium-app .lx-shelf:not(.lx-shelf-stack) .lx-card{min-height:0!important;padding:11px 11px 10px!important;gap:7px!important;border-radius:16px!important}
html body.premium-app .lx-shelf:not(.lx-shelf-stack) .lx-card-icon{width:32px!important;height:32px!important;border-radius:10px!important}
html body.premium-app .lx-shelf:not(.lx-shelf-stack) .lx-card-icon img{width:21px!important;height:21px!important}
html body.premium-app .lx-shelf:not(.lx-shelf-stack) .lx-card-title{font-size:14px!important;line-height:1.2!important;-webkit-line-clamp:2!important;min-height:2.4em}
html body.premium-app .lx-shelf:not(.lx-shelf-stack) .lx-card-meta{font-size:11px!important}
html body.premium-app .lx-shelf:not(.lx-shelf-stack) .lx-badge{height:17px!important;padding:0 6px!important;font-size:9.5px!important}
/* B: stacks of three on paper */
html body.premium-app .lx-stack-track{grid-auto-columns:86%!important;gap:10px!important;padding-bottom:8px!important}
html body.premium-app .lx-stack-track.is-single{grid-auto-columns:100%!important}
html body.premium-app .lx-col{scroll-snap-align:start;display:flex;flex-direction:column;padding:4px 12px;border-radius:18px;background:linear-gradient(165deg,#f8f5eb 0%,#ece7d7 100%);box-shadow:0 12px 26px -16px rgba(0,0,0,.75),inset 0 0 0 1px rgba(255,255,255,.6)}
html body.premium-app .lx-mini{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;min-height:58px;padding:8px 0;background:none;border:0;text-align:start;color:#13231c;cursor:pointer}
html body.premium-app .lx-mini+.lx-mini{border-top:1px solid rgba(19,35,28,.08)}
html body.premium-app .lx-mini:active{opacity:.7}
html body.premium-app .lx-mini-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:rgba(255,255,255,.8);box-shadow:inset 0 0 0 1px rgba(19,35,28,.06)}
html body.premium-app .lx-mini-icon img{width:24px;height:24px}
html body.premium-app .lx-mini-text strong{display:block;font:600 14.5px/1.2 var(--dw-sans);color:#13231c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.premium-app .lx-mini-text small{display:block;margin-top:2px;font:500 12px/1.2 var(--dw-sans);color:#5d6c64;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.premium-app .lx-mini .lx-badge{height:18px;padding:0 7px;font-size:9.5px}
html body.premium-app .lx-col-more{align-items:center;justify-content:center;gap:4px;border:0;cursor:pointer;background:linear-gradient(165deg,#1d3128,#152520);box-shadow:inset 0 0 0 1px var(--dw-line);color:var(--dw-accent);font:600 14px var(--dw-sans)}
html body.premium-app .lx-col-more .lx-more-n{font:600 30px/1 var(--dw-serif);color:var(--dw-ink)}
/* 40. Topic colours */
html body.premium-app .lxc-start{--c:#d4f478;--cd:#5b7a12}
html body.premium-app .lxc-everyday,html body.premium-app .lx-card.cat-everyday,html body.premium-app .lx-mini.cat-everyday{--c:#8f9bf0;--cd:#4c58b8}
html body.premium-app .lxc-jobs,html body.premium-app .lx-card.cat-jobs,html body.premium-app .lx-mini.cat-jobs{--c:#e88a6c;--cd:#b4532f}
html body.premium-app .lxc-work,html body.premium-app .lx-card.cat-work,html body.premium-app .lx-mini.cat-work{--c:#6fd6c6;--cd:#1f8a7a}
html body.premium-app .lxc-visa,html body.premium-app .lx-card.cat-visa,html body.premium-app .lx-mini.cat-visa{--c:#7ccf98;--cd:#2f7d4b}
html body.premium-app .lxc-exams,html body.premium-app .lx-card.cat-exams,html body.premium-app .lx-mini.cat-exams{--c:#f2bc5c;--cd:#b07812}
html body.premium-app .lxc-sounds,html body.premium-app .lx-card.cat-sounds,html body.premium-app .lx-mini.cat-sounds{--c:#c3a0f0;--cd:#7a4fc0}
/* shelf title dot + coloured count */
html body.premium-app .lx-shelf .lx-shelf-head h3{display:inline-flex;align-items:center;gap:10px}
html body.premium-app .lx-shelf .lx-shelf-head h3::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--c,#d4f478);box-shadow:0 0 0 4px color-mix(in srgb,var(--c,#d4f478) 22%,transparent),0 0 14px color-mix(in srgb,var(--c,#d4f478) 55%,transparent)}
html body.premium-app .lx-shelf .lx-see{color:var(--c,#d4f478)!important}
html body.premium-app .lx-shelf .lx-see b{background:color-mix(in srgb,var(--c,#d4f478) 18%,transparent)!important;color:var(--c,#d4f478)!important}
/* paper stack: colour bar + faint wash */
html body.premium-app .lx-shelf-stack .lx-col:not(.lx-col-more){position:relative;overflow:hidden;background:radial-gradient(110% 70% at 100% 0%,color-mix(in srgb,var(--c) 22%,transparent) 0%,transparent 60%),linear-gradient(165deg,#f8f5eb 0%,#ece7d7 100%)!important}
html body.premium-app .lx-shelf-stack .lx-col:not(.lx-col-more)::before{content:"";position:absolute;left:0;top:0;right:0;height:4px;background:linear-gradient(90deg,var(--cd),var(--c))}
html body.premium-app .lx-shelf-stack .lx-col-more{color:var(--c)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 35%,transparent)!important}
/* tinted icon tiles */
html body.premium-app .lx-mini-icon,html body.premium-app .lx-card-icon{background:color-mix(in srgb,var(--c,#ffffff) 20%,#ffffff)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--cd,#13231c) 18%,transparent)!important}
/* Start here tiles: coloured base line per topic */
html body.premium-app .lxc-start .lx-card{position:relative;overflow:hidden}
html body.premium-app .lxc-start .lx-card::after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:linear-gradient(90deg,var(--cd),var(--c))}
/* 41. Dictionary: readable paper cards */
html body.premium-app[data-premium-view] .dict-learner-hint{background:linear-gradient(165deg,#f8f5eb 0%,#ece7d7 100%)!important;border:0!important;border-radius:20px!important;box-shadow:0 12px 26px -18px rgba(0,0,0,.7),inset 0 0 0 1px rgba(255,255,255,.6)!important;color:#2c3c34!important}
html body.premium-app[data-premium-view] .dict-learner-hint *{color:#2c3c34!important;opacity:1!important}
html body.premium-app[data-premium-view] .dict-learner-hint h3{color:#13231c!important;font:600 20px/1.2 var(--dw-serif)!important;margin:0 0 10px!important}
html body.premium-app[data-premium-view] .dict-learner-hint .dict-pos{color:#2f7d4b!important;font:700 13px/1 var(--dw-sans)!important;letter-spacing:.12em!important;text-transform:uppercase!important;font-style:normal!important}
html body.premium-app[data-premium-view] .dict-learner-hint li>p,html body.premium-app[data-premium-view] .dict-learner-hint p{color:#13231c!important;font-size:16px!important;line-height:1.45!important}
html body.premium-app[data-premium-view] .dict-learner-hint li::marker{color:#6b7b72!important}
html body.premium-app[data-premium-view] .dict-learner-hint blockquote{background:#fffdf6!important;color:#13231c!important;border-left:4px solid #8fc14a!important;border-radius:0 12px 12px 0!important;padding:12px 14px!important;font-style:italic!important;box-shadow:inset 0 0 0 1px rgba(19,35,28,.06)!important}
html body.premium-app[data-premium-view] .dict-learner-hint button,html body.premium-app[data-premium-view] .dict-learner-hint .button{background:#13231c!important;color:#f3f1e6!important;border:0!important}
html body.premium-app[data-premium-view] .dict-learner-hint small{color:#5d6c64!important;font-size:13px!important}
html body.premium-app[data-premium-view] .dict-reference-notice{background:rgba(239,173,77,.14)!important;color:var(--dw-ink)!important;border:1px solid rgba(239,173,77,.35)!important;border-radius:14px!important}
html body.premium-app[data-premium-view] .dict-reference-notice *{color:var(--dw-ink)!important}
html body.premium-app[data-premium-view] .dict-regional-sources a{color:var(--dw-accent)!important}
html body.premium-app[data-premium-view] .dict-learner-hint h3{-webkit-text-fill-color:#13231c!important;background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;filter:none!important;text-shadow:none!important;opacity:1!important}
html body.premium-app[data-premium-view] .dict-reference-notice{margin-top:14px!important}
/* 42. Tappable progress cards + sheets */
html body.premium-app .dw-tap-stat{position:relative;cursor:pointer;transition:transform .15s ease,border-color .15s ease}
html body.premium-app .dw-tap-stat:active{transform:scale(.98)}
html body.premium-app .dw-tap-stat:hover,html body.premium-app .dw-tap-stat:focus-visible{border-color:rgba(212,244,120,.45)!important;outline:none}
html body.premium-app .dw-tap-hint{position:absolute;top:14px;right:14px;font:600 12px var(--dw-sans);color:var(--dw-accent);opacity:.85}
html body.premium-app [dir=rtl] .dw-tap-hint{right:auto;left:14px}
html body dialog.dw-sheet{position:fixed;inset:auto 0 0 0;margin:0 auto;width:min(100vw,520px);max-width:100vw;max-height:86vh;padding:10px 18px 28px;border:0;border-radius:26px 26px 0 0;background:var(--dw-surface,#16261f);color:var(--dw-ink,#eef3ee);overflow:auto;box-shadow:0 -20px 50px rgba(0,0,0,.5);font-family:var(--dw-sans)}
html body dialog.dw-sheet::backdrop{background:rgba(4,10,8,.7);backdrop-filter:blur(4px)}
html body dialog.dw-sheet[open]{animation:dw-sheet-up .28s cubic-bezier(.2,.8,.2,1)}
@keyframes dw-sheet-up{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){html body dialog.dw-sheet[open]{animation:none}}
html body .dw-sheet-grip{width:40px;height:5px;border-radius:3px;background:var(--dw-line);margin:0 auto 10px}
html body .dw-sheet-close{position:absolute;top:14px;right:14px;width:34px;height:34px;border-radius:50%;border:0;background:var(--dw-surface-2);color:var(--dw-ink);font-size:20px;cursor:pointer}
html body .dw-sheet-kicker{margin:6px 0 4px;font:700 11px/1 var(--dw-sans);letter-spacing:.14em;color:var(--dw-accent)}
html body dialog.dw-sheet h2{margin:0;font:600 26px/1.15 var(--dw-serif);color:var(--dw-ink)}
html body .dw-sheet-sub{margin:4px 0 16px;color:var(--dw-dim);font-size:14px}
html body .dw-done-list{list-style:none;margin:0;padding:0;border-radius:18px;background:var(--dw-surface-2);border:1px solid var(--dw-line);overflow:hidden}
html body .dw-done-list li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px}
html body .dw-done-list li+li{border-top:1px solid var(--dw-line)}
html body .dw-done-tick{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#4f9a6c;color:#fff;font:800 13px/1 var(--dw-sans)}
html body .dw-done-text strong{display:block;font:600 15px/1.25 var(--dw-sans);color:var(--dw-ink)}
html body .dw-done-text small{display:block;margin-top:2px;font-size:12.5px;color:var(--dw-dim)}
html body .dw-done-list button{min-height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--dw-line);background:transparent;color:var(--dw-accent);font:600 13px var(--dw-sans);cursor:pointer;white-space:nowrap}
html body .dw-sheet-empty{padding:18px;border-radius:18px;background:var(--dw-surface-2);border:1px dashed var(--dw-line);text-align:center}
html body .dw-sheet-empty p{margin:0 0 6px;font:600 16px var(--dw-sans);color:var(--dw-ink)}
html body .dw-sheet-hint{color:var(--dw-dim)!important;font:400 14px/1.4 var(--dw-sans)!important;margin:10px 0 0!important}
html body .dw-sheet-cta{margin-top:14px;min-height:46px;padding:0 20px;border-radius:999px;border:0;background:var(--dw-accent);color:#10201a;font:700 15px var(--dw-sans);cursor:pointer}
html body .dw-cal-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 16px}
html body .dw-cal-stats div{padding:12px 10px;border-radius:16px;background:var(--dw-surface-2);border:1px solid var(--dw-line);text-align:center}
html body .dw-cal-stats strong{display:block;font:700 26px/1 var(--dw-sans);color:var(--dw-accent)}
html body .dw-cal-stats div:nth-child(2) strong{color:#efad4d}html body .dw-cal-stats div:nth-child(3) strong{color:#7fd6c8}
html body .dw-cal-stats span{display:block;margin-top:6px;font:500 12px/1.2 var(--dw-sans);color:var(--dw-dim)}
html body .dw-cal{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
html body .dw-cal-head{text-align:center;font:700 11px var(--dw-sans);color:var(--dw-dim);letter-spacing:.06em}
html body .dw-cal-day{display:grid;place-items:center;aspect-ratio:1;border-radius:12px;background:var(--dw-surface-2);color:var(--dw-dim);font:600 13px var(--dw-sans)}
html body .dw-cal-day.is-done{background:linear-gradient(145deg,#d4f478,#a9d65a);color:#10201a;box-shadow:0 6px 14px -8px rgba(212,244,120,.7)}
html body .dw-cal-day.is-today{box-shadow:inset 0 0 0 2px var(--dw-accent)}
html body .dw-cal-day.is-future{opacity:.3}
/* 43. Contrast audit fixes (22 Oct) */
/* Pricing FAQ on dark */
html body.premium-app .pricing-faq h2{color:var(--dw-ink)!important;-webkit-text-fill-color:var(--dw-ink)!important}
html body.premium-app .pricing-faq details{border-color:var(--dw-line)!important;background:var(--dw-surface)!important;border-radius:14px!important;padding:2px 14px!important;margin:0 0 8px!important}
html body.premium-app .pricing-faq summary{color:var(--dw-ink)!important;font-weight:600!important;padding:12px 0!important}
html body.premium-app .pricing-faq details p,html body.premium-app .pricing-faq details li{color:var(--dw-dim)!important}
/* Pronunciation: light panels need dark text */
html body.premium-app .pron-focus,html body.premium-app .pron-voice,html body.premium-app .pron-recorder{color:#13231c!important}
html body.premium-app :is(.pron-focus,.pron-voice,.pron-recorder) :is(h2,h3,h4,label,strong,legend){color:#13231c!important;-webkit-text-fill-color:#13231c!important;opacity:1!important}
html body.premium-app :is(.pron-focus,.pron-voice,.pron-recorder) :is(p,small,span:not(.lx-badge)){color:#4c5d55!important}
html body.premium-app .pron-voice #dict-voice-preview,html body.premium-app .pron-voice .button.secondary{background:#13231c!important;color:#f3f1e6!important;border:0!important}
/* Help: lime eyebrows on white */
html body.premium-app :is(.help-section-title,.help-menu,.help-steps) .eyebrow{color:#3f6b52!important}
/* Today: goal ring + dark-card copy */
html body.premium-app .goal-ring .ring-inner,html body.premium-app .goal-ring .ring-inner *{color:#13231c!important}
html body.premium-app .lesson-card p,html body.premium-app .practice-panel p{color:var(--dw-dim)!important}
/* Writing */
html body.premium-app .writing-compose legend{color:var(--dw-ink)!important}
html body.premium-app #writing-count{color:var(--dw-dim)!important}
/* Secondary copy on dark cards */
html body.premium-app .hub-coach-card small,html body.premium-app .free-starter small,html body.premium-app .free-starter-copy small{color:var(--dw-dim)!important}
html body.premium-app #dict-voice-status,html body.premium-app #pron-record-status{opacity:1!important}
html body.premium-app[data-premium-view] .pron-studio :is(.pron-focus,.pron-voice,.pron-recorder) p,html body.premium-app[data-premium-view] #dict-voice-status,html body.premium-app[data-premium-view] #pron-record-status{color:#4c5d55!important;-webkit-text-fill-color:#4c5d55!important}
html body.premium-app[data-premium-view] .help-layout p.eyebrow{color:#3f6b52!important;-webkit-text-fill-color:#3f6b52!important}
/* 43b. Collapsed sections + dictionary extras */
/* Practice → All practice tools: dark cards like the rest of the app */
html body.premium-app[data-premium-view] .practice-directory :is(.practice-tool-grid article,.interview-video-shelf){background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;box-shadow:none!important;color:var(--dw-ink)!important}
html body.premium-app[data-premium-view] .practice-directory :is(.practice-tool-grid article,.interview-video-shelf) :is(h2,h3,h4,strong){color:var(--dw-ink)!important;-webkit-text-fill-color:var(--dw-ink)!important}
html body.premium-app[data-premium-view] .practice-directory :is(.practice-tool-grid article,.interview-video-shelf) p:not(.eyebrow){color:var(--dw-dim)!important}
html body.premium-app[data-premium-view] .practice-directory .text-button,html body.premium-app[data-premium-view] .practice-directory a,html body.premium-app[data-premium-view] .practice-directory .eyebrow{color:var(--dw-accent)!important}
html body.premium-app[data-premium-view] .practice-directory .practice-service-note{color:var(--dw-dim)!important}
/* Home → Your learning plan (hub-original): readable on dark */
html body.premium-app .hub-original a,html body.premium-app .hub-original summary,html body.premium-app .hub-original .text-button{color:var(--dw-accent)!important;-webkit-text-fill-color:var(--dw-accent)!important}
html body.premium-app .hub-original p,html body.premium-app .hub-original li span,html body.premium-app .hub-original small{color:var(--dw-dim)!important}
html body.premium-app .hub-original .path-outline li.is-next button{background:var(--dw-surface-2)!important;border:1px solid rgba(212,244,120,.4)!important}
html body.premium-app .hub-original .path-outline li button strong{color:var(--dw-ink)!important}
/* Dictionary extras */
html body.premium-app[data-premium-view] .dict-historical,html body.premium-app[data-premium-view] .dict-historical li{color:#2c3c34!important}
html body.premium-app[data-premium-view] .dict-historical{background:#f4f1e6!important;border-radius:14px!important;padding:8px 14px!important}
html body.premium-app[data-premium-view] .dict-historical summary{color:#13231c!important}
html body.premium-app[data-premium-view] .dict-source a{color:var(--dw-accent)!important}
/* Faint notes */
html body.premium-app .panel p.empty,html body.premium-app .account-privacy-copy{color:var(--dw-dim)!important}
html body.premium-app[data-premium-view] .interview-video-links .interview-video-link{background:var(--dw-surface-2)!important;border:1px solid var(--dw-line)!important;color:var(--dw-ink)!important}
html body.premium-app[data-premium-view] .interview-video-links .interview-video-link strong{color:var(--dw-ink)!important;-webkit-text-fill-color:var(--dw-ink)!important}
html body.premium-app[data-premium-view] .interview-video-links .interview-video-link :is(small,span:not(:has(strong))){color:var(--dw-dim)!important}
html body.premium-app[data-premium-view] .practice-directory .practice-service-note{background:var(--dw-surface-2)!important;border:1px solid var(--dw-line)!important}
html body.premium-app[data-premium-view] article.dict-reference .dict-historical,html body.premium-app[data-premium-view] article.dict-reference .dict-historical *{color:#2c3c34!important;-webkit-text-fill-color:#2c3c34!important}
html body.premium-app .mission-access-badge.is-free{background:#173e33!important;color:var(--dw-accent)!important}
html body.premium-app[data-premium-view] .pron-voice select{background:#ffffff!important;color:#13231c!important;-webkit-text-fill-color:#13231c!important;border:1.5px solid #cfd6c8!important;border-radius:12px!important}
html body.premium-app .hub-original .path-lesson-meta{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
html body.premium-app .hub-original .path-meta-pill{display:inline-flex!important;align-items:center!important;gap:6px!important;height:auto!important;min-height:36px!important;padding:6px 14px!important;border-radius:999px!important;line-height:1.2!important;text-align:left!important;max-width:100%!important}
html body.premium-app .hub-original .path-meta-pill span{font-size:14px!important}


/* 44. Compact "Continue / A good place to start" card — one tidy row, whole card taps to start */
html body.premium-app .hub-continue.hc{display:grid!important;grid-template-columns:56px minmax(0,1fr) 48px;grid-template-areas:"art kicker badge" "art title go" "art desc go" "art meta go";column-gap:14px;row-gap:0!important;align-items:center!important;padding:14px 14px 14px 14px!important;margin:0 0 16px!important;border-radius:22px!important}
html body.premium-app .hub-continue.hc :is(.hc-top,.hc-body,.hc-text){display:contents!important}
html body.premium-app .hub-continue .hc-kicker{grid-area:kicker;font-size:10px!important;letter-spacing:.12em!important;gap:6px!important;margin:0 0 4px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
html body.premium-app .hub-continue .hc-kicker::before{width:6px;height:6px;box-shadow:0 0 0 3px rgba(79,154,108,.18);flex:none}
html body.premium-app .hub-continue .hc-badge{grid-area:badge;justify-self:end;align-self:start;padding:4px 8px;font-size:9.5px}
html body.premium-app .hub-continue .hc-text h2{grid-area:title;margin:0!important;font-size:20px!important;line-height:1.15!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
html body.premium-app .hub-continue .hc-desc{grid-area:desc;margin:2px 0 0!important;font-size:13px!important;line-height:1.35!important;-webkit-line-clamp:1!important;min-width:0}
html body.premium-app .hub-continue .hc-meta{grid-area:meta;gap:4px 0;margin-top:5px;min-width:0;flex-wrap:wrap;overflow:visible}
html body.premium-app .hub-continue .hc-meta span{padding:0;border:0;background:none;font:600 11.5px/1.2 var(--dw-sans);color:#53655c;white-space:nowrap}
html body.premium-app .hub-continue .hc-meta span+span::before{content:"·";margin:0 6px;color:#9aa79f}
html body.premium-app .hub-continue .hc-meta svg{width:12px;height:12px}
html body.premium-app .hub-continue .hc-art{grid-area:art;align-self:center;width:56px;height:56px;border-radius:17px;transform:none;box-shadow:0 6px 14px -8px rgba(19,35,28,.4),inset 0 0 0 1px rgba(255,255,255,.85)}
html body.premium-app .hub-continue .hc-art img{width:38px;height:38px}
html body.premium-app .hub-continue .hc-go{grid-area:go;position:static!important;justify-self:end;align-self:center;width:48px!important;height:48px!important;min-height:48px!important;padding:0!important;border-radius:50%!important;justify-content:center!important;background:#10201a!important;box-shadow:0 8px 16px -8px rgba(16,32,26,.8)!important}
html body.premium-app .hub-continue .hc-go>span:first-child{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html body.premium-app .hub-continue .hc-go::after{content:"";position:absolute;inset:0;border-radius:inherit}
html body.premium-app .hub-continue.hc .hc-go::after{border-radius:22px}
html body.premium-app .hub-continue .hc-arrow{width:48px;height:48px;background:var(--dw-accent)}
html body.premium-app .hub-continue .hc-arrow svg{width:20px!important;height:20px!important}
html body.premium-app [dir=rtl] .hub-continue .hc-go{padding:0!important}
@media (max-width:360px){html body.premium-app .hub-continue.hc{grid-template-columns:48px minmax(0,1fr) 44px;column-gap:12px}html body.premium-app .hub-continue .hc-art{width:48px;height:48px;border-radius:15px}html body.premium-app .hub-continue .hc-art img{width:32px;height:32px}html body.premium-app .hub-continue .hc-go,html body.premium-app .hub-continue .hc-arrow{width:44px!important;height:44px!important;min-height:44px!important}html body.premium-app .hub-continue .hc-text h2{font-size:18px!important}}
/* 44b. compact card refinements */
html body.premium-app .hub-continue.hc{grid-template-areas:"art kicker kicker" "art title go" "art desc go" "art meta go"}
html body.premium-app .hub-continue .hc-kicker{grid-area:kicker;padding-inline-end:58px;letter-spacing:.1em!important}
html body.premium-app .hub-continue .hc-badge{grid-area:kicker;justify-self:end;align-self:center;margin-bottom:4px}
html body.premium-app .hub-continue .hc-text h2{white-space:normal!important;display:block!important;overflow:visible;overflow-wrap:anywhere;text-wrap:balance}
html body.premium-app .hub-continue .hc-meta span{flex:none}
html body.premium-app .hub-continue .hc-meta span+span{flex:0 1 auto;min-width:0;white-space:normal;overflow-wrap:anywhere;display:block}
@media (max-width:360px){html body.premium-app .hub-continue .hc-kicker{font-size:9.5px!important;letter-spacing:.08em!important}}
html body.premium-app .hub-continue .hc-desc{display:block!important;-webkit-line-clamp:unset!important;overflow:visible;overflow-wrap:anywhere}
html body.premium-app .hub-continue .hc-kicker{padding-block:3px;padding-inline-start:3px;margin:-3px 0 1px -3px!important}
html body.premium-app .hub-continue .hc-go,html body.premium-app .hub-continue .hc-go:is(:hover,:focus,:active){filter:none!important;transform:none!important}
html body.premium-app .hub-continue.hc{cursor:pointer;transition:transform .15s ease}
html body.premium-app .hub-continue.hc:active{transform:scale(.99)}
html body.premium-app .hub-continue.hc:hover .hc-arrow{transform:translateX(3px)}

/* 45. Brand tagline — under the Doorway English header, before "Your next chapter." */
html body.premium-app .brand-tag{display:flex!important;align-items:center;flex-wrap:wrap;gap:4px 10px;margin:-2px 0 10px!important;font:500 14px/1.3 var(--dw-sans)!important;letter-spacing:.01em;color:var(--dw-dim)!important}
html body.premium-app .brand-tag i{flex:none;width:1.5px;height:14px;border-radius:2px;background:rgba(212,244,120,.45)}
html body.premium-app .brand-tag b{font-weight:700;color:var(--dw-accent)!important}
/* 45b. Always show the "Doorway English" name in the header — shrink, never hide */
@media (max-width:360px){html body.premium-app .premium-masthead .premium-brand span{display:inline!important;font-size:14.5px!important;letter-spacing:-.03em!important;overflow:visible!important}html body.premium-app .premium-masthead .premium-brand{gap:6px!important}html body.premium-app .premium-masthead .premium-brand img{width:28px!important;height:28px!important}}
@media (max-width:330px){html body.premium-app .premium-masthead .premium-brand span{font-size:12.5px!important}}
/* 45c. Tagline tucked right under the "Doorway English" name, small */
html body.premium-app .brand-tag{gap:6px!important;margin:-12px 0 14px!important;padding-inline-start:34px;font-size:10.5px!important;line-height:1.2!important;letter-spacing:.005em!important;flex-wrap:nowrap!important;white-space:nowrap}
html body.premium-app .brand-tag i{width:1px!important;height:9px!important}
@media (min-width:361px){html body.premium-app .brand-tag{padding-inline-start:36px}}
html body.premium-app [dir=rtl] .brand-tag,html body.premium-app .lesson-hub[dir=rtl] .brand-tag{padding-inline-start:0}
html body.premium-app .premium-masthead .premium-brand{align-self:flex-end;align-items:flex-end!important}
html body.premium-app .premium-masthead .premium-brand span{line-height:1!important;padding-bottom:1px}
/* 45d. Bigger "Doorway English" name, centred with the logo; Coach is icon-only on phones to make room */
@media (max-width:439px){html body.premium-app .hub-coach-button span{display:none!important}html body.premium-app .hub-coach-button{width:38px!important;min-width:38px;padding:0!important;justify-content:center;border-radius:50%!important}}
html body.premium-app .premium-masthead .premium-brand{align-self:center!important;align-items:center!important}
html body.premium-app .premium-masthead .premium-brand span{font-size:clamp(14px,calc((100vw - 226px)*.12),20px)!important;line-height:1.05!important;padding-bottom:0!important}
@media (min-width:440px){html body.premium-app .premium-masthead .premium-brand span{font-size:21px!important}}
html body.premium-app .brand-tag{margin-top:-15px!important}
@media (max-width:330px){html body.premium-app .premium-masthead .premium-brand span{font-size:12.5px!important}}
/* 45e. Tagline sits directly under "Doorway English" inside the brand, small */
html body.premium-app .premium-masthead .premium-brand .pb-col{display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0}
html body.premium-app .premium-masthead .premium-brand .pb-tag{display:flex;align-items:center;gap:5px;white-space:nowrap;font:500 clamp(7px,calc((100vw - 226px)*.0585),9.8px)/1.1 var(--dw-sans);letter-spacing:.01em;color:var(--dw-dim)}
html body.premium-app .premium-masthead .premium-brand .pb-tag em{font-style:normal}
html body.premium-app .premium-masthead .premium-brand .pb-tag i{flex:none;width:1px;height:.95em;background:rgba(212,244,120,.5)}
html body.premium-app .premium-masthead .premium-brand .pb-tag b{font-weight:700;color:var(--dw-accent)}
@media (min-width:440px){html body.premium-app .premium-masthead .premium-brand .pb-tag{font-size:10.3px}}@media (max-width:330px){html body.premium-app .premium-masthead .premium-brand .pb-tag{display:none}}
html body.premium-app [dir=rtl] .premium-masthead .premium-brand .pb-tag{justify-content:flex-end}
/* 45f. Bigger brand name (slimmer header buttons make room) and a smaller "Your next chapter." */
@media (max-width:439px){html body.premium-app .premium-header-actions{gap:6px!important}html body.premium-app .hub-coach-button{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important}html body.premium-app .shell-more>summary{width:36px!important;height:36px!important}html body.premium-app .hub-languages>summary{min-height:36px!important;height:36px;padding:0 7px!important}}
html body.premium-app .premium-masthead .premium-brand span{font-size:clamp(14.5px,calc((100vw - 208px)*.1144),21px)!important}
html body.premium-app .premium-masthead .premium-brand .pb-tag{font-size:clamp(7.2px,calc((100vw - 208px)*.0565),10.3px)}
@media (max-width:330px){html body.premium-app .premium-masthead .premium-brand span{font-size:13px!important}}
html body.premium-app .premium-title{font-size:clamp(26px,8vw,31px)!important;letter-spacing:-.01em}
/* 45g. Larger logo tile; give the "g" in English room so it isn't clipped */
html body.premium-app .premium-masthead .premium-brand img{width:38px!important;height:38px!important;border-radius:11px!important;flex:none}
html body.premium-app .premium-masthead .premium-brand{gap:8px!important}
html body.premium-app .premium-masthead .premium-brand span{font-size:clamp(14px,calc((100vw - 214px)*.1144),21px)!important;line-height:1.2!important;overflow:visible!important;padding-bottom:1px!important}
html body.premium-app .premium-masthead .premium-brand .pb-col{gap:1px!important}
html body.premium-app .premium-masthead .premium-brand .pb-tag{font-size:clamp(7px,calc((100vw - 214px)*.053),10.3px)}
@media (max-width:330px){html body.premium-app .premium-masthead .premium-brand img{width:32px!important;height:32px!important}html body.premium-app .premium-masthead .premium-brand span{font-size:12.5px!important}}
/* 45h. Slimmer language button (one flag) so the tagline can be bigger and neater */
@media (max-width:439px){html body.premium-app .hub-languages>summary .compact-flags img:not(:first-child){display:none!important}html body.premium-app .hub-languages>summary .compact-flags img{margin:0!important}html body.premium-app .hub-languages>summary{width:36px!important;min-width:36px!important;padding:0!important;justify-content:center;border-radius:50%!important}html body.premium-app .hub-languages>summary .compact-flags img:first-child{width:22px!important;height:22px!important;border-radius:50%!important;object-fit:cover}}
html body.premium-app .premium-masthead .premium-brand span{font-size:clamp(14px,calc((100vw - 200px)*.1144),21px)!important}
html body.premium-app .premium-masthead .premium-brand .pb-tag{font-size:clamp(7.5px,calc((100vw - 200px)*.058),11px)!important;letter-spacing:0!important;gap:6px!important}
html body.premium-app .premium-masthead .premium-brand .pb-tag em{font-weight:500}
html body.premium-app .premium-masthead .premium-brand .pb-tag b{font-weight:600}
html body.premium-app .premium-masthead .premium-brand .pb-tag i{height:.9em!important;opacity:.8}
@media (max-width:330px){html body.premium-app .premium-masthead .premium-brand span{font-size:12.5px!important}}
/* 46. Compact "Get the app" card */
html body.premium-app[data-premium-view] .hub-install{grid-template-columns:auto minmax(0,1fr) auto auto!important;gap:10px!important;padding:10px 8px 10px 12px!important;margin:0 0 14px!important;border-radius:18px!important}
html body.premium-app[data-premium-view] .hub-install img{width:34px!important;height:34px!important;border-radius:9px!important}
html body.premium-app[data-premium-view] .hub-install strong{font:600 14px/1.2 var(--dw-sans)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.premium-app[data-premium-view] .hub-install small{margin-top:2px!important;font:400 12px/1.25 var(--dw-sans)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.premium-app[data-premium-view] .hub-install-go{min-height:32px!important;height:32px;padding:0 14px!important;font:700 13px/1 var(--dw-sans)!important}
html body.premium-app[data-premium-view] .hub-install-x{width:24px!important;height:24px!important;min-height:0!important;padding:0!important;font-size:16px!important;line-height:1!important;display:grid;place-items:center}
/* 47. Front page polish — compact, consistent goal tiles; matching Watch card; clear plan row; one-line lesson title */
html body.premium-app[data-premium-view] .hub-goals{margin:0 0 16px!important}
html body.premium-app[data-premium-view] .hub-goals>div{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
html body.premium-app[data-premium-view] .hub-goals button{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;text-align:start!important;gap:10px!important;min-height:58px!important;height:auto!important;padding:10px 12px!important;border-radius:16px!important;background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;box-shadow:none!important}
html body.premium-app[data-premium-view] .hub-goals button .cat-img{width:34px!important;height:34px!important;margin:0!important;flex:none}
html body.premium-app[data-premium-view] .hub-goals button strong{flex:1;min-width:0;margin:0!important;font:600 14px/1.2 var(--dw-sans)!important;text-align:start!important;color:var(--dw-ink)!important}
html body.premium-app[data-premium-view] .hub-goals button>span{display:none!important}
html body.premium-app[data-premium-view] .hub-goals button:active{transform:scale(.98)}
html body.premium-app[data-premium-view] .hub-goals button[aria-pressed=true],html body.premium-app[data-premium-view] .hub-goals button.is-goal{border-color:rgba(212,244,120,.55)!important}
html body.premium-app[data-premium-view] .film-shortcut button{gap:12px!important;padding:12px 16px 12px 12px!important;border-radius:18px!important}
html body.premium-app[data-premium-view] .film-shortcut .film-thumb{width:44px!important;height:44px!important;min-width:44px;border-radius:12px!important;background:rgba(212,244,120,.14)!important;display:grid!important;place-items:center;overflow:hidden;flex:none}
html body.premium-app[data-premium-view] .film-shortcut .film-thumb-fallback{color:var(--dw-accent)!important;font-size:16px!important}
html body.premium-app[data-premium-view] .film-shortcut .film-thumb img:not([hidden]){width:100%;height:100%;object-fit:cover}
html body.premium-app[data-premium-view] .film-shortcut strong{font-size:16px!important}
html body.premium-app[data-premium-view] .film-shortcut small{font-size:13px!important;line-height:1.3}
html body.premium-app[data-premium-view] .film-shortcut button>span:last-child{font-size:0!important;margin-inline-start:auto;color:var(--dw-accent)!important}
html body.premium-app[data-premium-view] .film-shortcut button>span:last-child::before{content:"→";font-size:20px;line-height:1}
html body.premium-app[data-premium-view] .hub-coach-card button{padding:12px 16px 12px 12px!important;border-radius:18px!important}
html body.premium-app[data-premium-view] .hub-coach-card strong{font-size:16px!important}
html body.premium-app[data-premium-view] .hub-coach-card small{font-size:13px!important}
html body.premium-app[data-premium-view] details.hub-learning-plan{border-radius:18px!important;overflow:hidden}
html body.premium-app[data-premium-view] details.hub-learning-plan>summary{display:flex!important;align-items:center;gap:12px;padding:12px 16px 12px 12px!important;min-height:0!important;font:600 16px/1.25 var(--dw-sans)!important;color:var(--dw-ink)!important}
html body.premium-app[data-premium-view] details.hub-learning-plan>summary::before{content:"";flex:none;width:44px;height:44px;border-radius:12px;background:rgba(212,244,120,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4f478' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='3'/%3E%3Cpath d='M8 3v4M16 3v4M3.5 10h17M8.5 14.5l2 2 4-4'/%3E%3C/svg%3E") center/22px no-repeat}
html body.premium-app[data-premium-view] details.hub-learning-plan>summary::after{margin-inline-start:auto;font-size:20px!important}
html body.premium-app .hub-continue .hc-text h2{font-size:clamp(17px,4.9vw,20px)!important}
html body.premium-app[data-premium-view] .hub-goals button{gap:8px!important;padding:9px 10px!important;min-height:56px!important}
html body.premium-app[data-premium-view] .hub-goals button .cat-img{width:30px!important;height:30px!important}
html body.premium-app[data-premium-view] .hub-goals button strong{font-size:13.5px!important;line-height:1.18!important}
html body.premium-app[data-premium-view] details.hub-learning-plan>summary{font-size:15px!important}
html body.premium-app[data-premium-view] details.hub-learning-plan{padding:0!important}
html body.premium-app[data-premium-view] .hub-goals button{position:relative!important;overflow:visible!important}
html body.premium-app[data-premium-view] .hub-goals button:has(.hub-goal-tag){border-color:rgba(212,244,120,.6)!important;background:linear-gradient(180deg,rgba(212,244,120,.08),rgba(212,244,120,.02)),var(--dw-surface)!important}
html body.premium-app[data-premium-view] .hub-goals .hub-goal-tag{position:absolute!important;top:-8px;inset-inline-end:10px;left:auto;margin:0!important;padding:3px 7px!important;font:700 9px/1 var(--dw-sans)!important;letter-spacing:.08em;border-radius:999px;font-style:normal}
html body.premium-app[data-premium-view] .hub-goals>div{row-gap:12px!important}
/* 48. Slimmer start card; more room above "Your next chapter." */
html body.premium-app .hub-continue.hc{padding:11px 12px!important;column-gap:12px!important;grid-template-columns:48px minmax(0,1fr) 44px!important}
html body.premium-app .hub-continue .hc-art{width:48px!important;height:48px!important;border-radius:15px!important}
html body.premium-app .hub-continue .hc-art img{width:32px!important;height:32px!important}
html body.premium-app .hub-continue .hc-go,html body.premium-app .hub-continue .hc-arrow{width:44px!important;height:44px!important;min-height:44px!important}
html body.premium-app .hub-continue .hc-desc{font-size:12.5px!important;line-height:1.28!important;margin-top:1px!important}
html body.premium-app .hub-continue .hc-meta{margin-top:3px!important}
html body.premium-app .hub-continue .hc-text h2{line-height:1.1!important}
html body.premium-app .premium-title{margin-top:14px!important;margin-bottom:10px!important}
/* 49. Breathing room above the header */
html body.premium-app .premium-masthead{padding-top:12px!important}
/* 50. Readable text in light dialogs (growth tracks, grammar, missions, today, reports) */
html body.premium-app dialog:is(.growth-dialog,.mission-dialog,.today-dialog,.polish-dialog,#polish-report,#polish-word-practice) :is(a,button,summary):not(.button.primary):not([class*=primary]){color:#1f4d36!important;text-decoration-color:rgba(31,77,54,.45)!important}
html body.premium-app dialog.growth-dialog :is(button,.button){border-color:rgba(31,77,54,.35)!important;background:#fff!important;font-weight:700!important}
html body.premium-app dialog.growth-dialog :is(button,.button):hover{background:#eef5e4!important}
html body.premium-app dialog.growth-dialog select{background:#fff!important;color:#13231c!important;border:1.5px solid #cfd6c8!important;border-radius:12px!important}
html body.premium-app dialog.growth-dialog li::marker{color:#13231c}
html body.premium-app dialog.growth-dialog li :is(button,.button){background:transparent!important;border:0!important;padding:2px 0!important;min-height:0!important;text-align:start!important;text-decoration:underline;text-underline-offset:3px}
/* 51. Plans: clear early-access banner */
html body.premium-app .ea-banner{position:relative;margin:4px 0 18px;padding:20px 18px 18px;border-radius:22px;background:linear-gradient(135deg,rgba(212,244,120,.16),rgba(212,244,120,.04)),#13241d;border:1.5px solid rgba(212,244,120,.55);text-align:start}
html body.premium-app .ea-banner .ea-badge{display:inline-block;padding:5px 10px;border-radius:999px;background:var(--dw-accent);color:#10201a;font:800 10.5px/1 var(--dw-sans);letter-spacing:.12em}
html body.premium-app .ea-banner h2{margin:12px 0 6px!important;font:600 26px/1.1 var(--dw-serif)!important;color:var(--dw-ink)!important}
html body.premium-app .ea-banner>p{margin:0 0 12px!important;color:#c9d6ce!important;font-size:14.5px!important;line-height:1.45}
html body.premium-app .ea-banner .ea-points{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:7px}
html body.premium-app .ea-banner .ea-points li{position:relative;padding-inline-start:24px;color:var(--dw-ink);font-size:14px;line-height:1.35}
html body.premium-app .ea-banner .ea-points li::before{content:"✓";position:absolute;inset-inline-start:0;top:0;color:var(--dw-accent);font-weight:800}
html body.premium-app .ea-banner .button{width:100%;justify-content:center}
html body.premium-app .ea-banner .ea-on{margin:0 0 10px!important;color:var(--dw-accent)!important;font-weight:700}
html body.premium-app .pricing-ready .price-card.featured .eyebrow{letter-spacing:.1em}
/* 52. Progress page tidy-up */
html body.premium-app[data-premium-view] .dw-first-step{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:14px 14px 14px 12px;border-radius:18px;background:linear-gradient(135deg,rgba(212,244,120,.14),rgba(212,244,120,.03)),var(--dw-surface);border:1.5px solid rgba(212,244,120,.45)}
html body.premium-app[data-premium-view] .dw-first-step img{flex:none;width:44px;height:44px}
html body.premium-app[data-premium-view] .dw-first-step div{flex:1;min-width:0}
html body.premium-app[data-premium-view] .dw-first-step strong{display:block;font:600 15px/1.25 var(--dw-sans)!important;color:var(--dw-ink)!important}
html body.premium-app[data-premium-view] .dw-first-step small{display:block;margin-top:3px;font:400 12.5px/1.35 var(--dw-sans)!important;color:#c3d1c9!important}
html body.premium-app[data-premium-view] .dw-first-step button{flex:none;min-height:38px;padding:0 16px;border-radius:999px;border:0;background:var(--dw-accent);color:#10201a;font:700 14px/1 var(--dw-sans);cursor:pointer}
html body.premium-app[data-premium-view] .growth-panel .growth-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:12px 0!important}
html body.premium-app[data-premium-view] .growth-panel .growth-actions .button{width:100%!important;min-height:46px!important;height:auto!important;padding:8px 10px!important;border-radius:14px!important;font:600 13.5px/1.2 var(--dw-sans)!important;text-align:center!important;white-space:normal!important;justify-content:center}
html body.premium-app[data-premium-view] .growth-panel .dw-xp-how{margin:4px 0 8px}
html body.premium-app[data-premium-view] .growth-panel .dw-xp-how>summary{cursor:pointer;color:var(--dw-accent);font:600 14px/1.3 var(--dw-sans);list-style:none}
html body.premium-app[data-premium-view] .growth-panel .dw-xp-how>summary::-webkit-details-marker{display:none}
html body.premium-app[data-premium-view] .growth-panel .dw-xp-how>summary::after{content:" +";}
html body.premium-app[data-premium-view] .growth-panel .dw-xp-how[open]>summary::after{content:" –";}
html body.premium-app[data-premium-view] .growth-panel .dw-xp-how p{margin:8px 0 0!important;font-size:13px!important;line-height:1.45!important;color:#c3d1c9!important}
html body.premium-app[data-premium-view] #main .note-strip{font-size:12.5px!important;line-height:1.4!important;padding:10px 14px!important}
html body.premium-app[data-premium-view] .growth-panel .growth-actions [data-growth=grammar]{grid-column:1/-1}
html body.premium-app[data-premium-view] .growth-panel .dw-xp-how>summary{color:var(--dw-accent)!important;font:600 14px/1.3 var(--dw-sans)!important;padding:0!important;min-height:0!important;background:none!important;border:0!important}
html body.premium-app[data-premium-view] .dw-first-step+.stats{margin-top:0}
/* 53. Lessons hub polish — full titles, single search border, clear access filter */
html body.premium-app[data-premium-view] .lx-mini-text strong{white-space:normal!important;overflow:hidden!important;text-overflow:clip!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.22!important}
html body.premium-app[data-premium-view] .lx-mini{align-items:center!important}
html body.premium-app[data-premium-view] .hub-search{display:flex!important;align-items:center;gap:10px;padding:0 14px!important;min-height:48px;border-radius:999px!important;background:var(--dw-surface)!important;border:1px solid var(--dw-line)!important;box-shadow:none!important}
html body.premium-app[data-premium-view] .hub-search svg{flex:none;width:18px;height:18px;color:var(--dw-dim)}
html body.premium-app[data-premium-view] .hub-search input{flex:1;min-width:0;height:46px!important;padding:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:var(--dw-ink)!important;font:400 15px/1.2 var(--dw-sans)!important;border-radius:0!important}
html body.premium-app[data-premium-view] .hub-search:focus-within{border-color:rgba(212,244,120,.6)!important}
html body.premium-app[data-premium-view] .phone-library-options{display:flex;justify-content:flex-end;margin:8px 0 6px!important}
html body.premium-app[data-premium-view] .phone-library-options>summary{display:inline-flex!important;align-items:center;gap:6px;min-height:32px;padding:0 12px!important;border-radius:999px;border:1px solid var(--dw-line);background:var(--dw-surface);color:var(--dw-ink)!important;font:600 13px/1 var(--dw-sans)!important;text-decoration:none!important;list-style:none;cursor:pointer}
html body.premium-app[data-premium-view] .phone-library-options>summary::-webkit-details-marker{display:none}
html body.premium-app[data-premium-view] .phone-library-options>summary::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:-3px 0 0 2px;opacity:.7}
html body.premium-app[data-premium-view] .phone-library-options[open]{flex-wrap:wrap;gap:8px}
html body.premium-app[data-premium-view] .phone-library-options select{min-height:36px;padding:0 12px;border-radius:12px;background:var(--dw-surface)!important;color:var(--dw-ink)!important;border:1px solid var(--dw-line)!important;font:500 14px var(--dw-sans)}
html body.premium-app[data-premium-view] #main .hub-search input#hub-search{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;padding:0!important}

/* ===== 54. Today · about 5 minutes (dw-today.js) ===== */
html body.premium-app[data-premium-view] #main .dw-today-fold>summary{min-height:48px;gap:12px}
html body.premium-app[data-premium-view] #main .dw-today-fold>summary small{margin-inline-start:8px;color:var(--dw-dim);font-size:12px;white-space:nowrap}
html body.premium-app[data-premium-view] #main .dw-today-fold>summary:focus-visible{outline:2px solid var(--dw-accent);outline-offset:2px;border-radius:var(--dw-r)}
html body.premium-app[data-premium-view] #main .dw-today-fold .dw-today{margin:0;border:0;border-radius:0 0 var(--dw-r) var(--dw-r)}
html body.premium-app[data-premium-view] #main .dw-today{margin:0 0 14px;padding:14px 14px 8px;border-radius:20px;background:var(--dw-surface-2,#1f3129);border:1px solid var(--dw-line)}
html body.premium-app[data-premium-view] #main .dw-today>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
html body.premium-app[data-premium-view] #main .dw-today .dw-today-kicker{margin:0 0 2px;font:700 11px/1.3 var(--dw-sans);letter-spacing:.12em;color:var(--dw-accent)!important}
html body.premium-app[data-premium-view] #main .dw-today h2{margin:0;font:600 19px/1.25 var(--dw-serif);color:var(--dw-ink)!important}
html body.premium-app[data-premium-view] #main .dw-today .dw-today-count{flex:none;min-width:44px;height:30px;padding:0 10px;border-radius:999px;display:grid;place-items:center;font:700 14px var(--dw-sans);background:var(--dw-moss-soft);color:var(--dw-accent)!important;border:1px solid var(--dw-line)}
html body.premium-app[data-premium-view] #main .dw-today .dw-today-bar{height:6px;margin:10px 0 6px;border-radius:999px;background:#0e1a16;overflow:hidden}
html body.premium-app[data-premium-view] #main .dw-today .dw-today-bar i{display:block;height:100%;border-radius:inherit;background:var(--dw-accent);transition:width .4s ease}
html body.premium-app[data-premium-view] #main .dw-today ol{list-style:none;margin:0;padding:0}
html body.premium-app[data-premium-view] #main .dw-today li+li{border-top:1px solid var(--dw-line)}
html body.premium-app[data-premium-view] #main .dw-today li button{all:unset;box-sizing:border-box;width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:10px 2px;cursor:pointer;-webkit-tap-highlight-color:transparent}
html body.premium-app[data-premium-view] #main .dw-today li button:focus-visible{outline:2px solid var(--dw-accent);outline-offset:2px;border-radius:12px}
html body.premium-app[data-premium-view] #main .dw-today .dw-today-check{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:16px;background:var(--dw-bg);border:1px solid var(--dw-line)}
html body.premium-app[data-premium-view] #main .dw-today li.done .dw-today-check{background:var(--dw-accent);color:var(--dw-on-accent)!important;border-color:var(--dw-accent);font-weight:800}
html body.premium-app[data-premium-view] #main .dw-today .dw-today-text{min-width:0;display:flex;flex-direction:column;gap:1px}
html body.premium-app[data-premium-view] #main .dw-today .dw-today-text strong{font:600 15px/1.3 var(--dw-sans);color:var(--dw-ink)!important}
html body.premium-app[data-premium-view] #main .dw-today .dw-today-text small{font:400 12.5px/1.35 var(--dw-sans);color:var(--dw-dim)!important;white-space:normal;overflow-wrap:anywhere}
html body.premium-app[data-premium-view] #main .dw-today li.done .dw-today-text strong{color:var(--dw-dim)!important;text-decoration:line-through;text-decoration-color:#a3b5ab88}
html body.premium-app[data-premium-view] #main .dw-today .dw-today-go{color:var(--dw-accent)!important;font-weight:700;text-align:right}
html body.premium-app[data-premium-view] #main .dw-today .dw-today-note{margin:4px 0 6px;font:400 13px var(--dw-sans);color:var(--dw-dim)!important}
html body.premium-app[data-premium-view] #main .dw-today.is-done{border-color:#4f9a6c}
html body.premium-app[data-premium-view] #main .dw-today .sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ===== 55. Bite-size stories (dw-bitesize.js) ===== */
html body.premium-app[data-premium-view] dialog .dw-pager{margin:6px 0 18px}
html body.premium-app[data-premium-view] dialog .dw-pager-bar{height:5px;border-radius:999px;background:#d6d9c9;overflow:hidden;margin:0 0 12px}
html body.premium-app[data-premium-view] dialog .dw-pager-bar i{display:block;height:100%;width:0;border-radius:inherit;background:#1f4d36;transition:width .3s ease}
html body.premium-app[data-premium-view] dialog .dw-pager-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px}
html body.premium-app[data-premium-view] dialog .dw-pager-count{font:600 13px var(--dw-sans);color:#51645b!important;text-align:center;white-space:nowrap}
html body.premium-app[data-premium-view] dialog .dw-pager button{min-height:44px;padding:0 16px;border-radius:999px;font:600 15px var(--dw-sans);cursor:pointer}
html body.premium-app[data-premium-view] dialog .dw-pager .dw-pager-prev{justify-self:start;background:transparent!important;color:#1f4d36!important;border:1px solid #b9c2b3!important}
html body.premium-app[data-premium-view] dialog .dw-pager .dw-pager-next{justify-self:end;grid-column:3;background:#17302a!important;color:#d4f478!important;border:0!important}
html body.premium-app[data-premium-view] dialog .dw-pager button[hidden]{display:none!important}
html body.premium-app[data-premium-view] dialog .adult-story>section[hidden],html body.premium-app[data-premium-view] dialog .adult-decision[hidden]{display:none!important}
html body.premium-app[data-premium-view] dialog .adult-story p[tabindex="-1"]:focus{outline:none!important;box-shadow:none!important}

/* ===== 56. Daily reminder (dw-reminders.js) ===== */
html body.premium-app[data-premium-view] #main .dw-today .dw-remind-row{all:unset;box-sizing:border-box;width:100%;display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:10px;margin:2px 0 4px;padding:10px 12px;border-radius:14px;background:var(--dw-bg);border:1px dashed var(--dw-line);cursor:pointer;font:500 14px var(--dw-sans);color:var(--dw-ink)!important}
html body.premium-app[data-premium-view] #main .dw-today .dw-remind-row em{font-style:normal;font-weight:700;color:var(--dw-accent)!important}
html body.premium-app[data-premium-view] #main .dw-today .dw-remind-row:focus-visible{outline:2px solid var(--dw-accent);outline-offset:2px}
dialog.dw-remind-sheet .dw-remind-lead,dialog.dw-remind-sheet .dw-remind-small,dialog.dw-remind-sheet .dw-remind-note{font:400 14px/1.45 var(--dw-sans);color:var(--dw-dim,#a3b5ab)!important}
dialog.dw-remind-sheet .dw-remind-note{padding:10px 12px;border-radius:12px;background:var(--dw-surface-2,#1f3129);color:var(--dw-ink,#eef3ee)!important}
dialog.dw-remind-sheet .dw-remind-time{display:flex;flex-direction:column;gap:6px;margin:14px 0 6px;font:600 14px var(--dw-sans);color:var(--dw-ink,#eef3ee)!important}
dialog.dw-remind-sheet .dw-remind-time select{min-height:48px;padding:0 14px;border-radius:14px;background:var(--dw-surface-2,#1f3129)!important;color:var(--dw-ink,#eef3ee)!important;border:1px solid var(--dw-line,#2a3f36)!important;font:500 16px var(--dw-sans)}
dialog.dw-remind-sheet .dw-remind-status{min-height:20px;margin:6px 0;font:500 14px var(--dw-sans);color:var(--dw-accent,#d4f478)!important}
dialog.dw-remind-sheet .dw-remind-actions{display:flex;gap:10px;flex-wrap:wrap;margin:4px 0 10px}
dialog.dw-remind-sheet .dw-remind-save{flex:1;min-height:50px;border-radius:999px;border:0;background:var(--dw-accent,#d4f478)!important;color:var(--dw-on-accent,#10231a)!important;font:700 16px var(--dw-sans);cursor:pointer}
dialog.dw-remind-sheet .dw-remind-save:disabled{opacity:.6}
dialog.dw-remind-sheet .dw-remind-off{min-height:50px;padding:0 18px;border-radius:999px;background:transparent!important;color:var(--dw-ink,#eef3ee)!important;border:1px solid var(--dw-line,#2a3f36)!important;font:600 15px var(--dw-sans);cursor:pointer}

/* ===== 57. Readable sizes (works with dw-type.js) ===== */
html body.premium-app[data-premium-view] .lx-shelf:not(.lx-shelf-stack) .lx-track{grid-auto-columns:152px!important}
html body.premium-app[data-premium-view] #main .dw-today h2{font-size:21px!important}
html body.premium-app[data-premium-view] nav.hub-dock[data-shell-primary] a.nav-btn>span{font-size:clamp(11.5px,3.3vw,13.5px)!important;letter-spacing:0!important}

/* ===== 58. Contact us sheet (dw-contact.js) ===== */
dialog.dw-contact-sheet .dw-contact-lead{margin:4px 0 14px;font:400 15px/1.45 var(--dw-sans);color:var(--dw-dim,#a3b5ab)!important}
dialog.dw-contact-sheet .dw-contact-row{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;padding:14px 0;border-top:1px solid var(--dw-line,#2a3f36)}
dialog.dw-contact-sheet .dw-contact-icon{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:17px;background:var(--dw-surface-2,#1f3129)}
dialog.dw-contact-sheet .dw-contact-text{min-width:0;display:flex;flex-direction:column;gap:3px}
dialog.dw-contact-sheet .dw-contact-text strong{font:600 16px/1.3 var(--dw-sans);color:var(--dw-ink,#eef3ee)!important}
dialog.dw-contact-sheet .dw-contact-text small{font:400 14.5px/1.4 var(--dw-sans);color:var(--dw-dim,#a3b5ab)!important}
dialog.dw-contact-sheet .dw-contact-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px}
dialog.dw-contact-sheet .dw-contact-mail{min-height:44px;display:inline-flex;align-items:center;padding:0 14px;border-radius:999px;background:var(--dw-accent,#d4f478)!important;color:var(--dw-on-accent,#10231a)!important;font:700 15px var(--dw-sans);text-decoration:none!important;word-break:break-all}
dialog.dw-contact-sheet .dw-contact-copy,dialog.dw-contact-sheet .dw-contact-report{min-height:44px;padding:0 16px;border-radius:999px;background:transparent!important;color:var(--dw-ink,#eef3ee)!important;border:1px solid var(--dw-line,#2a3f36)!important;font:600 15px var(--dw-sans);cursor:pointer}
dialog.dw-contact-sheet .dw-contact-report{background:var(--dw-surface-2,#1f3129)!important}
dialog.dw-contact-sheet .dw-contact-small{margin:10px 0 0;font:400 13.5px/1.45 var(--dw-sans);color:var(--dw-dim,#a3b5ab)!important}
dialog.dw-contact-sheet .dw-contact-small a{color:var(--dw-accent,#d4f478)!important}
dialog.dw-contact-sheet .dw-contact-actions{flex-wrap:nowrap!important}
dialog.dw-contact-sheet .dw-contact-mail{min-width:0}
dialog.dw-contact-sheet .dw-contact-copy{flex:none;width:44px!important;height:44px;padding:0!important;display:grid;place-items:center}
dialog.dw-contact-sheet .dw-contact-copy.is-done{background:var(--dw-accent,#d4f478)!important;color:var(--dw-on-accent,#10231a)!important;border-color:var(--dw-accent,#d4f478)!important}
dialog.dw-contact-sheet .dw-contact-live{min-height:0;margin:6px 0 0;font:600 14px var(--dw-sans);color:var(--dw-accent,#d4f478)!important}
dialog.dw-contact-sheet .dw-contact-live:empty{display:none}
/* start card: label and FREE/PLUS badge sit side by side at the larger text size */
html body.premium-app[data-premium-view] #main .hub-continue .hc-kicker{font-size:12px!important;letter-spacing:.05em!important;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis;padding-right:58px}
html body.premium-app[data-premium-view] #main .hub-continue .hc-badge{font-size:11.5px!important;letter-spacing:.06em!important}

/* 59. Locked teaching video (free account): poster + Plus badge, page stays readable. */
html body.premium-app[data-premium-view] .lesson-film-locked{position:relative!important;border-radius:14px!important;overflow:hidden!important;background:#000!important;aspect-ratio:16/9!important;margin:12px 0!important}
html body.premium-app[data-premium-view] .lesson-film-locked img{width:100%!important;height:100%!important;object-fit:cover!important;opacity:.45!important;filter:saturate(.6)!important;display:block!important}
html body.premium-app[data-premium-view] .lesson-film-lock{position:absolute!important;inset:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:10px!important;padding:16px!important;text-align:center!important}
html body.premium-app[data-premium-view] .lesson-film-lock p{color:#fff!important;font-size:16px!important;margin:0!important;text-shadow:0 1px 4px rgba(0,0,0,.6)!important}
html body.premium-app[data-premium-view] .lesson-film-lock-badge{background:var(--dw-accent,#d9ff6a)!important;color:#0f2a1f!important;font-weight:700!important;font-size:12.5px!important;letter-spacing:.08em!important;padding:6px 12px!important;border-radius:999px!important}
html body.premium-app[data-premium-view] .lesson-film-lock .button{min-height:44px!important;padding:10px 18px!important}

/* 60. Memory: countdown + "fix this sentence" review card on Home; onboarding date step. */
html body.premium-app[data-premium-view] .dw-memory{margin:0 0 14px!important;display:grid!important;gap:10px!important}
html body.premium-app[data-premium-view] .dw-count{display:flex!important;align-items:center!important;gap:10px!important;background:var(--dw-surface-2,#1f3129)!important;border:1px solid var(--dw-line)!important;color:var(--dw-ink,#eef)!important;border-radius:20px!important;padding:14px!important}
html body.premium-app[data-premium-view] .dw-count p{margin:0!important;flex:1!important;font-size:16px!important;color:var(--dw-ink,#eef)!important}
html body.premium-app[data-premium-view] .dw-count strong{color:var(--dw-accent,#d9ff6a)!important;font-size:20px!important}
html body.premium-app[data-premium-view] .dw-count-icon{font-size:22px!important}
html body.premium-app[data-premium-view] .dw-count-edit{background:var(--dw-accent,#d9ff6a)!important;border:0!important;color:#132f24!important;font-weight:700!important;border-radius:999px!important;padding:6px 12px!important;font-size:13px!important;min-height:36px!important}
html body.premium-app[data-premium-view] .dw-fix{background:var(--dw-surface-2,#1f3129)!important;border:1px solid var(--dw-line)!important;border-radius:20px!important;padding:14px!important}
html body.premium-app[data-premium-view] .dw-fix-kicker{font-size:12px!important;letter-spacing:.08em!important;color:var(--dw-accent,#d9ff6a)!important;font-weight:700!important;margin:0 0 6px!important}
html body.premium-app[data-premium-view] .dw-fix blockquote{margin:0 0 10px!important;padding:10px 12px!important;border-left:3px solid var(--dw-accent,#d9ff6a)!important;background:rgba(255,255,255,.06)!important;border-radius:8px!important;font-size:17px!important;color:var(--dw-ink,#eef)!important}
html body.premium-app[data-premium-view] .dw-fix-better{font-weight:700!important;color:var(--dw-ink,#eef)!important;font-size:17px!important;margin:0 0 4px!important}
html body.premium-app[data-premium-view] .dw-fix-why{color:var(--dw-dim,#9ab)!important;font-size:15px!important;margin:0 0 10px!important}
html body.premium-app[data-premium-view] .dw-fix-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
html body.premium-app[data-premium-view] .dw-fix-actions .button{min-height:44px!important;padding:10px 16px!important}
html body.premium-app[data-premium-view] .dw-ob-date{display:block!important;margin:8px 0 12px!important}
html body.premium-app[data-premium-view] .dw-ob-date span{display:block!important;font-size:14px!important;color:var(--dw-dim,#556)!important;margin-bottom:6px!important}
html body.premium-app[data-premium-view] .dw-ob-date input{width:100%!important;font-size:17px!important;padding:12px!important;border:1px solid var(--dw-line)!important;border-radius:10px!important;background:rgba(255,255,255,.07)!important;color:var(--dw-ink,#eef)!important;color-scheme:dark!important}
html body.premium-app[data-premium-view] .dw-ob-date input::placeholder{color:var(--dw-dim,#9ab)!important}
html body.premium-app[data-premium-view] .dw-ob-date span{color:var(--dw-dim,#9ab)!important}
html body.premium-app[data-premium-view] .dw-ob-nodate{background:transparent!important;border:0!important;color:var(--dw-dim,#556)!important;text-decoration:underline!important;font-size:15px!important;padding:6px 0!important;min-height:40px!important}
html body.premium-app[data-premium-view] .dw-count-x{background:transparent!important;border:0!important;color:var(--dw-dim,#9ab)!important;font-size:22px!important;line-height:1!important;padding:0 4px!important;min-height:36px!important}

/* 2026-11-10 phone polish: access note reads as one sentence; goal badge clears the tile name; easier taps */
html body.premium-app #hub-access-note{display:block!important}
html body.premium-app[data-premium-view] .hub-goals button:has(.hub-goal-tag){padding-top:22px!important}
html body.premium-app .account-actions{gap:8px 22px!important;flex-wrap:wrap}
html body.premium-app .hub-install-x,html body.premium-app .dw-count-x{min-width:40px!important;min-height:40px!important}

/* 2026-11-10 readability: all text 5% larger on phones. The header logo lockup keeps its designed size (no spare room). */
html{-webkit-text-size-adjust:105%;text-size-adjust:105%}
html body.premium-app .premium-masthead{-webkit-text-size-adjust:100%;text-size-adjust:100%}
