/* Social workspace consistency layer.
   This file is intentionally loaded last for AWS learner surfaces so the app
   reads more like a compact professional feed: flat cards, thin borders,
   tighter spacing, and restrained action color. */

body.page--platform-shell,
body.page--public-study,
body.page--public-syllabus,
body.question-workspace-chrome {
  --platform-social-blue: #0a66c2;
  --platform-action-blue: #1877f2;
  --platform-gold: #e8aa2e;
  --platform-gold-2: #f5c451;
  --platform-ink: #1f2937;
  --platform-muted: #5f6b7a;
  --platform-line: #d6dbe3;
  --platform-soft: #f3f2ef;
  --platform-sidebar-width: 248px;
  --platform-topbar-height: 72px;
  --platform-radius: 8px;
  --platform-control-radius: 6px;
  --platform-page-gap: 16px;
  --platform-compact-gap: 12px;
  --platform-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  --study-cockpit-card-radius: var(--platform-radius);
  --study-cockpit-control-radius: var(--platform-control-radius);
  --study-cockpit-shadow: var(--platform-shadow);
  --study-cockpit-line: rgba(15, 23, 42, 0.12);
  --utility-shadow: var(--platform-shadow);
  --body-gradient: linear-gradient(180deg, #f3f2ef 0%, #eef2f6 100%);
  --bg: #f3f2ef;
  --surface: #ffffff;
  --surface-light: #f7f8fa;
  color: var(--platform-ink);
}

body.page--platform-shell,
html[data-theme] body.page--platform-shell,
body.question-workspace-chrome {
  background: var(--body-gradient) !important;
}

.page--platform-shell .page-main--platform {
  padding: calc(var(--platform-topbar-height) + 16px) 18px 28px calc(var(--platform-sidebar-width) + 18px) !important;
}

.page--platform-shell .platform-sidebar {
  width: var(--platform-sidebar-width);
  padding: 18px 12px;
  border-right: 1px solid var(--platform-line);
  background: #ffffff !important;
  color: var(--platform-ink);
  box-shadow: none;
}

.page--platform-shell .platform-sidebar__brand,
.page--platform-shell .platform-sidebar__brand-text,
.page--platform-shell .platform-sidebar__brand-text small,
.page--platform-shell .platform-sidebar__link,
.page--platform-shell .platform-sidebar__footer .platform-sidebar__link {
  color: var(--platform-ink);
}

.page--platform-shell .platform-sidebar__brand {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
}

.page--platform-shell .platform-sidebar__mark {
  width: 38px;
  height: 38px;
  border-radius: var(--platform-radius);
  background: linear-gradient(135deg, var(--platform-gold), var(--platform-gold-2));
  color: #111827;
  box-shadow: none;
}

.page--platform-shell .platform-sidebar__nav {
  gap: 3px;
  margin-top: 18px;
}

.page--platform-shell .platform-sidebar__nav::before {
  margin: 0 0 6px 10px;
  color: #7b8493;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.page--platform-shell .platform-sidebar__link {
  min-height: 38px;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  padding: 6px 10px;
  border-radius: var(--platform-radius);
  font-size: 13px;
  font-weight: 750;
}

.page--platform-shell .platform-sidebar__icon {
  width: 22px;
  height: 22px;
  border-radius: var(--platform-control-radius);
  background: #eef2f7;
  color: #576273;
}

.page--platform-shell .platform-sidebar__link:hover,
.page--platform-shell .platform-sidebar__link:focus-visible,
.page--platform-shell .platform-sidebar__link--active {
  border-color: #d9e5f8;
  background: #eef3ff;
  color: var(--platform-social-blue);
}

.page--platform-shell .platform-sidebar__link--active {
  box-shadow: inset 3px 0 0 var(--platform-social-blue);
}

.page--platform-shell .platform-sidebar__link--active::after {
  display: none;
}

.page--platform-shell .platform-sidebar__upgrade {
  padding: 12px;
  border: 1px solid var(--platform-line);
  border-radius: var(--platform-radius);
  background: #f7f8fa !important;
  color: var(--platform-ink);
  box-shadow: none;
}

.page--platform-shell .platform-sidebar__upgrade :is(strong, p, .platform-sidebar__readiness-label) {
  color: var(--platform-ink);
}

.page--platform-shell .platform-topbar {
  left: var(--platform-sidebar-width);
  height: var(--platform-topbar-height);
  padding: 12px 18px;
  border-bottom: 1px solid var(--platform-line);
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(12px) saturate(1.04);
}

.page--platform-shell .platform-search,
.page--platform-shell .platform-topbar__cert,
.page--platform-shell .platform-topbar__theme,
.page--platform-shell .platform-topbar__cta,
.page--platform-shell .platform-public-actions .btn,
.page--platform-shell .platform-topbar__status,
.page--platform-shell .platform-user__button {
  min-height: 38px;
  border-radius: var(--platform-control-radius);
  box-shadow: none;
}

.page--platform-shell .platform-search {
  padding: 0 12px;
  border-color: var(--platform-line);
  background: #f0f2f5;
  color: #4b5563;
  font-size: 13px;
}

.page--platform-shell .platform-search kbd {
  border-radius: 4px;
}

.page--platform-shell .platform-topbar__cert {
  border-color: #cfe1f7;
  background: #eef3ff;
  color: var(--platform-social-blue);
}

.page--platform-shell .platform-topbar__cta,
.page--platform-shell .btn--primary,
.page--platform-shell .aws-button--primary,
.page--platform-shell .study-cockpit-button--primary,
.page--platform-shell .certification-button--primary {
  border-color: #d99a16;
  background: linear-gradient(180deg, var(--platform-gold-2), var(--platform-gold));
  color: #111827;
  box-shadow: none;
}

body.page--platform-shell :is(
  .quiz-dashboard-hero,
  .aws-study-page__topbar,
  .codal-docs__topbar,
  .syllabus-page__hero,
  .certification-hero,
  .course-modules__masthead,
  .study-analytics-guest__hero,
  .aws-feature-topbar,
  .section-header,
  .checkout-hero__copy,
  .public-hero__content
) {
  padding: 16px !important;
  border: 1px solid var(--platform-line) !important;
  border-left: 4px solid var(--platform-gold) !important;
  border-radius: var(--platform-radius) !important;
  background: #ffffff !important;
  box-shadow: var(--platform-shadow) !important;
  color: var(--platform-ink) !important;
  gap: var(--platform-compact-gap) !important;
}

body.page--platform-shell :is(
  .quiz-dashboard-hero,
  .study-analytics-guest__hero
) {
  padding: 0 !important;
  border: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.page--platform-shell :is(
  .quiz-dashboard-heading,
  .study-analytics-guest__hero-head
) {
  padding: 14px !important;
  border: 1px solid var(--platform-line) !important;
  border-left: 4px solid var(--platform-gold) !important;
  border-radius: var(--platform-radius) !important;
  background: #ffffff !important;
  box-shadow: var(--platform-shadow) !important;
}

body.page--platform-shell .study-analytics-guest__hero > p {
  padding-inline: 2px;
}

body.page--platform-shell :is(
  .card,
  .feature-card,
  .aws-panel,
  .aws-feature-alert,
  .platform-panel,
  .platform-practice-panel,
  .platform-practice-card,
  .platform-practice-spotlight,
  .quiz-history,
  .quiz-dashboard-panel,
  .quiz-dashboard-action-card,
  .quiz-dashboard-stats > div,
  .search-docs__result,
  .study-analytics-guest__rail > section,
  .study-analytics-guest__state-grid article,
  .study-analytics-guest__capability-grid article,
  .study-analytics-guest__chart,
  .course-cockpit-library__main,
  .course-cockpit-library__loop,
  .course-cockpit-library__recommended,
  .course-modules__rail,
  .course-modules__content,
  .certification-card,
  .certification-answer-grid section,
  .certification-source-panel,
  .certification-next-panel,
  .certification-question-card,
  .certification-integrity-note,
  #mock-exam-builder,
  .practice-answer-workspace,
  .practice-design-card,
  .shared-practice-cockpit__question,
  .flashcards-empty-cockpit__main,
  .flashcards-view__practice-main,
  .quiz-result-cockpit__overview,
  .quiz-focus-cockpit .quiz-question-stack,
  .exam-rail,
  .account-identity-card,
  .account-cockpit__header,
  .account-panel,
  .account-stat-card,
  .checkout-hero__summary,
  .checkout-scope-notice,
  .checkout-panel,
  .checkout-promo-card,
  .checkout-status-panel
) {
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-radius) !important;
  background: #ffffff !important;
  box-shadow: var(--platform-shadow) !important;
  color: var(--platform-ink) !important;
}

body.page--platform-shell :is(
  .course-cockpit-library__loop,
  .practice-design-card,
  .platform-practice-spotlight,
  .aws-plan-callout
) :is(h2, h3, strong, p, a, li, span) {
  color: var(--platform-ink) !important;
}

body.page--platform-shell :is(
  .aws-quiz-page,
  .quiz-dashboard,
  .quiz-dashboard-grid,
  .quiz-dashboard-actions,
  .flashcards-view,
  .flashcards-view__content-layout,
  .flashcards-empty-cockpit,
  .shared-practice-cockpit,
  .quiz-builder-cockpit__rail,
  .quiz-focus-cockpit,
  .quiz-result-cockpit,
  .platform-practice-dashboard--mock,
  .mock-exam-builder__grid,
  .course-modules__layout,
  .course-cockpit-library,
  .course-cockpit-library__catalog,
  .course-cockpit-library__rail,
  .study-analytics-guest,
  .study-analytics-guest__rail,
  .study-analytics-guest__state-grid,
  .study-analytics-guest__capability-grid,
  .certification-card-grid,
  .certification-answer-grid,
  .certification-two-column,
  .certification-section__heading,
  .checkout-layout,
  .account-cockpit
) {
  gap: var(--platform-compact-gap) !important;
}

body.page--platform-shell :is(
  .quiz-dashboard-heading,
  .quiz-dashboard-panel__header,
  .aws-feature-topbar,
  .practice-cockpit-scopebar,
  .study-analytics-guest__hero,
  .course-modules__masthead-grid,
  .certification-review-meta,
  .certification-actions,
  .quiz-result-cockpit__summary
) {
  gap: var(--platform-compact-gap) !important;
  margin-bottom: 12px !important;
}

body.page--platform-shell :is(
  .quiz-dashboard-panel__header,
  .quiz-dashboard-action-card,
  .quiz-dashboard-stats > div,
  .quiz-dashboard-empty,
  .search-docs__result,
  .study-analytics-guest__rail > section,
  .study-analytics-guest__state-grid article,
  .study-analytics-guest__capability-grid article,
  .course-cockpit-library__main,
  .course-cockpit-library__loop,
  .course-cockpit-library__recommended,
  .certification-card,
  .certification-answer-grid section,
  .certification-source-panel,
  .certification-next-panel,
  .certification-question-card,
  .certification-integrity-note,
  .practice-answer-workspace,
  .shared-practice-cockpit__question,
  .flashcards-empty-cockpit__main,
  .flashcards-view__practice-main,
  .quiz-result-cockpit__overview,
  .quiz-focus-cockpit .quiz-question-stack,
  .platform-practice-panel,
  .platform-practice-spotlight,
  #mock-exam-builder,
  .quiz-history
) {
  padding: 14px !important;
}

body.page--platform-shell :is(
  .quiz-dashboard-action-card,
  .quiz-dashboard-stats > div,
  .quiz-dashboard-panel__header,
  .study-analytics-guest__state-grid article,
  .study-analytics-guest__capability-grid article,
  .study-analytics-guest__rail > section,
  .course-cockpit-library__loop,
  .course-cockpit-library__recommended,
  .platform-practice-dashboard--mock .platform-practice-panel,
  .platform-practice-dashboard--mock .platform-practice-spotlight,
  #mock-exam-builder
) {
  min-height: 0 !important;
}

body.page--platform-shell .quiz-dashboard-action-card {
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: var(--platform-compact-gap) !important;
}

body.page--platform-shell .quiz-dashboard-action-card__icon,
body.page--platform-shell .quiz-dashboard-stats__icon,
body.page--platform-shell .quiz-dashboard-panel__icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: var(--platform-control-radius) !important;
  font-size: 18px !important;
}

body.page--platform-shell .quiz-dashboard-stats > div {
  grid-template-columns: 44px minmax(0, 1fr) !important;
  min-height: 66px !important;
}

body.page--platform-shell .quiz-dashboard-panel__header {
  min-height: 0 !important;
}

body.page--platform-shell .quiz-dashboard-topic-row__button {
  min-height: 46px !important;
}

body.page--platform-shell .study-analytics-guest__chart {
  min-height: 132px !important;
}

body.page--platform-shell .course-modules__layout {
  padding: 16px 0 32px !important;
}

body.page--platform-shell .certification-section {
  padding: 24px 0 !important;
}

body.page--platform-shell :is(
  .certification-review-meta,
  .certification-facts
) {
  margin-block: 12px !important;
}

body.page--platform-shell :is(
  h1,
  .section-header__title,
  .quiz-hero__title,
  .codal-docs__title,
  .aws-study-page__title,
  .aws-feature-topbar h1,
  .study-analytics-guest__hero h1,
  .course-cockpit-library__head h1,
  .certification-hero h1,
  .quiz-dashboard-heading h1,
  .quiz-builder__title,
  .feature-card__title
) {
  max-width: 900px;
  color: var(--platform-ink) !important;
  font-size: clamp(28px, 2.5vw, 40px) !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
}

body.page--platform-shell :is(
  h2,
  .quiz-dashboard-panel__header h2,
  .certification-section h2,
  .study-analytics-guest__rail h2,
  .course-cockpit-library__section-head h2
) {
  color: var(--platform-ink) !important;
  font-size: clamp(18px, 1.8vw, 26px) !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

body.page--platform-shell :is(
  p,
  .section-header__desc,
  .aws-study-page__lede,
  .quiz-dashboard-heading p,
  .quiz-dashboard-panel__header p,
  .certification-lede,
  .certification-section__heading > p,
  .course-modules__masthead-copy > p
) {
  color: var(--platform-muted);
}

body.page--platform-shell :is(
  .btn,
  .aws-button,
  .aws-feature-ghost-link,
  .aws-icon-button,
  .study-cockpit-button,
  .certification-button,
  .course-modules__pager-link,
  .platform-sidebar__upgrade-button
) {
  min-height: 38px;
  border-radius: var(--platform-control-radius) !important;
  font-size: 13px;
  box-shadow: none !important;
}

body.page--platform-shell :is(input, select, textarea, .exam-scope-dropdown__select) {
  min-height: 40px;
  border-radius: var(--platform-control-radius) !important;
  background: #f7f8fa;
}

body.page--platform-shell :is(
  .badge,
  .study-cockpit-pill,
  .account-kicker,
  .public-kicker,
  .certification-card__meta span,
  .certification-question-meta span,
  .quiz-history__status,
  .aws-status-pill,
  .course-modules__meta span
) {
  min-height: 0;
  border-radius: var(--platform-control-radius) !important;
  background: #eef3ff;
  color: var(--platform-social-blue);
}

body.page--platform-shell :is(
  .quiz-dashboard-topic-row__button,
  .course-cockpit-track,
  .course-cockpit-lesson,
  .course-cockpit-library__recommended > div > a,
  .course-cockpit-library__loop li,
  .course-modules__list-link,
  .quiz-history__item,
  .mock-exam-builder__grid > div,
  .quiz-builder__sidebar-card,
  .quiz-builder__topic-picker,
  .quiz-builder__topic-result,
  .quiz-builder__selected-topic,
  .aws-task-row,
  .aws-bookmark-item,
  .aws-device-card,
  .aws-answer-option,
  .aws-question-nav-grid__item,
  .aws-explanation-card,
  .certification-choice-list label,
  .certification-review-meta div,
  .certification-facts div
) {
  padding: 10px 12px !important;
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-control-radius) !important;
  background: #f7f8fa !important;
  box-shadow: none !important;
}

body.page--platform-shell :is(
  .quiz-dashboard-topic-row__button:hover,
  .course-cockpit-track:hover,
  .course-cockpit-track.is-active,
  .course-modules__list-link:hover,
  .course-modules__list-link--active,
  .quiz-history__item:hover,
  .aws-answer-option.is-selected,
  .aws-answer-option[aria-pressed="true"],
  .certification-choice-list label:hover
) {
  border-color: #cfe1f7 !important;
  background: #eef3ff !important;
}

body.page--platform-shell :is(.aws-meter, .aws-horizontal-bars i, progress) {
  border-radius: 999px;
}

body.question-workspace-chrome {
  --question-paper-bg: #f3f2ef;
  --question-paper-surface: #ffffff;
  --question-paper-panel: #ffffff;
  --question-paper-heading: #1f2937;
  --question-paper-gold: var(--platform-gold);
}

body.question-workspace-chrome .page-main--question-workspace {
  background: var(--body-gradient) !important;
}

body.question-workspace-chrome .question-workspace-sidebar {
  border-right: 1px solid var(--platform-line);
  background: #ffffff !important;
  color: var(--platform-ink);
  box-shadow: none;
}

body.question-workspace-chrome .question-workspace-sidebar :is(a, strong, small, span) {
  color: var(--platform-ink);
}

body.question-workspace-chrome :is(
  .mock-exam-focus-header,
  .mock-exam-timer-card.card,
  .exam-panel,
  .question-card,
  .card,
  .mock-exam-cockpit__rail > *
) {
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-radius) !important;
  background: #ffffff !important;
  box-shadow: var(--platform-shadow) !important;
  color: var(--platform-ink) !important;
}

body.question-workspace-chrome :is(h1, h2, h3, strong, .mock-exam-timer-card__value, .question-meta) {
  color: var(--platform-ink) !important;
}

@media (max-width: 900px) {
  body.page--platform-shell {
    --platform-sidebar-width: 0px;
    --platform-topbar-height: 64px;
    --platform-mobile-bottom-nav-height: 70px;
  }

  .page--platform-shell .page-main--platform {
    padding: calc(var(--platform-topbar-height) + 10px) 10px var(--platform-mobile-bottom-nav-clearance, 96px) !important;
  }

  .page--platform-shell .platform-topbar {
    left: 0;
    padding: 10px;
  }

  body.page--platform-shell :is(
    .quiz-dashboard-hero,
    .aws-study-page__topbar,
    .codal-docs__topbar,
    .syllabus-page__hero,
    .certification-hero,
    .course-modules__masthead,
    .study-analytics-guest__hero,
    .aws-feature-topbar,
    .section-header
  ) {
    padding: 12px !important;
  }

  body.page--platform-shell :is(
    .quiz-dashboard-grid,
    .quiz-dashboard-actions,
    .course-modules__layout,
    .course-cockpit-library,
    .study-analytics-guest__rail,
    .certification-card-grid,
    .certification-answer-grid,
    .certification-two-column
  ) {
    grid-template-columns: 1fr !important;
  }

  body.page--platform-shell :is(
    h1,
    .section-header__title,
    .quiz-hero__title,
    .codal-docs__title,
    .aws-study-page__title,
    .certification-hero h1,
    .quiz-dashboard-heading h1
  ) {
    font-size: clamp(26px, 8vw, 34px) !important;
  }
}

@media (max-width: 620px) {
  body.page--platform-shell {
    --platform-page-gap: 10px;
    --platform-compact-gap: 10px;
  }

  body.page--platform-shell :is(
    .card,
    .aws-panel,
    .platform-panel,
    .quiz-history,
    #mock-exam-builder,
    .certification-card,
    .certification-question-card,
    .study-analytics-guest__rail > section,
    .course-modules__content,
    .course-modules__rail
  ) {
    padding: 12px !important;
  }
}

/* 2026-08-08 dashboard mobile spacing audit: keep bottom-nav clearance out of the hero row gap. */
@media (max-width: 720px) {
  body.page--platform-shell.page--platform-home .aws-cockpit-dashboard {
    gap: var(--platform-compact-gap) !important;
  }

  body.page--platform-shell.page--platform-home .aws-cockpit-dashboard__hero-grid,
  body.page--platform-shell.page--platform-home .aws-cockpit-dashboard__metric-grid {
    gap: var(--platform-compact-gap) !important;
  }

  body.page--platform-shell.page--platform-home :is(
    .aws-cockpit-dashboard__command,
    .aws-cockpit-dashboard__next-card,
    .aws-cockpit-dashboard__metric-card,
    .aws-cockpit-dashboard__weak-card
  ) {
    min-height: 0 !important;
    padding: 12px !important;
  }

  body.page--platform-shell.page--platform-home .aws-cockpit-dashboard__hero-copy {
    gap: 10px !important;
  }

  body.page--platform-shell.page--platform-home .aws-cockpit-dashboard__hero-copy h1 {
    font-size: clamp(28px, 8vw, 36px) !important;
    line-height: 1.02 !important;
  }
}

/* 2026-08-08 dashboard-density pass: trim non-dashboard content gaps. */
body.page--platform-shell:is(
  .page--platform-certifications,
  .page--platform-codals,
  .page--platform-flashcards,
  .page--platform-quizzes
) {
  --platform-page-gap: 12px;
  --platform-compact-gap: 10px;
}

body.page--platform-shell:is(
  .page--platform-certifications,
  .page--platform-codals,
  .page--platform-flashcards,
  .page--platform-quizzes
) :is(
  .certification-card-grid,
  .course-modules__layout,
  .course-modules__masthead-grid,
  .flashcards-empty-cockpit,
  .quiz-dashboard,
  .quiz-dashboard-actions,
  .quiz-dashboard-grid,
  .quiz-dashboard-stats
) {
  gap: var(--platform-compact-gap) !important;
}

.page--platform-certifications .certification-section {
  padding: 14px 0 !important;
}

.page--platform-certifications .certification-section__heading {
  gap: 8px !important;
  margin-bottom: 12px !important;
}

.page--platform-certifications .certification-card {
  padding: 12px !important;
}

.page--platform-certifications .certification-text-link {
  margin-top: 10px !important;
}

.page--platform-codals .course-modules__layout {
  padding: 12px 0 24px !important;
}

.page--platform-codals .course-modules__rail,
.page--platform-codals .course-modules__content {
  padding: 12px !important;
}

.page--platform-codals .course-modules__unit-head {
  padding: 16px !important;
}

.page--platform-codals .course-modules__article {
  padding: 18px 22px !important;
}

.page--platform-codals .course-modules__list {
  padding-top: 4px !important;
  padding-bottom: 10px !important;
}

.page--platform-codals .codal-content :is(h2, h3) {
  margin-top: 20px !important;
  margin-bottom: 8px !important;
}

