/* ==========================================================================
   LISAN — PAPER SYSTEM
   Final presentation layer, linked after every other stylesheet on every page.
   Reference: eggshell canvas, hairline rules, ink-black action, whisper-weight
   display type, zero shadows / gradients / blur (ElevenLabs, Notion, Opennote,
   Figma, Planpoint).  Presentation only: no markup, routing or data changes.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  --paper: #fdfcfc;
  --taupe: #f5f3f1;
  --stone: #ebe8e4;
  --stone-strong: #d9d4cd;
  --ink: #0a0a0a;
  --graphite: #44403b;
  --smoke: #777169;
  --ash: #a59f97;

  --mn-font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mn-ease: cubic-bezier(.2, .7, .2, 1);
  --mn-r-sm: 8px;
  --mn-r-md: 12px;
  --mn-r-lg: 16px;
  --mn-r-xl: 20px;
  --mn-none: 0 0 0 0 transparent;

  /* App token family (styles-foundation / styles / styles-premium) */
  --bg-canvas: var(--paper);
  --bg-canvas-subtle: var(--taupe);
  --text-primary: var(--ink);
  --text-navy: var(--ink);
  --text-body: var(--graphite);
  --text-muted: var(--smoke);
  --text-secondary: var(--smoke);
  --text-subtle: var(--smoke);
  --accent-azure: var(--ink);
  --accent-blue: var(--ink);
  --accent-sky: var(--graphite);
  --accent-ice: var(--taupe);
  --accent-glow: transparent;
  --glass-bg: var(--paper);
  --glass-bg-hover: var(--taupe);
  --glass-card-hover: var(--taupe);
  --glass-bg-solid: var(--paper);
  --glass-border: var(--stone);
  --glass-border-hover: var(--stone-strong);
  --glass-inner-specular: var(--mn-none);
  --glass-shadow: var(--mn-none);
  --glass-shadow-lg: var(--mn-none);
  --glass-blur: none;
  --success-color: #3d6b52;
  --success-bg: #eef3ef;
  --success-border: #d4e0d8;
  --amber-color: #8a6a2f;
  --amber-bg: #f6f0e3;
  --amber-border: #e6dcc3;
  --font-display: var(--mn-font);
  --font-body: var(--mn-font);
  --font-heading: var(--mn-font);
  --radius-sm: var(--mn-r-sm);
  --radius-md: var(--mn-r-md);
  --radius-lg: var(--mn-r-lg);
  --radius-xl: var(--mn-r-xl);
  --radius-2xl: 24px;
  --ui-line: var(--stone);
  --ui-surface: var(--paper);
  --ui-wash: var(--taupe);

  /* premium.css family */
  --pm-ink: var(--ink);
  --pm-navy: var(--ink);
  --pm-body: var(--graphite);
  --pm-muted: var(--smoke);
  --pm-subtle: var(--smoke);
  --pm-azure: var(--ink);
  --pm-sky: var(--graphite);
  --pm-ice: var(--taupe);
  --pm-ice-soft: var(--taupe);
  --pm-cream: var(--paper);
  --pm-cream-subtle: var(--taupe);
  --pm-line: var(--stone);
  --pm-line-strong: var(--stone-strong);
  --pm-grad: var(--ink);
  --pm-grad-hover: #2b2825;
  --pm-grad-subtle: var(--taupe);
  --pm-sheen: var(--paper);
  --pm-sh-1: var(--mn-none);
  --pm-sh-2: var(--mn-none);
  --pm-sh-3: var(--mn-none);
  --pm-ease: var(--mn-ease);

  /* curriculum pages family (course.css / curriculum/premium.css) */
  --navy: var(--ink);
  --body: var(--graphite);
  --muted: var(--smoke);
  --subtle: var(--smoke);
  --paper-subtle: var(--taupe);
  --surface: var(--paper);
  --surface-sheen: var(--paper);
  --blue: var(--taupe);
  --blue-soft: var(--taupe);
  --line: var(--stone);
  --line-strong: var(--stone-strong);
  --accent: var(--ink);
  --radius: var(--mn-r-lg);
  color-scheme: light;
}

