/* Display preference variants generated by mobile_css.py; Auto specificity is unchanged. */
/* LexVerdia App Layout Contract v3 — 23.0.80.
 *
 * This stylesheet is the authoritative structural layer for /app. It is loaded
 * after the legacy bundle, Shell v2, the optional Oral v2 layer, and the native
 * LexVerdia Learning styles. Route classes on <html> and <body> identify the one scroll
 * owner and the components that may be fixed or sticky on each surface.
 */

html.lexverdia-layout-v3,
html.lexverdia-layout-v3 body.lexverdia-app{
  width:100%;
  max-width:100%;
  overflow-wrap:normal;
  word-break:normal;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

@supports  (overflow:clip){
  html.lexverdia-layout-v3,
  html.lexverdia-layout-v3 body.lexverdia-app{
    overflow-x:clip;
  }
}

@supports  not (overflow:clip){
  html.lexverdia-layout-v3,
  html.lexverdia-layout-v3 body.lexverdia-app{
    overflow-x:hidden;
  }
}

/* Text blocks may break a genuinely unbroken token, but navigation and controls
 * no longer inherit the old shell-wide overflow-wrap:anywhere behaviour. */
html.lexverdia-layout-v3 body.lexverdia-app :where(
  p,
  li,
  dd,
  blockquote,
  figcaption,
  .lexverdia-muted,
  .lexverdia-note,
  .lexverdia-help,
  .lexverdia-description,
  .lexverdia-card__body,
  .lexverdia-empty__body
){
  overflow-wrap:break-word;
  word-break:normal;
}

html.lexverdia-layout-v3 body.lexverdia-app :where(
  .lexverdia-tab,
  .lexverdia-tab__label,
  .lexverdia-pill,
  .lexverdia-chip,
  .lexverdia-btn,
  .lexverdia-seg__btn,
  .lexverdia-exam-current,
  .lexverdia-exam-menu__summary,
  .lexverdia-topbar__surfaceSummary,
  .lexverdia-live-action,
  .lexverdia-rail__link,
  .lexverdia-workspace-strip__link
){
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}

/* Route-owned clearances keep overlays and scroll padding aligned with the
 * controls that actually exist on each surface. */
html.lexverdia-layout-v3.lexverdia-layout-bottom-shell{
  --lexverdia-shell-bottom-gap:calc(var(--lexverdia-tabs-height, 72px) + 18px + env(safe-area-inset-bottom, 0px));
  --lexverdia-consent-bottom:calc(var(--lexverdia-tabs-height, 72px) + 12px + env(safe-area-inset-bottom, 0px));
}

html.lexverdia-layout-v3.lexverdia-layout-voice{
  --lexverdia-shell-bottom-gap:calc(var(--lexverdia-voice-dock-height, 104px) + 30px + env(safe-area-inset-bottom, 0px));
  --lexverdia-consent-bottom:calc(var(--lexverdia-voice-dock-height, 104px) + 16px + env(safe-area-inset-bottom, 0px));
}

html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-view-voice{
  --lexverdia-consent-bottom:calc(var(--lexverdia-voice-dock-height, 104px) + 16px + env(safe-area-inset-bottom, 0px));
}

html.lexverdia-layout-v3:is(.lexverdia-layout-quiz,.lexverdia-layout-standalone){
  --lexverdia-shell-bottom-gap:calc(18px + env(safe-area-inset-bottom, 0px));
  --lexverdia-consent-bottom:calc(12px + env(safe-area-inset-bottom, 0px));
}

/* Shared shell sizing. Route-specific blocks below decide vertical scroll. */
html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-shell,
html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-main{
  min-width:0;
  max-width:100%;
}

/* Bottom navigation labels are a single, ellipsised line at every supported
 * mobile width. This avoids Android splitting Progress before its final letter. */
html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-tab{
  min-width:0;
}

html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-tab__label{
  display:block;
  width:100%;
  min-width:0;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:clamp(10px, 2.8vw, 12px);
  line-height:1.15;
}html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-tab__label:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){font-size:clamp(10px, 12.04px, 12px);}