.page--platform-codals .codal-content :is(p, ul, ol, table, blockquote) {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

.page--platform-flashcards .flashcards-empty-cockpit__main,
.page--platform-flashcards .flashcards-empty-cockpit__rail {
  padding: 14px !important;
}

.page--platform-flashcards .flashcards-empty-cockpit__actions {
  gap: 8px !important;
  margin-top: 12px !important;
}

.page--platform-flashcards .practice-question-meta {
  margin-bottom: 10px !important;
}

.page--platform-flashcards :is(
  .flashcards-view__filter-row,
  .flashcards-view__recent-sidebar,
  .practice-answer-workspace__head,
  .practice-answer-workspace__metrics
) {
  gap: 10px !important;
}

:where(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-hero {
  margin-bottom: 12px !important;
}

:where(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-heading {
  gap: 12px !important;
  margin-bottom: 12px !important;
}

:where(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-actions {
  margin-bottom: 12px !important;
}

:where(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-action-card {
  grid-template-columns: 40px minmax(0, 1fr) !important;
  gap: 10px !important;
  min-height: 0 !important;
  padding: 12px !important;
}

:where(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-action-card__icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: var(--platform-control-radius) !important;
  font-size: 18px !important;
}

:where(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-action-card h2 {
  font-size: 16px !important;
}

:where(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-action-card p {
  margin: 4px 0 8px !important;
}

:where(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-action-card__links {
  margin-top: 8px !important;
}

:where(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-fidelity-note {
  margin-bottom: 12px !important;
  padding: 10px 12px !important;
}

:where(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-stats > div {
  grid-template-columns: 38px minmax(0, 1fr) !important;
  min-height: 58px !important;
  padding: 10px 12px !important;
}

:where(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-panel__header {
  min-height: 0 !important;
  padding: 12px !important;
}

:where(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-panel__rows,
:where(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-high-yield-grid {
  padding: 0 10px 10px !important;
}

:where(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-how__steps {
  gap: 10px !important;
  padding: 0 12px 12px !important;
}

:where(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-how__steps li {
  gap: 10px !important;
  min-height: 0 !important;
}

:where(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-how__steps li:not(:last-child)::after {
  bottom: -8px !important;
}

@media (max-width: 900px) {
  .page--platform-codals .course-modules__layout {
    padding-top: 10px !important;
  }
}

@media (max-width: 620px) {
  .page--platform-certifications .certification-section {
    padding: 10px 0 !important;
  }

  .page--platform-codals .course-modules__article,
  .page--platform-codals .course-modules__unit-head,
  .page--platform-flashcards .flashcards-empty-cockpit__main,
  .page--platform-flashcards .flashcards-empty-cockpit__rail,
  :where(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-action-card {
    padding: 12px !important;
  }
}

/* Specificity guard for the dashboard-density pass. */
body.page--platform-shell.page--platform-certifications .certification-section {
  padding: 14px 0 !important;
}

body.page--platform-shell.page--platform-certifications .certification-section__heading {
  gap: 8px !important;
  margin-bottom: 12px !important;
}

body.page--platform-shell.page--platform-certifications .certification-card:not(#platform-density-guard) {
  padding: 12px !important;
  padding-top: 12px !important;
  padding-right: 12px !important;
  padding-bottom: 12px !important;
  padding-left: 12px !important;
}

body.page--platform-shell.page--platform-codals .course-modules__layout {
  padding: 12px 0 24px !important;
}

body.page--platform-shell.page--platform-codals .course-modules__rail,
body.page--platform-shell.page--platform-codals .course-modules__content {
  padding: 12px !important;
}

body.page--platform-shell.page--platform-codals .course-modules__unit-head {
  padding: 16px !important;
}

body.page--platform-shell.page--platform-codals .course-modules__article {
  padding: 18px 22px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-empty-cockpit__main,
body.page--platform-shell.page--platform-flashcards .flashcards-empty-cockpit__rail {
  padding: 14px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-empty-cockpit__actions {
  gap: 8px !important;
  margin-top: 12px !important;
}

body.page--platform-shell.page--platform-flashcards :is(
  .flashcards-view__filter-row,
  .flashcards-view__recent-sidebar,
  .practice-answer-workspace__head,
  .practice-answer-workspace__metrics
) {
  gap: 10px !important;
}

body.page--platform-shell.page--platform-flashcards .practice-design-card:not(#platform-density-guard),
body.page--platform-shell.page--platform-flashcards .flashcards-view__recent-panel:not(#platform-density-guard) {
  padding: 14px !important;
  padding-top: 14px !important;
  padding-right: 14px !important;
  padding-bottom: 14px !important;
  padding-left: 14px !important;
  border-radius: var(--platform-radius) !important;
}

body.page--platform-shell.page--platform-flashcards .practice-answer-workspace__note:not(#platform-density-guard),
body.page--platform-shell.page--platform-flashcards .practice-answer-workspace__metrics > div:not(#platform-density-guard) {
  padding: 12px !important;
  padding-top: 12px !important;
  padding-right: 12px !important;
  padding-bottom: 12px !important;
  padding-left: 12px !important;
  border-radius: var(--platform-radius) !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-panel.mb-16 {
  margin-bottom: 10px !important;
  padding-bottom: 14px !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-hero {
  margin-bottom: 12px !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-heading {
  gap: 12px !important;
  margin-bottom: 12px !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-actions {
  gap: 10px !important;
  margin-bottom: 12px !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-action-card:not(#platform-density-guard) {
  grid-template-columns: 40px minmax(0, 1fr) !important;
  gap: 10px !important;
  min-height: 0 !important;
  padding: 12px !important;
  padding-top: 12px !important;
  padding-right: 12px !important;
  padding-bottom: 12px !important;
  padding-left: 12px !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-action-card .btn {
  min-height: 36px !important;
  padding-inline: 14px !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-action-card__links {
  gap: 6px !important;
  margin-top: 6px !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-action-card__links a {
  min-height: 24px !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-stats > div:not(#platform-density-guard) {
  grid-template-columns: 38px minmax(0, 1fr) !important;
  min-height: 58px !important;
  padding: 10px 12px !important;
  padding-top: 10px !important;
  padding-right: 12px !important;
  padding-bottom: 10px !important;
  padding-left: 12px !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-panel__header:not(#platform-density-guard) {
  min-height: 0 !important;
  padding: 12px !important;
  padding-top: 12px !important;
  padding-right: 12px !important;
  padding-bottom: 12px !important;
  padding-left: 12px !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-how__steps {
  gap: 10px !important;
  padding: 0 12px 12px !important;
}

/* 2026-08-08 dashboard-density extension: pull the remaining utility pages into the same compact shell. */
body.page--platform-shell:is(
  .page--platform-exam-outline,
  .page--platform-real-exam-practice,
  .page--platform-smart-study-plan,
  .page--platform-question-of-the-day,
  .page--platform-bookmarks-notes,
  .page--platform-detailed-explanations,
  .page--platform-progress-sync,
  .page--platform-search,
  .page--platform-discussions,
  .page--platform-jobs,
  .page--platform-contact-us,
  .page--public-legal
) {
  --platform-page-gap: 12px;
  --platform-compact-gap: 10px;
}

body.page--platform-shell:is(
  .page--platform-exam-outline,
  .page--platform-real-exam-practice,
  .page--platform-smart-study-plan,
  .page--platform-question-of-the-day,
  .page--platform-bookmarks-notes,
  .page--platform-detailed-explanations,
  .page--platform-progress-sync,
  .page--platform-search,
  .page--platform-discussions,
  .page--platform-jobs,
  .page--platform-contact-us,
  .page--public-legal
) :is(
  .syllabus-page,
  .syllabus-page__hero-metrics,
  .syllabus-catalog__grid,
  .aws-plan-layout,
  .aws-practice-layout,
  .aws-daily-layout,
  .aws-bookmarks-layout,
  .aws-review-layout,
  .aws-sync-layout,
  .aws-practice-side,
  .aws-daily-side,
  .aws-bookmark-side,
  .aws-review-side,
  .aws-sync-side,
  .aws-plan-side,
  .search-docs,
  .search-docs__shell,
  .search-docs__prompt-form,
  .discussion-docs,
  .discussion-docs__shell,
  .discussion-docs__sidebar-card,
  .public-hero,
  .jobs-grid,
  .public-legal-shell,
  .public-terms-body,
  .platform-contact,
  .platform-contact__capabilities,
  .platform-contact__issue-card,
  .platform-contact__issue-form,
  .platform-contact__issue-preview
) {
  gap: var(--platform-compact-gap) !important;
}

body.page--platform-shell:is(
  .page--platform-exam-outline,
  .page--platform-real-exam-practice,
  .page--platform-smart-study-plan,
  .page--platform-question-of-the-day,
  .page--platform-bookmarks-notes,
  .page--platform-detailed-explanations,
  .page--platform-progress-sync,
  .page--platform-search,
  .page--platform-discussions,
  .page--platform-jobs,
  .page--platform-contact-us,
  .page--public-legal
) :is(
  .syllabus-overview-map,
  .syllabus-catalog,
  .syllabus-catalog__card,
  .syllabus-overview-map__track,
  .aws-panel,
  .aws-plan-week,
  .aws-inline-empty,
  .aws-question-nav-grid__item,
  .aws-answer-option,
  .aws-bookmark-item,
  .aws-device-card,
  .aws-review-summary > div,
  .aws-review-insight-grid > div,
  .aws-review-breakdown > div,
  .aws-review-metadata > div,
  .search-docs__prompt-shell,
  .search-docs__prompt,
  .search-docs__content,
  .search-docs__result,
  .codal-docs__sidebar-card,
  .discussion-docs__sidebar-card,
  .discussion-docs__thread-card,
  .discussion-docs__thread-detail,
  .discussion-docs__comment,
  .discussion-docs__lead,
  .discussion-docs__empty,
  .public-hero__content,
  .public-hero__panel,
  .public-empty-state,
  .job-card,
  .public-legal-aside,
  .public-legal-article,
  .platform-contact,
  .platform-contact__capabilities article,
  .platform-contact__issue-card,
  .platform-contact__field :is(select, textarea),
  .sales-chat__panel,
  .sales-chat__message,
  .sales-chat__send
) {
  border-radius: var(--platform-radius) !important;
  box-shadow: var(--platform-shadow) !important;
}

body.page--platform-shell:is(
  .page--platform-exam-outline,
  .page--platform-contact-us
) :is(
  .syllabus-overview-map,
  .platform-contact
) {
  border: 1px solid var(--platform-line) !important;
  border-left: 4px solid var(--platform-gold) !important;
  background: #ffffff !important;
  color: var(--platform-ink) !important;
}

body.page--platform-shell:is(
  .page--platform-exam-outline,
  .page--platform-contact-us
) :is(
  .syllabus-overview-map__title,
  .syllabus-overview-map__track-copy strong,
  .syllabus-overview-map__track-weight strong,
  .platform-contact__title,
  .platform-contact__capabilities strong,
  .platform-contact__issue-head h2
) {
  color: var(--platform-ink) !important;
}

body.page--platform-shell:is(
  .page--platform-exam-outline,
  .page--platform-contact-us
) :is(
  .syllabus-overview-map__copy,
  .syllabus-overview-map__note,
  .syllabus-overview-map__track small,
  .platform-contact__copy,
  .platform-contact__capabilities span,
  .platform-contact__route p,
  .platform-contact__details span
) {
  color: var(--platform-muted) !important;
}

body.page--platform-shell.page--platform-exam-outline :is(
  .syllabus-overview-map,
  .syllabus-catalog
),
body.page--platform-shell:is(.page--platform-contact-us, .page--public-legal) :is(
  .platform-contact,
  .public-legal-aside,
  .public-legal-article
) {
  padding: 16px !important;
}

body.page--platform-shell:is(
  .page--platform-exam-outline,
  .page--platform-real-exam-practice,
  .page--platform-smart-study-plan,
  .page--platform-question-of-the-day,
  .page--platform-bookmarks-notes,
  .page--platform-detailed-explanations,
  .page--platform-progress-sync,
  .page--platform-search,
  .page--platform-discussions,
  .page--platform-jobs,
  .page--platform-contact-us
) :is(
  .syllabus-catalog__card,
  .syllabus-overview-map__track,
  .aws-panel,
  .aws-plan-week,
  .aws-inline-empty,
  .aws-answer-option,
  .aws-question-nav-grid__item,
  .aws-bookmark-item,
  .aws-device-card,
  .search-docs__content,
  .search-docs__result,
  .discussion-docs__sidebar-card,
  .discussion-docs__thread-card,
  .discussion-docs__thread-detail,
  .discussion-docs__comment,
  .discussion-docs__lead,
  .discussion-docs__empty,
  .public-hero__panel,
  .public-empty-state,
  .job-card,
  .platform-contact__capabilities article,
  .platform-contact__issue-card
) {
  padding: 12px !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__prompt {
  min-height: 54px !important;
  padding-inline: 14px !important;
  border: 1px solid var(--platform-line) !important;
  background: #ffffff !important;
  box-shadow: var(--platform-shadow) !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__prompt-shell {
  border-radius: var(--platform-radius) !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) :is(
  .search-docs__filters .btn,
  .search-docs__link
),
body.page--platform-shell.page--platform-contact-us :is(
  .platform-contact__context-pill,
  .sales-chat__action,
  .platform-contact__actions .btn
),
body.page--platform-shell.page--public-legal .btn {
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell:is(.page--platform-jobs, .page--public-legal) .public-hero {
  gap: 12px !important;
  margin-bottom: 12px !important;
}

body.page--platform-shell:is(.page--platform-jobs, .page--public-legal) :is(
  .public-hero__panel,
  .public-empty-state,
  .job-card
) {
  padding: 16px !important;
  border-radius: var(--platform-radius) !important;
}

body.page--platform-shell.page--public-legal .public-legal-article {
  gap: 12px !important;
}

body.page--platform-shell.page--public-legal .public-legal-article section {
  padding: 14px 0 0 !important;
}

body.page--platform-shell.page--public-legal .public-legal-article section + section {
  padding-top: 14px !important;
}

body.page--platform-shell.page--platform-contact-us .page-main--platform {
  gap: 12px !important;
  align-items: start !important;
}

body.page--platform-shell.page--platform-contact-us .platform-contact__title,
body.page--platform-shell.page--platform-search .codal-docs__title {
  font-size: clamp(28px, 2.5vw, 40px) !important;
  line-height: 1.1 !important;
}

body.page--platform-shell.page--platform-contact-us .platform-contact__chat-mount .sales-chat__panel {
  min-height: 0 !important;
  border: 1px solid var(--platform-line) !important;
}

body.page--platform-shell.page--platform-certifications .certification-integrity-note {
  gap: 10px !important;
  margin-top: 10px !important;
}

body.page--platform-shell.page--platform-codals .course-modules__layout {
  padding: 12px 0 20px !important;
}

body.page--platform-shell.page--platform-codals .course-modules__pager {
  gap: 10px !important;
  padding: 12px !important;
}

body.page--platform-shell.page--platform-codals :is(
  .course-modules__badge,
  .course-modules__progress
) {
  border-radius: var(--platform-radius) !important;
  box-shadow: var(--platform-shadow) !important;
}

body.page--platform-shell.page--platform-exam-outline :is(
  .syllabus-page__notice,
  .syllabus-page__metric
) {
  gap: 10px !important;
  padding: 12px !important;
  border-radius: var(--platform-radius) !important;
  box-shadow: var(--platform-shadow) !important;
}

body.page--platform-shell.page--platform-analytics .study-analytics-guest__chart {
  gap: 12px !important;
  padding: 14px !important;
}

body.page--platform-shell.page--platform-flashcards .practice-design-card__steps span,
body.page--platform-shell:is(
  .page--platform-real-exam-practice,
  .page--platform-question-of-the-day,
  .page--platform-bookmarks-notes,
  .page--platform-detailed-explanations,
  .page--platform-progress-sync
) :is(
  .aws-practice-legend span,
  .aws-review-queue :is(a, span),
  .aws-leaderboard li,
  .aws-bookmark-detail-meta span,
  .aws-highlight-list mark,
  .aws-sync-queue article,
  .aws-sync-status-list article,
  .aws-related-list a,
  .aws-service-reference-list > :is(p, div),
  .aws-review-breakdown article
) {
  padding: 10px 12px !important;
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) :is(
  .quiz-dashboard-empty,
  .quiz-dashboard-fidelity-note
) {
  border-radius: var(--platform-radius) !important;
}

body.page--platform-shell.page--platform-full-exam-simulation :is(
  .quiz-builder__header,
  .platform-practice-dashboard--mock,
  form.mock-exam-builder,
  .quiz-history
) {
  gap: 12px !important;
  margin-bottom: 12px !important;
}

body.page--platform-shell.page--platform-full-exam-simulation .quiz-builder__topic-empty {
  border-radius: var(--platform-radius) !important;
}

/* 2026-08-08 quiz-practice flattening pass: reduce nested-card stacking on quiz and full exam surfaces. */
body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) :is(
  .quiz-dashboard-panel:not(#platform-density-guard),
  .quiz-dashboard-action-card:not(#platform-density-guard),
  .quiz-dashboard-stats > div:not(#platform-density-guard),
  .quiz-dashboard-resume:not(#platform-density-guard),
  .quiz-dashboard-builder-cta:not(#platform-density-guard),
  .quiz-history:not(#platform-density-guard)
),
body.page--platform-shell.page--platform-full-exam-simulation :is(
  #mock-exam-builder,
  .platform-practice-panel,
  .platform-practice-card,
  .platform-practice-spotlight,
  .quiz-history
) {
  border-radius: var(--platform-radius) !important;
  box-shadow: none !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) :is(
  .quiz-dashboard-empty:not(#platform-density-guard),
  .quiz-dashboard-fidelity-note:not(#platform-density-guard),
  .quiz-dashboard-topic-row__button:not(#platform-density-guard),
  .quiz-dashboard-high-yield-grid .quiz-dashboard-topic-row:not(#platform-density-guard),
  .quiz-dashboard-how__steps li:not(#platform-density-guard)
),
body.page--platform-shell.page--platform-full-exam-simulation :is(
  .platform-practice-checks span,
  .platform-practice-empty,
  .mock-exam-builder__grid > div,
  .mock-exam-builder__summary,
  .mock-exam-builder__check,
  .quiz-history__item,
  .quiz-builder__topic-empty
) {
  border-radius: var(--platform-control-radius) !important;
  box-shadow: none !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-panel__header {
  min-height: 0 !important;
  padding: 10px 12px !important;
  border-bottom: 1px solid var(--platform-line) !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) :is(
  .quiz-dashboard-panel__rows,
  .quiz-dashboard-high-yield-grid
) {
  gap: 0 !important;
  padding: 0 !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) :is(
  .quiz-dashboard-empty:not(#platform-density-guard),
  .quiz-dashboard-fidelity-note:not(#platform-density-guard)
) {
  min-height: 0 !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-top: 1px solid var(--platform-line) !important;
  background: transparent !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) :is(
  .quiz-dashboard-topic-row:not(#platform-density-guard),
  .quiz-dashboard-high-yield-grid .quiz-dashboard-topic-row:not(#platform-density-guard)
) {
  border-radius: 0 !important;
  border-top: 1px solid var(--platform-line) !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) :is(
  .quiz-dashboard-topic-row:first-child,
  .quiz-dashboard-high-yield-grid .quiz-dashboard-topic-row:first-child
) {
  border-top: 0 !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) :is(
  .quiz-dashboard-topic-row__button:not(#platform-density-guard),
  .quiz-dashboard-high-yield-grid .quiz-dashboard-topic-row__button:not(#platform-density-guard)
) {
  min-height: 48px !important;
  padding: 8px 12px !important;
  border: 0 !important;
  background: transparent !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) :is(
  .quiz-dashboard-topic-row__button:hover,
  .quiz-dashboard-high-yield-grid .quiz-dashboard-topic-row__button:hover
) {
  background: #f4f7fb !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-how__steps {
  padding: 0 !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-how__steps li {
  padding: 10px 12px !important;
  border-top: 1px solid var(--platform-line) !important;
  background: transparent !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-how__steps li:not(:last-child)::after {
  display: none !important;
}

/* quiz builder density pass: keep setup controls and topic actions in the first working viewport. */
body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder {
  scroll-margin-top: 88px !important;
  min-height: 0 !important;
  padding: 14px !important;
  border-radius: var(--platform-radius) !important;
  box-shadow: none !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder {
  gap: 10px !important;
  margin-top: 0 !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__header {
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 10px !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .feature-card__title {
  font-size: clamp(26px, 2.2vw, 34px) !important;
  line-height: 1.08 !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .feature-card__desc {
  max-width: 640px !important;
  font-size: 14px !important;
  line-height: 1.42 !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__layout {
  grid-template-columns: minmax(220px, 0.82fr) minmax(260px, 1fr) !important;
  gap: 10px !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__sidebar {
  gap: 10px !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder :is(
  .quiz-builder__sidebar-card,
  .quiz-builder__topic-picker
) {
  padding: 10px 12px !important;
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__topic-picker {
  align-content: start !important;
  gap: 10px !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__selected-head {
  align-items: flex-start !important;
  gap: 8px !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__selected-topics {
  min-height: 0 !important;
  max-height: 128px !important;
  gap: 6px !important;
  overflow: auto !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__selected-topic {
  min-height: 30px !important;
  padding: 5px 8px !important;
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__selected-topic-label {
  font-size: 12px !important;
  line-height: 1.25 !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__selected-topic-remove {
  width: 18px !important;
  height: 18px !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__topic-filters {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__topic-filter {
  min-height: 34px !important;
  min-width: 0 !important;
  padding: 6px 10px !important;
  border-radius: var(--platform-control-radius) !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  white-space: normal !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__topic-search {
  grid-template-columns: minmax(0, 1fr) !important;
  min-height: 40px !important;
  padding: 0 10px !important;
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__topic-search-icon {
  display: none !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder :is(input[type="number"], input[type="search"]) {
  min-height: 40px !important;
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__topic-count {
  justify-self: start !important;
  text-align: left !important;
  white-space: normal !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__topic-results {
  min-height: 150px !important;
  max-height: 240px !important;
  gap: 4px !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder :is(
  .quiz-builder__topic-result,
  .quiz-builder__topic-empty
) {
  padding: 9px 10px !important;
  border-radius: var(--platform-control-radius) !important;
  line-height: 1.35 !important;
}

body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) .quiz-builder-cockpit__rail {
  gap: 10px !important;
}

@media (max-width: 680px) {
  body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder {
    scroll-margin-top: 76px !important;
    padding: 12px !important;
  }

  body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__header {
    align-items: stretch !important;
  }

  body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__header-action .btn {
    width: 100% !important;
  }

  body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__sidebar {
    gap: 8px !important;
  }

  body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder :is(
    .quiz-builder__sidebar-card,
    .quiz-builder__topic-picker
  ) {
    padding: 9px 10px !important;
  }

  body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__topic-picker {
    gap: 8px !important;
  }

  body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes):has(#quiz-builder) #quiz-builder .quiz-builder__topic-results {
    min-height: 112px !important;
    max-height: 180px !important;
  }
}

body.page--platform-shell.page--platform-full-exam-simulation :is(
  .platform-practice-dashboard--mock,
  .mock-exam-builder__grid,
  .platform-practice-checks,
  .platform-practice-bars,
  .quiz-history__list
) {
  gap: 10px !important;
}

body.page--platform-shell.page--platform-full-exam-simulation .platform-practice-spotlight {
  min-height: 0 !important;
  border-left: 4px solid var(--platform-gold) !important;
  background: #ffffff !important;
  color: var(--platform-ink) !important;
}

body.page--platform-shell.page--platform-full-exam-simulation .platform-practice-spotlight :is(h2, p, .platform-kicker) {
  color: inherit !important;
}

body.page--platform-shell.page--platform-full-exam-simulation .platform-practice-checks span {
  min-height: 0 !important;
  padding: 8px 10px !important;
  border: 0 !important;
  border-top: 1px solid var(--platform-line) !important;
  background: transparent !important;
}

body.page--platform-shell.page--platform-full-exam-simulation .mock-exam-builder__grid > div {
  min-height: 0 !important;
  padding: 10px 12px !important;
  background: #f8fafc !important;
}

body.page--platform-shell.page--platform-full-exam-simulation .mock-exam-builder__grid :is(select, input, .editor__textarea) {
  min-height: 44px !important;
  border-radius: var(--platform-control-radius) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.page--platform-shell.page--platform-full-exam-simulation :is(
  .platform-practice-empty,
  .quiz-builder__topic-empty
) {
  min-height: 0 !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-top: 1px solid var(--platform-line) !important;
  background: transparent !important;
  text-align: left !important;
}

body.page--platform-shell.page--platform-full-exam-simulation .quiz-history__item {
  padding: 10px 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--platform-line) !important;
  background: transparent !important;
}

/* full exam setup density pass: keep the builder and recent attempts visible early. */
body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) :is(
  #mock-exam-builder,
  .quiz-history,
  .platform-practice-dashboard--mock .platform-practice-panel,
  .platform-practice-dashboard--mock .platform-practice-spotlight
) {
  padding: 12px !important;
}

body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) form.mock-exam-builder {
  gap: 8px !important;
  margin-bottom: 0 !important;
}

body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .quiz-builder__header {
  align-items: center !important;
  gap: 8px !important;
}

body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .quiz-builder__title {
  font-size: clamp(22px, 2vw, 30px) !important;
  line-height: 1.08 !important;
}

body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .quiz-builder__desc {
  max-width: 620px !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .actions-row {
  gap: 8px !important;
}

body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) :is(
  .actions-row .btn,
  .platform-practice-spotlight__actions .btn,
  .quiz-builder__header-action .btn
) {
  min-height: 38px !important;
  padding: 8px 12px !important;
}

body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .platform-practice-dashboard--mock {
  align-content: start !important;
  gap: 8px !important;
}

body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .platform-practice-dashboard--mock .platform-practice-panel {
  gap: 8px !important;
  min-height: 0 !important;
}

body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .platform-practice-dashboard--mock .platform-practice-spotlight {
  gap: 8px !important;
  min-height: 0 !important;
}

body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .platform-practice-dashboard--mock .platform-practice-spotlight h2 {
  max-width: 100% !important;
  font-size: 24px !important;
  line-height: 1.12 !important;
}

body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .platform-practice-dashboard--mock .platform-practice-spotlight p {
  font-size: 13px !important;
  line-height: 1.4 !important;
}

body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .platform-practice-checks {
  gap: 0 !important;
}

body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .platform-practice-checks span {
  padding: 7px 8px !important;
}

body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .mock-exam-builder__grid {
  gap: 8px !important;
}

body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .mock-exam-builder__grid :is(select, input, .editor__textarea) {
  min-height: 40px !important;
}

body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .quiz-history__head {
  align-items: center !important;
  gap: 8px !important;
}

body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .quiz-history__title {
  font-size: 18px !important;
  line-height: 1.2 !important;
}

body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .quiz-history__desc {
  margin-top: 2px !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

@media (max-width: 1180px) {
  body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .quiz-history {
    order: 2 !important;
  }

  body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .platform-practice-dashboard--mock {
    order: 3 !important;
  }
}

@media (max-width: 680px) {
  body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .quiz-builder__header {
    align-items: stretch !important;
  }

  body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .quiz-builder__header-action .btn {
    width: 100% !important;
  }

  body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .actions-row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .actions-row .btn {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .mock-exam-builder__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .mock-exam-builder__grid > div {
    min-height: 0 !important;
    padding: 8px 10px !important;
  }

  body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .mock-exam-builder__grid > div:first-child {
    grid-column: 1 / -1 !important;
  }

  body.page--platform-shell.page--platform-full-exam-simulation:has(#mock-exam-builder) .mock-exam-builder__grid :is(select, input, .editor__textarea) {
    min-height: 38px !important;
  }
}

body.page--platform-shell.page--platform-progress-sync :is(
  .aws-sync-security label,
  .aws-toggle-list label
) {
  padding: 10px 12px !important;
  border-radius: var(--platform-control-radius) !important;
}

/* progress summary rings density pass */
body.page--platform-shell.page--platform-progress-sync .aws-sync-hero {
  gap: 12px !important;
  align-items: center !important;
}

body.page--platform-shell.page--platform-progress-sync .aws-sync-hero__metrics {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  align-items: stretch !important;
}

body.page--platform-shell.page--platform-progress-sync .aws-sync-hero__metrics article {
  min-width: 0 !important;
  padding: 8px 10px !important;
  border-top: 1px solid var(--platform-line) !important;
}

body.page--platform-shell.page--platform-progress-sync .aws-sync-hero__metrics :is(span, strong) {
  display: block !important;
  overflow-wrap: anywhere !important;
}

body.page--platform-shell:is(
  .page--platform-progress-sync,
  .page--platform-smart-study-plan
) :is(.aws-sync-ring, .aws-readiness-ring) {
  position: relative !important;
  width: 88px !important;
  height: 88px !important;
  flex: 0 0 88px !important;
  background: conic-gradient(var(--platform-social-blue) var(--aws-sync-health, var(--aws-readiness, 0%)), #e8edf5 0) !important;
}

body.page--platform-shell:is(
  .page--platform-progress-sync,
  .page--platform-smart-study-plan
) :is(.aws-sync-ring, .aws-readiness-ring)::before {
  content: "" !important;
  position: absolute !important;
  inset: 10px !important;
  border: 1px solid var(--platform-line) !important;
  border-radius: 50% !important;
  background: #ffffff !important;
}

body.page--platform-shell:is(
  .page--platform-progress-sync,
  .page--platform-smart-study-plan
) :is(.aws-sync-ring, .aws-readiness-ring) span {
  position: relative !important;
  z-index: 1 !important;
  color: var(--platform-ink) !important;
  font-size: 20px !important;
}

body.page--platform-shell.page--platform-progress-sync :is(
  .aws-device-grid,
  .aws-sync-status-list,
  .aws-sync-queue,
  .aws-toggle-list
) {
  gap: 8px !important;
}

body.page--platform-shell.page--platform-progress-sync :is(
  .aws-device-card,
  .aws-sync-queue article,
  .aws-sync-status-list article,
  .aws-toggle-list label
),
body.page--platform-shell.page--platform-smart-study-plan .aws-plan-week {
  padding: 10px 12px !important;
  border-radius: var(--platform-control-radius) !important;
  background: #f8fafc !important;
  box-shadow: none !important;
}

body.page--platform-shell.page--platform-progress-sync .aws-device-card {
  gap: 10px !important;
}

body.page--platform-shell.page--platform-progress-sync .aws-device-card > span {
  justify-self: end !important;
  color: var(--platform-muted) !important;
}

body.page--platform-shell.page--platform-discussions .platform-flash-message {
  margin-bottom: 12px !important;
}

body.page--platform-shell :is(
  .exam-scope-dropdown,
  .exam-scope-dropdown.mb-16,
  .quiz-dashboard-exam-scope
) {
  margin-bottom: 12px !important;
}

body.page--platform-shell .exam-scope-dropdown__select {
  padding-right: 34px !important;
}

/* exam-scope density pass: keep study-surface selectors compact and consistent */
body.page--platform-shell:is(
  .page--platform-exam-outline,
  .page--platform-flashcards,
  .page--platform-quizzes
) :is(
  .exam-scope-dropdown,
  .exam-scope-dropdown.mb-16,
  .quiz-dashboard-exam-scope
) {
  width: min(100%, 390px);
  margin: 0 0 8px !important;
}

body.page--platform-shell:is(.page--platform-flashcards, .page--platform-quizzes)
  .aws-study-page__scope
  .exam-scope-dropdown {
  margin-bottom: 0 !important;
}

body.page--platform-shell:is(
  .page--platform-exam-outline,
  .page--platform-flashcards,
  .page--platform-quizzes
) .exam-scope-dropdown__label,
body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__track-picker {
  gap: 6px !important;
  font-size: 11px;
  line-height: 1.12;
}

body.page--platform-shell:is(
  .page--platform-exam-outline,
  .page--platform-flashcards,
  .page--platform-quizzes
) .exam-scope-dropdown__select,
body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__track-picker select {
  min-height: 40px !important;
  padding: 0 32px 0 12px !important;
  border-radius: var(--platform-control-radius) !important;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__track-picker {
  padding: 14px !important;
}

body.page--platform-shell:is(
  .page--platform-exam-outline,
  .page--platform-flashcards,
  .page--platform-quizzes
) .exam-scope-dropdown__select:is(:hover, :focus),
body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__track-picker select:is(:hover, :focus) {
  border-color: var(--platform-action-blue);
  outline: 2px solid rgba(24, 119, 242, 0.18);
  outline-offset: 2px;
}

body.page--platform-shell.page--platform-flashcards :is(
  .flashcards-view__filter-row,
  .filter-option--pill,
  .filter-option--pill span,
  .reader-toggle,
  .reader-toggle__track,
  .mcq-option,
  .breadcrumb--scroll.flashcards-view__scope-path
) {
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-panel--answer {
  padding-top: 14px !important;
}

body.page--platform-shell.page--platform-flashcards .mcq-option {
  padding: 10px 12px !important;
}

/* 2026-08-08 syllabus detail flatten pass: compact outline metrics and meta chips. */
body.page--platform-shell.page--platform-exam-outline.page--syllabus-detail .syllabus-page,
body.page--platform-shell.page--platform-exam-outline.page--syllabus-detail .syllabus-detail-workspace {
  gap: 12px !important;
}

body.page--platform-shell.page--platform-exam-outline.page--syllabus-detail :is(
  .syllabus-page__stat,
  .syllabus-detail-workspace > .card,
  .syllabus-detail-workspace__rail > .card,
  .syllabus-detail-workspace__focus-metrics article,
  .syllabus-detail-workspace__steps > div,
  .syllabus-detail-practice
) {
  border-radius: var(--platform-radius) !important;
  box-shadow: var(--platform-shadow) !important;
}

body.page--platform-shell.page--platform-exam-outline.page--syllabus-detail :is(
  .syllabus-page__stat,
  .syllabus-detail-workspace > .card,
  .syllabus-detail-workspace__rail > .card
) {
  padding: 16px !important;
}

body.page--platform-shell.page--platform-exam-outline.page--syllabus-detail .syllabus-page__stat {
  padding: 14px 16px !important;
}

body.page--platform-shell.page--platform-exam-outline.page--syllabus-detail :is(
  .syllabus-page__controls,
  .syllabus-detail-workspace__outline,
  .syllabus-detail-workspace__focus,
  .syllabus-detail-workspace__rail,
  .syllabus-detail-domain-mix__list
) {
  gap: 10px !important;
}

body.page--platform-shell.page--platform-exam-outline.page--syllabus-detail .syllabus-detail-workspace__focus-metrics {
  gap: 8px !important;
}

body.page--platform-shell.page--platform-exam-outline.page--syllabus-detail .syllabus-detail-workspace__focus-metrics article {
  padding: 10px 12px !important;
  background: #ffffff !important;
}

body.page--platform-shell.page--platform-exam-outline.page--syllabus-detail .syllabus-detail-workspace__steps > div {
  grid-template-columns: 28px minmax(0, 1fr) !important;
  gap: 10px !important;
  padding: 10px 12px !important;
}

body.page--platform-shell.page--platform-exam-outline.page--syllabus-detail .syllabus-detail-workspace__steps > div > span,
body.page--platform-shell.page--platform-exam-outline.page--syllabus-detail :is(
  .badge,
  .syllabus-page__search-input,
  .syllabus-page__icon-button,
  .syllabus-tree__summary,
  .syllabus-tree__leafline,
  .syllabus-tree__leafbutton,
  .syllabus-tree__weight,
  .syllabus-topic-modal__badge
) {
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell.page--platform-exam-outline.page--syllabus-detail .syllabus-tree__meta {
  padding: 2px 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--platform-muted) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

body.page--platform-shell.page--platform-exam-outline.page--syllabus-detail .syllabus-tree__weight {
  min-height: 20px !important;
  padding: 1px 6px !important;
  border-color: rgba(10, 102, 194, 0.28) !important;
  background: #eef4fb !important;
  color: var(--platform-social-blue) !important;
}

body.page--platform-shell.page--platform-exam-outline.page--syllabus-detail .syllabus-detail-domain-mix__bar {
  height: 6px !important;
  border-radius: 4px !important;
}

body.page--platform-shell.page--platform-exam-outline.page--syllabus-detail .syllabus-detail-practice:not(#platform-density-guard) {
  border-left: 4px solid var(--platform-gold) !important;
  background: #ffffff !important;
  color: var(--platform-ink) !important;
}

body.page--platform-shell.page--platform-exam-outline.page--syllabus-detail .syllabus-detail-practice .feature-card__title {
  color: var(--platform-ink) !important;
}

body.page--platform-shell.page--platform-exam-outline.page--syllabus-detail .syllabus-detail-practice .feature-card__desc {
  color: var(--platform-muted) !important;
}

/* 2026-08-08 syllabus controls alignment pass: keep outline overview/detail controls compact and consistent. */
body.page--platform-shell.page--platform-exam-outline :is(.syllabus-page--overview, .syllabus-page--detail) {
  gap: 12px !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page--overview {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.page--platform-shell.page--platform-exam-outline :is(.syllabus-page--overview, .syllabus-page--detail) > .exam-scope-dropdown {
  width: min(100%, 390px) !important;
  margin: 0 !important;
}

body.page--platform-shell.page--platform-exam-outline :is(
  .syllabus-page__hero-actions,
  .syllabus-overview-map__actions,
  .syllabus-detail-workspace__focus-actions,
  .syllabus-detail-practice__actions,
  .syllabus-topic-modal__actions
) {
  gap: 8px !important;
}

body.page--platform-shell.page--platform-exam-outline :is(
  .syllabus-page__hero-actions .btn,
  .syllabus-overview-map__actions .btn,
  .syllabus-detail-workspace__focus-actions .btn,
  .syllabus-detail-practice__actions .btn,
  .syllabus-topic-modal__actions .btn,
  .syllabus-page__icon-button
) {
  min-height: 40px !important;
  padding: 9px 14px !important;
  border-radius: var(--platform-control-radius) !important;
  font-size: 13px !important;
  box-shadow: none !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page__icon-button {
  min-width: 40px !important;
  padding-inline: 10px !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page__search-input,
body.page--platform-shell.page--platform-exam-outline .exam-scope-dropdown__select {
  min-height: 40px !important;
  padding: 9px 36px 9px 12px !important;
  border-radius: var(--platform-control-radius) !important;
  border-color: var(--platform-line) !important;
  background-color: #ffffff !important;
  box-shadow: none !important;
  font-size: 13px !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page__search-input {
  padding-right: 12px !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page--overview .syllabus-page__hero--catalog,
body.page--platform-shell.page--platform-exam-outline .syllabus-page--overview .syllabus-overview-map {
  grid-column: 1 !important;
  grid-row: auto !important;
  min-height: 0 !important;
  gap: 12px !important;
  align-content: start !important;
  margin: 0 !important;
  padding: 16px !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page--overview > :is(.syllabus-catalog, .syllabus-page__notice) {
  grid-column: 1 !important;
  grid-row: auto !important;
}

body.page--platform-shell.page--platform-exam-outline :is(
  .syllabus-page__hero-copy > .badge,
  .syllabus-overview-map > .badge,
  .syllabus-detail-workspace .badge
) {
  width: fit-content !important;
  justify-self: start !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page--overview .syllabus-page__hero-copy .section-header__title,
body.page--platform-shell.page--platform-exam-outline .syllabus-page--detail .syllabus-page__hero--tree .section-header__title {
  font-size: clamp(28px, 2.5vw, 40px) !important;
  line-height: 1.08 !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page--overview .syllabus-page__hero-copy .section-header__desc,
body.page--platform-shell.page--platform-exam-outline .syllabus-page--detail .syllabus-page__hero--tree .section-header__desc {
  max-width: 720px !important;
  line-height: 1.45 !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page--overview .syllabus-page__hero-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-top: 4px !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page--overview .syllabus-page__metric {
  min-height: 84px !important;
  padding: 10px 12px !important;
  border-radius: var(--platform-radius) !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page--overview .syllabus-overview-map__tracks {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page--overview .syllabus-overview-map__track {
  grid-template-columns: minmax(0, 1fr) !important;
  align-content: start !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  border-radius: var(--platform-control-radius) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page--overview .syllabus-overview-map__track-weight {
  justify-items: start !important;
  text-align: left !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page--overview .syllabus-catalog__head {
  align-items: flex-start !important;
  padding-bottom: 12px !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page--detail .syllabus-page__hero--tree {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px 16px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 16px !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page--detail .syllabus-page__hero--tree > .badge,
body.page--platform-shell.page--platform-exam-outline .syllabus-page--detail .syllabus-page__hero--tree > .section-header__title,
body.page--platform-shell.page--platform-exam-outline .syllabus-page--detail .syllabus-page__hero--tree > .section-header__desc {
  grid-column: 1 !important;
  margin: 0 !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page--detail .syllabus-page__hero--tree > .badge {
  width: fit-content !important;
  justify-self: start !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page--detail .syllabus-page__hero--tree > .syllabus-page__hero-actions {
  grid-column: 2 !important;
  grid-row: 1 / span 3 !important;
  justify-content: flex-end !important;
  max-width: 280px !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page--detail .syllabus-page__controls {
  gap: 8px !important;
  margin: 0 !important;
}

body.page--platform-shell.page--platform-exam-outline .syllabus-page--detail .syllabus-page__toolbar {
  gap: 8px !important;
}

body.page--platform-shell.page--platform-exam-outline :is(
  .syllabus-topic-modal__question,
  .syllabus-topic-modal__empty,
  .syllabus-topic-modal__share-link
) {
  border-radius: var(--platform-control-radius) !important;
}

@media (max-width: 900px) {
  body.page--platform-shell.page--platform-exam-outline .syllabus-page--overview .syllabus-overview-map__tracks,
  body.page--platform-shell.page--platform-exam-outline .syllabus-page--overview .syllabus-page__hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.page--platform-shell.page--platform-exam-outline .syllabus-page--detail .syllabus-page__hero--tree {
    grid-template-columns: 1fr !important;
  }

  body.page--platform-shell.page--platform-exam-outline .syllabus-page--detail .syllabus-page__hero--tree > .syllabus-page__hero-actions {
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-content: flex-start !important;
    max-width: none !important;
  }
}

@media (max-width: 600px) {
  body.page--platform-shell.page--platform-exam-outline .syllabus-page--overview .syllabus-overview-map__tracks,
  body.page--platform-shell.page--platform-exam-outline .syllabus-page--overview .syllabus-page__hero-metrics {
    grid-template-columns: 1fr !important;
  }
}

/* 2026-08-08 certification detail density pass: align guide/practice pages with dashboard spacing. */
body.page--platform-shell.page--platform-certifications:is(.page--certification-guide, .page--certification-practice) {
  --platform-page-gap: 12px;
  --platform-compact-gap: 10px;
}

body.page--platform-shell.page--platform-certifications:is(.page--certification-guide, .page--certification-practice) :is(
  .certification-facts,
  .certification-source-panel ul,
  .certification-objective-list,
  .certification-question-list,
  .certification-choice-list,
  .certification-study-steps
) {
  gap: var(--platform-compact-gap) !important;
}

body.page--platform-shell.page--platform-certifications:is(.page--certification-guide, .page--certification-practice) :is(
  .certification-review-meta,
  .certification-review-meta div,
  .certification-facts div,
  .certification-objective-list__number,
  .certification-question-card,
  .certification-choice-list label,
  .certification-answer-panel,
  .certification-source-panel,
  .certification-next-panel,
  .certification-source-panel li a,
  .certification-breadcrumbs a,
  .certification-text-link
) {
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell.page--platform-certifications:is(.page--certification-guide, .page--certification-practice) .certification-facts {
  margin-block: 10px !important;
}

body.page--platform-shell.page--platform-certifications:is(.page--certification-guide, .page--certification-practice) .certification-facts div {
  padding: 10px 12px !important;
}

body.page--platform-shell.page--platform-certifications:is(.page--certification-guide, .page--certification-practice) .certification-source-panel ul {
  margin: 10px 0 !important;
  padding-left: 18px !important;
}

body.page--platform-shell.page--platform-certifications:is(.page--certification-guide, .page--certification-practice) .certification-objective-list section {
  gap: 12px !important;
  padding: 14px 0 !important;
}

body.page--platform-shell.page--platform-certifications:is(.page--certification-guide, .page--certification-practice) .certification-objective-list__number {
  width: 36px !important;
  height: 36px !important;
}

body.page--platform-shell.page--platform-certifications:is(.page--certification-guide, .page--certification-practice) .certification-study-steps {
  margin-top: 12px !important;
  padding-left: 18px !important;
}

body.page--platform-shell.page--platform-certifications:is(.page--certification-guide, .page--certification-practice) .certification-question-list {
  gap: 14px !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-choice-list {
  padding-left: 18px !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice :is(
  .certification-question-check,
  .certification-question-feedback,
  .certification-answer-panel
) {
  margin-top: 10px !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-answer-panel {
  padding: 12px !important;
}

/* 2026-08-09 public practice review flow density pass: keep answer reveal close to the current question. */
body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-practice-shell {
  max-width: 920px !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-section__heading {
  gap: 20px !important;
  margin-bottom: 16px !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-section__heading h2 {
  font-size: 28px !important;
  line-height: 1.14 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-section__heading > p {
  font-size: 14px !important;
  line-height: 1.45 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-question-card {
  display: grid !important;
  gap: 8px !important;
  padding: 14px 16px !important;
  box-shadow: var(--platform-shadow) !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-question-meta {
  gap: 6px !important;
  margin-bottom: 0 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-question-meta span {
  min-height: 22px !important;
  padding: 3px 6px !important;
  border-radius: var(--platform-control-radius) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-question-card h3 {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.22 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-question-text {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-question-form {
  display: grid !important;
  gap: 8px !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-choice-list {
  gap: 6px !important;
  margin: 0 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-choice-list li {
  padding-left: 2px !important;
  line-height: 1.35 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-choice-list label {
  min-height: 36px !important;
  gap: 8px !important;
  padding: 7px 8px !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-choice-list input {
  width: 16px !important;
  height: 16px !important;
  margin-top: 1px !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-question-check {
  justify-self: start !important;
  min-height: 34px !important;
  margin-top: 0 !important;
  padding: 7px 10px !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-question-feedback {
  min-height: 20px !important;
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-answer-panel {
  display: grid !important;
  gap: 6px !important;
  margin-top: 0 !important;
  padding: 8px 10px !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-answer-panel[hidden] {
  display: none !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-answer-panel__answer {
  margin: 0 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-answer-explanations summary {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 30px !important;
  color: var(--platform-social-blue) !important;
  cursor: pointer !important;
  font-weight: 800 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-answer-explanations ul {
  display: grid !important;
  gap: 4px !important;
  margin: 4px 0 0 !important;
  padding-left: 18px !important;
}

body.page--platform-shell.page--platform-certifications:is(.page--certification-guide, .page--certification-practice) :is(
  .certification-breadcrumbs a,
  .certification-source-panel a,
  .certification-text-link
) {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
}

@media (max-width: 560px) {
  body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-section {
    padding: 24px 0 !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-section__heading {
    gap: 10px !important;
    margin-bottom: 12px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-section__heading h2 {
    font-size: 22px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-question-card {
    padding: 12px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-question-card h3 {
    font-size: 16px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-question-text,
  body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-choice-list label,
  body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-answer-panel {
    font-size: 12px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-choice-list {
    gap: 5px !important;
    padding-left: 16px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-practice .certification-choice-list label {
    min-height: 34px !important;
    padding: 6px 7px !important;
  }
}

/* 2026-08-08 course module density pass: flatten lesson headers and rails. */
body.page--platform-shell.page--platform-codals.page--course-modules .course-modules {
  display: grid !important;
  gap: 10px !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__masthead {
  width: min(1180px, 100%) !important;
  padding: 14px 16px !important;
  border-left: 4px solid var(--platform-gold) !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__breadcrumbs {
  gap: 6px !important;
  margin-bottom: 8px !important;
  font-size: 12px !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__masthead-grid {
  grid-template-columns: minmax(0, 1fr) minmax(132px, 180px) !important;
  gap: 12px !important;
  align-items: center !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__badge {
  display: none !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__eyebrow {
  margin-bottom: 4px !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__masthead-copy h1 {
  font-size: clamp(24px, 2.3vw, 34px) !important;
  line-height: 1.08 !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__masthead-copy > p {
  margin-top: 6px !important;
  font-size: 14px !important;
  line-height: 1.42 !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__meta {
  gap: 6px !important;
  margin-top: 8px !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__meta span,
body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__progress,
body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__progress-track,
body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__rail-head strong,
body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__list-link,
body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__list-number,
body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__pager-link {
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__meta span {
  padding: 3px 7px !important;
  font-size: 11px !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__progress {
  padding: 10px 12px !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__progress-value {
  font-size: 22px !important;
  line-height: 1 !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__progress-track {
  height: 6px !important;
  margin-top: 8px !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__layout {
  grid-template-columns: minmax(236px, 300px) minmax(0, 1fr) !important;
  gap: 12px !important;
  width: min(1180px, 100%) !important;
  padding: 0 0 22px !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__rail,
body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__content {
  padding: 0 !important;
  border-radius: var(--platform-radius) !important;
  background: #ffffff !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__rail {
  top: calc(var(--platform-topbar-height) + 12px) !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__track-picker {
  gap: 6px !important;
  padding: 12px !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__track-picker select {
  min-height: 40px !important;
  padding: 0 32px 0 12px !important;
  border-radius: var(--platform-control-radius) !important;
  font-size: 13px !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__rail-head {
  padding: 10px 12px 6px !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__rail-head strong {
  min-width: 24px !important;
  height: 24px !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__list {
  max-height: min(62vh, 36rem) !important;
  padding: 4px 6px 10px !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__list-link {
  grid-template-columns: 28px minmax(0, 1fr) !important;
  gap: 8px !important;
  margin: 2px 0 !important;
  padding: 8px 10px !important;
  transform: none !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__list-number {
  width: 28px !important;
  height: 28px !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__list-copy strong {
  font-size: 13px !important;
  line-height: 1.25 !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__list-copy small {
  margin-top: 2px !important;
  font-size: 11px !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__unit-head {
  padding: 14px 16px !important;
  background: #ffffff !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__unit-head h2 {
  margin: 4px 0 !important;
  font-size: clamp(22px, 2vw, 30px) !important;
  line-height: 1.12 !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__unit-head p {
  line-height: 1.42 !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__article {
  max-width: none !important;
  padding: 16px 20px !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__article :is(h2, h3) {
  margin-top: 22px !important;
  margin-bottom: 8px !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__article :is(p, ul, ol, table, blockquote) {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__pager {
  gap: 8px !important;
  padding: 12px 14px !important;
  background: #ffffff !important;
}

body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__pager-link {
  padding: 8px 10px !important;
}

@media (max-width: 860px) {
  body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__masthead-grid,
  body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__list {
    max-height: 18rem !important;
  }
}

@media (max-width: 560px) {
  body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__masthead {
    padding: 12px !important;
  }

  body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__progress {
    width: 100% !important;
  }

  body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__unit-head,
  body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__article,
  body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__pager {
    padding: 12px !important;
  }

  body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__unit-head h2 {
    font-size: clamp(21px, 6vw, 26px) !important;
  }
}

body.page--platform-shell.page--course-modules .course-modules {
  display: grid !important;
  gap: 10px !important;
}

body.page--platform-shell.page--course-modules .course-modules__masthead {
  width: min(1180px, 100%) !important;
  padding: 14px 16px !important;
  border-left: 4px solid var(--platform-gold) !important;
}

body.page--platform-shell.page--course-modules .course-modules__breadcrumbs {
  gap: 6px !important;
  margin-bottom: 8px !important;
  font-size: 12px !important;
}

body.page--platform-shell.page--course-modules .course-modules__masthead-grid {
  grid-template-columns: minmax(0, 1fr) minmax(132px, 180px) !important;
  gap: 12px !important;
  align-items: center !important;
}

body.page--platform-shell.page--course-modules .course-modules__badge {
  display: none !important;
}

body.page--platform-shell.page--course-modules .course-modules__eyebrow {
  margin-bottom: 4px !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
}

body.page--platform-shell.page--course-modules .course-modules__masthead-copy h1 {
  font-size: clamp(24px, 2.3vw, 34px) !important;
  line-height: 1.08 !important;
}

body.page--platform-shell.page--course-modules .course-modules__masthead-copy > p {
  margin-top: 6px !important;
  font-size: 14px !important;
  line-height: 1.42 !important;
}

body.page--platform-shell.page--course-modules .course-modules__meta {
  gap: 6px !important;
  margin-top: 8px !important;
}

body.page--platform-shell.page--course-modules :is(
  .course-modules__meta span,
  .course-modules__progress,
  .course-modules__progress-track,
  .course-modules__rail-head strong,
  .course-modules__list-link,
  .course-modules__list-number,
  .course-modules__pager-link
) {
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell.page--course-modules .course-modules__meta span {
  padding: 3px 7px !important;
  font-size: 11px !important;
}

body.page--platform-shell.page--course-modules .course-modules__progress {
  padding: 10px 12px !important;
}

body.page--platform-shell.page--course-modules .course-modules__progress-value {
  font-size: 22px !important;
  line-height: 1 !important;
}

body.page--platform-shell.page--course-modules .course-modules__progress-track {
  height: 6px !important;
  margin-top: 8px !important;
}

body.page--platform-shell.page--course-modules .course-modules__layout {
  grid-template-columns: minmax(236px, 300px) minmax(0, 1fr) !important;
  gap: 12px !important;
  width: min(1180px, 100%) !important;
  padding: 0 0 22px !important;
}

body.page--platform-shell.page--course-modules .course-modules__rail,
body.page--platform-shell.page--course-modules .course-modules__content {
  padding: 0 !important;
  border-radius: var(--platform-radius) !important;
  background: #ffffff !important;
}

body.page--platform-shell.page--course-modules .course-modules__rail:not(#platform-density-guard),
body.page--platform-shell.page--course-modules .course-modules__content:not(#platform-density-guard) {
  padding: 0 !important;
}

body.page--platform-shell.page--course-modules .course-modules__rail {
  top: calc(var(--platform-topbar-height) + 12px) !important;
}

body.page--platform-shell.page--course-modules .course-modules__track-picker {
  gap: 6px !important;
  padding: 12px !important;
}

body.page--platform-shell.page--course-modules .course-modules__track-picker select {
  min-height: 40px !important;
  padding: 0 32px 0 12px !important;
  border-radius: var(--platform-control-radius) !important;
  font-size: 13px !important;
}

body.page--platform-shell.page--course-modules .course-modules__rail-head {
  padding: 10px 12px 6px !important;
}

body.page--platform-shell.page--course-modules .course-modules__rail-head strong {
  min-width: 24px !important;
  height: 24px !important;
}

body.page--platform-shell.page--course-modules .course-modules__list {
  max-height: min(62vh, 36rem) !important;
  padding: 4px 6px 10px !important;
}

body.page--platform-shell.page--course-modules .course-modules__list-link {
  grid-template-columns: 28px minmax(0, 1fr) !important;
  gap: 8px !important;
  margin: 2px 0 !important;
  padding: 8px 10px !important;
  transform: none !important;
}

body.page--platform-shell.page--course-modules .course-modules__list-number {
  width: 28px !important;
  height: 28px !important;
}

body.page--platform-shell.page--course-modules .course-modules__list-copy strong {
  font-size: 13px !important;
  line-height: 1.25 !important;
}

body.page--platform-shell.page--course-modules .course-modules__list-copy small {
  margin-top: 2px !important;
  font-size: 11px !important;
}

body.page--platform-shell.page--course-modules .course-modules__unit-head {
  padding: 14px 16px !important;
  background: #ffffff !important;
}

body.page--platform-shell.page--course-modules .course-modules__unit-head h2 {
  margin: 4px 0 !important;
  font-size: clamp(22px, 2vw, 30px) !important;
  line-height: 1.12 !important;
}

body.page--platform-shell.page--course-modules .course-modules__unit-head p {
  font-size: 14px !important;
  line-height: 1.42 !important;
}

body.page--platform-shell.page--course-modules .course-modules__article {
  max-width: none !important;
  padding: 16px 20px !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

body.page--platform-shell.page--course-modules .course-modules__article :is(h2, h3) {
  margin-top: 22px !important;
  margin-bottom: 8px !important;
}

body.page--platform-shell.page--course-modules .course-modules__article :is(p, ul, ol, table, blockquote) {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

/* 2026-08-09 course context controls density pass: align breadcrumbs, context labels, and compact module controls. */
body.page--platform-shell.page--platform-codals.page--course-modules .course-modules__masthead,
body.page--platform-shell.page--course-modules .course-modules__masthead {
  padding: 10px 12px !important;
}

body.page--platform-shell.page--course-modules .course-modules__context-strip {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 4px 8px !important;
  min-width: 0 !important;
  margin-bottom: 6px !important;
  color: var(--platform-gold) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

body.page--platform-shell.page--course-modules .course-modules__context-strip .course-modules__breadcrumbs {
  display: flex !important;
  flex: 0 1 auto !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 3px 5px !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: inherit !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  text-transform: inherit !important;
}

body.page--platform-shell.page--course-modules .course-modules__context-strip .course-modules__breadcrumbs :is(a, span) {
  max-width: 100% !important;
  color: inherit !important;
  line-height: inherit !important;
  overflow-wrap: anywhere !important;
}

body.page--platform-shell.page--course-modules .course-modules__context-strip > .course-modules__eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 18px !important;
  margin: 0 !important;
  padding-left: 8px !important;
  border-left: 1px solid var(--platform-line) !important;
  color: var(--platform-muted) !important;
  font: inherit !important;
  letter-spacing: inherit !important;
}

body.page--platform-shell.page--course-modules .course-modules__masthead-grid {
  gap: 10px !important;
}

body.page--platform-shell.page--course-modules .course-modules__meta {
  gap: 5px !important;
  margin-top: 6px !important;
}

body.page--platform-shell.page--course-modules .course-modules__meta span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 22px !important;
  padding: 2px 6px !important;
  line-height: 1.2 !important;
  overflow-wrap: anywhere !important;
}

body.page--platform-shell.page--course-modules .course-modules__progress {
  padding: 8px 10px !important;
}

body.page--platform-shell.page--course-modules .course-modules__progress-value {
  font-size: 20px !important;
}

/* 2026-08-09 course lesson typography density pass: normalize long-form rhythm without hiding scan points. */
body.page--platform-shell.page--course-modules .course-modules__article.codal-content {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.page--platform-shell.page--course-modules .course-modules__article.codal-content h1 {
  margin: 0 0 10px !important;
  font-size: 30px !important;
  line-height: 1.12 !important;
}

body.page--platform-shell.page--course-modules .course-modules__article.codal-content h2 {
  margin: 18px 0 8px !important;
  padding-top: 2px !important;
  font-size: 22px !important;
  line-height: 1.18 !important;
}

body.page--platform-shell.page--course-modules .course-modules__article.codal-content h3 {
  margin: 16px 0 6px !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
}

body.page--platform-shell.page--course-modules .course-modules__article.codal-content :is(p, ul, ol) {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

body.page--platform-shell.page--course-modules .course-modules__article.codal-content :is(li, p) {
  line-height: 1.5 !important;
}

body.page--platform-shell.page--course-modules .course-modules__article.codal-content :is(ul, ol) {
  display: grid !important;
  gap: 6px !important;
  padding-left: 20px !important;
}

body.page--platform-shell.page--course-modules .course-modules__article.codal-content table {
  display: table !important;
  table-layout: fixed !important;
  margin: 12px 0 !important;
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-control-radius) !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

body.page--platform-shell.page--course-modules .course-modules__article.codal-content thead {
  background: #f6f8fb !important;
}

body.page--platform-shell.page--course-modules .course-modules__article.codal-content :is(th, td) {
  padding: 8px 10px !important;
  border-bottom: 1px solid var(--platform-line) !important;
  color: var(--platform-ink) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  vertical-align: top !important;
}

body.page--platform-shell.page--course-modules .course-modules__article.codal-content th {
  font-weight: 800 !important;
}

body.page--platform-shell.page--course-modules .course-modules__article.codal-content tr:last-child td {
  border-bottom: 0 !important;
}

body.page--platform-shell.page--course-modules .course-modules__article.codal-content :is(blockquote, .callout, .lesson-callout, [class*="callout"], [class*="note"]) {
  margin: 10px 0 !important;
  padding: 10px 12px !important;
  border-left: 4px solid var(--platform-gold) !important;
  border-radius: var(--platform-control-radius) !important;
  background: #f8fbff !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.page--platform-shell.page--course-modules .course-modules__article.codal-content :is(strong, th) {
  color: var(--platform-ink) !important;
}

body.page--platform-shell.page--course-modules .course-modules__pager {
  gap: 8px !important;
  padding: 12px 14px !important;
  background: #ffffff !important;
}

body.page--platform-shell.page--course-modules .course-modules__pager-link {
  padding: 8px 10px !important;
}

@media (max-width: 860px) {
  body.page--platform-shell.page--course-modules .course-modules__masthead-grid,
  body.page--platform-shell.page--course-modules .course-modules__layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page--platform-shell.page--course-modules .course-modules__list {
    max-height: 18rem !important;
  }
}

@media (max-width: 560px) {
  body.page--platform-shell.page--course-modules .course-modules__masthead {
    padding: 10px !important;
  }

  body.page--platform-shell.page--course-modules .course-modules__context-strip {
    gap: 3px 6px !important;
    margin-bottom: 5px !important;
  }

  body.page--platform-shell.page--course-modules .course-modules__context-strip > .course-modules__eyebrow {
    padding-left: 0 !important;
    border-left: 0 !important;
  }

  body.page--platform-shell.page--course-modules .course-modules__progress {
    width: 100% !important;
  }

  body.page--platform-shell.page--course-modules .course-modules__unit-head,
  body.page--platform-shell.page--course-modules .course-modules__article,
  body.page--platform-shell.page--course-modules .course-modules__pager {
    padding: 12px !important;
  }

  body.page--platform-shell.page--course-modules .course-modules__unit-head h2 {
    font-size: clamp(21px, 6vw, 26px) !important;
  }

  body.page--platform-shell.page--course-modules .course-modules__article.codal-content h1 {
    font-size: 26px !important;
  }

  body.page--platform-shell.page--course-modules .course-modules__article.codal-content h2 {
    font-size: 20px !important;
  }

  body.page--platform-shell.page--course-modules .course-modules__article.codal-content h3 {
    font-size: 16px !important;
  }

  body.page--platform-shell.page--course-modules .course-modules__article.codal-content :is(th, td) {
    padding: 7px 6px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }
}

/* 2026-08-08 deep flashcard topic density pass: compact long scoped practice routes. */
body.page--platform-shell.page--platform-flashcards .flashcards-view {
  gap: 10px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view > .practice-cockpit-scopebar {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px) !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 14px 18px !important;
  border-left: 4px solid var(--platform-gold) !important;
  border-radius: var(--platform-radius) !important;
  background: #ffffff !important;
  box-shadow: var(--platform-shadow) !important;
}

body.page--platform-shell.page--platform-flashcards .practice-cockpit-scopebar__copy {
  gap: 6px !important;
}

body.page--platform-shell.page--platform-flashcards .practice-cockpit-scopebar__copy .aws-study-page__title {
  font-size: clamp(26px, 2.2vw, 34px) !important;
}

body.page--platform-shell.page--platform-flashcards .practice-cockpit-scopebar__copy .aws-study-page__lede {
  max-width: 680px !important;
  line-height: 1.4 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__scope-path {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px 8px !important;
  align-items: center !important;
  padding: 8px 10px !important;
  border-radius: var(--platform-control-radius) !important;
  overflow: visible !important;
  white-space: normal !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__scope-path :is(.breadcrumb__item, .breadcrumb__item--active) {
  max-width: min(100%, 320px) !important;
  min-height: 24px !important;
  padding: 3px 6px !important;
  border-radius: var(--platform-control-radius) !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__scope-path .breadcrumb__sep {
  margin: 0 !important;
  line-height: 1 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__filter-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: flex-end !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  min-height: 0 !important;
  background: #ffffff !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-filter {
  gap: 8px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-filter__group {
  gap: 6px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__filter-row .filter-option--pill span {
  min-height: 34px !important;
  padding: 8px 12px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__filter-row .reader-toggle {
  min-height: 34px !important;
  gap: 8px !important;
  padding: 3px 4px 3px 8px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__filter-row .reader-toggle__switch {
  width: 44px !important;
  height: 24px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__filter-row .reader-toggle__thumb {
  top: 3px !important;
  left: 3px !important;
  width: 18px !important;
  height: 18px !important;
}

body.page--platform-shell.page--platform-flashcards
  .flashcards-view__filter-row
  .reader-toggle__switch
  input:checked
  + .reader-toggle__track
  + .reader-toggle__thumb {
  transform: translateX(20px) !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__content-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px) !important;
  gap: 12px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__practice-main {
  padding: 14px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__practice-main > .flashcard-panel--question {
  padding-bottom: 14px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__practice-main > form > .flashcard-panel--answer {
  padding-top: 14px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__practice-main .practice-question-meta {
  margin-bottom: 8px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__practice-main .question-title,
body.page--platform-shell.page--platform-flashcards .flashcards-view__practice-main .editor__title {
  margin-bottom: 8px !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__practice-main .question-body {
  margin-bottom: 14px !important;
  font-size: clamp(21px, 1.6vw, 29px) !important;
  line-height: 1.14 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__practice-main .mcq-options {
  gap: 8px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__practice-main .mcq-option {
  min-height: 52px !important;
  padding: 10px 12px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__actions {
  gap: 8px !important;
  margin-top: 12px !important;
  padding-top: 12px !important;
}

body.page--platform-shell.page--platform-flashcards .practice-answer-rail {
  gap: 10px !important;
}

body.page--platform-shell.page--platform-flashcards .practice-answer-workspace__head h2,
body.page--platform-shell.page--platform-flashcards .practice-design-card h2,
body.page--platform-shell.page--platform-flashcards .flashcards-view__recent-title {
  font-size: clamp(18px, 1.6vw, 24px) !important;
  line-height: 1.16 !important;
}

body.page--platform-shell.page--platform-flashcards .practice-answer-workspace__note {
  margin-top: 10px !important;
}

body.page--platform-shell.page--platform-flashcards .practice-answer-workspace__metrics {
  margin-top: 10px !important;
}

body.page--platform-shell.page--platform-flashcards .practice-answer-workspace__metrics > div {
  min-height: 68px !important;
}

@media (max-width: 1180px) {
  body.page--platform-shell.page--platform-flashcards .flashcards-view > .practice-cockpit-scopebar,
  body.page--platform-shell.page--platform-flashcards .flashcards-view__content-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 680px) {
  body.page--platform-shell.page--platform-flashcards .flashcards-view > .practice-cockpit-scopebar {
    padding: 12px !important;
  }

  body.page--platform-shell.page--platform-flashcards .practice-cockpit-scopebar__copy .aws-study-page__title {
    font-size: clamp(25px, 7vw, 30px) !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcards-view__scope-path :is(.breadcrumb__item, .breadcrumb__item--active) {
    max-width: 100% !important;
    padding-inline: 4px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcards-view__filter-row {
    justify-content: flex-end !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcard-filter,
  body.page--platform-shell.page--platform-flashcards .reader-toggle {
    width: auto !important;
    justify-content: space-between !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcard-filter {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }

  body.page--platform-shell.page--platform-flashcards .filter-option--pill {
    flex: 0 0 auto !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcards-view__practice-main .question-body {
    font-size: clamp(20px, 5.7vw, 24px) !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcards-view__actions {
    grid-template-columns: 1fr !important;
  }
}

/* 2026-08-08 mobile docs toolbar flatten pass: keep utility drawers in the compact social style. */
@media (max-width: 768px) {
  body.page--platform-shell:is(
    .page--platform-search,
    .page--public-search,
    .page--platform-discussions,
    .page--public-discussions
  ) .mobile-docs-toolbar__button {
    min-height: 40px !important;
    padding: 10px 12px !important;
    border: 1px solid var(--platform-line) !important;
    border-radius: var(--platform-control-radius) !important;
    background: #ffffff !important;
    box-shadow: var(--platform-shadow) !important;
  }
}

/* 2026-08-08 utility public page density pass: keep legal, jobs, and contact compact. */
body.page--platform-shell:is(.page--platform-jobs, .page--public-legal, .page--platform-contact-us) .page-main--platform {
  flex: 0 0 auto !important;
  min-height: auto !important;
  gap: 12px !important;
  padding-bottom: 20px !important;
}

body.page--platform-shell:is(.page--platform-jobs, .page--public-legal, .page--platform-contact-us) .footer {
  margin-top: 12px !important;
  padding: 16px 24px !important;
}

body.page--platform-shell:is(.page--platform-jobs, .page--public-legal) .public-hero {
  grid-template-columns: minmax(0, 1fr) minmax(210px, 270px) !important;
  gap: 10px !important;
  margin-bottom: 10px !important;
}

body.page--platform-shell:is(.page--platform-jobs, .page--public-legal) .public-hero__content {
  min-height: 0 !important;
  padding: 16px 18px !important;
}

body.page--platform-shell:is(.page--platform-jobs, .page--public-legal) .public-hero__panel {
  min-height: 0 !important;
  align-content: center !important;
  padding: 14px !important;
}

body.page--platform-shell:is(.page--platform-jobs, .page--public-legal) .public-hero h1 {
  font-size: clamp(30px, 2.6vw, 38px) !important;
  line-height: 1.08 !important;
}

body.page--platform-shell:is(.page--platform-jobs, .page--public-legal) .public-hero p {
  max-width: 780px !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

body.page--platform-shell:is(.page--platform-jobs, .page--public-legal) .public-hero__panel strong {
  font-size: clamp(30px, 3vw, 42px) !important;
  line-height: 1 !important;
  overflow-wrap: anywhere !important;
}

body.page--platform-shell.page--platform-jobs .public-empty-state {
  padding: 14px 16px !important;
}

body.page--platform-shell.page--platform-jobs .public-empty-state h2,
body.page--platform-shell.page--public-legal .public-legal-article h2 {
  font-size: clamp(22px, 2vw, 28px) !important;
  line-height: 1.15 !important;
}

body.page--platform-shell.page--public-legal .public-legal-shell {
  gap: 10px !important;
}

body.page--platform-shell.page--public-legal .public-legal-article {
  padding: 14px 16px !important;
}

body.page--platform-shell.page--public-legal .public-legal-aside {
  padding: 12px !important;
}

body.page--platform-shell.page--public-legal .public-legal-article :is(p, li, .terms-article__desc) {
  line-height: 1.5 !important;
}

body.page--platform-shell.page--public-legal .public-legal-article section {
  padding-top: 10px !important;
}

body.page--platform-shell.page--public-legal .public-legal-article section + section {
  padding-top: 12px !important;
}

body.page--platform-shell.page--platform-contact-us .platform-contact {
  min-height: 0 !important;
  gap: 12px !important;
  padding: 14px 16px !important;
}

body.page--platform-shell.page--platform-contact-us .platform-contact__header {
  gap: 8px !important;
}

body.page--platform-shell.page--platform-contact-us .platform-contact__title {
  font-size: clamp(28px, 2.4vw, 36px) !important;
  line-height: 1.08 !important;
}

body.page--platform-shell.page--platform-contact-us .platform-contact__copy {
  line-height: 1.45 !important;
}

body.page--platform-shell.page--platform-contact-us .platform-contact__capabilities {
  gap: 10px !important;
}

body.page--platform-shell.page--platform-contact-us .platform-contact__capabilities article {
  min-height: 72px !important;
  padding: 12px !important;
}

body.page--platform-shell.page--platform-contact-us .platform-contact__capabilities strong {
  font-size: clamp(28px, 2.4vw, 34px) !important;
  line-height: 1 !important;
}

body.page--platform-shell.page--platform-contact-us .platform-contact__issue-card {
  gap: 12px !important;
  padding: 12px !important;
}

body.page--platform-shell.page--platform-contact-us .platform-contact__issue-head {
  gap: 10px !important;
}

body.page--platform-shell.page--platform-contact-us .platform-contact__field :is(select, textarea) {
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell.page--platform-contact-us .platform-contact__field select {
  min-height: 40px !important;
  padding: 0 12px !important;
}

body.page--platform-shell.page--platform-contact-us .platform-contact__field textarea {
  min-height: 112px !important;
  padding: 12px !important;
}

body.page--platform-shell.page--platform-contact-us .platform-contact__chat-mount .sales-chat__panel {
  max-height: min(720px, calc(100vh - var(--platform-topbar-height, 78px) - 32px)) !important;
}

body.page--platform-shell.page--platform-contact-us .platform-contact__chat-mount .sales-chat__messages {
  min-height: 0 !important;
}

@media (max-width: 900px) {
  body.page--platform-shell:is(.page--platform-jobs, .page--public-legal) .public-hero {
    grid-template-columns: 1fr !important;
  }

  body.page--platform-shell.page--platform-contact-us .page-main--platform {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  body.page--platform-shell:is(.page--platform-jobs, .page--public-legal, .page--platform-contact-us) .page-main--platform {
    padding-bottom: 16px !important;
  }

  body.page--platform-shell:is(.page--platform-jobs, .page--public-legal) .public-hero__content,
  body.page--platform-shell:is(.page--platform-jobs, .page--public-legal) .public-hero__panel,
  body.page--platform-shell.page--platform-contact-us .platform-contact,
  body.page--platform-shell.page--platform-contact-us .platform-contact__issue-card {
    padding: 12px !important;
  }

  body.page--platform-shell.page--platform-contact-us .platform-contact__capabilities {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.page--platform-shell.page--platform-contact-us .platform-contact__capabilities strong {
    font-size: clamp(24px, 8vw, 30px) !important;
  }
}

/* 2026-08-08 utility action treatment pass: keep practice and support actions compact and predictable. */
body.page--platform-shell:is(.page--platform-real-exam-practice, .page--platform-contact-us) :is(
  .aws-practice-actions,
  .platform-contact__actions
) {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  align-content: flex-start !important;
  gap: 8px !important;
  margin-top: 10px !important;
}

body.page--platform-shell:is(.page--platform-real-exam-practice, .page--platform-contact-us) :is(
  .aws-button,
  .aws-feature-ghost-link,
  .platform-contact__actions .btn,
  .sales-chat__action
) {
  display: inline-flex !important;
  min-height: 40px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 12px !important;
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-control-radius) !important;
  background: #ffffff !important;
  color: var(--platform-social-blue) !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  text-align: center !important;
  text-decoration: none !important;
  transform: none !important;
}

body.page--platform-shell:is(.page--platform-real-exam-practice, .page--platform-contact-us) :is(
  .aws-button--primary,
  .platform-contact__actions .btn--primary
) {
  border-color: #d99a16 !important;
  background: linear-gradient(180deg, var(--platform-gold-2), var(--platform-gold)) !important;
  color: #111827 !important;
}

body.page--platform-shell:is(.page--platform-real-exam-practice, .page--platform-contact-us) :is(
  .aws-button--ghost,
  .aws-feature-ghost-link,
  .platform-contact__actions .btn--outline,
  .sales-chat__action
):is(:hover, :focus-visible) {
  border-color: #cfe1f7 !important;
  background: #eef3ff !important;
  color: var(--platform-social-blue) !important;
  outline: 2px solid rgba(10, 102, 194, 0.16) !important;
  outline-offset: 2px !important;
  transform: none !important;
}

body.page--platform-shell.page--platform-real-exam-practice .aws-button:is(.is-disabled, [aria-disabled="true"], :disabled) {
  border-color: var(--platform-line) !important;
  background: #f7f8fa !important;
  color: var(--platform-muted) !important;
  opacity: 0.62 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

body.page--platform-shell.page--platform-real-exam-practice .aws-icon-button {
  width: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  border-color: var(--platform-line) !important;
  background: #ffffff !important;
  color: var(--platform-social-blue) !important;
  box-shadow: none !important;
}

body.page--platform-shell.page--platform-real-exam-practice .aws-icon-button svg {
  width: 16px !important;
  height: 16px !important;
}

body.page--platform-shell.page--platform-real-exam-practice :is(
  .aws-mode-tabs,
  .aws-panel-tabs,
  .aws-confidence-row
) {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

body.page--platform-shell.page--platform-real-exam-practice :is(
  .aws-mode-tabs button,
  .aws-panel-tabs button,
  .aws-confidence-row button
) {
  display: inline-flex !important;
  min-height: 34px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 10px !important;
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-control-radius) !important;
  background: #ffffff !important;
  color: var(--platform-ink) !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  transform: none !important;
}

body.page--platform-shell.page--platform-real-exam-practice :is(
  .aws-mode-tabs button.is-active,
  .aws-panel-tabs button.is-active,
  .aws-confidence-row button.is-selected,
  .aws-confidence-row button[aria-pressed="true"]
) {
  border-color: #cfe1f7 !important;
  background: #eef3ff !important;
  color: var(--platform-social-blue) !important;
}

body.page--platform-shell.page--platform-contact-us :is(
  .platform-contact__context-pill,
  .platform-contact__field :is(select, textarea)
) {
  border-radius: var(--platform-control-radius) !important;
  box-shadow: none !important;
}

body.page--platform-shell.page--platform-contact-us .platform-contact__context-pill {
  min-height: 28px !important;
  padding: 5px 10px !important;
  border: 1px solid #cfe1f7 !important;
  background: #eef3ff !important;
  color: var(--platform-social-blue) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body.page--platform-shell:is(.page--platform-real-exam-practice, .page--platform-contact-us) :is(
  .platform-contact__details a,
  .aws-small-note a
) {
  color: var(--platform-social-blue) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  text-underline-offset: 3px !important;
}

body.page--platform-shell:is(.page--platform-real-exam-practice, .page--platform-contact-us) :is(
  .platform-contact__details a,
  .aws-small-note a
):is(:hover, :focus-visible) {
  text-decoration: underline !important;
}

/* discussion detail density pass: keep threads compact like the social workspace */
body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs {
  display: grid !important;
  gap: 12px !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__shell {
  gap: 12px !important;
  align-items: start !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__content,
body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) :is(
  .discussion-docs__thread-list,
  .discussion-docs__comments,
  .discussion-docs__form-stack,
  .discussion-docs__comment-replies
) {
  gap: 8px !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) :is(
  .discussion-docs__sidebar-card,
  .discussion-docs__lead,
  .discussion-docs__thread-card,
  .discussion-docs__thread-detail,
  .discussion-docs__comment,
  .discussion-docs__empty
) {
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-radius) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs :is(
  .discussion-docs__sidebar-card,
  .discussion-docs__lead,
  .discussion-docs__thread-card,
  .discussion-docs__thread-detail,
  .discussion-docs__comment,
  .discussion-docs__empty
) {
  box-shadow: none !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) :is(
  .discussion-docs__lead,
  .discussion-docs__thread-card,
  .discussion-docs__thread-detail,
  .discussion-docs__comment,
  .discussion-docs__empty
) {
  gap: 8px !important;
  margin: 0 !important;
  padding: 12px 14px !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__sidebar-card {
  display: grid !important;
  gap: 10px !important;
  padding: 12px !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__panel {
  gap: 8px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid var(--platform-line) !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__panel:last-child {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) :is(
  .discussion-docs__composer-form,
  .discussion-docs__reply-form,
  .discussion-docs__field
) {
  min-width: 0 !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__field {
  display: grid !important;
  gap: 4px !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__composer-form {
  gap: 7px !important;
  padding: 0 !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__form-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__form-actions .btn {
  flex: 0 1 auto !important;
  max-width: 100% !important;
  min-height: 34px !important;
  padding: 0 10px !important;
  white-space: normal !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) :is(
  .discussion-docs__lead-title,
  .discussion-docs__section-title,
  .discussion-docs__thread-title
) {
  font-size: clamp(19px, 2vw, 24px) !important;
  line-height: 1.15 !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) :is(
  .discussion-docs__lead-copy,
  .discussion-docs__thread-excerpt,
  .discussion-docs__thread-body,
  .discussion-docs__comment-body,
  .discussion-docs__empty-copy,
  .discussion-docs__panel-note
) {
  margin: 0 !important;
  color: var(--platform-muted) !important;
  line-height: 1.55 !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) :is(
  .discussion-docs__thread-meta,
  .discussion-docs__comment-meta,
  .discussion-docs__thread-footer,
  .discussion-docs__section-head,
  .discussion-docs__button-row,
  .discussion-docs__comment-actions
) {
  gap: 8px !important;
  align-items: center !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) :is(
  .discussion-docs__button-row,
  .discussion-docs__comment-actions
) {
  justify-content: flex-start !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) :is(
  .discussion-docs__button-row form,
  .discussion-docs__comment-actions form
) {
  margin: 0 !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs :is(
  .btn,
  .discussion-docs__thread-open,
  .codal-docs__breadcrumb-link
) {
  min-height: 38px !important;
  border-radius: var(--platform-control-radius) !important;
  box-shadow: none !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs :is(
  .btn,
  .discussion-docs__thread-open
) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 12px !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs .discussion-docs__thread-open {
  border: 1px solid #cfe1f7 !important;
  background: #eef3ff !important;
  color: var(--platform-social-blue) !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs :is(
  .discussion-docs__metric,
  .discussion-docs__status-marker
) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 24px !important;
  max-width: 100% !important;
  padding: 3px 8px !important;
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-control-radius) !important;
  background: #f7f8fa !important;
  color: var(--platform-muted) !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs .discussion-docs__metric--votes {
  border-color: #cfe1f7 !important;
  background: #eef3ff !important;
  color: var(--platform-social-blue) !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs .discussion-docs__status-marker--accepted {
  border-color: #b8edd0 !important;
  background: #e7f9ef !important;
  color: #08724b !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs .discussion-docs__status-marker--neutral {
  background: #f7f8fa !important;
  color: #45516a !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs :is(
  .discussion-docs__vote-button,
  .discussion-docs__accept-button
) {
  min-width: 86px !important;
  min-height: 34px !important;
  padding: 0 10px !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs :is(
  input.editor__textarea,
  select.editor__textarea,
  textarea.editor__textarea
) {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 40px !important;
  padding: 9px 11px !important;
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-control-radius) !important;
  background: #f7f8fa !important;
  color: var(--platform-ink) !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  font-size: 14px !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs textarea.editor__textarea {
  min-height: 84px !important;
  line-height: 1.45 !important;
  resize: vertical !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__reply-form textarea.editor__textarea {
  min-height: 62px !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__reply-form {
  display: grid !important;
  gap: 7px !important;
  margin-top: 2px !important;
  padding-top: 8px !important;
  border-top: 1px solid var(--platform-line) !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__comment {
  border-left: 3px solid transparent !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__comment[data-depth='1'] {
  margin-left: 10px !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__comment[data-depth='2'],
body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__comment[data-depth='3'],
body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__comment[data-depth='4'] {
  margin-left: 16px !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__comment-replies {
  padding-left: 10px !important;
  border-left: 1px solid var(--platform-line) !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__comment--accepted {
  border-left-color: #0f9f6e !important;
  background: #f4fbf7 !important;
}

body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs :is(.badge, .question-meta) {
  border-radius: var(--platform-control-radius) !important;
  letter-spacing: 0 !important;
}

@media (max-width: 640px) {
  body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs,
  body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__shell,
  body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) :is(
    .discussion-docs__thread-list,
    .discussion-docs__comments,
    .discussion-docs__form-stack,
    .discussion-docs__comment-replies
  ) {
    gap: 8px !important;
  }

  body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) :is(
    .discussion-docs__sidebar-card,
    .discussion-docs__lead,
    .discussion-docs__thread-card,
    .discussion-docs__thread-detail,
    .discussion-docs__comment,
    .discussion-docs__empty
  ) {
    padding: 10px !important;
  }

  body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs :is(
    .btn,
    .discussion-docs__thread-open
  ) {
    flex: 1 1 132px !important;
    min-width: 0 !important;
  }

  body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) :is(
    .discussion-docs__button-row,
    .discussion-docs__comment-actions,
    .discussion-docs__form-actions,
    .discussion-docs__thread-footer
  ) {
    align-items: stretch !important;
  }

  body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__form-actions .btn {
    flex: 1 1 124px !important;
    min-width: 0 !important;
  }

  body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs :is(
    .discussion-docs__vote-button,
    .discussion-docs__accept-button
  ) {
    flex: 1 1 112px !important;
    min-width: 0 !important;
  }

  body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__comment[data-depth] {
    margin-left: 0 !important;
  }

  body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__comment-replies {
    padding-left: 8px !important;
  }
}

/* search results density pass: keep search scannable and compact */
body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs {
  display: grid !important;
  gap: 12px !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) :is(
  .search-docs__prompt-form,
  .search-docs__controls,
  .search-docs__shell,
  .search-docs__results,
  .search-docs__result-list,
  .search-docs__links
) {
  gap: 8px !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) :is(
  .search-docs__prompt-shell,
  .search-docs__content,
  .search-docs__result,
  .search-docs__empty,
  .search-docs__sidebar-card
) {
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-radius) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs :is(
  .search-docs__prompt-shell,
  .search-docs__content,
  .search-docs__result,
  .search-docs__empty,
  .search-docs__sidebar-card
) {
  box-shadow: none !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) :is(
  .search-docs__prompt-shell,
  .search-docs__content,
  .search-docs__empty,
  .search-docs__sidebar-card
) {
  padding: 12px !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs .search-docs__content {
  min-height: 0 !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__prompt {
  min-height: 46px !important;
  gap: 8px !important;
  padding: 0 12px !important;
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-control-radius) !important;
  background: #f7f8fa !important;
  box-shadow: none !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs .search-docs__prompt {
  border-radius: var(--platform-control-radius) !important;
  box-shadow: none !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__prompt-input {
  min-width: 0 !important;
  font-size: 14px !important;
  font-weight: 650 !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__filters {
  display: flex !important;
  min-width: 0 !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__controls {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 8px !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__sort-form {
  display: flex !important;
  min-width: 0 !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__sort-label {
  color: #476173 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__sort-select {
  width: auto !important;
  min-width: 128px !important;
  min-height: 36px !important;
  padding: 0 32px 0 10px !important;
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-control-radius) !important;
  background-color: #ffffff !important;
  color: var(--platform-ink) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs :is(
  .search-docs__filters .btn,
  .search-docs__result-actions .btn,
  .search-docs__link,
  .search-docs__prompt-form .btn,
  .search-docs__sort-form .btn
) {
  min-height: 36px !important;
  border-radius: var(--platform-control-radius) !important;
  box-shadow: none !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__link {
  display: flex !important;
  align-items: center !important;
  padding: 7px 10px !important;
  background: #f7f8fa !important;
  color: var(--platform-ink) !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__results-head {
  gap: 8px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid var(--platform-line) !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__result {
  min-height: 0 !important;
  gap: 8px !important;
  padding: 12px !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs .search-docs__result {
  min-height: 0 !important;
  padding: 12px !important;
  box-shadow: none !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs .search-docs__result:not(#platform-density-guard) {
  min-height: 0 !important;
  padding: 12px !important;
  box-shadow: none !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__result:first-child {
  padding-top: 12px !important;
  border-top: 1px solid var(--platform-line) !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) :is(
  .search-docs__result-title,
  .search-docs__results-title,
  .search-docs__empty-title
) {
  font-size: clamp(18px, 1.8vw, 22px) !important;
  line-height: 1.18 !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) :is(
  .search-docs__result-text,
  .search-docs__result-citations,
  .search-docs__empty-copy,
  .search-docs__panel-copy
) {
  margin: 0 !important;
  color: var(--platform-muted) !important;
  line-height: 1.5 !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__result-citations {
  padding-top: 6px !important;
  border-top: 1px solid #e7ecf3 !important;
  font-size: 12px !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__result-meta {
  display: flex !important;
  min-width: 0 !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__result-source {
  display: inline-flex !important;
  min-width: 0 !important;
  max-width: 100% !important;
  align-items: baseline !important;
  gap: 4px !important;
  padding: 3px 6px !important;
  white-space: normal !important;
  text-align: left !important;
  overflow-wrap: anywhere !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__meta-label,
body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__citation-label {
  flex: 0 0 auto !important;
  color: #476173 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__meta-value,
body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__citation-text {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__result-actions {
  gap: 8px !important;
  margin-top: 2px !important;
  padding: 0 !important;
  justify-content: flex-start !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__empty {
  gap: 8px !important;
  margin: 0 !important;
  text-align: left !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs :is(.badge, .question-meta) {
  border-radius: var(--platform-control-radius) !important;
  letter-spacing: 0 !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__result-citations {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 4px 6px !important;
  padding: 6px 8px !important;
  border: 1px solid #e7ecf3 !important;
  border-radius: var(--platform-control-radius) !important;
  background: #f7f8fa !important;
  text-align: left !important;
}

@media (max-width: 640px) {
  body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs,
  body.page--platform-shell:is(.page--platform-search, .page--public-search) :is(
    .search-docs__prompt-form,
    .search-docs__controls,
    .search-docs__shell,
    .search-docs__results,
    .search-docs__result-list,
    .search-docs__links
  ) {
    gap: 8px !important;
  }

  body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__prompt-form {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__controls {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__filters {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__prompt {
    min-height: 44px !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs .search-docs__prompt {
    min-height: 44px !important;
    box-shadow: none !important;
  }

  body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__prompt-name {
    display: none !important;
  }

  body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs :is(
    .search-docs__prompt-shell,
    .search-docs__content,
    .search-docs__result,
    .search-docs__empty,
    .search-docs__sidebar-card
  ) {
    padding: 10px !important;
  }

  body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs :is(
    .search-docs__filters .btn,
    .search-docs__result-actions .btn,
    .search-docs__link,
    .search-docs__prompt-form .btn,
    .search-docs__sort-form .btn
  ) {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__sort-form {
    display: grid !important;
    grid-template-columns: auto minmax(136px, 1fr) minmax(86px, auto) !important;
    width: 100% !important;
  }

  body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__sort-select {
    width: 100% !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__sort-apply {
    width: auto !important;
  }

  body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__result-source {
    width: 100% !important;
  }

  body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__result-citations {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 640px) {
  body.page--platform-shell:is(.page--platform-real-exam-practice, .page--platform-contact-us) :is(
    .aws-practice-actions .aws-button,
    .aws-practice-actions .aws-feature-ghost-link,
    .platform-contact__actions .btn
  ) {
    flex: 1 1 152px !important;
    min-width: 0 !important;
  }
}

/* mobile navigation trigger standardization: compact social workspace controls */
@media (max-width: 720px) {
  body.page--platform-shell {
    --platform-mobile-trigger-size: 44px;
    --platform-mobile-control-radius: 10px;
    --platform-topbar-height: 64px;
    --platform-mobile-bottom-nav-height: 72px;
  }

  .page--platform-shell .platform-topbar {
    align-content: center !important;
    width: auto !important;
    max-width: none !important;
    height: var(--platform-topbar-height) !important;
    padding: 10px 14px !important;
    overflow: visible !important;
  }

  .page--platform-shell .page-main--platform {
    padding-top: calc(var(--platform-topbar-height) + 10px) !important;
  }

  .page--platform-shell .platform-search {
    width: var(--platform-mobile-trigger-size) !important;
    min-width: var(--platform-mobile-trigger-size) !important;
    max-width: var(--platform-mobile-trigger-size) !important;
    height: var(--platform-mobile-trigger-size) !important;
    min-height: var(--platform-mobile-trigger-size) !important;
    grid-template-columns: 1fr !important;
    place-items: center !important;
    padding: 0 !important;
    border-radius: var(--platform-mobile-control-radius) !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  .page--platform-shell .platform-search__label {
    display: none !important;
  }

  .page--platform-shell .platform-search__icon {
    width: 16px !important;
    height: 16px !important;
  }

  .page--platform-shell .platform-search__icon::after {
    width: 7px !important;
    margin: 10px 0 0 11px !important;
  }

  .page--platform-shell .platform-bottom-nav {
    min-height: 60px !important;
    padding: 6px !important;
    border-radius: 12px !important;
  }

  .page--platform-shell .platform-bottom-nav__link,
  .page--platform-shell .platform-bottom-nav__button {
    min-height: var(--platform-mobile-trigger-size) !important;
    padding: 5px 2px !important;
    border-radius: var(--platform-mobile-control-radius) !important;
  }

  .page--platform-shell .platform-bottom-nav__icon {
    width: 20px !important;
    height: 20px !important;
  }

  .page--platform-shell .platform-bottom-nav__icon .platform-icon {
    width: 16px !important;
    height: 16px !important;
  }

  .page--platform-shell .platform-mobile-more__sheet {
    gap: 10px !important;
    margin: 0 8px calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 12px !important;
    border-radius: 12px !important;
  }

  .page--platform-shell .platform-mobile-more__head {
    align-items: center !important;
    gap: 10px !important;
  }

  .page--platform-shell .platform-mobile-more__close {
    width: var(--platform-mobile-trigger-size) !important;
    height: var(--platform-mobile-trigger-size) !important;
    border-radius: var(--platform-mobile-control-radius) !important;
    background: #ffffff !important;
    font-size: 22px !important;
  }

  .page--platform-shell .platform-mobile-site-switcher {
    margin-bottom: 10px !important;
  }

  .page--platform-shell .platform-mobile-site-switcher__trigger {
    grid-template-columns: 36px minmax(0, 1fr) 20px !important;
    gap: 10px !important;
    min-height: 52px !important;
    padding: 8px !important;
    border-radius: 12px !important;
  }

  .page--platform-shell .platform-mobile-site-switcher__trigger .platform-sidebar__mark {
    width: 36px !important;
    height: 36px !important;
    border-radius: var(--platform-mobile-control-radius) !important;
    box-shadow: none !important;
  }

  .page--platform-shell .platform-mobile-site-switcher__copy small {
    font-size: 10px !important;
    letter-spacing: 0 !important;
  }

  .page--platform-shell .platform-mobile-site-switcher__copy strong {
    font-size: 13px !important;
  }

  .page--platform-shell .platform-mobile-site-switcher__trigger .platform-sidebar__switcher-caret {
    width: 20px !important;
    height: 20px !important;
  }
}

/* cross-route mobile text fit pass: keep dashboard, flashcards, and quizzes overflow-safe */
body.page--platform-shell:is(.page--platform-home, .page--platform-flashcards, .page--platform-quizzes) :is(
  .platform-dashboard,
  .platform-dashboard__hero-grid,
  .platform-dashboard__grid,
  .platform-topbar,
  .platform-topbar__workspace-controls,
  .platform-public-actions,
  .aws-study-page,
  .aws-study-page__topbar,
  .flashcards-view,
  .flashcards-view__content-layout,
  .flashcards-view__practice-main,
  .quiz-dashboard-hero,
  .quiz-dashboard,
  .quiz-dashboard-grid,
  .quiz-dashboard-actions,
  .platform-command-card,
  .platform-panel,
  .practice-design-card,
  .flashcard-panel,
  .quiz-dashboard-action-card,
  .quiz-dashboard-panel
) {
  min-width: 0 !important;
  max-width: 100% !important;
}

body.page--platform-shell:is(.page--platform-home, .page--platform-flashcards, .page--platform-quizzes) :is(
  h1,
  h2,
  h3,
  h4,
  p,
  li,
  dt,
  dd,
  .platform-kicker,
  .aws-feature-eyebrow,
  .platform-command-card__next,
  .platform-command-card__next p,
  .aws-study-page__lede,
  .question-body,
  .feature-card__desc,
  .quiz-dashboard-topic-row__copy,
  .quiz-dashboard-topic-row__copy strong,
  .flashcards-view__recent-title,
  .flashcards-view__recent-question-button,
  .practice-design-card__steps strong,
  .practice-question-meta,
  .badge
) {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

body.page--platform-shell:is(.page--platform-home, .page--platform-flashcards, .page--platform-quizzes) :is(
  .btn,
  .aws-button,
  .platform-command-card__actions .btn,
  .flashcards-empty-cockpit__actions .btn,
  .flashcards-view__actions .btn,
  .quiz-dashboard-action-card .btn,
  .quiz-dashboard-tabs__links a,
  .quiz-dashboard-topic-row__button
) {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
  text-align: center !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__filter-row .reader-toggle {
  min-height: 40px !important;
  overflow: visible !important;
  line-height: 1.2 !important;
}

body.page--platform-shell:is(.page--platform-home, .page--platform-flashcards, .page--platform-quizzes) :is(
  .platform-command-card__actions,
  .flashcards-empty-cockpit__actions,
  .flashcards-view__actions,
  .quiz-dashboard-action-card__links,
  .quiz-dashboard-tabs__links,
  .quiz-dashboard-actions
) {
  min-width: 0 !important;
  max-width: 100% !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

@media (min-width: 721px) and (max-width: 900px) {
  body.page--platform-shell:is(.page--platform-home, .page--platform-flashcards, .page--platform-quizzes) .platform-topbar {
    align-items: center !important;
    display: grid !important;
    flex-wrap: nowrap !important;
    grid-template-columns: 44px minmax(0, 1fr) auto !important;
    gap: 10px !important;
    min-height: var(--platform-topbar-height) !important;
    overflow: visible !important;
  }

  body.page--platform-shell:is(.page--platform-home, .page--platform-flashcards, .page--platform-quizzes) .platform-search {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    place-items: center !important;
  }

  body.page--platform-shell:is(.page--platform-home, .page--platform-flashcards, .page--platform-quizzes) .platform-search :is(.platform-search__label, kbd) {
    display: none !important;
  }

  body.page--platform-shell:is(.page--platform-home, .page--platform-flashcards, .page--platform-quizzes) .platform-topbar__workspace-controls {
    flex: 1 1 auto !important;
    justify-content: flex-end !important;
  }

  body.page--platform-shell:is(.page--platform-home, .page--platform-flashcards, .page--platform-quizzes) .platform-public-actions {
    flex: 0 0 auto !important;
  }
}

@media (max-width: 640px) {
  body.page--platform-shell:is(.page--platform-home, .page--platform-flashcards, .page--platform-quizzes) :is(
    .platform-command-card__actions .btn,
    .flashcards-empty-cockpit__actions .btn,
    .flashcards-view__actions .btn,
    .quiz-dashboard-action-card .btn,
    .quiz-dashboard-tabs__links a,
    .quiz-dashboard-topic-row__button
  ) {
    min-height: 36px !important;
    padding: 8px 10px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcards-view__filter-row .reader-toggle {
    min-height: 44px !important;
    padding: 8px 10px !important;
  }

  body.page--platform-shell:is(.page--platform-home, .page--platform-flashcards, .page--platform-quizzes) :is(
    .platform-command-card__next h1,
    .aws-study-page__title,
    .quiz-dashboard-heading h1
  ) {
    font-size: 28px !important;
    line-height: 1.14 !important;
    letter-spacing: 0 !important;
  }

  body.page--platform-shell.page--platform-quizzes .quiz-dashboard-topic-row__button {
    grid-template-columns: 30px minmax(0, 1fr) 18px 34px 14px !important;
    align-items: center !important;
  }

  body.page--platform-shell.page--platform-quizzes .quiz-dashboard-topic-row__copy {
    min-width: 0 !important;
  }
}

/* 2026-08-08 study empty state standardization pass: compact next-action empty states. */
body.page--platform-shell:is(.page--platform-flashcards, .page--platform-quizzes, .page--platform-search, .page--platform-discussions) :is(
  .flashcards-empty-cockpit,
  .flashcards-empty-cockpit__main,
  .flashcards-empty-cockpit__rail,
  .flashcards-view__recent-empty,
  .quiz-dashboard-empty,
  .search-docs__empty,
  .discussion-docs__empty
) {
  min-height: 0 !important;
  border-radius: var(--platform-control-radius) !important;
  box-shadow: none !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-empty-cockpit {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px) !important;
  gap: 10px !important;
  align-items: start !important;
}

body.page--platform-shell.page--platform-flashcards :is(
  .flashcards-empty-cockpit__main,
  .flashcards-empty-cockpit__rail
) {
  padding: 12px 14px !important;
  border: 1px solid var(--platform-line) !important;
  background: #ffffff !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-empty-cockpit__main h2 {
  max-width: 62ch !important;
  margin: 6px 0 0 !important;
  font-size: 24px !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-empty-cockpit__main > p:not(.aws-feature-eyebrow) {
  max-width: 68ch !important;
  margin: 8px 0 0 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-empty-cockpit__rail h2 {
  margin: 4px 0 0 !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-empty-cockpit__rail p {
  margin: 6px 0 0 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-empty-cockpit__rail .practice-design-card__steps {
  gap: 6px !important;
  margin-top: 8px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-empty-cockpit__rail .practice-design-card__steps span {
  min-height: 0 !important;
  padding: 7px 8px !important;
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-empty-cockpit__actions {
  gap: 8px !important;
  align-items: center !important;
  margin-top: 10px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-empty-cockpit__actions .btn {
  min-height: 36px !important;
  padding: 8px 10px !important;
  border-radius: var(--platform-control-radius) !important;
  box-shadow: none !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__recent-empty,
body.page--platform-shell:is(.page--platform-quizzes, .page--public-quizzes) .quiz-dashboard-empty {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-top: 1px solid var(--platform-line) !important;
  background: transparent !important;
  color: var(--platform-muted) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__recent-empty {
  border: 1px solid var(--platform-line) !important;
  background: #ffffff !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__empty,
body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__empty {
  display: grid !important;
  align-content: start !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid var(--platform-line) !important;
  background: #ffffff !important;
  text-align: left !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs .search-docs__empty:not(#platform-density-guard),
body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs .discussion-docs__empty:not(#platform-density-guard) {
  padding: 12px 14px !important;
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__empty-title,
body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__empty-title {
  margin: 0 !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__empty-copy,
body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__empty-copy {
  max-width: 68ch !important;
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

@media (max-width: 640px) {
  body.page--platform-shell.page--platform-flashcards .flashcards-empty-cockpit {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcards-empty-cockpit__actions .btn {
    flex: 1 1 150px !important;
  }

  body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs__empty,
  body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs__empty {
    padding: 10px 12px !important;
  }

  body.page--platform-shell:is(.page--platform-search, .page--public-search) .search-docs .search-docs__empty:not(#platform-density-guard),
  body.page--platform-shell:is(.page--platform-discussions, .page--public-discussions) .discussion-docs .discussion-docs__empty:not(#platform-density-guard) {
    padding: 10px 12px !important;
  }
}

/* 2026-08-08 certification action normalization pass: compact list/detail CTAs. */
body.page--platform-shell.page--platform-certifications :is(
  .certification-hero,
  .certification-card,
  .certification-answer-grid section,
  .certification-source-panel,
  .certification-next-panel,
  .certification-question-card,
  .certification-integrity-note
):not(#platform-certification-action-normalization-guard) {
  box-shadow: none !important;
}

body.page--platform-shell.page--platform-certifications .certification-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

body.page--platform-shell.page--platform-certifications :is(
  .certification-card h2,
  .certification-answer-grid h3,
  .certification-source-panel h2,
  .certification-next-panel h2,
  .certification-question-card h3
) {
  margin-bottom: 8px !important;
}

body.page--platform-shell.page--platform-certifications .certification-card__meta {
  gap: 6px !important;
  margin-bottom: 4px !important;
}

body.page--platform-shell.page--platform-certifications :is(
  .certification-card__meta span,
  .certification-question-meta span,
  .certification-review-meta,
  .certification-review-meta div,
  .certification-facts div,
  .certification-button,
  .certification-text-link
) {
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell.page--platform-certifications .certification-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
  margin-top: 12px !important;
  margin-bottom: 0 !important;
}

body.page--platform-shell.page--platform-certifications .certification-actions--card {
  margin-top: auto !important;
  padding-top: 2px !important;
}

body.page--platform-shell.page--platform-certifications .certification-button {
  min-height: 38px !important;
  padding: 9px 12px !important;
  border-color: var(--platform-line) !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease !important;
}

body.page--platform-shell.page--platform-certifications .certification-button:hover,
body.page--platform-shell.page--platform-certifications .certification-button:focus-visible {
  border-color: #cfe1f7 !important;
  background: #eef3ff !important;
  color: var(--platform-social-blue) !important;
  box-shadow: none !important;
  transform: none !important;
}

body.page--platform-shell.page--platform-certifications .certification-button--primary,
body.page--platform-shell.page--platform-certifications .certification-button--primary:hover,
body.page--platform-shell.page--platform-certifications .certification-button--primary:focus-visible {
  border-color: #d99a16 !important;
  background: linear-gradient(180deg, var(--platform-gold-2), var(--platform-gold)) !important;
  color: #111827 !important;
}

body.page--platform-shell.page--platform-certifications .certification-next-panel .certification-button {
  margin-top: 10px !important;
}

body.page--platform-shell.page--platform-certifications .certification-text-link {
  min-height: 32px !important;
  padding: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 560px) {
  body.page--platform-shell.page--platform-certifications .certification-actions {
    gap: 6px !important;
    margin-top: 10px !important;
  }

  body.page--platform-shell.page--platform-certifications .certification-actions--card .certification-button {
    flex: 1 1 132px !important;
  }
}

/* 2026-08-09 certification guide action density pass: keep hero CTAs useful without occupying the viewport. */
body.page--platform-shell.page--platform-certifications.page--certification-guide .certification-hero {
  padding: 14px 16px !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-guide .certification-hero h1 {
  max-width: 900px !important;
  font-size: 36px !important;
  line-height: 1.08 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-guide .certification-hero .certification-lede {
  max-width: 86ch !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-guide .certification-hero .certification-review-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  max-width: 820px !important;
  margin: 10px 0 8px !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-guide .certification-hero .certification-review-meta div {
  display: grid !important;
  align-content: center !important;
  min-height: 50px !important;
  padding: 8px 10px !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-guide .certification-hero .certification-review-meta dt {
  font-size: 10px !important;
  letter-spacing: 0 !important;
  line-height: 1.1 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-guide .certification-hero .certification-review-meta dd {
  margin-top: 4px !important;
  font-size: 14px !important;
  line-height: 1.18 !important;
  overflow-wrap: anywhere !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-guide .certification-actions--guide-hero {
  display: grid !important;
  grid-template-columns: minmax(128px, 0.9fr) repeat(3, minmax(112px, 0.7fr)) !important;
  gap: 6px !important;
  align-items: stretch !important;
  margin-top: 8px !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-guide .certification-actions--guide-hero .certification-button {
  min-height: 34px !important;
  min-width: 0 !important;
  padding: 7px 9px !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  text-align: center !important;
  white-space: normal !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-guide .certification-disclaimer {
  max-width: 88ch !important;
  margin-top: 10px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

@media (max-width: 700px) {
  body.page--platform-shell.page--platform-certifications.page--certification-guide .certification-hero {
    padding: 12px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-guide .certification-hero h1 {
    font-size: 32px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-guide .certification-hero .certification-lede {
    font-size: 14px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-guide .certification-hero .certification-review-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin: 8px 0 !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-guide .certification-hero .certification-review-meta div {
    min-height: 44px !important;
    padding: 7px 8px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-guide .certification-hero .certification-review-meta div:nth-child(3) {
    grid-column: span 2 !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-guide .certification-actions--guide-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin-top: 8px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-guide .certification-actions--guide-hero .certification-button {
    min-height: 34px !important;
    padding: 7px 8px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-guide .certification-disclaimer {
    margin-top: 8px !important;
    font-size: 12px !important;
  }
}

/* 2026-08-09 certification index comparison density pass: compact guide rows and readiness hints. */
body.page--platform-shell.page--platform-certifications.page--certification-index .certification-hero {
  padding: 14px 16px !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-hero h1 {
  max-width: 900px !important;
  font-size: 36px !important;
  line-height: 1.08 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-lede {
  max-width: 86ch !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-section {
  padding-top: 10px !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-section__heading {
  grid-template-columns: minmax(0, 0.95fr) minmax(240px, 0.65fr) !important;
  align-items: end !important;
  gap: 12px !important;
  margin-bottom: 10px !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-section__heading h2 {
  font-size: 28px !important;
  line-height: 1.12 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-section__heading > p {
  max-width: 46ch !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)) !important;
  gap: 10px !important;
  align-items: stretch !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-card:not(#platform-density-guard) {
  min-height: 0 !important;
  padding: 10px 12px !important;
  gap: 7px !important;
  border-radius: var(--platform-radius) !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-card__meta {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
  margin-bottom: 0 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-card__meta span {
  display: grid !important;
  align-content: center !important;
  gap: 1px !important;
  min-height: 34px !important;
  min-width: 0 !important;
  padding: 5px 7px !important;
  border: 1px solid #dbe3ee !important;
  border-radius: var(--platform-control-radius) !important;
  background: #f7f9fc !important;
  color: var(--platform-ink) !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  white-space: normal !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-card__meta small {
  color: var(--platform-muted) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-card__meta strong {
  color: var(--platform-ink) !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  overflow-wrap: anywhere !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-card h2 {
  margin: 2px 0 0 !important;
  font-size: 22px !important;
  line-height: 1.15 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-card p {
  display: -webkit-box !important;
  margin: 0 !important;
  color: var(--platform-muted) !important;
  font-size: 13px !important;
  line-height: 1.42 !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-card__progress-hints {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-top: 1px !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-card__progress-hints span {
  min-height: 24px !important;
  padding: 4px 7px !important;
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-control-radius) !important;
  background: #ffffff !important;
  color: var(--platform-muted) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-actions--card {
  gap: 6px !important;
  margin-top: auto !important;
  padding-top: 0 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-actions--card .certification-button {
  flex: 1 1 124px !important;
  min-height: 36px !important;
  padding: 8px 10px !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  white-space: normal !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-integrity-note {
  margin-top: 10px !important;
  padding: 10px 12px !important;
  border-radius: var(--platform-control-radius) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

@media (max-width: 640px) {
  body.page--platform-shell.page--platform-certifications.page--certification-index .certification-hero {
    padding: 12px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-index .certification-hero h1 {
    font-size: 32px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-index .certification-lede {
    font-size: 14px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-index .certification-section__heading {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 6px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-index .certification-card-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-index .certification-card:not(#platform-density-guard) {
    padding: 10px !important;
    gap: 6px !important;
    border-radius: var(--platform-control-radius) !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-index .certification-card h2 {
    font-size: 19px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-index .certification-card__meta span {
    min-height: 32px !important;
    padding: 4px 6px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-index .certification-card__progress-hints {
    gap: 5px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-index .certification-card__progress-hints span {
    flex: 1 1 130px !important;
  }

  body.page--platform-shell.page--platform-certifications.page--certification-index .certification-actions--card .certification-button {
    flex: 1 1 130px !important;
  }
}

/* 2026-08-09 flashcard answer state density pass: keep revealed answers, explanations, and next actions in view. */
body.page--platform-shell.page--platform-flashcards .practice-answer-rail {
  gap: 8px !important;
}

body.page--platform-shell.page--platform-flashcards .practice-answer-workspace:not(#platform-density-guard) {
  padding: 12px !important;
  border-radius: var(--platform-radius) !important;
}

body.page--platform-shell.page--platform-flashcards .practice-answer-workspace__head {
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
  align-items: start !important;
}

body.page--platform-shell.page--platform-flashcards .practice-answer-workspace__head h2 {
  font-size: 18px !important;
  line-height: 1.18 !important;
}

body.page--platform-shell.page--platform-flashcards .practice-answer-workspace__head p {
  margin-top: 2px !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}

body.page--platform-shell.page--platform-flashcards .practice-answer-workspace .badge {
  min-height: 22px !important;
  padding: 3px 6px !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
}

body.page--platform-shell.page--platform-flashcards .practice-answer-workspace__note:not(#platform-density-guard) {
  margin-top: 8px !important;
  padding: 9px 10px !important;
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell.page--platform-flashcards .practice-answer-workspace__note strong {
  font-size: 12px !important;
  line-height: 1.2 !important;
}

body.page--platform-shell.page--platform-flashcards .practice-answer-workspace__note p {
  margin-top: 4px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

body.page--platform-shell.page--platform-flashcards .practice-answer-workspace__metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-top: 8px !important;
}

body.page--platform-shell.page--platform-flashcards .practice-answer-workspace__metrics > div:not(#platform-density-guard) {
  min-height: 48px !important;
  padding: 8px 10px !important;
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell.page--platform-flashcards .practice-answer-workspace__metrics strong {
  font-size: 16px !important;
  line-height: 1 !important;
}

body.page--platform-shell.page--platform-flashcards .practice-answer-workspace__metrics span {
  font-size: 11px !important;
  line-height: 1.2 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__recent-panel:not(#platform-density-guard),
body.page--platform-shell.page--platform-flashcards .practice-design-card:not(#platform-density-guard) {
  padding: 10px 12px !important;
  border-radius: var(--platform-radius) !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__recent-empty {
  margin: 6px 0 0 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

body.page--platform-shell.page--platform-flashcards .practice-design-card__steps {
  gap: 6px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__actions {
  gap: 8px !important;
  margin-top: 10px !important;
  padding-top: 10px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__actions .btn {
  min-height: 36px !important;
  padding: 8px 12px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__dialog {
  width: min(920px, 100%) !important;
  max-height: calc(100vh - 64px) !important;
  border-radius: var(--platform-radius) !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__header {
  gap: 14px !important;
  padding: 18px 20px 16px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__status-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__status-icon svg {
  width: 24px !important;
  height: 24px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__title {
  font-size: 24px !important;
  line-height: 1.16 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__subtitle {
  margin-top: 4px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__close {
  width: 38px !important;
  height: 38px !important;
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__content {
  gap: 10px !important;
  padding: 10px 20px 14px !important;
}

body.page--platform-shell.page--platform-flashcards
  .flashcard-feedback-modal--result:is(.flashcard-feedback-modal--correct, .flashcard-feedback-modal--incorrect)
  .flashcard-feedback-modal__answer-card {
  grid-template-columns: 40px minmax(0, 1fr) !important;
  gap: 10px !important;
  min-height: 0 !important;
  padding: 10px 12px !important;
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__answer-icon,
body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result.flashcard-feedback-modal--incorrect .flashcard-feedback-modal__answer-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__answer-icon svg,
body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result.flashcard-feedback-modal--incorrect .flashcard-feedback-modal__answer-icon svg {
  width: 20px !important;
  height: 20px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__answer-card .answer-display {
  gap: 4px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__answer-card .answer-display__text,
body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__correct-answer {
  font-size: 14px !important;
  line-height: 1.35 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__explanation {
  padding: 12px !important;
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__summary {
  gap: 10px !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__explanation-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__explanation-icon svg {
  width: 20px !important;
  height: 20px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__explanation-body {
  margin-top: 6px !important;
  padding-left: 48px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__explanation-body .feedback-text {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.42 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__ai-actions .btn {
  min-width: 0 !important;
  min-height: 40px !important;
  padding: 8px 14px !important;
  font-size: 14px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__actions,
body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result.flashcard-feedback-modal--incorrect .flashcard-feedback-modal__actions {
  min-height: 0 !important;
  padding: 10px 20px 14px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__review-tip {
  max-width: 420px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__action-buttons {
  gap: 8px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__actions .btn {
  min-height: 40px !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__actions .btn--success {
  min-width: 150px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__actions .btn--primary {
  min-width: 160px !important;
}

@media (max-width: 720px) {
  body.page--platform-shell.page--platform-flashcards .practice-answer-workspace:not(#platform-density-guard) {
    padding: 10px !important;
  }

  body.page--platform-shell.page--platform-flashcards .practice-answer-workspace__head {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  body.page--platform-shell.page--platform-flashcards .practice-answer-workspace__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__dialog {
    max-height: calc(100vh - 12px) !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__header {
    gap: 10px !important;
    padding: 12px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__status-icon {
    width: 38px !important;
    height: 38px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__title {
    font-size: 21px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__subtitle {
    font-size: 13px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__content {
    gap: 8px !important;
    padding: 8px 12px 12px !important;
  }

  body.page--platform-shell.page--platform-flashcards
    .flashcard-feedback-modal--result:is(.flashcard-feedback-modal--correct, .flashcard-feedback-modal--incorrect)
    .flashcard-feedback-modal__answer-card {
    grid-template-columns: 32px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 10px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__answer-icon,
  body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result.flashcard-feedback-modal--incorrect .flashcard-feedback-modal__answer-icon {
    width: 30px !important;
    height: 30px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__explanation {
    padding: 10px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__summary {
    gap: 8px !important;
    font-size: 16px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__explanation-icon {
    width: 32px !important;
    height: 32px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__explanation-body {
    margin-top: 6px !important;
    padding-left: 0 !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__actions,
  body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result.flashcard-feedback-modal--incorrect .flashcard-feedback-modal__actions {
    padding: 10px 12px 12px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcard-feedback-modal--result .flashcard-feedback-modal__action-buttons .btn {
    width: 100% !important;
  }
}

/* flashcard answer state density pass sentinel */

/* 2026-08-09 flashcard route navigation normalization pass: align default, type, and topic controls. */
body.page--platform-shell.page--platform-flashcards .flashcards-view__scope-path {
  gap: 4px 6px !important;
  align-items: center !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 6px 8px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__scope-path :is(.breadcrumb__item, .breadcrumb__item--active) {
  display: inline-flex !important;
  flex: 0 1 auto !important;
  align-items: center !important;
  max-width: min(100%, 300px) !important;
  min-height: 26px !important;
  padding: 3px 6px !important;
  font-size: 12px !important;
  line-height: 1.22 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__scope-path .breadcrumb__item--active {
  max-width: min(100%, 420px) !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__scope-path .breadcrumb__sep {
  flex: 0 0 auto !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__filter-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
  align-items: center !important;
  justify-content: stretch !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 6px 8px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-filter {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px 8px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-filter__label {
  flex: 0 0 auto !important;
  line-height: 1.2 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcard-filter__group {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  align-items: center !important;
  min-width: 0 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__filter-row .filter-option--pill {
  flex: 0 1 auto !important;
  min-width: 0 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__filter-row .filter-option--pill span,
body.page--platform-shell.page--platform-flashcards .flashcards-view__filter-row .reader-toggle {
  min-height: 36px !important;
  border-radius: var(--platform-control-radius) !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__filter-row .filter-option--pill span {
  padding: 8px 10px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__filter-row .reader-toggle {
  justify-self: end !important;
  padding: 4px 5px 4px 8px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, auto)) !important;
  justify-content: end !important;
  gap: 8px !important;
  min-height: 0 !important;
  margin-top: 10px !important;
  padding-top: 10px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__actions .btn {
  min-height: 38px !important;
  padding: 8px 12px !important;
  border-radius: var(--platform-control-radius) !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__actions .btn:first-child {
  min-width: 210px !important;
}

body.page--platform-shell.page--platform-flashcards .flashcards-view__actions .btn:last-child {
  min-width: 126px !important;
}

@media (max-width: 720px) {
  body.page--platform-shell.page--platform-flashcards .flashcards-view > .practice-cockpit-scopebar {
    gap: 8px !important;
    padding: 10px !important;
  }

  body.page--platform-shell.page--platform-flashcards .practice-cockpit-scopebar__copy {
    gap: 4px !important;
  }

  body.page--platform-shell.page--platform-flashcards .practice-cockpit-scopebar__copy .aws-study-page__title {
    font-size: 26px !important;
    line-height: 1.08 !important;
  }

  body.page--platform-shell.page--platform-flashcards .practice-cockpit-scopebar__copy .aws-study-page__lede {
    font-size: 14px !important;
    line-height: 1.36 !important;
  }

  body.page--platform-shell.page--platform-flashcards .practice-cockpit-scopebar .exam-scope-dropdown__select {
    min-height: 38px !important;
    padding: 8px 10px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcards-view__scope-path {
    gap: 4px 5px !important;
    padding: 6px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcards-view__scope-path :is(.breadcrumb__item, .breadcrumb__item--active) {
    display: -webkit-box !important;
    flex: 1 1 calc(50% - 5px) !important;
    max-width: calc(50% - 3px) !important;
    max-height: 36px !important;
    min-height: 24px !important;
    padding: 3px 5px !important;
    font-size: 12px !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcards-view__scope-path .breadcrumb__item--active {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    max-height: 44px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcards-view__scope-path .breadcrumb__sep {
    display: none !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcards-view__filter-row {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 6px !important;
    padding: 6px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcard-filter {
    flex-wrap: nowrap !important;
    gap: 6px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcard-filter__label {
    font-size: 11px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcards-view__filter-row .filter-option--pill span,
  body.page--platform-shell.page--platform-flashcards .flashcards-view__filter-row .reader-toggle {
    min-height: 36px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcards-view__filter-row .reader-toggle {
    min-width: 112px !important;
    padding: 4px 5px 4px 7px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcards-view__actions {
    grid-template-columns: minmax(0, 1fr) !important;
    justify-content: stretch !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcards-view__actions .btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;
  }
}

@media (max-width: 360px) {
  body.page--platform-shell.page--platform-flashcards .flashcards-view > .practice-cockpit-scopebar {
    gap: 6px !important;
    padding: 8px !important;
  }

  body.page--platform-shell.page--platform-flashcards .practice-cockpit-scopebar__copy .aws-feature-eyebrow {
    font-size: 10px !important;
    line-height: 1.1 !important;
  }

  body.page--platform-shell.page--platform-flashcards .practice-cockpit-scopebar__copy .aws-study-page__title {
    font-size: 22px !important;
  }

  body.page--platform-shell.page--platform-flashcards .practice-cockpit-scopebar__copy .aws-study-page__lede {
    font-size: 12px !important;
    line-height: 1.28 !important;
  }

  body.page--platform-shell.page--platform-flashcards .practice-cockpit-scopebar .exam-scope-dropdown__select {
    min-height: 34px !important;
    padding: 7px 9px !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcards-view__scope-path :is(.breadcrumb__item, .breadcrumb__item--active) {
    max-height: 28px !important;
    -webkit-line-clamp: 1 !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcards-view__scope-path .breadcrumb__item--active {
    max-height: 40px !important;
    -webkit-line-clamp: 2 !important;
  }

  body.page--platform-shell.page--platform-flashcards .flashcard-filter__label {
    display: none !important;
  }
}

/* flashcard route navigation normalization pass sentinel */

/* account utility density pass: compact profile, account, and settings surfaces */
body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) {
  --account-utility-surface-radius: var(--platform-radius);
  --account-utility-control-radius: var(--platform-control-radius);
  --account-utility-gap: 10px;
}

body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) :is(
  .account-cockpit,
  .account-cockpit__main,
  .account-grid,
  .account-stat-grid,
  .account-form,
  .account-form-grid,
  .account-usage-grid,
  .account-identity-card__metrics
) {
  gap: var(--account-utility-gap) !important;
}

body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings):not(#account-utility-density-guard) :is(
  .account-identity-card,
  .account-cockpit__header,
  .account-panel,
  .account-stat-card,
  .account-subpanel,
  .account-otp-card,
  .account-usage-grid > div,
  .account-empty-state,
  .account-table-wrap
) {
  border-radius: var(--account-utility-surface-radius) !important;
  box-shadow: none !important;
}

body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-identity-card {
  gap: 10px !important;
  padding: 14px !important;
}

body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-identity-card__avatar {
  width: 72px !important;
  height: 72px !important;
  border-radius: var(--account-utility-surface-radius) !important;
  box-shadow: none !important;
  font-size: 24px !important;
}

body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-identity-card h1 {
  font-size: clamp(22px, 2.2vw, 30px) !important;
  line-height: 1.08 !important;
}

body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-identity-card__metrics article {
  min-height: 64px !important;
  padding: 10px !important;
  border-radius: var(--account-utility-surface-radius) !important;
}

body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-cockpit__header,
body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-panel {
  padding: 14px !important;
}

body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-cockpit__header h1 {
  margin-top: 6px !important;
  font-size: clamp(26px, 2.8vw, 38px) !important;
  line-height: 1.08 !important;
}

body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-cockpit__header > p {
  width: min(100%, 310px) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-panel__head,
body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-subpanel__head {
  gap: 8px !important;
  margin-bottom: 12px !important;
}

body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-panel__head h2 {
  font-size: clamp(20px, 2vw, 26px) !important;
  line-height: 1.15 !important;
}

body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-subpanel,
body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-otp-card {
  gap: 10px !important;
  padding: 12px !important;
}

body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-field {
  gap: 4px !important;
  min-width: 0 !important;
}

body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-field label {
  margin: 0 !important;
  font-size: 11px !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
}

body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-input {
  min-height: 40px !important;
  padding: 8px 10px !important;
  border-radius: var(--account-utility-control-radius) !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
}

body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-actions {
  gap: 8px !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) :is(
  .account-actions .btn,
  .account-identity-card__action,
  .account-sidebar__link,
  .btn
) {
  min-height: 38px !important;
  border-radius: var(--account-utility-control-radius) !important;
  box-shadow: none !important;
}

body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-detail-list div {
  gap: 8px !important;
  padding: 10px 0 !important;
}

body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-usage-grid > div {
  min-height: 0 !important;
  padding: 10px !important;
}

@media (max-width: 720px) {
  body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) :is(
    .account-cockpit,
    .account-grid,
    .account-stat-grid,
    .account-form-grid,
    .account-usage-grid,
    .account-identity-card__metrics
  ) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) :is(
    .account-identity-card,
    .account-cockpit__header,
    .account-panel,
    .account-stat-card
  ) {
    padding: 12px !important;
  }

  body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-cockpit__header {
    display: grid !important;
  }

  body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-panel__head,
  body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-subpanel__head {
    display: grid !important;
  }

  body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-actions .btn,
  body.page--platform-shell:is(.page--platform-profile, .page--platform-account, .page--platform-settings) .account-identity-card__action {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* study route loading skeleton pass: align course, flashcard, quiz, and search loading states */
body.page--platform-shell:is(
  .page--platform-codals,
  .page--course-modules,
  .page--platform-flashcards,
  .page--platform-quizzes,
  .page--public-quizzes,
  .page--platform-search,
  .page--public-search
) .app-loader__backdrop {
  background: rgba(245, 247, 251, 0.58) !important;
  backdrop-filter: blur(1px) !important;
}

body.page--platform-shell:is(
  .page--platform-codals,
  .page--course-modules,
  .page--platform-flashcards,
  .page--platform-quizzes,
  .page--public-quizzes,
  .page--platform-search,
  .page--public-search
) .app-loader__panel {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) !important;
  width: min(320px, calc(100vw - 32px)) !important;
  min-width: 0 !important;
  gap: 8px 10px !important;
  align-items: center !important;
  padding: 12px !important;
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-radius) !important;
  background: #ffffff !important;
  box-shadow: var(--platform-shadow) !important;
}

body.page--platform-shell:is(
  .page--platform-codals,
  .page--course-modules,
  .page--platform-flashcards,
  .page--platform-quizzes,
  .page--public-quizzes,
  .page--platform-search,
  .page--public-search
) .app-loader__spinner {
  width: 18px !important;
  height: 18px !important;
  border-width: 2px !important;
  border-color: rgba(24, 119, 242, 0.22) !important;
  border-top-color: var(--platform-action-blue) !important;
}

body.page--platform-shell:is(
  .page--platform-codals,
  .page--course-modules,
  .page--platform-flashcards,
  .page--platform-quizzes,
  .page--public-quizzes,
  .page--platform-search,
  .page--public-search
) .app-loader__label {
  color: var(--platform-ink) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

body.page--platform-shell:is(
  .page--platform-codals,
  .page--course-modules,
  .page--platform-flashcards,
  .page--platform-quizzes,
  .page--public-quizzes,
  .page--platform-search,
  .page--public-search
) .app-loader__skeleton {
  display: grid !important;
  grid-column: 2 !important;
  gap: 5px !important;
  width: min(100%, 220px) !important;
  min-height: 26px !important;
}

body.page--platform-shell:is(
  .page--platform-codals,
  .page--course-modules,
  .page--platform-flashcards,
  .page--platform-quizzes,
  .page--public-quizzes,
  .page--platform-search,
  .page--public-search
) .app-loader__skeleton-line {
  display: block !important;
  height: 6px !important;
  border-radius: var(--platform-control-radius) !important;
  background:
    linear-gradient(90deg, #e8edf5 0%, #f8fafc 48%, #e8edf5 100%) !important;
  background-size: 200% 100% !important;
  animation: shimmer 1.2s linear infinite !important;
}

body.page--platform-shell:is(
  .page--platform-codals,
  .page--course-modules,
  .page--platform-flashcards,
  .page--platform-quizzes,
  .page--public-quizzes,
  .page--platform-search,
  .page--public-search
) .app-loader__skeleton-line--wide {
  width: 100% !important;
}

body.page--platform-shell:is(
  .page--platform-codals,
  .page--course-modules,
  .page--platform-flashcards,
  .page--platform-quizzes,
  .page--public-quizzes,
  .page--platform-search,
  .page--public-search
) .app-loader__skeleton-line--medium {
  width: 72% !important;
}

body.page--platform-shell:is(
  .page--platform-codals,
  .page--course-modules,
  .page--platform-flashcards,
  .page--platform-quizzes,
  .page--public-quizzes,
  .page--platform-search,
  .page--public-search
) .app-loader__skeleton-line--short {
  width: 46% !important;
}

body.page--platform-shell:is(
  .page--platform-codals,
  .page--course-modules,
  .page--platform-flashcards,
  .page--platform-quizzes,
  .page--public-quizzes,
  .page--platform-search,
  .page--public-search
).is-loading :is(
  .course-modules,
  .flashcards-view,
  .aws-quiz-page,
  .quiz-dashboard,
  .search-docs,
  .codal-docs
) {
  cursor: progress !important;
}

body.page--platform-shell:is(
  .page--platform-codals,
  .page--course-modules,
  .page--platform-search,
  .page--public-search
) .codal-docs--loading {
  position: relative !important;
  min-height: 0 !important;
  opacity: 1 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

body.page--platform-shell:is(
  .page--platform-codals,
  .page--course-modules,
  .page--platform-search,
  .page--public-search
) .codal-docs--loading::before {
  content: "" !important;
  position: absolute !important;
  z-index: 3 !important;
  top: 10px !important;
  left: 10px !important;
  width: min(240px, calc(100% - 20px)) !important;
  height: 30px !important;
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-radius) !important;
  background:
    linear-gradient(90deg, #e8edf5 0%, #ffffff 48%, #e8edf5 100%) !important;
  background-size: 200% 100% !important;
  box-shadow: none !important;
  animation: shimmer 1.2s linear infinite !important;
  pointer-events: none !important;
}

@media (max-width: 560px) {
  body.page--platform-shell:is(
    .page--platform-codals,
    .page--course-modules,
    .page--platform-flashcards,
    .page--platform-quizzes,
    .page--public-quizzes,
    .page--platform-search,
    .page--public-search
  ) .app-loader__panel {
    width: min(300px, calc(100vw - 24px)) !important;
    padding: 10px !important;
  }

  body.page--platform-shell:is(
    .page--platform-codals,
    .page--course-modules,
    .page--platform-flashcards,
    .page--platform-quizzes,
    .page--public-quizzes,
    .page--platform-search,
    .page--public-search
  ) .app-loader__skeleton {
    min-height: 22px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page--platform-shell:is(
    .page--platform-codals,
    .page--course-modules,
    .page--platform-flashcards,
    .page--platform-quizzes,
    .page--public-quizzes,
    .page--platform-search,
    .page--public-search
  ) .app-loader__skeleton-line,
  body.page--platform-shell:is(
    .page--platform-codals,
    .page--course-modules,
    .page--platform-search,
    .page--public-search
  ) .codal-docs--loading::before {
    animation: none !important;
  }
}

/* mobile bottom navigation label fit pass: keep labels readable without crowding study content */
@media (max-width: 720px) {
  body.page--platform-shell {
    --platform-mobile-bottom-nav-height: 64px;
    --platform-mobile-bottom-nav-offset: 12px;
    --platform-bottom-nav-label-size: 10px;
  }

  .page--platform-shell .platform-bottom-nav {
    box-sizing: border-box !important;
    right: var(--platform-mobile-bottom-nav-offset) !important;
    bottom: var(--platform-mobile-bottom-nav-offset) !important;
    left: var(--platform-mobile-bottom-nav-offset) !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 2px !important;
    height: var(--platform-mobile-bottom-nav-height) !important;
    min-height: 0 !important;
    max-height: var(--platform-mobile-bottom-nav-height) !important;
    padding: 5px !important;
    border-radius: 14px !important;
  }

  .page--platform-shell .platform-bottom-nav__link,
  .page--platform-shell .platform-bottom-nav__button {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-rows: 20px 13px !important;
    align-content: center !important;
    justify-items: center !important;
    min-width: 0 !important;
    min-height: 52px !important;
    gap: 3px !important;
    padding: 4px 1px !important;
    color: #34445f !important;
    line-height: 1 !important;
    transition:
      background-color 120ms ease,
      color 120ms ease,
      box-shadow 120ms ease !important;
  }

  .page--platform-shell .platform-bottom-nav__icon {
    width: 20px !important;
    height: 20px !important;
    border-radius: 8px !important;
    color: currentColor !important;
    transition:
      background-color 120ms ease,
      color 120ms ease !important;
  }

  .page--platform-shell .platform-bottom-nav__icon .platform-icon {
    width: 16px !important;
    height: 16px !important;
  }

  .page--platform-shell .platform-bottom-nav__link small,
  .page--platform-shell .platform-bottom-nav__button small {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: currentColor !important;
    font-size: var(--platform-bottom-nav-label-size) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
    text-overflow: clip !important;
    white-space: normal !important;
    word-break: normal !important;
  }

  .page--platform-shell .platform-bottom-nav__link:is(:hover, :focus-visible),
  .page--platform-shell .platform-bottom-nav__button:is(:hover, :focus-visible) {
    color: var(--platform-ink) !important;
    background: #f8fafc !important;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08) !important;
  }

  .page--platform-shell .platform-bottom-nav__link--active,
  .page--platform-shell .platform-bottom-nav__link--active:is(:hover, :focus-visible) {
    color: #8a5a07 !important;
    background: #fff7e7 !important;
    box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.18) !important;
  }

  .page--platform-shell .platform-bottom-nav__link--active .platform-bottom-nav__icon {
    background: rgba(217, 119, 6, 0.12) !important;
  }

  .page--platform-shell .platform-bottom-nav__link:is([aria-disabled="true"], .is-disabled),
  .page--platform-shell .platform-bottom-nav__button:is(:disabled, [aria-disabled="true"], .is-disabled) {
    color: #94a3b8 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    opacity: 0.62 !important;
    pointer-events: none !important;
  }
}

@media (max-width: 340px) {
  body.page--platform-shell {
    --platform-mobile-bottom-nav-offset: 10px;
    --platform-bottom-nav-label-size: 9px;
  }

  .page--platform-shell .platform-bottom-nav {
    gap: 1px !important;
    padding: 5px !important;
  }

  .page--platform-shell .platform-bottom-nav__link,
  .page--platform-shell .platform-bottom-nav__button {
    gap: 2px !important;
  }
}

/* 2026-08-09 modal and drawer spacing normalization pass: align shared overlays across platform routes. */
body.page--platform-shell {
  --platform-modal-section-x: 18px;
  --platform-modal-section-y: 14px;
  --platform-modal-close-size: 36px;
}

body.page--platform-shell .platform-modal {
  box-sizing: border-box !important;
  padding: 16px !important;
}

body.page--platform-shell .platform-modal__backdrop {
  background: rgba(31, 42, 55, 0.32) !important;
  backdrop-filter: blur(6px) saturate(1.02) !important;
}

body.page--platform-shell :is(
  .platform-modal__dialog,
  .premium-modal__dialog,
  .issue-report-modal__dialog,
  .premium-payment-instructions-modal__dialog
) {
  box-sizing: border-box !important;
  max-height: calc(100dvh - 32px) !important;
  overflow: auto !important;
  padding: 0 !important;
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-radius) !important;
  background: #ffffff !important;
  color: var(--platform-ink) !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.22) !important;
}

body.page--platform-shell .platform-modal__dialog {
  width: min(720px, calc(100vw - 32px)) !important;
}

body.page--platform-shell .issue-report-modal__dialog {
  width: min(560px, calc(100vw - 32px)) !important;
}

body.page--platform-shell .premium-modal__dialog,
body.page--platform-shell .premium-payment-instructions-modal__dialog {
  width: min(900px, calc(100vw - 32px)) !important;
}

body.page--platform-shell .platform-modal__header {
  align-items: center !important;
  gap: 12px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: var(--platform-modal-section-y) var(--platform-modal-section-x) 12px !important;
  border-bottom: 1px solid var(--platform-line) !important;
}

body.page--platform-shell .platform-modal__header > div {
  min-width: 0 !important;
}

body.page--platform-shell .platform-modal__title,
body.page--platform-shell .premium-modal__title {
  margin: 0 !important;
  color: var(--platform-ink) !important;
  font-family: inherit !important;
  font-size: 22px !important;
  font-weight: 850 !important;
  line-height: 1.16 !important;
  letter-spacing: 0 !important;
}

body.page--platform-shell .premium-modal__desc {
  color: var(--platform-muted) !important;
  line-height: 1.42 !important;
}

body.page--platform-shell .platform-modal__close {
  flex: 0 0 var(--platform-modal-close-size) !important;
  width: var(--platform-modal-close-size) !important;
  min-width: var(--platform-modal-close-size) !important;
  height: var(--platform-modal-close-size) !important;
  min-height: var(--platform-modal-close-size) !important;
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-control-radius) !important;
  background: #f8fafc !important;
  color: var(--platform-ink) !important;
  box-shadow: none !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

body.page--platform-shell .platform-modal__close:is(:hover, :focus-visible) {
  border-color: #c6d3e4 !important;
  background: #eef3f8 !important;
  color: var(--platform-ink) !important;
}

body.page--platform-shell .platform-modal__content {
  gap: 10px !important;
  padding: var(--platform-modal-section-y) var(--platform-modal-section-x) !important;
}

body.page--platform-shell .platform-modal__hint {
  margin: 0 !important;
  color: var(--platform-muted) !important;
  font-size: 13px !important;
  line-height: 1.42 !important;
}

body.page--platform-shell .platform-modal__actions,
body.page--platform-shell .premium-modal__footer {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 12px var(--platform-modal-section-x) var(--platform-modal-section-y) !important;
  border-top: 1px solid var(--platform-line) !important;
}

body.page--platform-shell .platform-modal__actions .btn,
body.page--platform-shell .premium-modal__footer .btn {
  min-height: 40px !important;
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell .platform-search-modal__input {
  min-height: 44px !important;
  margin-top: 6px !important;
  padding: 0 12px !important;
  border-color: var(--platform-line) !important;
  border-radius: var(--platform-control-radius) !important;
  background: #f8fafc !important;
  box-shadow: none !important;
}

body.page--platform-shell .issue-report-modal__content {
  gap: 12px !important;
}

body.page--platform-shell .issue-report-modal__actions {
  justify-content: flex-end !important;
}

@media (max-width: 720px) {
  body.page--platform-shell {
    --platform-modal-section-x: 12px;
    --platform-modal-section-y: 12px;
    --platform-modal-close-size: 34px;
  }

  body.page--platform-shell .platform-modal {
    align-items: end !important;
    padding: 10px !important;
  }

  body.page--platform-shell :is(
    .platform-modal__dialog,
    .premium-modal__dialog,
    .issue-report-modal__dialog,
    .premium-payment-instructions-modal__dialog
  ) {
    width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 20px) !important;
  }

  body.page--platform-shell .platform-modal__header {
    gap: 10px !important;
    padding-bottom: 10px !important;
  }

  body.page--platform-shell .platform-modal__title,
  body.page--platform-shell .premium-modal__title {
    font-size: 19px !important;
    line-height: 1.18 !important;
  }

  body.page--platform-shell .platform-modal__actions,
  body.page--platform-shell .premium-modal__footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page--platform-shell .platform-modal__actions .btn,
  body.page--platform-shell .premium-modal__footer .btn,
  body.page--platform-shell .platform-modal__actions a.btn {
    width: 100% !important;
  }

  .page--platform-shell .platform-mobile-more__sheet {
    box-sizing: border-box !important;
    gap: 8px !important;
    max-height: calc(100dvh - var(--platform-mobile-bottom-nav-height, 64px) - 32px) !important;
    margin: 0 var(--platform-mobile-bottom-nav-offset, 12px) calc(var(--platform-mobile-bottom-nav-height, 64px) + var(--platform-mobile-bottom-nav-offset, 12px) + env(safe-area-inset-bottom, 0px) + 8px) !important;
    padding: 10px !important;
    border: 1px solid var(--platform-line) !important;
    border-radius: var(--platform-radius) !important;
    box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.18) !important;
  }

  .page--platform-shell .platform-mobile-more__head {
    align-items: center !important;
    gap: 10px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid var(--platform-line) !important;
  }

  .page--platform-shell .platform-mobile-more__head h2 {
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.18 !important;
  }

  .page--platform-shell .platform-mobile-more__close {
    width: var(--platform-modal-close-size) !important;
    height: var(--platform-modal-close-size) !important;
    border-radius: var(--platform-control-radius) !important;
    font-size: 20px !important;
  }

  .page--platform-shell .platform-mobile-site-switcher {
    margin-bottom: 8px !important;
  }

  .page--platform-shell .platform-mobile-site-switcher__trigger {
    min-height: 48px !important;
    border-radius: var(--platform-radius) !important;
  }

  .page--platform-shell .platform-mobile-more__grid {
    gap: 6px !important;
  }

  .page--platform-shell .platform-mobile-more__item {
    min-height: 48px !important;
    padding: 8px !important;
    border-radius: var(--platform-control-radius) !important;
  }

  .page--platform-shell .platform-mobile-more__icon {
    border-radius: var(--platform-control-radius) !important;
  }

  .page--platform-shell .platform-mobile-more__account {
    gap: 6px !important;
    padding-top: 8px !important;
  }

  .page--platform-shell .platform-mobile-more__account a {
    min-height: 36px !important;
    border-radius: var(--platform-control-radius) !important;
  }
}

/* 2026-08-09 checkout and premium upgrade compaction pass: keep pricing, checkout, and upgrade flows dense and trustworthy. */
body.page--platform-shell.page--checkout-redesign,
body.page--platform-shell.page--pricing {
  --checkout-panel-pad: 16px;
  --checkout-card-pad: 12px;
  --checkout-gap: 12px;
}

body.page--platform-shell.page--checkout-redesign .checkout-hero {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px) !important;
  gap: var(--checkout-gap) !important;
  margin-bottom: var(--checkout-gap) !important;
}

body.page--platform-shell.page--checkout-redesign :is(
  .checkout-hero__copy,
  .checkout-hero__summary,
  .checkout-scope-notice,
  .checkout-panel,
  .checkout-promo-card,
  .checkout-status-panel
) {
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-radius) !important;
  background: #ffffff !important;
  box-shadow: var(--platform-shadow) !important;
}

body.page--platform-shell.page--checkout-redesign .checkout-hero__copy {
  padding: 18px !important;
}

body.page--platform-shell.page--checkout-redesign .checkout-hero h1 {
  max-width: 780px !important;
  margin: 6px 0 0 !important;
  color: var(--platform-ink) !important;
  font-size: 34px !important;
  line-height: 1.08 !important;
}

body.page--platform-shell.page--checkout-redesign .checkout-hero p {
  max-width: 680px !important;
  margin-top: 8px !important;
  color: var(--platform-muted) !important;
  line-height: 1.42 !important;
}

body.page--platform-shell.page--checkout-redesign .checkout-hero__summary {
  align-content: center !important;
  min-height: 0 !important;
  padding: 16px !important;
}

body.page--platform-shell.page--checkout-redesign .checkout-hero__summary strong {
  color: var(--platform-ink) !important;
  font-size: 32px !important;
  line-height: 1 !important;
}

body.page--platform-shell.page--checkout-redesign .checkout-scope-notice {
  display: grid !important;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  margin: 0 0 var(--checkout-gap) !important;
  padding: 12px var(--checkout-panel-pad) !important;
}

body.page--platform-shell.page--checkout-redesign .checkout-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px) !important;
  gap: var(--checkout-gap) !important;
}

body.page--platform-shell.page--checkout-redesign .checkout-panel,
body.page--platform-shell.page--checkout-redesign .checkout-promo-card {
  padding: var(--checkout-panel-pad) !important;
}

body.page--platform-shell.page--checkout-redesign .checkout-panel__head,
body.page--platform-shell.page--checkout-redesign .checkout-promo-card__inner {
  gap: 10px !important;
  margin-bottom: 12px !important;
}

body.page--platform-shell.page--checkout-redesign .checkout-panel__head h2,
body.page--platform-shell.page--checkout-redesign .checkout-promo-card h2,
body.page--platform-shell.page--checkout-redesign .checkout-status-panel h2 {
  color: var(--platform-ink) !important;
  font-size: 22px !important;
  line-height: 1.16 !important;
}

body.page--platform-shell.page--checkout-redesign .checkout-option-list,
body.page--platform-shell.page--checkout-redesign .checkout-plan-grid,
body.page--platform-shell.page--checkout-redesign .premium-payment-options__grid,
body.page--platform-shell .premium-modal .plan-grid {
  gap: 10px !important;
}

body.page--platform-shell.page--checkout-redesign .checkout-option,
body.page--platform-shell.page--checkout-redesign .premium-payment-option,
body.page--platform-shell.page--checkout-redesign .checkout-promo-card__window,
body.page--platform-shell.page--checkout-redesign .checkout-payment-unavailable,
body.page--platform-shell.page--checkout-redesign .checkout-confirm-form__consent,
body.page--platform-shell.page--checkout-redesign .premium-payment-consent,
body.page--platform-shell .premium-modal .plan-card,
body.page--platform-shell .premium-modal .plan-option {
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-radius) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.page--platform-shell.page--checkout-redesign .checkout-option {
  min-height: 76px !important;
  padding: 10px 12px !important;
}

body.page--platform-shell.page--checkout-redesign .checkout-option--selected,
body.page--platform-shell .premium-modal .plan-option--selected {
  border-color: rgba(217, 119, 6, 0.34) !important;
  background: #fff7e7 !important;
  box-shadow: inset 3px 0 0 var(--platform-gold) !important;
}

body.page--platform-shell.page--checkout-redesign .plan-card,
body.page--platform-shell.page--checkout-redesign .premium-payment-method,
body.page--platform-shell .premium-modal .plan-card {
  padding: var(--checkout-card-pad) !important;
  border: 1px solid var(--platform-line) !important;
  border-radius: var(--platform-radius) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.page--platform-shell.page--checkout-redesign .plan-card--featured,
body.page--platform-shell .premium-modal .plan-card--featured {
  border-color: rgba(217, 119, 6, 0.28) !important;
  background: #fffaf0 !important;
}

body.page--platform-shell.page--checkout-redesign .plan-card__list {
  gap: 6px !important;
  margin-top: 10px !important;
}

body.page--platform-shell.page--checkout-redesign .premium-payment-method {
  display: grid !important;
  gap: 12px !important;
}

body.page--platform-shell.page--checkout-redesign .premium-payment-consent {
  display: grid !important;
  gap: 8px !important;
  padding: 10px 12px !important;
}

body.page--platform-shell.page--checkout-redesign .premium-payment-option {
  min-height: 48px !important;
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell.page--checkout-redesign .checkout-payment-unavailable {
  padding: 10px 12px !important;
  border-color: rgba(217, 119, 6, 0.24) !important;
  background: #fffaf0 !important;
}

body.page--platform-shell.page--checkout-redesign .checkout-summary-table td {
  padding: 8px 0 !important;
  border-color: var(--platform-line) !important;
}

body.page--platform-shell.page--checkout-redesign .checkout-summary-note {
  margin: 10px 0 0 !important;
  color: var(--platform-muted) !important;
  line-height: 1.38 !important;
}

body.page--platform-shell.page--checkout-redesign .checkout-summary-panel {
  top: calc(var(--platform-topbar-height, 72px) + 12px) !important;
}

body.page--platform-shell.page--checkout-redesign .btn,
body.page--platform-shell .premium-modal .btn {
  min-height: 40px !important;
  border-radius: var(--platform-control-radius) !important;
}

body.page--platform-shell .premium-modal__dialog {
  width: min(860px, calc(100vw - 32px)) !important;
}

body.page--platform-shell .premium-modal .plan-grid {
  padding: 0 var(--platform-modal-section-x) var(--platform-modal-section-y) !important;
}

body.page--platform-shell .premium-modal .plan-card {
  min-height: 0 !important;
}

body.page--platform-shell .premium-modal .plan-option {
  padding: 10px !important;
}

body.page--platform-shell .premium-modal__footer {
  align-items: center !important;
}

body.page--platform-shell .premium-modal__footer .actions-row {
  gap: 8px !important;
}

body.page--platform-shell.page--pricing .pricing-hero__actions,
body.page--platform-shell.page--pricing .pricing-summary-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 12px !important;
}

body.page--platform-shell.page--pricing .pricing-price-line {
  margin: 8px 0 !important;
  color: var(--platform-ink) !important;
  font-size: 18px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
}

body.page--platform-shell.page--pricing .pricing-exam-panel {
  margin-top: var(--checkout-gap) !important;
}

body.page--platform-shell.page--pricing .pricing-exam-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 10px !important;
}

@media (max-width: 760px) {
  body.page--platform-shell.page--checkout-redesign {
    --checkout-panel-pad: 12px;
    --checkout-card-pad: 10px;
    --checkout-gap: 10px;
  }

  body.page--platform-shell.page--checkout-redesign .checkout-hero,
  body.page--platform-shell.page--checkout-redesign .checkout-layout,
  body.page--platform-shell.page--checkout-redesign .checkout-scope-notice {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page--platform-shell.page--checkout-redesign .checkout-hero__copy {
    padding: 14px !important;
  }

  body.page--platform-shell.page--checkout-redesign .checkout-hero h1 {
    font-size: 28px !important;
  }

  body.page--platform-shell.page--checkout-redesign .checkout-hero__summary strong {
    font-size: 28px !important;
  }

  body.page--platform-shell.page--checkout-redesign .checkout-panel__head,
  body.page--platform-shell.page--checkout-redesign .checkout-promo-card__inner {
    display: grid !important;
  }

  body.page--platform-shell.page--checkout-redesign .checkout-option-list,
  body.page--platform-shell.page--checkout-redesign .checkout-plan-grid,
  body.page--platform-shell.page--checkout-redesign .premium-payment-options__grid,
  body.page--platform-shell.page--pricing .pricing-exam-grid,
  body.page--platform-shell .premium-modal .plan-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page--platform-shell.page--checkout-redesign .checkout-option {
    min-height: 0 !important;
  }

  body.page--platform-shell.page--checkout-redesign .checkout-summary-panel {
    position: static !important;
  }

  body.page--platform-shell.page--checkout-redesign .checkout-summary-actions,
  body.page--platform-shell.page--pricing .pricing-hero__actions,
  body.page--platform-shell.page--pricing .pricing-summary-actions,
  body.page--platform-shell .premium-modal__footer .actions-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page--platform-shell.page--checkout-redesign .checkout-summary-actions .btn,
  body.page--platform-shell.page--pricing .pricing-hero__actions .btn,
  body.page--platform-shell.page--pricing .pricing-summary-actions .btn,
  body.page--platform-shell .premium-modal__footer .actions-row .btn {
    width: 100% !important;
  }
}

/* 2026-08-09 public landing density pass: align home and certification entry surfaces with the compact platform shell. */
body.page--platform-shell.page--platform-public:is(.page--platform-home, .page--platform-certifications) {
  --public-landing-gap: 12px;
  --public-landing-panel-pad: 14px;
}

body.page--platform-shell.page--platform-public.page--platform-home .page-main--platform {
  padding-top: calc(var(--platform-topbar-height) + 12px) !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard {
  display: grid !important;
  gap: var(--public-landing-gap) !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__hero-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.72fr) !important;
  gap: var(--public-landing-gap) !important;
  align-items: stretch !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__metric-grid {
  grid-template-columns: repeat(3, minmax(128px, 0.62fr)) minmax(260px, 1.12fr) !important;
  gap: var(--public-landing-gap) !important;
  align-items: stretch !important;
}

body.page--platform-shell.page--platform-public.page--platform-home :is(
  .aws-cockpit-dashboard__command,
  .aws-cockpit-dashboard__next-card,
  .aws-cockpit-dashboard__metric-card,
  .aws-cockpit-dashboard__weak-card
) {
  min-height: 0 !important;
  padding: var(--public-landing-panel-pad) !important;
  border-radius: var(--platform-radius) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__command {
  border-left: 4px solid var(--platform-gold) !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__hero-copy {
  align-content: start !important;
  gap: 8px !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__eyebrow-row {
  justify-content: flex-start !important;
  gap: 6px !important;
}

body.page--platform-shell.page--platform-public.page--platform-home :is(
  .aws-cockpit-dashboard__eyebrow-row .platform-kicker,
  .aws-cockpit-dashboard__status,
  .aws-cockpit-dashboard__ai-badge
) {
  min-height: 26px !important;
  padding: 5px 8px !important;
  border-radius: var(--platform-control-radius) !important;
  font-size: 11px !important;
  line-height: 1.15 !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__hero-copy h1 {
  max-width: 760px !important;
  font-size: 34px !important;
  line-height: 1.08 !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__hero-copy > p {
  max-width: 78ch !important;
  font-size: 14px !important;
  line-height: 1.42 !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .platform-command-card__actions {
  gap: 8px !important;
  margin-top: 2px !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .platform-command-card__actions .btn {
  min-height: 36px !important;
  padding: 8px 11px !important;
  border-radius: var(--platform-control-radius) !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__next-card {
  display: grid !important;
  align-content: start !important;
  gap: 8px !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__next-card .platform-panel__head {
  gap: 8px !important;
  margin-bottom: 0 !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__next-card .platform-panel__head h2,
body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__weak-card .platform-panel__head h2 {
  margin-top: 1px !important;
  font-size: 20px !important;
  line-height: 1.15 !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__next-title {
  margin-bottom: 2px !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__sequence {
  padding-left: 14px !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__sequence li {
  min-height: 38px !important;
  padding: 0 0 8px 14px !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__sequence li::before {
  top: 3px !important;
  left: -5px !important;
  width: 8px !important;
  height: 8px !important;
  box-shadow: none !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__metric-grid > .platform-panel {
  min-height: 128px !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__metric-card {
  gap: 8px !important;
  align-content: start !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .platform-progress-ring--small {
  width: 104px !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .platform-progress-ring span {
  font-size: 24px !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .platform-progress-ring small {
  margin-top: 4px !important;
  font-size: 11px !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__metric-value {
  font-size: 38px !important;
  line-height: 1 !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__metric-card h2 {
  font-size: 18px !important;
  line-height: 1.18 !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__metric-card p {
  font-size: 12px !important;
  line-height: 1.35 !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__weak-list {
  gap: 8px !important;
}

body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__weak-list a {
  grid-template-columns: minmax(100px, 0.9fr) minmax(84px, 1fr) 36px !important;
  gap: 8px !important;
  min-height: 30px !important;
}

body.page--platform-shell.page--platform-public.page--platform-certifications.page--certification-index .certification-page {
  display: grid !important;
  gap: 0 !important;
}

body.page--platform-shell.page--platform-public.page--platform-certifications.page--certification-index .certification-hero {
  padding: 12px 14px !important;
}

body.page--platform-shell.page--platform-public.page--platform-certifications.page--certification-index .certification-section {
  padding: 10px 0 14px !important;
}

body.page--platform-shell.page--platform-public.page--platform-certifications.page--certification-index .certification-section__heading {
  gap: var(--public-landing-gap) !important;
  margin-bottom: var(--public-landing-gap) !important;
}

body.page--platform-shell.page--platform-public.page--platform-certifications.page--certification-index .certification-card-grid {
  gap: var(--public-landing-gap) !important;
}

@media (max-width: 1180px) {
  body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__hero-grid,
  body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__metric-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 640px) {
  body.page--platform-shell.page--platform-public:is(.page--platform-home, .page--platform-certifications) {
    --public-landing-gap: 10px;
    --public-landing-panel-pad: 12px;
  }

  body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__hero-copy h1 {
    font-size: 28px !important;
    line-height: 1.12 !important;
  }

  body.page--platform-shell.page--platform-public.page--platform-home .platform-command-card__actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page--platform-shell.page--platform-public.page--platform-home .platform-command-card__actions .btn {
    width: 100% !important;
  }

  body.page--platform-shell.page--platform-public.page--platform-home .aws-cockpit-dashboard__weak-list a {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page--platform-shell.page--platform-public.page--platform-certifications.page--certification-index .certification-hero {
    padding: 12px !important;
  }
}

/* User: George | Story: #0 | Date: 2026-08-11 | Change: Match the five core study pages to the Dashboard content canvas. */
body.page--platform-shell.page--platform-certifications.page--certification-index .certification-page,
body.page--platform-shell.page--platform-codals.page--course-modules .course-modules,
body.page--platform-shell.page--platform-exam-outline.page--syllabus-overview .syllabus-page--overview,
body.page--platform-shell.page--platform-flashcards .flashcards-view,
body.page--platform-shell.page--platform-quizzes .aws-quiz-page {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-hero,
body.page--platform-shell.page--platform-codals.page--course-modules :is(.course-modules__masthead, .course-modules__layout) {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-hero {
  padding-inline: 18px !important;
}

body.page--platform-shell.page--platform-certifications.page--certification-index .certification-shell {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

@media (max-width: 640px) {
  body.page--platform-shell.page--platform-certifications.page--certification-index .certification-hero {
    padding-inline: 12px !important;
  }
}
/* End Dashboard-aligned study content canvas. */