/* ---------- 2. Foundations ---------------------------------------------- */
html, body { background: var(--paper) !important; }
body {
  font-family: var(--mn-font);
  color: var(--graphite);
  line-height: 1.65;
  font-feature-settings: 'cv11', 'ss03';
  letter-spacing: .005em;
}
::selection { background: var(--ink); color: var(--paper); }
::-moz-selection { background: var(--ink); color: var(--paper); }
* { scrollbar-color: var(--stone-strong) transparent; }
::-webkit-scrollbar-thumb { background: var(--stone-strong); }
::-webkit-scrollbar-thumb:hover { background: var(--ash); }

body .ambient-glow, .ambient-glow { display: none !important; }

/* No elevation, no frosted glass, no gradients, anywhere. */
html body *, html body *::before, html body *::after {
  box-shadow: none !important;
  text-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background-image: none !important;
  -webkit-text-fill-color: currentColor !important;
}
html body :focus-visible {
  outline: 2px solid var(--ink) !important;
  outline-offset: 3px !important;
}
html body input:focus-visible, html body select:focus-visible, html body textarea:focus-visible {
  outline-offset: 1px !important;
}

/* Display type: whisper-weight, tight tracking. */
html body :is(h1, h2, h3, h4, .hero-title, .section-title, .choice-title, .card-english-word:not(.arabic-text)) {
  font-family: var(--mn-font);
  color: var(--ink);
}
html body :is(h1, .hero-title) { font-weight: 300; letter-spacing: -.035em; line-height: 1.08; }
html body :is(h2, h3, h4) { font-weight: 500; letter-spacing: -.02em; }

/* ---------- 3. Header ---------------------------------------------------- */
html body .app-header, html body .course-header {
  background: var(--paper);
  border-bottom: 1px solid var(--stone);
  padding-top: 14px; padding-bottom: 14px;
}
html body .logo-mark {
  background: var(--ink); color: var(--paper); border-radius: 10px;
  width: 34px; height: 34px; font-weight: 600; font-size: 16px;
}
html body .brand-name, html body .brand {
  color: var(--ink); font-weight: 600; letter-spacing: -.04em;
}
html body .brand-tag, html body .brand span {
  color: var(--smoke); letter-spacing: .12em; font-weight: 500;
}