/* Desktop and laptop app-shell header baseline. The mobile grid below replaces
 * every historical nested-scroller variant at the route-contract breakpoint. */
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-topbar--app-shell,
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-standalone .lexverdia-topbar--app-shell{
  min-width:0;
  max-width:100%;
}

html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-topbar--app-shell .lexverdia-topbar__row--primary,
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-standalone .lexverdia-topbar--app-shell .lexverdia-topbar__row--primary{
  min-width:0;
}

html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-topbar--app-shell .lexverdia-topbar__right,
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-standalone .lexverdia-topbar--app-shell .lexverdia-topbar__right{
  display:flex;
  flex:1 1 auto;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:0;
  width:auto;
  max-width:100%;
  padding:0;
  overflow:visible;
}

html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-exam-menu__panel,
html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar__surfacePanel{
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}

@media  (max-width:980px){
  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-topbar--app-shell:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *),
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-standalone .lexverdia-topbar--app-shell:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    display:grid !important;
    grid-template-columns:auto auto minmax(0,1fr) auto !important;
    grid-template-areas:
      "brand install status surface"
      "exam exam exam help" !important;
    align-items:center !important;
    gap:8px !important;
    width:100% !important;
    max-width:100% !important;
    overflow:visible !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-topbar--app-shell .lexverdia-topbar__row--primary:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *),
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-topbar--app-shell .lexverdia-topbar__right:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *),
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-standalone .lexverdia-topbar--app-shell .lexverdia-topbar__row--primary:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *),
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-standalone .lexverdia-topbar--app-shell .lexverdia-topbar__right:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    display:contents !important;
    overflow:visible !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-brand--home:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    grid-area:brand !important;
    justify-self:start !important;
    min-width:0 !important;
    max-width:120px !important;
    margin:0 !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-topbar__statusSlot:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    grid-area:status !important;
    display:flex !important;
    align-items:center !important;
    justify-self:center !important;
    justify-content:center !important;
    flex-wrap:nowrap !important;
    width:auto !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow:hidden !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-topbar__statusSlot:empty:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    display:none !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-topbar__statusSlot > *:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *),
html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-topbar-status-wrap:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    min-width:0 !important;
    max-width:100% !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-topbar__statusSlot .lexverdia-pill:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    max-width:100% !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app:is(.lexverdia-layout-bottom-shell,.lexverdia-layout-standalone) .lexverdia-topbar--app-shell .lexverdia-topbar__sub--surface:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    grid-area:surface !important;
    justify-self:end !important;
    align-self:center !important;
    width:auto !important;
    max-width:min(34vw, 160px) !important;
    min-width:0 !important;
    margin:0 !important;
    overflow:visible !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell :is(
    .lexverdia-topbar__surfaceDetails,
    .lexverdia-topbar__surfaceSummary
  ):where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-topbar__surfaceSummary > span:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    display:block !important;
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-topbar__install:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    grid-area:install !important;
    justify-self:start !important;
    min-width:0 !important;
    max-width:100% !important;
    margin:0 !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-topbar__help:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    grid-area:help !important;
    justify-self:end !important;
    min-width:0 !important;
    max-width:100% !important;
    margin:0 !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-topbar--app-shell .lexverdia-topbar__examSlot:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *),
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-standalone .lexverdia-topbar--app-shell .lexverdia-topbar__examSlot:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    grid-area:exam !important;
    display:flex !important;
    justify-self:stretch !important;
    justify-content:stretch !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    overflow:visible !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell :is(
    .lexverdia-exam-menu,
    .lexverdia-exam-current--single,
    .lexverdia-exam-menu__summary
  ):where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }


  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-exam-menu__panel:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *),
