/* Dutch driving field guide. Shared appearance for every route.
   Design process: unslop by Damir Sokolovsky (@heydamir), CC BY 4.0.
   https://heydamir.design/unslop */
@layer field-guide {
  .stack,
  .panel,
  .two-columns > *,
  .app-content > * {
    min-width: 0;
  }
  .table-wrap {
    max-width: 100%;
    overflow-x: auto;
  }
  @font-face {
    font-family: "IBM Plex Sans";
    src: url("/assets/fonts/ibm-plex-sans.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 700;
    font-display: swap;
  }
  :root {
    --bg: #f7f8f8;
    --paper: #fff;
    --ink: #23292d;
    --muted: #626b71;
    --line: #dde1e3;
    --soft: #eef0f1;
    --blue: #2457c5;
    --blue-hover: #194397;
    --blue-wash: #eff3fa;
    --green: #30694e;
    --green-wash: #f0f5f1;
    --red: #a43232;
    --red-wash: #fcf2f1;
    --amber: #745419;
    --navy: #252c31;
    --shadow: none;
    --radius: 12px;
    --font: "IBM Plex Sans", "Segoe UI", sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
  }
  :root[data-theme="dark"] {
    --bg: #17191b;
    --paper: #1e2123;
    --ink: #eceeef;
    --muted: #a6adb1;
    --line: #363b3f;
    --soft: #282c2f;
    --blue: #a8c5ff;
    --blue-hover: #c6d8ff;
    --blue-wash: #252e3c;
    --green: #a2c9ad;
    --green-wash: #242e28;
    --red: #f1b1aa;
    --red-wash: #362829;
    --amber: #d9c095;
    --navy: #121416;
  }
  body {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
  }
  h1,
  h2,
  h3 {
    font-weight: 500;
    letter-spacing: -0.02em;
    text-wrap: balance;
  }
  h1 {
    font-size: clamp(40px, 4.6vw, 64px);
    line-height: 1.06;
  }
  h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.16;
  }
  h3 {
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: 0;
  }
  b,
  strong {
    font-weight: 500;
  }
  small {
    font-size: 12px;
  }
  p {
    color: var(--muted);
  }
  :is(button, a, input, select, textarea, summary):focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
  }
  :is(input, select, textarea) {
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    min-height: 44px;
  }
  input[type="checkbox"],
  input[type="radio"] {
    width: 20px;
    height: 20px;
    min-height: 20px;
  }
  input[type="range"] {
    min-height: 20px;
  }
  label {
    font-size: 14px;
    font-weight: 500;
  }
  .container {
    width: min(1280px, calc(100% - 96px));
  }
  .site-header {
    position: sticky;
    top: 0;
    background: var(--bg);
  }
  .header-inner {
    min-height: 72px;
    gap: 32px;
  }
  .brand {
    font-size: 20px;
    font-weight: 500;
    gap: 8px;
    letter-spacing: -0.4px;
  }
  .brand-light {
    font-weight: 400;
  }
  .brand-icon {
    background: none;
    color: var(--ink);
    border-radius: 0;
    width: 28px;
    height: 32px;
  }
  .brand-icon svg {
    width: 28px;
    stroke-width: 1.5;
  }
  .brand small {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    margin-top: 4px;
  }
  .desktop-nav {
    gap: 28px;
    font-size: 14px;
    font-weight: 400;
    color: var(--muted);
  }
  .header-actions {
    gap: 20px;
  }
  .login-link {
    font-size: 14px;
    font-weight: 400;
  }
  .icon-button {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border-color: transparent;
    color: var(--muted);
  }
  .icon-button:hover {
    background: var(--soft);
    color: var(--ink);
  }
  .ui-icon {
    flex: none;
    width: 18px;
    height: 18px;
  }
  .menu-button {
    display: none;
  }
  .button {
    min-height: 48px;
    padding: 12px 20px;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
  }
  .button:hover {
    transform: none;
  }
  .button.small {
    min-height: 36px;
    padding: 8px 16px;
    font-size: 13px;
  }
  .button.secondary {
    background: transparent;
    border-color: var(--line);
  }
  .button.secondary:hover {
    border-color: var(--muted);
    background: var(--soft);
  }
  [data-theme="dark"] .button {
    background: var(--ink);
    color: var(--bg);
  }
  [data-theme="dark"] .button.secondary,
  [data-theme="dark"] .button.ghost {
    background: transparent;
    color: var(--ink);
  }
  [data-theme="dark"] .button.danger {
    background: var(--red);
    color: var(--bg);
  }
  .button:disabled {
    opacity: 0.45;
  }
  .button-row {
    gap: 24px;
  }
  .text-link {
    font-weight: 500;
    font-size: 14px;
    text-underline-offset: 4px;
  }
  .eyebrow,
  .side-title,
  .visual-label,
  .visual-caption,
  .divider {
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }
  .eyebrow {
    margin-bottom: 20px;
    color: var(--muted);
  }
  .status-dot {
    display: none;
  }
  .hero {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    padding-block: 64px;
    min-height: min(760px, calc(100svh - 104px));
  }
  .hero > div {
    min-width: 0;
  }
  .lab-hero-tabs button {
    min-width: 0;
  }
  .hero h1 {
    max-width: 560px;
  }
  .hero h1 span {
    color: var(--ink);
  }
  .hero .lead {
    font-size: 18px;
    line-height: 1.65;
    max-width: 460px;
    margin: 24px 0 32px;
  }
  .hero-copy > .eyebrow {
    display: block;
    padding-left: 12px;
    border-left: 2px solid var(--blue);
  }
  .hero-notes {
    gap: 16px;
    font-size: 12px;
    margin-top: 20px;
  }
  .hero-notes i {
    color: var(--muted);
    font-weight: 400;
  }
  .hero-footnote {
    margin-top: 32px;
    padding-top: 20px;
    max-width: 440px;
  }
  .hero-footnote p {
    font-size: 13px;
  }
  .mini-road {
    border: 0;
    border-radius: 0;
    width: 24px;
    height: 24px;
    font-size: 20px;
    color: var(--muted);
  }
  .hero-visual,
  .lab-hero-visual {
    padding: 0 !important;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }
  .visual-label {
    color: var(--muted);
    margin-bottom: 16px;
    gap: 8px;
  }
  .visual-label::before {
    content: "A / B";
    font-size: 12px;
    padding-right: 12px;
    border-right: 1px solid var(--line);
    color: var(--blue);
  }
  .preview-card,
  .lab-hero-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: none;
    transform: none;
  }
  .lab-hero-tabs {
    padding: 16px;
    gap: 8px;
    border-bottom: 1px solid var(--line);
  }
  .lab-hero-tabs button {
    min-height: 44px;
    font-size: 14px;
    font-weight: 400;
    background: transparent;
    border-color: transparent;
    color: var(--muted);
    border-radius: 6px;
    padding: 8px 12px;
    gap: 12px;
  }
  .lab-hero-tabs button b {
    font-size: 13px;
    border-right: 1px solid var(--line);
    padding-right: 12px;
  }
  .lab-hero-tabs button[aria-pressed="true"] {
    background: var(--soft);
    color: var(--ink);
    border-color: var(--line);
  }
  .hero-scene,
  .lab-hero-card .hero-scene {
    height: 352px;
    margin: 0;
    border-radius: 0;
    background: #d5dfcd;
  }
  .preview-question,
  .lab-hero-card .preview-question {
    padding: 20px 24px;
  }
  .preview-question p,
  .lab-hero-card .preview-question p {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.6;
  }
  .lab-hero-visual .floating-note {
    position: static;
    display: flex;
    padding: 16px 0 0;
    margin: 0;
    max-width: none;
    width: 100%;
    border-radius: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: var(--muted);
    font-weight: 400;
    font-size: 13px;
    transform: none;
  }
  .floating-note > span {
    display: none;
  }
  .floating-note small {
    font-size: 12px;
    display: inline;
    margin-left: 8px;
  }
  .visual-caption,
  .lab-hero-visual .visual-caption {
    position: static;
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted);
  }
  .pill {
    font-size: 12px;
    font-weight: 400;
    padding: 0;
    background: transparent;
    color: var(--muted);
    border: 0;
    border-radius: 0;
  }
  .confidence-strip {
    padding-block: 20px;
  }
  .confidence-strip .container {
    font-size: 13px;
    font-weight: 400;
  }
  .confidence-strip b {
    font-weight: 500;
    color: var(--ink);
  }
  .section {
    padding-block: 96px;
  }
  .section-heading {
    margin-bottom: 40px;
    gap: 48px;
  }
  .section-heading .eyebrow {
    margin-bottom: 16px;
  }
  .section-heading > p {
    font-size: 15px;
    max-width: 360px;
  }
  .steps-grid {
    gap: 48px;
  }
  .steps-grid article {
    padding-top: 24px;
  }
  .step-number {
    color: var(--muted);
    background: transparent;
    padding: 0;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 24px;
  }
  .steps-grid h3 {
    font-size: 24px;
    margin-bottom: 16px;
  }
  .steps-grid p {
    font-size: 15px;
    max-width: 340px;
  }
  .difference-section {
    padding-block: 80px;
    background: var(--paper);
    border-block: 1px solid var(--line);
  }
  .difference-steps {
    gap: 32px;
  }
  .difference-step {
    padding: 24px 0 0;
    background: none;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
  }
  .difference-step b {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--muted);
    margin-bottom: 24px;
  }
  .difference-step h3 {
    font-size: 24px;
  }
  .difference-step p {
    font-size: 15px;
  }
  .difference-cta {
    margin-top: 32px;
    gap: 24px;
  }
  .difference-cta p {
    font-size: 14px;
  }
  .feature-section {
    background: var(--soft);
    padding-block: 80px;
  }
  .feature-grid {
    gap: 80px;
  }
  .feature-art {
    background: #dde2d6;
    border-radius: 12px;
    height: 360px;
  }
  .feature-tag {
    box-shadow: none;
    border-radius: 6px;
    font-size: 13px;
    padding: 8px 12px;
  }
  .feature-tag.one,
  .feature-tag.two {
    transform: none;
  }
  .feature-sign,
  .feature-car {
    box-shadow: none;
  }
  .check-list {
    gap: 12px;
    margin-bottom: 32px;
  }
  .check-list li {
    font-size: 14px;
    padding-left: 24px;
  }
  .check-list li::before {
    color: var(--muted);
  }
  .topics-grid {
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .topic-card {
    background: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 24px;
  }
  .topic-card:hover {
    transform: none;
    background: var(--soft);
  }
  .topic-card > span {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 24px;
  }
  .topic-card h3 {
    font-size: 18px;
  }
  .topic-card p {
    font-size: 14px;
    margin-top: 8px;
  }
  .pricing-banner {
    border-radius: 12px;
    padding: 48px;
    gap: 80px;
  }
  .pricing-banner h2 {
    font-size: 40px;
  }
  .pricing-banner .eyebrow,
  .pricing-banner > div:not(.price-card) > p:not(.eyebrow),
  .pricing-banner .small-note {
    color: #bac0c4;
  }
  .pricing-banner > div:not(.price-card) > p:not(.eyebrow) {
    font-size: 15px;
  }
  .price-card {
    border-radius: 8px;
    padding: 32px;
  }
  .price {
    font-size: 56px;
    font-weight: 500;
    letter-spacing: -0.03em;
    margin: 24px 0 8px;
  }
  .price small,
  .price-card > p,
  .price-card > small {
    font-size: 13px;
  }
  .product-fit {
    font-size: 14px !important;
    border-color: #bac0c4;
    padding-left: 16px;
    margin-top: 24px !important;
  }
  .small-note {
    font-size: 13px;
  }
  .faq-section {
    gap: 80px;
  }
  summary {
    font-size: 16px;
    font-weight: 500;
  }
  .faq-list details {
    padding-block: 24px;
  }
  .faq-list p {
    font-size: 15px;
    padding-top: 16px;
  }
  .last-cta {
    padding-block: 48px;
  }
  .last-cta h2 {
    font-size: 32px;
  }
  .last-cta p {
    font-size: 15px;
  }
  .site-footer {
    background: var(--bg);
    padding-top: 40px;
  }
  .footer-grid {
    gap: 48px;
    padding-bottom: 40px;
  }
  .footer-grid p,
  .footer-grid > div > b,
  .footer-grid > div > a:not(.brand) {
    font-size: 13px;
  }
  .footer-grid .brand {
    font-size: 18px;
  }
  .footer-bottom {
    font-size: 12px;
    padding-block: 20px;
    gap: 24px;
  }
  #environment {
    background: var(--soft);
    color: var(--muted);
    font-size: 12px;
    padding: 8px 24px;
    border-bottom: 1px solid var(--line);
  }

  /* App proportions: persistent tools on the left, fluid learning workspace. */
  body[data-app="true"] .container.app-layout {
    width: min(1536px, 100%);
  }
  body[data-app="true"] .header-inner {
    width: min(1472px, calc(100% - 64px));
    min-height: 64px;
  }
  body[data-app="true"] .desktop-nav {
    display: none;
  }
  body[data-app="true"] .header-actions > .button {
    display: none;
  }
  body[data-app="true"] .brand small {
    display: none;
  }
  .app-layout {
    grid-template-columns: 256px minmax(0, 1fr);
    min-height: calc(100svh - 96px);
  }
  .app-sidebar {
    padding: 32px 16px 24px 24px;
    gap: 4px;
    align-self: start;
    top: 64px;
    height: calc(100svh - 64px);
    max-height: 900px;
  }
  .side-title {
    padding: 0 12px;
    margin: 0 0 12px;
    font-size: 12px;
  }
  .side-link {
    min-height: 36px;
    padding: 8px 12px;
    gap: 12px;
    font-size: 14px;
    line-height: 20px;
    border-radius: 6px;
    color: var(--muted);
    position: relative;
  }
  .side-link > span {
    display: flex;
    width: 18px;
  }
  .side-link.active {
    color: var(--ink);
    background: var(--soft);
    font-weight: 500;
  }
  .side-link.active::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 16px;
    background: var(--blue);
    left: 0;
  }
  .side-link:hover {
    color: var(--ink);
  }
  .side-promo {
    margin-top: auto;
    background: none;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding: 20px 12px 0;
    font-size: 13px;
  }
  .side-promo b {
    font-size: 13px;
    margin-bottom: 8px;
  }
  .side-promo p {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .side-promo .button {
    font-size: 13px;
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
    min-height: 36px;
    padding: 8px;
  }
  .side-promo .button:hover {
    background: var(--soft);
  }
  .app-content {
    padding: 40px 40px 64px;
  }
  .page-heading {
    margin-bottom: 32px;
    gap: 24px;
  }
  .page-heading .eyebrow {
    margin-bottom: 12px;
  }
  .page-heading h1 {
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -0.02em;
  }
  .page-heading p {
    margin-top: 12px;
    font-size: 15px;
    max-width: 680px;
  }
  .page-heading .eyebrow {
    font-size: 12px;
    margin-top: 0;
  }
  .panel {
    border-radius: 12px;
    padding: 24px;
    box-shadow: none;
  }
  .panel h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }
  .panel h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .panel p {
    font-size: 15px;
  }
  .stack {
    gap: 24px;
  }
  .learning-hub {
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
  }
  .focus-callout,
  .lab-callout {
    border-radius: 12px;
    padding: 32px;
    background: var(--paper);
  }
  .focus-callout {
    border-top: 2px solid var(--blue);
  }
  .lab-callout {
    background: transparent;
  }
  .learning-hub h2 {
    font-size: 28px;
    line-height: 1.2;
    margin: 16px 0;
  }
  .learning-hub p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .learning-hub .eyebrow,
  .learning-hub small {
    font-size: 12px;
  }
  .learning-hub .button {
    font-size: 14px;
    min-height: 44px;
    padding: 12px 16px;
  }
  .learning-hub small {
    margin-top: 16px;
  }
  .lab-letter {
    color: var(--blue);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 4px;
    min-width: 36px;
    height: 36px;
    padding: 4px 8px;
    font-size: 14px;
    font-weight: 500;
  }
  .lab-callout .lab-letter {
    width: auto;
    font-size: 13px;
  }
  .stat-grid {
    gap: 0;
    padding-block: 8px;
    border-block: 1px solid var(--line);
  }
  .stat-card {
    padding: 16px 24px;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }
  .stat-card:first-child {
    padding-left: 0;
  }
  .stat-card:last-child {
    border-right: 0;
  }
  .stat-card > b {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.02em;
  }
  .stat-card > span {
    font-size: 13px;
    margin-top: 8px;
  }
  .two-columns {
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
  }
  .topic-row {
    padding-block: 16px;
  }
  .topic-row > div {
    font-size: 14px;
    gap: 16px;
    margin-bottom: 12px;
  }
  .topic-row b {
    font-size: 12px;
    font-weight: 400;
  }
  .track {
    height: 4px;
    border-radius: 0;
  }
  .track > i {
    background: var(--muted);
    border-radius: 0;
  }
  .empty {
    padding-block: 24px;
    font-size: 15px;
  }
  .filters {
    gap: 16px;
    margin-bottom: 24px;
  }
  .filters label {
    font-size: 12px;
  }
  .filters select {
    font-size: 14px;
    padding: 12px;
    border-radius: 8px;
  }
  .qcard {
    border-radius: 12px;
    box-shadow: none;
  }
  .qtop {
    padding: 16px 24px;
    gap: 16px;
    background: transparent;
  }
  .qmeta {
    gap: 12px;
  }
  .qmeta .pill + .pill {
    border-left: 1px solid var(--line);
    padding-left: 12px;
  }
  .qcount {
    font-size: 12px;
  }
  .question-body {
    padding: 24px;
  }
  .question-grid {
    gap: 32px;
  }
  .question-grid.with-media {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
  .question-prompt {
    font-size: 24px;
    line-height: 1.35;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
  }
  .question-how {
    font-size: 13px;
    margin-bottom: 24px;
  }
  .question-media {
    border-radius: 8px;
    background: #dedfd8;
  }
  .scene {
    max-height: 480px;
  }
  .media-caption {
    font-size: 12px;
    padding: 12px 16px;
    line-height: 1.6;
  }
  .answer-list {
    gap: 8px;
  }
  .answer,
  .lab-card-body .answer {
    padding: 12px 16px;
    font-size: 15px;
    min-height: 56px;
    gap: 12px;
    border-radius: 8px;
  }
  .answer-letter,
  .lab-card-body .answer-letter {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
  }
  .answer.selected {
    background: var(--blue-wash);
    border-color: var(--blue);
  }
  .answer.correct {
    background: var(--green-wash);
    border-color: var(--green);
  }
  .answer.wrong {
    background: var(--red-wash);
    border-color: var(--red);
  }
  .qfooter {
    padding: 16px 24px;
    background: transparent;
    gap: 16px;
  }
  .qfooter .text-link {
    font-size: 12px;
    padding: 8px 0;
  }
  .qfooter .button {
    font-size: 14px;
    min-height: 44px;
  }
  .feedback,
  .lab-card-feedback {
    padding: 24px;
    border-radius: 8px;
    border-color: var(--line);
    border-left: 3px solid var(--green);
    background: var(--green-wash);
    margin-top: 24px;
  }
  .feedback.bad,
  .lab-card-feedback.bad {
    border-color: var(--line);
    border-left-color: var(--red);
  }
  .feedback h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .feedback p,
  .lab-card-feedback p {
    font-size: 15px;
    line-height: 1.7;
  }
  .feedback .review-note {
    font-size: 13px;
    margin-top: 16px;
    padding-top: 16px;
  }
  .sources {
    margin-top: 20px;
    padding-top: 16px;
  }
  .sources summary {
    font-size: 12px;
  }
  .sources ul {
    font-size: 13px;
    padding: 12px 0 0 20px;
  }
  .anim-controls {
    padding: 12px;
    gap: 8px;
  }
  .anim-buttons {
    gap: 8px;
    flex-wrap: wrap;
  }
  .anim-buttons button,
  .anim-buttons select {
    min-height: 36px;
    padding: 8px;
    font-size: 12px;
    border-radius: 4px;
  }
  .anim-buttons .time {
    font-size: 12px;
  }
  .anim-instruction {
    font-size: 12px;
    padding: 12px;
  }
  .confidence {
    margin-top: 24px;
    padding-top: 20px;
  }
  .confidence > span {
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 12px;
  }
  .confidence > div {
    gap: 8px;
  }
  .confidence button {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 6px;
  }
  .confidence small {
    font-size: 12px;
    margin-top: 12px;
  }
  .practice-confidence {
    max-width: none;
  }
  .focus-reason {
    color: var(--muted);
    background: var(--soft);
    padding: 12px 16px;
    font-size: 13px;
    border-radius: 6px;
    margin-bottom: 16px;
  }
  .focus-complete h2 {
    font-size: 32px;
  }
  .notice {
    background: var(--soft);
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 14px;
  }
  .notice.warn {
    background: var(--soft);
    color: var(--ink);
  }
  .error-panel {
    font-size: 14px;
    padding: 20px 24px;
  }
  .save-status,
  .date-line,
  .form-help {
    font-size: 12px !important;
    line-height: 1.6;
  }

  /* SituatieLab: A/B markers are the signature; the scene carries the color. */
  .lab-intro {
    padding: 32px;
    background: var(--paper);
    border-radius: 12px;
    margin-bottom: 24px;
    border-left: 3px solid var(--blue);
  }
  .lab-intro h2 {
    font-size: 36px;
    margin-block: 16px;
  }
  .lab-intro p {
    font-size: 15px;
  }
  .lab-key {
    font-size: 13px;
    font-weight: 400;
    margin-top: 24px;
    color: var(--muted);
  }
  .lab-catalog {
    gap: 24px;
  }
  .lab-tile {
    padding: 24px;
    border-radius: 12px;
  }
  .lab-tile-top {
    margin-bottom: 24px;
    gap: 16px;
  }
  .lab-index {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--muted);
  }
  .lab-tile h3 {
    font-size: 24px;
    margin-bottom: 16px;
  }
  .lab-tile p {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .lab-breadcrumb {
    margin-bottom: 32px;
    gap: 24px;
  }
  .lab-case-heading h2 {
    font-size: 32px;
    margin-bottom: 16px;
  }
  .lab-case-heading p:last-child {
    font-size: 15px;
    max-width: 760px;
  }
  .lab-case-heading .eyebrow {
    margin-bottom: 16px;
  }
  .lab-change {
    padding: 20px 24px;
    margin-block: 24px;
    background: var(--soft);
    border-radius: 8px;
    gap: 20px;
  }
  .lab-change > span {
    font-size: 13px;
    color: var(--blue);
    min-width: 36px;
  }
  .lab-change p {
    font-size: 14px;
  }
  .lab-change b {
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
    margin-bottom: 4px;
  }
  .lab-pair {
    gap: 24px;
  }
  .lab-question {
    border-radius: 12px;
  }
  .lab-card-label {
    min-height: 88px;
    padding: 20px 24px;
    gap: 16px;
  }
  .lab-card-label h3 {
    font-size: 18px;
    letter-spacing: 0;
  }
  .lab-card-label > div > span {
    font-size: 12px;
    margin-top: 4px;
  }
  .lab-art {
    padding: 0;
  }
  .lab-art svg {
    height: 288px;
    border-radius: 0;
  }
  .lab-card-body {
    padding: 24px;
  }
  .lab-prompt {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    margin-bottom: 24px;
  }
  .lab-card-feedback {
    padding: 20px;
  }
  .lab-card-feedback > b {
    font-size: 14px;
  }
  .lab-submit {
    padding-top: 24px;
    gap: 24px;
  }
  .lab-submit p {
    font-size: 14px;
  }
  .lab-submit .button {
    font-size: 14px;
  }
  .lab-takeaway {
    padding: 32px;
    background: var(--paper);
    border-color: var(--line);
    border-left: 3px solid var(--blue);
    border-radius: 12px;
    margin-top: 32px;
  }
  .lab-takeaway h3 {
    font-size: 24px;
    margin-block: 16px;
  }
  .lab-takeaway p {
    font-size: 15px;
  }
  .lab-takeaway .button-row {
    margin-top: 24px;
  }
  .lab-share {
    margin-top: 24px;
    gap: 12px;
  }
  .lab-disclaimer {
    font-size: 13px;
  }

  /* Transactions, account and references use the same quiet controls. */
  .auth-page {
    max-width: 480px;
    margin: 64px auto 80px;
  }
  .auth-page .panel {
    padding: 32px;
  }
  .auth-page h1 {
    font-size: 32px;
    margin-bottom: 16px;
  }
  .auth-page p {
    font-size: 15px;
  }
  .form-stack {
    gap: 20px;
  }
  .divider {
    margin-block: 24px;
    gap: 16px;
  }
  .checkout-layout {
    max-width: 1120px;
    grid-template-columns: 1.25fr 1fr;
    gap: 48px;
    margin: 48px auto 80px;
  }
  .checkout-layout h1 {
    font-size: 36px;
    line-height: 1.15;
  }
  .checkout-layout > div > p {
    font-size: 15px;
  }
  .checkout-layout .panel {
    padding: 32px;
  }
  .checkout-step {
    font-size: 13px;
    gap: 16px;
    margin-bottom: 32px;
  }
  .checkout-step b {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    font-weight: 400;
  }
  .checkbox-row {
    gap: 12px;
    font-size: 14px;
    margin-block: 20px;
  }
  .order-line {
    padding-block: 16px;
    font-size: 14px;
    gap: 16px;
  }
  .order-line.total {
    font-size: 20px;
    font-weight: 500;
  }
  .payment-state {
    max-width: 640px;
    margin: 64px auto 80px;
    text-align: left;
  }
  .payment-state .panel {
    padding: 40px;
  }
  .payment-state h1 {
    font-size: 32px;
    margin-bottom: 16px;
  }
  .payment-state p {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .payment-state .button-row {
    justify-content: flex-start;
  }
  .state-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    background: var(--soft);
    color: var(--ink);
    border-radius: 8px;
    font-size: 24px;
    margin: 0 0 24px;
  }
  .order-table {
    font-size: 14px;
    min-width: 560px;
  }
  .order-table th,
  .order-table td {
    padding: 16px 12px;
  }
  .order-table th {
    font-weight: 400;
    background: var(--soft);
    font-size: 12px;
  }
  .order-table tbody tr:hover {
    background: var(--soft);
  }
  .order-table th:nth-child(3),
  .order-table td:nth-child(3) {
    text-align: right;
    white-space: nowrap;
  }
  .exam-intro li {
    font-size: 15px;
    padding-bottom: 12px;
  }
  .exam-options {
    gap: 16px;
    margin-bottom: 24px;
  }
  .exam-options label {
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    gap: 12px;
  }
  .exam-toolbar {
    gap: 16px;
    margin-bottom: 24px;
  }
  .exam-toolbar b {
    font-weight: 400;
    font-size: 24px;
  }
  .exam-grid {
    gap: 8px;
    margin-bottom: 24px;
  }
  .exam-grid button {
    min-height: 36px;
    font-size: 13px;
    border-radius: 4px;
  }
  .exam-grid button.active {
    outline-width: 2px;
  }
  .exam-grid button.answered {
    background: var(--soft);
    border-color: var(--muted);
  }
  .exam-grid button.flagged::after {
    color: var(--ink);
  }
  .exam-actions {
    gap: 12px;
    margin-top: 24px;
  }
  .exam-actions .button {
    font-size: 13px;
    min-height: 44px;
  }
  .result-hero {
    gap: 32px;
  }
  .score-ring {
    width: 128px;
    height: 128px;
    border-width: 4px;
  }
  .score-ring b {
    font-size: 44px;
    font-weight: 400;
    letter-spacing: -0.02em;
  }
  .score-ring small {
    font-size: 12px;
  }
  .result-list {
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .result-list button {
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 20px 8px;
    font-size: 15px;
    gap: 16px;
  }
  .result-list button:hover {
    background: var(--soft);
  }
  .sign-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  .sign-tile {
    padding: 24px;
    border-radius: 12px;
    text-align: left;
  }
  .sign-tile svg {
    height: 104px;
    margin: 8px auto 24px;
  }
  .sign-tile .pill {
    display: block;
    margin-bottom: 8px;
  }
  .sign-tile h3 {
    font-size: 18px;
  }
  .sign-tile p {
    font-size: 14px;
    margin-top: 12px;
  }
  .sign-tile .text-link {
    font-size: 12px !important;
    margin-top: 16px !important;
  }
  .flashcard {
    max-width: 640px;
  }
  .flashcard h2 {
    font-size: 28px;
  }
  .flashcard .button-row {
    margin-top: 24px;
  }
  .rule-details {
    padding: 24px;
    border-radius: 8px;
  }
  .rule-details summary {
    font-size: 18px;
  }
  .rule-details p {
    font-size: 15px;
    margin-top: 16px;
  }
  .legal {
    max-width: 760px;
    margin: 64px auto 80px;
  }
  .legal h1 {
    font-size: 40px;
    margin-bottom: 32px;
  }
  .legal h2 {
    font-size: 24px;
    margin: 40px 0 16px;
  }
  .legal p,
  .legal li {
    font-size: 16px;
    margin-bottom: 16px;
  }
  .tag-row {
    gap: 8px;
  }
  .tag-row button {
    font-size: 13px;
    border-radius: 6px;
    padding: 8px 12px;
  }
  .zone-fallback summary {
    font-size: 13px;
  }
  .zone-buttons button {
    padding: 12px;
    font-size: 14px;
    border-radius: 6px;
  }
  .token {
    min-width: 44px;
    min-height: 44px;
    border-radius: 6px;
  }
  .toast {
    bottom: 24px;
    font-size: 14px;
    border-radius: 8px;
    padding: 12px 20px;
    box-shadow: 0 4px 16px #00000014;
  }
  dialog {
    border-radius: 12px;
    padding: 32px;
  }
  dialog::backdrop {
    background: #10121480;
    backdrop-filter: none;
  }
  dialog h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }
  dialog p {
    font-size: 15px;
  }

  /* Motion is reserved for feedback and controls. Teaching animations retain
     their transport controls and reduced-motion step mode. */
  .feedback,
  #page {
    animation: none;
  }
  .button,
  .answer,
  .side-link,
  .topic-card,
  .lab-tile,
  .icon-button,
  .confidence button {
    transition:
      background-color 160ms var(--ease),
      border-color 160ms var(--ease),
      color 160ms var(--ease);
  }
  @media (min-width: 1500px) {
    .hero {
      padding-block: 80px;
    }
  }
  @media (max-width: 1180px) {
    .container {
      width: calc(100% - 64px);
    }
    .hero {
      gap: 40px;
    }
    .hero h1 {
      font-size: 56px;
    }
    .hero-scene,
    .lab-hero-card .hero-scene {
      height: 320px;
    }
    .app-layout {
      grid-template-columns: 240px minmax(0, 1fr);
    }
    .app-content {
      padding: 32px 24px 56px;
    }
    .app-sidebar {
      padding-left: 16px;
    }
    .question-grid.with-media {
      grid-template-columns: 1fr;
    }
    .question-media {
      max-width: 560px;
      width: 100%;
      margin-inline: auto;
    }
    .scene {
      max-height: 400px;
    }
    .learning-hub {
      grid-template-columns: 1fr;
    }
    .two-columns {
      grid-template-columns: 1fr;
    }
    .sign-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lab-pair {
      gap: 16px;
    }
    .lab-card-label,
    .lab-card-body {
      padding: 20px;
    }
    .lab-art svg {
      height: 240px;
    }
    .lab-pair .answer {
      padding: 12px;
    }
  }
  @media (max-width: 900px) {
    .desktop-nav {
      gap: 16px;
    }
    .desktop-nav a:last-child {
      display: none;
    }
    .hero {
      gap: 32px;
    }
    .hero h1 {
      font-size: 48px;
    }
    .hero .lead {
      font-size: 16px;
    }
    .hero .button-row {
      gap: 20px;
    }
    .hero-scene,
    .lab-hero-card .hero-scene {
      height: 280px;
    }
    .hero-notes {
      gap: 8px 16px;
    }
    .floating-note small {
      display: block;
      margin-left: 0;
    }
    .feature-grid {
      gap: 40px;
    }
    .pricing-banner {
      gap: 40px;
      padding: 32px;
    }
    .lab-pair {
      grid-template-columns: 1fr;
    }
    .lab-art svg {
      height: 320px;
    }
    .lab-callout,
    .focus-callout {
      padding: 24px;
    }
    .stat-card {
      padding-inline: 16px;
    }
    .stat-card > b {
      font-size: 28px;
    }
    .topics-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  @media (max-width: 760px) {
    .container {
      width: calc(100% - 40px);
    }
    .header-inner {
      min-height: 64px;
      gap: 12px;
    }
    .brand {
      font-size: 18px;
      gap: 4px;
    }
    .brand-icon {
      width: 24px;
    }
    .brand small {
      display: none;
    }
    .header-actions {
      gap: 8px;
    }
    .header-actions .button {
      display: none;
    }
    .login-link {
      display: block;
      font-size: 13px;
    }
    .icon-button {
      width: 36px;
      height: 36px;
    }
    .menu-button {
      display: inline-grid;
    }
    .desktop-nav {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--paper);
      border-bottom: 1px solid var(--line);
      padding: 16px 20px;
    }
    .desktop-nav[data-open="true"] {
      display: grid;
      gap: 0;
    }
    .desktop-nav a,
    .desktop-nav a:last-child {
      display: block;
      min-height: 44px;
      padding: 12px 0;
    }
    .hero {
      grid-template-columns: 1fr;
      gap: 40px;
      padding: 48px 0;
      min-height: 0;
    }
    .hero h1 {
      font-size: 44px;
      max-width: 560px;
    }
    .hero .lead {
      font-size: 18px;
      margin: 24px 0;
      max-width: 540px;
    }
    .hero .button-row {
      gap: 20px;
      align-items: flex-start;
    }
    .hero-notes {
      font-size: 12px;
      margin-top: 20px;
    }
    .hero-footnote {
      display: none;
    }
    .hero-visual,
    .lab-hero-visual {
      width: 100%;
      max-width: none;
      margin: 0;
      padding: 0 !important;
    }
    .lab-hero-tabs {
      padding: 12px;
    }
    .lab-hero-tabs button {
      font-size: 13px;
      gap: 8px;
      padding: 8px;
    }
    .lab-hero-tabs button b {
      padding-right: 8px;
    }
    .hero-scene,
    .lab-hero-card .hero-scene {
      height: 300px;
      margin: 0;
    }
    .preview-question,
    .lab-hero-card .preview-question {
      padding: 20px;
    }
    .lab-hero-visual .floating-note {
      padding-top: 16px;
      font-size: 13px;
    }
    .lab-hero-visual .visual-caption {
      font-size: 12px;
    }
    .confidence-strip .container {
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      font-size: 12px;
    }
    .section {
      padding-block: 64px;
    }
    .section-heading {
      margin-bottom: 32px;
    }
    .section-heading > p {
      margin-top: 16px;
      font-size: 15px;
    }
    .steps-grid {
      gap: 32px;
    }
    .steps-grid article {
      padding-top: 20px;
      grid-template-columns: 32px minmax(0, 1fr);
      column-gap: 16px;
    }
    .steps-grid .step-number {
      font-size: 13px;
    }
    .steps-grid h3 {
      font-size: 24px;
      margin-bottom: 12px;
    }
    .steps-grid p {
      font-size: 15px;
    }
    .difference-section {
      padding-block: 64px;
    }
    .difference-steps {
      gap: 24px;
    }
    .difference-step {
      padding: 24px 0 0;
    }
    .difference-step b {
      margin-bottom: 16px;
    }
    .difference-step h3 {
      font-size: 24px;
    }
    .difference-cta {
      gap: 20px;
    }
    .feature-section {
      padding-block: 64px;
    }
    .feature-grid {
      gap: 32px;
    }
    .feature-grid h2 {
      font-size: 32px;
    }
    .feature-art {
      height: 280px;
    }
    .topic-card {
      padding: 24px 12px;
    }
    .topic-card h3 {
      font-size: 17px;
    }
    .topic-card p {
      font-size: 14px;
    }
    .pricing-banner {
      grid-template-columns: 1fr;
      padding: 24px;
      gap: 32px;
    }
    .pricing-banner h2 {
      font-size: 32px;
    }
    .price-card {
      padding: 24px;
    }
    .price {
      font-size: 48px;
    }
    .faq-section {
      gap: 32px;
    }
    .faq-section h2 {
      font-size: 32px;
    }
    .last-cta {
      padding-block: 40px;
    }
    .last-cta h2 {
      font-size: 28px;
    }
    .footer-grid {
      gap: 32px;
    }
    .footer-bottom {
      font-size: 12px;
      flex-wrap: wrap;
      gap: 8px;
    }
    #environment {
      font-size: 12px;
      padding: 8px 20px;
    }
    body[data-app="true"] .header-inner {
      width: calc(100% - 40px);
    }
    body[data-app="true"] .menu-button {
      display: none;
    }
    body[data-app="true"] .container.app-layout {
      width: 100%;
    }
    .app-layout {
      display: block;
    }
    .app-sidebar {
      position: sticky;
      top: 64px;
      height: auto;
      max-height: none;
      flex-direction: row;
      flex-wrap: nowrap;
      padding: 0 20px;
      gap: 16px;
      border-right: 0;
      background: var(--bg);
      z-index: 8;
      border-bottom: 1px solid var(--line);
      scrollbar-width: thin;
    }
    .side-title,
    .side-promo {
      display: none;
    }
    .side-link {
      min-height: 48px;
      padding: 12px 0;
      border-radius: 0;
      gap: 8px;
      font-size: 13px;
      flex: none;
    }
    .side-link > span {
      display: none;
    }
    .side-link.active {
      background: none;
    }
    .side-link.active::before {
      width: 100%;
      height: 2px;
      bottom: 0;
      left: 0;
    }
    .app-content {
      padding: 32px 20px 48px;
    }
    .page-heading {
      display: block;
      margin-bottom: 24px;
    }
    .page-heading h1 {
      font-size: 32px;
    }
    .page-heading p {
      font-size: 15px;
      margin-top: 12px;
    }
    .page-heading .eyebrow {
      font-size: 12px;
      margin: 0 0 12px;
    }
    .page-heading > .button {
      margin-top: 20px;
    }
    .panel {
      padding: 24px;
    }
    .panel h2 {
      font-size: 24px;
    }
    .learning-hub {
      gap: 16px;
    }
    .learning-hub h2 {
      font-size: 28px;
    }
    .learning-hub p {
      font-size: 15px;
    }
    .stat-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .stat-card {
      padding: 12px;
    }
    .stat-card > b {
      font-size: 28px;
    }
    .stat-card > span {
      font-size: 12px;
      line-height: 1.5;
    }
    .two-columns {
      grid-template-columns: 1fr;
    }
    .topic-row > div {
      font-size: 13px;
      gap: 8px;
    }
    .topic-row b {
      font-size: 12px;
    }
    .filters {
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    .filters > div:first-child {
      grid-column: 1/-1;
    }
    .filters label {
      font-size: 12px;
    }
    .qtop {
      padding: 16px;
    }
    .qmeta {
      gap: 8px;
    }
    .qmeta .pill + .pill {
      padding-left: 8px;
    }
    .question-body {
      padding: 20px;
    }
    .question-grid.with-media {
      grid-template-columns: 1fr;
      gap: 24px;
    }
    .question-prompt {
      font-size: 22px;
    }
    .question-how {
      font-size: 13px;
    }
    .scene {
      max-height: 400px;
    }
    .answer,
    .lab-card-body .answer {
      font-size: 15px;
      padding: 12px;
      min-height: 56px;
    }
    .qfooter {
      padding: 16px;
      flex-wrap: wrap;
    }
    .qfooter .text-link {
      font-size: 12px;
    }
    .qfooter .button {
      font-size: 14px;
      margin-left: auto;
    }
    .feedback {
      padding: 20px;
    }
    .feedback h3 {
      font-size: 18px;
    }
    .feedback p {
      font-size: 15px;
    }
    .anim-buttons button,
    .anim-buttons select {
      min-height: 40px;
    }
    .confidence button {
      min-height: 40px;
      font-size: 13px;
    }
    .lab-intro {
      padding: 24px;
    }
    .lab-intro h2 {
      font-size: 32px;
    }
    .lab-intro p {
      font-size: 15px;
    }
    .lab-key {
      font-size: 12px;
      gap: 16px;
    }
    .lab-case-heading h2 {
      font-size: 28px;
    }
    .lab-case-heading p:last-child {
      font-size: 15px;
    }
    .lab-breadcrumb {
      gap: 16px;
      margin-bottom: 24px;
    }
    .lab-breadcrumb .pill {
      text-align: right;
    }
    .lab-change {
      padding: 20px;
      gap: 16px;
    }
    .lab-change p {
      font-size: 14px;
    }
    .lab-card-label {
      padding: 20px;
      min-height: 88px;
    }
    .lab-card-label h3 {
      font-size: 18px;
    }
    .lab-card-body {
      padding: 20px;
    }
    .lab-art {
      padding: 0;
    }
    .lab-art svg {
      height: 280px;
    }
    .lab-prompt {
      font-size: 15px;
    }
    .lab-card-feedback {
      padding: 16px;
    }
    .lab-card-feedback p {
      font-size: 15px;
    }
    .lab-submit .button {
      font-size: 14px;
      margin-top: 20px;
      width: 100%;
    }
    .lab-takeaway {
      padding: 24px;
    }
    .lab-takeaway h3 {
      font-size: 22px;
    }
    .lab-takeaway p {
      font-size: 15px;
    }
    .lab-takeaway .text-link {
      font-size: 14px;
    }
    .lab-catalog {
      gap: 16px;
    }
    .lab-tile {
      padding: 24px;
    }
    .lab-tile h3 {
      font-size: 24px;
    }
    .lab-tile p {
      font-size: 15px;
    }
    .auth-page {
      margin: 40px auto 64px;
    }
    .auth-page .panel {
      padding: 24px;
    }
    .auth-page h1 {
      font-size: 32px;
    }
    .auth-page p {
      font-size: 15px;
    }
    .checkout-layout {
      grid-template-columns: 1fr;
      margin: 40px auto 64px;
      gap: 32px;
    }
    .checkout-layout h1 {
      font-size: 32px;
    }
    .checkout-layout .panel {
      padding: 24px;
    }
    .checkout-step {
      gap: 12px;
      font-size: 12px;
    }
    .checkbox-row {
      font-size: 14px;
    }
    .payment-state {
      margin: 40px auto 64px;
    }
    .payment-state .panel {
      padding: 24px;
    }
    .payment-state h1 {
      font-size: 28px;
    }
    .payment-state p {
      font-size: 15px;
    }
    .exam-toolbar {
      flex-wrap: wrap;
      gap: 12px;
    }
    .exam-toolbar b {
      font-size: 22px;
    }
    .exam-options {
      flex-direction: column;
      gap: 12px;
    }
    .exam-intro li {
      font-size: 15px;
    }
    .exam-grid {
      grid-template-columns: repeat(6, 1fr);
      gap: 8px;
    }
    .exam-grid button {
      min-height: 40px;
      font-size: 13px;
    }
    .exam-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
    }
    .exam-actions .button {
      font-size: 13px;
      padding: 12px;
    }
    .result-hero {
      align-items: flex-start;
      gap: 24px;
      flex-direction: column;
    }
    .score-ring {
      width: 112px;
      height: 112px;
    }
    .score-ring b {
      font-size: 40px;
    }
    .result-list button {
      font-size: 14px;
    }
    .sign-grid {
      gap: 16px;
    }
    .sign-tile {
      padding: 20px 16px;
    }
    .sign-tile svg {
      height: 88px;
    }
    .sign-tile h3 {
      font-size: 16px;
    }
    .sign-tile p {
      font-size: 14px;
    }
    .rule-details {
      padding: 20px;
    }
    .rule-details summary {
      font-size: 16px;
    }
    .rule-details p {
      font-size: 15px;
    }
    .legal {
      margin: 40px auto 64px;
    }
    .legal h1 {
      font-size: 36px;
    }
    .legal p,
    .legal li {
      font-size: 16px;
    }
    dialog {
      padding: 24px;
    }
  }
  @media (max-width: 390px) {
    .header-actions {
      gap: 4px;
    }
    .header-inner {
      gap: 8px;
    }
    .brand {
      font-size: 17px;
    }
    .hero h1 {
      font-size: 40px;
    }
    .hero .button-row {
      align-items: stretch;
    }
    .hero .button-row .button {
      width: 100%;
    }
    .hero .button-row .text-link {
      align-self: flex-start;
    }
    .hero-scene,
    .lab-hero-card .hero-scene {
      height: 264px;
    }
    .lab-hero-tabs button {
      font-size: 12px;
    }
    .lab-art svg {
      height: 248px;
    }
    .lab-key {
      gap: 12px;
    }
    .stat-card {
      padding-inline: 8px;
    }
    .stat-card > b {
      font-size: 24px;
    }
    .sign-grid {
      grid-template-columns: 1fr;
    }
    .sign-tile {
      padding: 24px;
    }
    .sign-tile h3 {
      font-size: 18px;
    }
    .confidence > div {
      flex-wrap: wrap;
    }
    .qmeta {
      gap: 8px;
    }
    .qmeta .pill {
      font-size: 12px;
    }
    .checkout-step {
      flex-wrap: wrap;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      transition: none !important;
      animation: none !important;
    }
  }
}