/* ---------- 4. Buttons --------------------------------------------------- */
html body :is(.glass-btn, .button, .btn-text-link, .action-pill-btn, .audio-listen-btn, .rpd-copy-pill, .pronounce-toggle-pill, .search-clear-btn),
html body .course-header button, html body .course-workspace button, html body .lesson-card button {
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: 9999px;
  color: var(--ink);
  font-family: var(--mn-font);
  font-weight: 500;
  letter-spacing: 0;
  transform: none;
  transition: background .18s var(--mn-ease), border-color .18s var(--mn-ease), color .18s var(--mn-ease);
}
html body :is(.glass-btn, .button, .action-pill-btn, .audio-listen-btn, .rpd-copy-pill, .pronounce-toggle-pill):hover,
html body .course-header button:hover, html body .course-workspace button:hover, html body .lesson-card button:hover {
  background: var(--taupe); border-color: var(--stone-strong); color: var(--ink); transform: none;
}
html body :is(.glass-btn, .button):active { transform: none; background: var(--stone); }
html body :is(.glass-btn.active, .glass-btn[aria-pressed="true"]) {
  background: var(--taupe); border-color: var(--ink); color: var(--ink);
}
/* The single filled action per context. */
html body :is(.btn-primary-pill, .btn-next-stage, .btn-layer-nav.btn-layer-next, .btn-jump-go, .primary, .btn-header-masterclass.active),
html body .mode-tabs button[aria-pressed="true"], html body .course-workspace button[aria-pressed="true"] {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
html body :is(.btn-primary-pill, .btn-next-stage, .btn-layer-nav.btn-layer-next, .btn-jump-go, .primary):hover,
html body .mode-tabs button[aria-pressed="true"]:hover, html body .course-workspace button[aria-pressed="true"]:hover {
  background: #2b2825; color: var(--paper); border-color: #2b2825;
}
html body :is(.btn-nav-hub, .btn-header-masterclass) { background: var(--paper); border-color: var(--stone); color: var(--ink); }
html body .btn-header-masterclass .bhm-badge { background: var(--taupe); color: var(--smoke); border: 0; }
html body .btn-header-masterclass:hover .bhm-badge, html body .btn-header-masterclass.active .bhm-badge { background: var(--stone); color: var(--ink); }
html body .floating-slide-toggle { background: var(--paper); border: 1px solid var(--stone); color: var(--ink); }
html body .floating-slide-toggle:hover { background: var(--taupe); }
html body .btn-text-link { border: 0; background: transparent; color: var(--smoke); text-decoration: underline; text-underline-offset: 3px; }
html body .btn-text-link:hover { background: transparent; color: var(--ink); }

/* ---------- 5. Form controls -------------------------------------------- */
html body :is(input[type=text], input[type=search], input[type=number], select, textarea),
html body :is(.search-input-wrap input) {
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: var(--mn-r-md);
  color: var(--ink);
  font-family: var(--mn-font);
}
html body :is(input, select, textarea):hover { border-color: var(--stone-strong); }
html body :is(input, select, textarea):focus { border-color: var(--ink); }
html body ::placeholder { color: var(--ash); opacity: 1; }
html body input[type=range] { accent-color: var(--ink); }
html body input[type=checkbox], html body input[type=radio] { accent-color: var(--ink); }

/* ---------- 6. Cards & surfaces ----------------------------------------- */
html body :is(
  .home-lang-selector-panel, .hero-choice-card, .spotlight-bento-card, .home-progress-ribbon,
  .search-filter-card, .category-card, .big-study-card, .reading-card, .reading-nav-bar,
  .chat-bubble-card, .grammar-sidebar, .grammar-masterclass-banner, .lang-dropdown-menu,
  .lesson-card, .course-index, .lesson-layer-panel, .ls-detail-card, .lessons-drawer-card,
  .practice, .example, .vocab-item, .task-box, .notice, .connection,
  .word-drawer, .lessons-drawer, .text-drawer
) {
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: var(--mn-r-lg);
  color: var(--graphite);
}
html body :is(.hero-choice-card, .category-card, .chat-bubble-card, .lessons-drawer-card, .ls-detail-card, .home-lang-card):hover {
  background: var(--paper); border-color: var(--ink); transform: none;
}
/* Recessed surfaces use taupe instead of tint. */
html body :is(.task-box, .notice, .connection, .card-mode-tabs, .lesson-layers-bar, .mode-tabs, .grammar-masterclass-banner) {
  background: var(--taupe); border-color: transparent;
}
html body .connection { border-left: 2px solid var(--ink); border-radius: 0 var(--mn-r-md) var(--mn-r-md) 0; }
html body .spotlight-bento-card, html body #cardChoiceLanguage { background: var(--taupe); border-color: transparent; }
html body .spotlight-bento-card:hover, html body #cardChoiceLanguage:hover { border-color: var(--ink); background: var(--taupe); }

/* ---------- 7. Chips, tags, badges -------------------------------------- */
html body :is(.filter-chip, .feature-tag, .meta-tag, .card-status-badge, .word-badge, .badge, .tag, .pill, .mode-tab, .lesson-set-tab, .lesson-mod-pill, .ls-detail-tag, .tab-badge) {
  background: transparent;
  border: 1px solid var(--stone);
  border-radius: 9999px;
  color: var(--smoke);
  font-weight: 500;
  letter-spacing: 0;
}
html body :is(.filter-chip, .mode-tab, .lesson-set-tab, .lesson-mod-pill):hover { background: var(--taupe); color: var(--ink); border-color: var(--stone-strong); }
html body :is(.filter-chip.active, .lesson-set-tab.active, .lesson-mod-pill.active) {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
html body :is(.filter-chip.active, .lesson-set-tab.active, .lesson-mod-pill.active) * { color: inherit; }
html body .lesson-layer-tab { background: transparent; border: 0; border-radius: 9999px; color: var(--smoke); }
html body .lesson-layer-tab:hover { color: var(--ink); background: transparent; }
html body .lesson-layer-tab .tab-badge, html body .lesson-layer-tab.active .tab-badge { background: transparent; border: 0; color: inherit; opacity: .7; }
html body .icon-bubble, html body .gmb-icon-wrap {
  background: transparent; border: 1px solid var(--stone); border-radius: 50%; color: var(--ink);
  filter: grayscale(1);
}
html body .progress-track { background: var(--stone); border-radius: 9999px; height: 3px; }
html body .progress-fill { background: var(--ink) !important; border-radius: 9999px; }

/* ---------- 8. Home ----------------------------------------------------- */
html body #viewHome .hero-badge {
  background: transparent; border: 0; padding: 0; color: var(--smoke);
  font-weight: 500; letter-spacing: .14em; font-size: 11px;
}
html body #viewHome .hero-badge::before { display: none; }
html body #viewHome .hero-title { font-size: clamp(2.5rem, 5.2vw, 4rem); font-weight: 300; letter-spacing: -.04em; line-height: 1.04; color: var(--ink); }
html body #viewHome .text-gradient { color: var(--smoke); background: none; }
html body #viewHome .hero-subtitle { color: var(--smoke); font-size: 16px; line-height: 1.7; max-width: 46ch; }
html body #viewHome .home-lang-selector-panel { background: var(--taupe); border-color: transparent; border-radius: var(--mn-r-xl); }
html body #viewHome .home-lang-panel-header, html body #viewHome .panel-label { color: var(--smoke); letter-spacing: .12em; font-weight: 500; font-size: 11px; }
html body #viewHome .panel-icon { display: none; }
html body #viewHome .home-lang-card { background: transparent; border: 1px solid transparent; border-radius: var(--mn-r-md); }
html body #viewHome .home-lang-card:hover { background: var(--paper); border-color: var(--stone); }
html body #viewHome .home-lang-card.active { background: var(--paper); border-color: var(--ink); }
html body #viewHome .home-lang-card.active::after { background: var(--ink); color: var(--paper); }
html body #viewHome .home-lang-card .card-flag { filter: grayscale(1); opacity: .85; }
html body #viewHome .choice-title { font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
html body #viewHome .choice-desc { color: var(--smoke); }
html body #viewHome .action-arrow { background: transparent; border: 1px solid var(--stone); color: var(--ink); }
html body #viewHome .hero-choice-card:hover .action-arrow { background: var(--ink); color: var(--paper); border-color: var(--ink); }
html body #viewHome .home-progress-ribbon { background: transparent; border-color: var(--stone); }
html body #viewHome .metric-val { color: var(--ink); font-weight: 300; letter-spacing: -.03em; }

/* ---------- 9. Section headers (all views) ------------------------------ */
html body :is(.section-title, .view-title, .page-title) { font-weight: 300; letter-spacing: -.035em; color: var(--ink); }
html body :is(.section-subtitle, .view-subtitle, .page-subtitle) { color: var(--smoke); }

/* ---------- 10. Study card ---------------------------------------------- */
html body .card-english-word:not(.arabic-text) { font-weight: 300; letter-spacing: -.04em; color: var(--ink); }
html body .card-mode-tabs { background: var(--taupe); border: 0; border-radius: 9999px; padding: 4px; }
html body .mode-tab { border: 0; background: transparent; }
html body .mode-tab.active { background: var(--paper); color: var(--ink); border: 1px solid var(--stone); }
html body .mode-tab .tab-num, html body .mode-tab span:first-child { background: transparent; color: inherit; }

/* ---------- 11. Grammar / reading / dialogue ----------------------------- */
html body .grammar-nav-item { border-radius: var(--mn-r-md); color: var(--smoke); background: transparent; border: 1px solid transparent; }
html body .grammar-nav-item:hover { background: var(--taupe); color: var(--ink); }
html body .grammar-nav-item.active { background: var(--taupe); color: var(--ink); border-color: transparent; border-left: 2px solid var(--ink); border-radius: 0 var(--mn-r-md) var(--mn-r-md) 0; }
html body .reading-title-en:not(.arabic-text) { font-weight: 300; letter-spacing: -.035em; color: var(--ink); }
html body .chat-bubble-speaker-a { background: var(--taupe); border-color: transparent; }
html body .chat-bubble-speaker-b { background: var(--paper); border-color: var(--stone); }

/* ---------- 12. Curriculum pages (language / learn / analysis) ----------- */
html body .course-layout { padding-top: 3rem; }
html body .course-index h1 { font-weight: 300; letter-spacing: -.035em; }
html body .eyebrow, html body .index-meta { color: var(--smoke); letter-spacing: .12em; font-weight: 500; }
html body #lesson-index button { border-radius: var(--mn-r-md); border: 1px solid transparent; background: transparent; color: var(--graphite); text-align: left; }
html body #lesson-index button:hover { background: var(--taupe); }
html body #lesson-index button[aria-current="true"] { background: var(--taupe); border-color: transparent; border-left: 2px solid var(--ink); border-radius: 0 var(--mn-r-md) var(--mn-r-md) 0; }
html body .lesson-card { border-radius: var(--mn-r-xl); }
html body .lesson-card h1 { font-weight: 300; letter-spacing: -.035em; }
html body .lesson-card .meta span { background: transparent; border: 1px solid var(--stone); color: var(--smoke); }
html body .course-footer, html body .save-note, html body .status { color: var(--smoke); }
html body a { color: var(--ink); text-underline-offset: 3px; }
html body .practice .feedback { border-left: 2px solid var(--ink); }

/* ---------- 13. Overlays: only floating layers keep a hairline lift ------ */
html body :is(.lang-dropdown-menu, .word-drawer, .lessons-drawer, .text-drawer, [class*="toast"]) {
  background: var(--paper); border: 1px solid var(--stone-strong);
  box-shadow: 0 1px 1px rgba(0,0,0,.04), 0 8px 24px -8px rgba(0,0,0,.10) !important;
}
html body .lang-option-btn:hover { background: var(--taupe); }

/* ---------- 14. Motion ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html body *, html body *::before, html body *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   15. Refinements (from chromatic audit of every screen)
   ========================================================================== */

/* Emoji / colour icons become monochrome. Semantic status buttons keep tone. */
html body :is(.glass-btn, .filter-chip, .lesson-set-tab, .lesson-mod-pill, .reading-series-pill, .study-category-badge,
  .dialogue-category-badge, .cat-bubble, .panel-icon, .card-flag, .tab-icon, .grammar-nav-item, .topic-module-index,
  .action-pill-btn, .audio-listen-btn, .btn-bubble-action, .lpb-icon, .wph-icon, .lesson-layer-tab .tab-icon,
  .status-icon, .gmb-icon-wrap, .icon-bubble):not(.btn-status) { filter: grayscale(1); }

/* Tinted pills / badges -> hairline chips. */
html body :is(.cat-bubble, .cat-count-badge, .study-category-badge, .progress-status-badge, .level-chip, .type-chip,
  .prompt-badge, .context-badge, .sidebar-badge, .topic-module-index, .reading-series-pill, .reading-level-pill,
  .dialogue-category-badge, .dialogue-level-badge, .speaker-pill, .vocab-type-badge, .btn-badge, .tab-num, .choice-pill, .lpb-badge) {
  background: transparent !important;
  border: 1px solid var(--stone) !important;
  color: var(--smoke) !important;
  font-weight: 500;
}
html body .cat-bubble { border-radius: 50% !important; color: var(--ink) !important; }
html body :is(.speaker-pill-a, .speaker-pill.speaker-pill-a) { background: var(--taupe) !important; border-color: transparent !important; color: var(--ink) !important; }

/* Blue hairlines -> stone. */
html body :is(.sentence-en-area, .swipe-prompt-footer, .subtopic-view-toggle, .subtopic-card, .grammar-table-wrap,
  .subtopic-card-footer, .grammar-footer-nav, .reading-paragraph-box, .dialogue-speakers-box, kbd, .rpd-text,
  .sph-text, .line-pronounce-box, .line-pronounce-box.open, .btn-bubble-action, .vocab-tr-pronounce-pill, #cardChoiceLanguage,
  .cat-progress-bar, .word-pronounce-hero-pill, .word-pronounce-hero) {
  border-color: var(--stone) !important;
}
html body kbd { background: var(--taupe) !important; color: var(--graphite) !important; border-radius: 6px; }
html body :is(.formula-box, .dialogue-tips-card) { background: var(--taupe) !important; border-color: transparent !important; }
html body .grammar-table-wrap th, html body table th { background: var(--taupe) !important; color: var(--ink); font-weight: 500; }
html body .grammar-table-wrap td, html body table td { border-color: var(--stone) !important; }

/* Pronunciation aids: quiet ink, no indigo. */
html body :is(.wph-tag, .sph-label, .lpb-badge, .lpb-icon, .lpb-label, .lpb-arrow, .lpb-speak-btn, .lpb-copy-btn) { color: var(--smoke) !important; }
html body :is(.wph-pronounce, .sph-text, .lpb-text, .rpd-text, .vocab-tr-pronounce-pill, .vocab-tr-pronounce-pill *) { color: var(--ink) !important; }
html body :is(.dialogue-tips-title, .dialogue-tips-title *, .dialogue-tips-card li) { color: var(--graphite) !important; }
html body .reading-level-pill, html body .dialogue-level-badge { color: var(--smoke) !important; }

/* Range sliders. */
html body :is(.word-scrubber-slider, .reading-slider-scrubber, input[type=range]) { background: var(--stone) !important; height: 3px; }
html body :is(.word-scrubber-slider, .reading-slider-scrubber, input[type=range])::-webkit-slider-thumb { background: var(--ink); border: 2px solid var(--paper); width: 16px; height: 16px; }
html body :is(.word-scrubber-slider, .reading-slider-scrubber, input[type=range])::-moz-range-thumb { background: var(--ink); border: 2px solid var(--paper); }
html body .cat-progress-bar { background: var(--stone) !important; border: 0 !important; height: 3px; }
html body .cat-progress-fill { background: var(--ink) !important; }

/* Segmented controls: paper chip on taupe track. */
html body .lesson-layer-tab.active { background: var(--paper); color: var(--ink); border: 1px solid var(--stone); }
html body .mode-tabs :is(button, .button, a) { background: transparent; border: 1px solid transparent; }
html body .mode-tabs :is(button, .button, a):hover { background: var(--paper); border-color: var(--stone); }
html body .mode-tabs :is(button[aria-pressed="true"]) { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Lesson index: left aligned meta. */
html body #lesson-index button, html body #lesson-index .index-meta { text-align: left; justify-content: flex-start; }
html body #lesson-index button { display: block; }
html body .lesson-card > a, html body .persian-target-actions button {
  background: var(--paper) !important;
  border: 1px solid var(--stone) !important;
  color: var(--ink) !important;
  border-radius: 9999px !important;
  box-shadow: none !important;
}
html body .lesson-card > a:hover, html body .persian-target-actions button:hover {
  background: var(--taupe) !important;
  border-color: var(--stone-strong) !important;
  color: var(--ink) !important;
  transform: none !important;
}

/* Home refinements. */
html body #viewHome .hero-title { font-size: clamp(2.1rem, 3.7vw, 3rem); text-wrap: balance; }
html body #viewHome .hero-subtitle { max-width: 42ch; }
html body #viewHome :is(.spotlight-bento-card, #cardChoiceLanguage) { background: var(--taupe); border: 1px solid transparent !important; border-radius: var(--mn-r-xl); }
html body #viewHome :is(.spotlight-bento-card, #cardChoiceLanguage):hover { border-color: var(--ink) !important; }
html body #viewHome :is(.spotlight-bento-card, #cardChoiceLanguage) .choice-title { color: var(--ink); font-weight: 400; letter-spacing: -.03em; }
html body #viewHome .hero-choice-card { border-radius: var(--mn-r-xl); }
html body #viewHome .icon-bubble { background: transparent !important; border: 1px solid var(--stone) !important; }
html body #viewHome .icon-bubble::after { background: var(--ink) !important; }
html body #viewHome .hero-choice-card:hover .icon-bubble { background: var(--ink) !important; border-color: var(--ink) !important; }
html body #viewHome .hero-choice-card:hover .icon-bubble::after { background: var(--paper) !important; }
html body #viewHome .home-lang-selector-panel { border-radius: var(--mn-r-xl); }

/* Analysis & details refinements. */
html body .analysis-picker-card {
  background: var(--taupe) !important;
  border: 1px solid var(--stone) !important;
  border-radius: var(--mn-r-xl) !important;
  box-shadow: none !important;
}
html body .analysis-picker-card label {
  color: var(--smoke) !important;
  font-weight: 500 !important;
  letter-spacing: .12em !important;
  font-size: 11px !important;
}
html body details {
  border: 1px solid var(--stone);
  border-radius: var(--mn-r-md);
  padding: 12px 16px;
  background: var(--paper);
  margin: 12px 0;
}
html body details summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--ink);
  outline: none;
}