html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar__surfacePanel:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    max-height:min(70dvh, 560px) !important;
    overflow-y:auto !important;
  }
}@media  (min-width:0px){
  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-topbar--app-shell:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *),
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-standalone .lexverdia-topbar--app-shell:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    display:grid !important;
    grid-template-columns:auto auto minmax(0,1fr) auto !important;
    grid-template-areas:
      "brand install status surface"
      "exam exam exam help" !important;
    align-items:center !important;
    gap:8px !important;
    width:100% !important;
    max-width:100% !important;
    overflow:visible !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-topbar--app-shell .lexverdia-topbar__row--primary:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *),
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-topbar--app-shell .lexverdia-topbar__right:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *),
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-standalone .lexverdia-topbar--app-shell .lexverdia-topbar__row--primary:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *),
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-standalone .lexverdia-topbar--app-shell .lexverdia-topbar__right:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    display:contents !important;
    overflow:visible !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-brand--home:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    grid-area:brand !important;
    justify-self:start !important;
    min-width:0 !important;
    max-width:120px !important;
    margin:0 !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-topbar__statusSlot:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    grid-area:status !important;
    display:flex !important;
    align-items:center !important;
    justify-self:center !important;
    justify-content:center !important;
    flex-wrap:nowrap !important;
    width:auto !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow:hidden !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-topbar__statusSlot:empty:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    display:none !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-topbar__statusSlot > *:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *),
html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-topbar-status-wrap:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    min-width:0 !important;
    max-width:100% !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-topbar__statusSlot .lexverdia-pill:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    max-width:100% !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app:is(.lexverdia-layout-bottom-shell,.lexverdia-layout-standalone) .lexverdia-topbar--app-shell .lexverdia-topbar__sub--surface:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    grid-area:surface !important;
    justify-self:end !important;
    align-self:center !important;
    width:auto !important;
    max-width:min(146.2px, 160px) !important;
    min-width:0 !important;
    margin:0 !important;
    overflow:visible !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell :is(
    .lexverdia-topbar__surfaceDetails,
    .lexverdia-topbar__surfaceSummary
  ):where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-topbar__surfaceSummary > span:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    display:block !important;
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-topbar__install:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    grid-area:install !important;
    justify-self:start !important;
    min-width:0 !important;
    max-width:100% !important;
    margin:0 !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-topbar__help:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    grid-area:help !important;
    justify-self:end !important;
    min-width:0 !important;
    max-width:100% !important;
    margin:0 !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-topbar--app-shell .lexverdia-topbar__examSlot:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *),
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-standalone .lexverdia-topbar--app-shell .lexverdia-topbar__examSlot:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    grid-area:exam !important;
    display:flex !important;
    justify-self:stretch !important;
    justify-content:stretch !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    overflow:visible !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell :is(
    .lexverdia-exam-menu,
    .lexverdia-exam-current--single,
    .lexverdia-exam-menu__summary
  ):where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }


  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-exam-menu__panel:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *),
html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar__surfacePanel:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    max-height:min(70dvh, 560px) !important;
    overflow-y:auto !important;
  }
}

/* Tablet workspaces are a visible wrapping grid rather than a hidden
 * horizontal scroller. Phones use the compact topbar selector and desktop uses
 * the navigation rail, so this contract is intentionally limited to tablets. */
@media  (min-width:640px) and (max-width:1023px){
  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-workspace-strip:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    align-items:start !important;
    gap:7px !important;
    width:100% !important;
    max-width:100% !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-workspace-strip__links:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    display:grid !important;
    grid-template-columns:repeat(auto-fit, minmax(96px, 1fr)) !important;
    align-items:stretch !important;
    gap:6px !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    overflow:visible !important;
    scrollbar-width:auto !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-workspace-strip__link:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    display:flex !important;
    min-width:0 !important;
    width:100% !important;
    max-width:100% !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }
}

/* Phone headers retain the compact workspace menu. Tablet routes use the
 * dedicated workspace strip and desktop routes use the rail, so the same
 * navigation is never rendered twice. */
@media  (max-width:639px){
  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-topbar--app-shell .lexverdia-topbar__sub--surface:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    display:flex !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-workspace-strip:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    display:none !important;
  }
}@media  (min-width:0px){
  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-topbar--app-shell .lexverdia-topbar__sub--surface:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    display:flex !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-workspace-strip:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    display:none !important;
  }
}

@media  (min-width:640px) and (max-width:1023px){
  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-topbar--app-shell .lexverdia-topbar__sub--surface:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    display:none !important;
  }
}

@media  (max-width:430px){
  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-topbar--app-shell:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *),
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-standalone .lexverdia-topbar--app-shell:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    padding:calc(7px + env(safe-area-inset-top, 0px)) 8px 8px !important;
    gap:7px !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-brand--home:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    max-width:42px !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-topbar__statusSlot .lexverdia-pill:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    padding-left:10px !important;
    padding-right:10px !important;
  }
}@media  (min-width:0px){
  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-topbar--app-shell:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *),
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-standalone .lexverdia-topbar--app-shell:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    padding:calc(7px + env(safe-area-inset-top, 0px)) 8px 8px !important;
    gap:7px !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-brand--home:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    max-width:42px !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-topbar--app-shell .lexverdia-topbar__statusSlot .lexverdia-pill:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    padding-left:10px !important;
    padding-right:10px !important;
  }
}

/* Route scroll contracts. On compact layouts the root document is the sole
 * vertical scroll owner. Body, shell, main and player wrappers remain natural
 * height so Safari/Chrome cannot leave the page taller than its scroll owner. */
@media  (max-width:1023px){
  html.lexverdia-layout-v3:not(.lexverdia-modal-active):where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    height:auto !important;
    min-height:100% !important;
    max-height:none !important;
    overflow-y:auto !important;
    overscroll-behavior-y:auto !important;
    -webkit-overflow-scrolling:touch;
  }

  html.lexverdia-layout-v3 body.lexverdia-app:not(.lexverdia-modal-active):where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    position:static !important;
    inset:auto !important;
    height:auto !important;
    min-height:var(--lexverdia-viewport-height, 100vh) !important;
    max-height:none !important;
    overflow-y:visible !important;
    overscroll-behavior-y:auto !important;
    touch-action:auto !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app:not(.lexverdia-modal-active).modal-open:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    overflow-y:visible !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app :is(.lexverdia-shell, .lexverdia-main):where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
    overscroll-behavior:auto !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-shell:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    position:relative !important;
    display:block !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-main:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    display:block !important;
    width:100% !important;
    padding-bottom:0 !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-shell:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    min-height:var(--lexverdia-viewport-height, 100vh) !important;
    padding:var(--lexverdia-shell-gutter, 14px) var(--lexverdia-shell-gutter, 14px) var(--lexverdia-shell-bottom-gap, 104px) !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-topbar:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    position:sticky !important;
    top:max(6px, env(safe-area-inset-top, 0px)) !important;
    z-index:140 !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-tabs:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:8px max(10px, env(safe-area-inset-right, 0px)) max(8px, env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px)) !important;
    z-index:1000 !important;
    transform:translate3d(0,0,0) !important;
    transition:transform .16s ease, opacity .16s ease, visibility .16s step-end;
    background:rgba(255,255,255,.985) !important;
    border-top:1px solid rgba(16,117,188,.12) !important;
    box-shadow:0 -8px 24px rgba(15,23,42,.10) !important;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-tabs__inner:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    width:100% !important;
    max-width:720px !important;
    margin-inline:auto !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-sticky-conversion:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    position:fixed !important;
    left:var(--lexverdia-shell-gutter, 14px) !important;
    right:var(--lexverdia-shell-gutter, 14px) !important;
    bottom:calc(var(--lexverdia-tabs-height, 72px) + 10px + env(safe-area-inset-bottom, 0px)) !important;
  }

  html.lexverdia-layout-v3.lexverdia-vp-keyboard-open body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-tabs:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *),
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell.lexverdia-vp-keyboard-open .lexverdia-tabs:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    transform:translate3d(0,115%,0) !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transition-timing-function:ease, ease, step-start;
  }

  html.lexverdia-layout-v3.lexverdia-vp-keyboard-open body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-shell:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *),
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell.lexverdia-vp-keyboard-open .lexverdia-shell:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    padding-bottom:calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Written quiz: no nested vertical scroller, regardless of question type. */
  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-view-quiz:not(.lexverdia-public-preview) :is(
    .lexverdia-quiz-wrap,
    .lexverdia-quiz-card,
    .ays-quiz-container,
    .ays-quiz-wrap
  ):not(:fullscreen):where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
    overscroll-behavior:auto !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-quiz:not(.lexverdia-public-preview) .lexverdia-shell:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    min-height:var(--lexverdia-viewport-height, 100vh) !important;
  }

  /* Voice and oral session routes use document scrolling while Oral v2 owns the
   * fixed recording dock and its measured bottom clearance. */
  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-voice .lexverdia-shell:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    min-height:var(--lexverdia-viewport-height, 100vh) !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app:not(.lexverdia-view-quiz) input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *),
html.lexverdia-layout-v3 body.lexverdia-app:not(.lexverdia-view-quiz) textarea:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *),
html.lexverdia-layout-v3 body.lexverdia-app:not(.lexverdia-view-quiz) select:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    font-size:16px !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app:not(.lexverdia-view-quiz) :is(.lexverdia-btn, button, [role="button"]):where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    min-height:44px;
  }

  html.lexverdia-layout-v3 body.lexverdia-app:not(.lexverdia-view-quiz) :is(.lexverdia-card, img, video, iframe):where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    max-width:100%;
  }

  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-view-quiz .ays-quiz-container img:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    -webkit-user-drag:none;
    -webkit-touch-callout:none;
  }

  /* Public quiz previews are compact iframe documents. They intentionally do
   * not inherit the full-height app-shell contract used by ordinary routes. */
  html.lexverdia-layout-v3.lexverdia-public-preview-root:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow-y:auto !important;
  }

  html.lexverdia-layout-v3.lexverdia-public-preview-root body.lexverdia-app.lexverdia-public-preview-quiz:where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    position:static !important;
    inset:auto !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow-y:visible !important;
    overscroll-behavior-y:auto !important;
  }

  html.lexverdia-layout-v3.lexverdia-public-preview-root body.lexverdia-app.lexverdia-public-preview-quiz :is(.lexverdia-shell,.lexverdia-main):where(html:not([data-lexverdia-display="mobile"]),html:not([data-lexverdia-display="mobile"]) *){
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
  }
}@media  (min-width:0px){
  html.lexverdia-layout-v3:not(.lexverdia-modal-active):where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    height:auto !important;
    min-height:100% !important;
    max-height:none !important;
    overflow-y:auto !important;
    overscroll-behavior-y:auto !important;
    -webkit-overflow-scrolling:touch;
  }

  html.lexverdia-layout-v3 body.lexverdia-app:not(.lexverdia-modal-active):where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    position:static !important;
    inset:auto !important;
    height:auto !important;
    min-height:var(--lexverdia-viewport-height, 100vh) !important;
    max-height:none !important;
    overflow-y:visible !important;
    overscroll-behavior-y:auto !important;
    touch-action:auto !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app:not(.lexverdia-modal-active).modal-open:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    overflow-y:visible !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app :is(.lexverdia-shell, .lexverdia-main):where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
    overscroll-behavior:auto !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-shell:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    position:relative !important;
    display:block !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-main:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    display:block !important;
    width:100% !important;
    padding-bottom:0 !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-shell:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    min-height:var(--lexverdia-viewport-height, 100vh) !important;
    padding:var(--lexverdia-shell-gutter, 14px) var(--lexverdia-shell-gutter, 14px) var(--lexverdia-shell-bottom-gap, 104px) !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-topbar:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    position:sticky !important;
    top:max(6px, env(safe-area-inset-top, 0px)) !important;
    z-index:140 !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-tabs:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:8px max(10px, env(safe-area-inset-right, 0px)) max(8px, env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px)) !important;
    z-index:1000 !important;
    transform:translate3d(0,0,0) !important;
    transition:transform .16s ease, opacity .16s ease, visibility .16s step-end;
    background:rgba(255,255,255,.985) !important;
    border-top:1px solid rgba(16,117,188,.12) !important;
    box-shadow:0 -8px 24px rgba(15,23,42,.10) !important;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-tabs__inner:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    width:100% !important;
    max-width:720px !important;
    margin-inline:auto !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-sticky-conversion:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    position:fixed !important;
    left:var(--lexverdia-shell-gutter, 14px) !important;
    right:var(--lexverdia-shell-gutter, 14px) !important;
    bottom:calc(var(--lexverdia-tabs-height, 72px) + 10px + env(safe-area-inset-bottom, 0px)) !important;
  }

  html.lexverdia-layout-v3.lexverdia-vp-keyboard-open body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-tabs:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *),
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell.lexverdia-vp-keyboard-open .lexverdia-tabs:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    transform:translate3d(0,115%,0) !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transition-timing-function:ease, ease, step-start;
  }

  html.lexverdia-layout-v3.lexverdia-vp-keyboard-open body.lexverdia-app.lexverdia-layout-bottom-shell .lexverdia-shell:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *),
html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-bottom-shell.lexverdia-vp-keyboard-open .lexverdia-shell:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    padding-bottom:calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Written quiz: no nested vertical scroller, regardless of question type. */
  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-view-quiz:not(.lexverdia-public-preview) :is(
    .lexverdia-quiz-wrap,
    .lexverdia-quiz-card,
    .ays-quiz-container,
    .ays-quiz-wrap
  ):not(:fullscreen):where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
    overscroll-behavior:auto !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-quiz:not(.lexverdia-public-preview) .lexverdia-shell:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    min-height:var(--lexverdia-viewport-height, 100vh) !important;
  }

  /* Voice and oral session routes use document scrolling while Oral v2 owns the
   * fixed recording dock and its measured bottom clearance. */
  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-layout-voice .lexverdia-shell:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    min-height:var(--lexverdia-viewport-height, 100vh) !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app:not(.lexverdia-view-quiz) input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *),
html.lexverdia-layout-v3 body.lexverdia-app:not(.lexverdia-view-quiz) textarea:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *),
html.lexverdia-layout-v3 body.lexverdia-app:not(.lexverdia-view-quiz) select:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    font-size:16px !important;
  }

  html.lexverdia-layout-v3 body.lexverdia-app:not(.lexverdia-view-quiz) :is(.lexverdia-btn, button, [role="button"]):where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    min-height:44px;
  }

  html.lexverdia-layout-v3 body.lexverdia-app:not(.lexverdia-view-quiz) :is(.lexverdia-card, img, video, iframe):where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    max-width:100%;
  }

  html.lexverdia-layout-v3 body.lexverdia-app.lexverdia-view-quiz .ays-quiz-container img:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    -webkit-user-drag:none;
    -webkit-touch-callout:none;
  }

  /* Public quiz previews are compact iframe documents. They intentionally do
   * not inherit the full-height app-shell contract used by ordinary routes. */
  html.lexverdia-layout-v3.lexverdia-public-preview-root:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow-y:auto !important;
  }

  html.lexverdia-layout-v3.lexverdia-public-preview-root body.lexverdia-app.lexverdia-public-preview-quiz:where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    position:static !important;
    inset:auto !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow-y:visible !important;
    overscroll-behavior-y:auto !important;
  }

  html.lexverdia-layout-v3.lexverdia-public-preview-root body.lexverdia-app.lexverdia-public-preview-quiz :is(.lexverdia-shell,.lexverdia-main):where(html[data-lexverdia-display="mobile"],html[data-lexverdia-display="mobile"] *){
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
  }
}

@media  (prefers-reduced-motion:reduce){
  html.lexverdia-layout-v3 body.lexverdia-app .lexverdia-tabs{
    transition:none !important;
  }
}
