/* Optional UI enhancement layer. Remove this stylesheet to restore the base pastel dashboard theme. */
:root {
  --plus-blue: #07536f;
  --plus-blue-soft: #dff2f8;
  --plus-teal: #0d7667;
  --plus-lime: #d8ee75;
  --plus-ink: #102b3a;
  --plus-muted: #526d7a;
  --plus-line: rgba(35, 81, 99, 0.18);
  --plus-line-strong: rgba(24, 77, 99, 0.34);
  --plus-shadow-1: 0 6px 16px rgba(34, 76, 92, 0.08);
  --plus-shadow-2: 0 16px 36px rgba(31, 73, 89, 0.12);
}

.lucide-icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.app-2026 :where(.field-help-button, .field-help summary, .help-dialog-close) .lucide-icon {
  width: 0.95rem;
  height: 0.95rem;
}

body.app-2026 :where(.field-help-button, .field-help summary)::before {
  content: none;
}

body.app-2026 .help-dialog-close {
  font-size: 1rem;
}

body.app-2026 :where(.btn, .nav-link, .hero-support-copy, .wizard-context-item,
  .wizard-result-action, .wizard-result-start-again) {
  gap: 0.45rem;
}

body.app-2026 .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding-inline: 1rem;
  font-weight: 750;
  box-shadow: none;
  transition:
    transform 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease;
}

body.app-2026 .btn:hover {
  transform: translateY(-1px);
}

body.app-2026 .btn:active {
  transform: translateY(0);
}

body.app-2026 .btn-primary {
  box-shadow: 0 8px 18px rgba(7, 83, 111, 0.18);
}

body.app-2026 .btn-primary:hover {
  box-shadow: 0 10px 22px rgba(7, 83, 111, 0.24);
}

body.app-2026 :where(.home-audit-layout, .audit-form-shell, .page-hero, .section-surface,
  .contrast-unified-panel) {
  border-color: rgba(255, 255, 255, 0.82) !important;
}

body.app-2026 :where(.wizard-step-note, .engine-explainer-card, .wizard-help-card,
  .audit-review-card, .contrast-input-card, .contrast-preview-card, .contrast-guidance-card) {
  box-shadow: none !important;
}

body.page-home .audit-form-shell {
  overflow: hidden;
}

body.page-home .audit-wizard {
  grid-template-rows: auto auto minmax(0, 1fr) auto auto !important;
}

body.page-home .audit-form-header {
  align-items: end;
}

body.page-home .audit-form-header h2 {
  letter-spacing: 0;
}

body.page-home .wizard-progress {
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--plus-line);
}

body.page-home .wizard-progress ol {
  gap: 0.55rem;
}

body.page-home .wizard-progress li {
  position: relative;
  min-height: 48px;
  padding: 0.5rem 0.7rem;
  opacity: 0.62;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

body.page-home .wizard-progress li.is-active {
  z-index: 1;
  opacity: 1;
  transform: translateY(-1px);
  box-shadow:
    inset 0 -3px 0 var(--plus-lime),
    var(--plus-shadow-1);
}

body.page-home .wizard-progress li.is-complete {
  opacity: 0.86;
}

body.page-home .wizard-progress li.is-complete span {
  font-size: 0;
}

body.page-home .wizard-progress li.is-complete span::before {
  content: "✓";
  font-size: 0.8rem;
  font-weight: 900;
}

body.page-home .wizard-progress li strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.page-home .wizard-progress-track {
  height: 5px;
  margin-top: 0.45rem;
  overflow: hidden;
}

body.page-home .wizard-progress-track span {
  transition: width 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-home .wizard-status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

body.page-home .wizard-context {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  min-height: 38px;
  padding: 0.4rem 0;
  overflow: hidden;
}

body.page-home .wizard-context-label {
  flex: 0 0 auto;
  color: var(--plus-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.page-home .wizard-context-list {
  display: flex;
  gap: 0.4rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
}

body.page-home .wizard-context-item {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--plus-line);
  border-radius: 999px;
  color: #315766;
  background: rgba(235, 247, 250, 0.76);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

body.page-home .wizard-context-item span {
  overflow: hidden;
  text-overflow: ellipsis;
}

body.page-home :where(.wizard-context, .wizard-context-item)[hidden] {
  display: none !important;
}

body.page-home .wizard-step {
  animation: plus-step-in 220ms ease both;
}

body.page-home .wizard-step-head {
  margin-bottom: 0.65rem;
}

body.page-home .wizard-step-head .section-kicker {
  display: none;
}

body.page-home .wizard-step-head h3 {
  margin-bottom: 0.18rem;
}

body.page-home .wizard-step-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.8rem;
  border-left: 3px solid var(--plus-teal) !important;
}

body.page-home .wizard-step-note strong {
  white-space: nowrap;
}

body.page-home .wizard-choice-group {
  gap: 0.65rem;
}

body.page-home .wizard-choice label {
  position: relative;
  display: block;
  min-height: 88px;
  padding: 0.78rem 0.9rem 0.78rem 3rem;
  overflow: hidden;
  box-shadow: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

body.page-home .wizard-choice label:hover {
  transform: translateY(-1px);
  border-color: var(--plus-line-strong);
}

body.page-home .wizard-choice label > span {
  margin-top: 0.22rem;
  color: var(--plus-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

body.page-home .wizard-choice label::after,
body.page-home :where(.choice-icon, .choice-selected) {
  display: none !important;
}

body.page-home .wizard-choice input:checked + label {
  border-color: #4c97ad;
  background: linear-gradient(145deg, rgba(220, 242, 247, 0.96), rgba(239, 249, 250, 0.92));
  box-shadow: 0 8px 18px rgba(34, 80, 96, 0.08);
}

body.page-home .wizard-toggle-list .form-check {
  position: relative;
  min-height: 54px;
  align-items: center;
  padding: 0.55rem 0.65rem;
  box-shadow: none;
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease;
}

body.page-home .wizard-toggle-list .form-check:has(input:checked) {
  border-color: rgba(13, 118, 103, 0.42) !important;
  background: rgba(217, 240, 233, 0.62) !important;
  box-shadow: none !important;
}

body.page-home .wizard-toggle-list .form-check::after {
  content: none;
}

body.page-home .form-check-input {
  flex: 0 0 auto;
}

body.page-home .engine-explainer-grid {
  gap: 0.65rem;
}

body.page-home .engine-explainer-card {
  position: relative;
  grid-template-columns: 1fr;
  gap: 0.18rem;
  align-content: start;
  padding: 0.58rem 0.75rem;
}

body.page-home .engine-explainer-card::before {
  content: none;
}

body.page-home .engine-explainer-card p {
  font-size: 0.76rem;
  line-height: 1.3;
}

body.page-home .engine-explainer-card a {
  justify-self: start;
  white-space: nowrap;
  font-size: 0.72rem;
}

body.page-home .wizard-step[data-step="2"] {
  overflow: hidden;
}

body.page-home #lighthouseOptions .wizard-toggle-list .form-check {
  min-height: 76px;
  padding: 0.62rem 0.7rem;
  border-color: var(--plus-line);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
}

body.page-home #lighthouseOptions .wizard-toggle-list .form-check:has(input:checked) {
  border-color: rgba(13, 118, 103, 0.5) !important;
  background: rgba(225, 244, 239, 0.72) !important;
  box-shadow: none !important;
}

body.page-home #lighthouseOptions .wizard-toggle-list .form-check-label {
  padding: 0 !important;
  border: 0 !important;
  color: var(--plus-ink) !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.page-home #lighthouseOptions .wizard-toggle-list small {
  color: var(--plus-muted);
}

body.page-home .audit-review-card {
  grid-template-columns: minmax(0, 1.25fr) minmax(150px, 0.75fr) minmax(0, 1fr);
  gap: 0.55rem;
  padding: 0.55rem;
}

body.page-home .audit-review-card > div {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--plus-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.45);
}

body.page-home .wizard-actions {
  box-shadow: 0 -10px 24px rgba(37, 79, 94, 0.05);
}

body.page-home .wizard-actions .btn {
  min-width: 118px;
}

body.page-home .wizard-actions[hidden] {
  display: none !important;
}

body.page-home .wizard-result-panel {
  position: relative;
  overflow: hidden;
}

body.page-home .wizard-result-panel::before {
  content: none;
}

body.page-home .wizard-result-panel.result-clear {
  --result-accent: #0d7667;
}

body.page-home .wizard-result-panel.result-review {
  --result-accent: #a26300;
}

body.page-home .wizard-result-panel.result-risk {
  --result-accent: #b23b4b;
}

body.page-home .wizard-result-head {
  gap: 0.8rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--plus-line);
}

body.page-home .wizard-result-summary {
  flex: 1 1 420px;
  min-width: 250px;
}

body.page-home .wizard-result-summary h3 {
  margin-bottom: 0.12rem;
}

body.page-home .wizard-result-emoji {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

body.page-home .wizard-result-toolbar {
  flex: 0 0 auto;
  align-items: center;
}

body.page-home .wizard-result-actions {
  gap: 0.45rem;
}

body.page-home .wizard-result-action,
body.page-home .wizard-result-start-again {
  min-height: 38px;
  padding: 0.45rem 0.72rem;
  border-radius: 10px !important;
  font-size: 0.78rem;
}

body.page-home .wizard-result-metrics {
  gap: 0.55rem;
}

body.page-home .wizard-result-metrics > div {
  position: relative;
  min-height: 72px;
  padding: 0.65rem 0.8rem;
  overflow: hidden;
}

body.page-home .wizard-result-metrics > div::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--result-accent, var(--plus-teal));
  opacity: 0.72;
}

body.page-home .lighthouse-score-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: stretch;
}

body.page-home .lighthouse-score-card {
  display: grid;
  grid-template-rows: auto auto;
  gap: 0.55rem;
  min-height: 120px;
  width: 100%;
  max-width: none;
  aspect-ratio: auto;
  align-content: center;
  justify-items: center;
  padding: 0.55rem !important;
  border: 1px solid var(--plus-line) !important;
  border-top: 1px solid var(--plus-line) !important;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

body.page-home .lighthouse-score-card .score-ring {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, rgba(255, 255, 255, 0.98) 69%, transparent 71%),
    conic-gradient(var(--score-color, var(--plus-teal)) var(--score), #dce8ec 0);
  box-shadow: inset 0 0 0 1px rgba(35, 81, 99, 0.06);
}

body.page-home .lighthouse-score-card .score-ring > span {
  display: flex;
  align-items: baseline;
  color: var(--plus-ink);
}

body.page-home .lighthouse-score-card .score-ring strong {
  color: var(--plus-ink) !important;
  font-size: 1.12rem;
  font-weight: 850;
  line-height: 1;
}

body.page-home .lighthouse-score-copy {
  display: grid !important;
  gap: 0.08rem;
  justify-items: center;
  text-align: center;
}

body.page-home .lighthouse-score-copy strong {
  color: var(--plus-ink);
  font-size: 0.74rem;
}

body.page-home .lighthouse-score-copy small {
  color: var(--plus-muted);
  font-size: 0.62rem;
}

body.page-home .lighthouse-score-card.score-good {
  --score-color: #0d7667;
}

body.page-home .lighthouse-score-card.score-average {
  --score-color: #a26300;
}

body.page-home .lighthouse-score-card.score-poor {
  --score-color: #b23b4b;
}

body.page-home .result-metric-emoji {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  margin-right: 0.35rem;
  border-radius: 7px;
  background: rgba(7, 83, 111, 0.08);
  font-style: normal;
}

body.page-home .result-priority {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  margin-top: 0.35rem;
  padding: 0.26rem 0.5rem;
  border: 1px solid color-mix(in srgb, var(--result-accent) 35%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--result-accent) 75%, #102b3a);
  background: color-mix(in srgb, var(--result-accent) 10%, white);
  font-size: 0.68rem;
  font-weight: 850;
}

body.page-home .manual-audit-callout {
  padding: 0.65rem 0.8rem;
}

body.page-home .wizard-result-restart {
  justify-content: flex-end;
  padding-top: 0.15rem;
  border-top: 1px solid var(--plus-line);
}

body.page-home .audit-running {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  min-height: 250px;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  padding: clamp(1rem, 2.5vw, 1.7rem);
  animation: plus-fade-in 220ms ease both;
}

body.page-home .audit-loading-visual {
  width: 170px;
  min-width: 170px;
  border-radius: 18px;
  border: 1px solid var(--plus-line);
  box-shadow: var(--plus-shadow-1);
}

body.page-home .audit-loading-character {
  animation: plus-scan-character 2.6s ease-in-out infinite;
}

body.page-home .audit-loading-progress span {
  animation: plus-loading 1.8s ease-in-out infinite;
}

body.page-home .audit-loading-copy {
  max-width: 680px;
}

body.page-home .audit-loading-kicker {
  margin-bottom: 0.28rem;
  color: var(--plus-teal) !important;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.page-home .audit-loading-copy > strong {
  margin-bottom: 0.2rem;
  color: var(--plus-ink);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
}

body.page-home .audit-loading-progress {
  width: min(520px, 100%);
  height: 7px;
  margin-top: 1rem;
}

body.page-home .audit-loading-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(520px, 100%);
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: loading-stage;
}

body.page-home .audit-loading-stages li {
  display: flex;
  gap: 0.38rem;
  align-items: center;
  color: var(--plus-muted);
  font-size: 0.68rem;
  font-weight: 750;
  counter-increment: loading-stage;
  animation: plus-loading-stage 4.5s ease-in-out infinite;
}

body.page-home .audit-loading-stages li::before {
  content: counter(loading-stage);
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  flex: 0 0 20px;
  border: 1px solid var(--plus-line-strong);
  border-radius: 50%;
  color: var(--plus-teal);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
}

body.page-home .audit-loading-stages li:nth-child(2) {
  animation-delay: 1.5s;
}

body.page-home .audit-loading-stages li:nth-child(3) {
  animation-delay: 3s;
}

body.page-home .audit-scan-line {
  position: absolute;
  inset: 10% 8% auto;
  z-index: 2;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #087f78 20%, #cde85c 50%, #087f78 80%, transparent);
  box-shadow: 0 0 14px rgba(8, 127, 120, 0.42);
  animation: plus-scan-line 2.4s ease-in-out infinite;
}

@keyframes plus-scan-line {
  0%, 100% { opacity: 0; transform: translateY(8px); }
  12% { opacity: 0.95; }
  75% { opacity: 0.95; transform: translateY(126px); }
  88% { opacity: 0; transform: translateY(134px); }
}

@keyframes plus-loading-stage {
  0%, 25%, 100% { color: var(--plus-muted); opacity: 0.72; }
  8%, 18% { color: var(--plus-ink); opacity: 1; }
}

@media (max-width: 680px) {
  body.page-home .audit-running {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 190px;
    gap: 0.85rem;
    padding: 0.85rem;
  }

  body.page-home .audit-loading-visual {
    width: 92px;
    min-width: 92px;
  }

  body.page-home .audit-loading-stages {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  body.page-home .audit-loading-stages li:nth-child(-n+2) {
    display: none;
  }

  body.page-home .audit-scan-line {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-home .audit-loading-stages li,
  body.page-home .audit-scan-line {
    animation: none !important;
  }

  body.page-home .audit-loading-stages li {
    opacity: 1;
  }
}

body.app-2026 .alert {
  position: relative;
  border-width: 1px;
  border-radius: 12px;
  box-shadow: var(--plus-shadow-1);
}

body.page-home #formError:not(.visually-hidden) {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem 0.9rem 0.75rem 2.8rem;
  color: #742534;
  background: #fce9ed;
}

body.page-home #formError:not(.visually-hidden)::before {
  content: "!";
  position: absolute;
  top: 0.66rem;
  left: 0.85rem;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  color: #ffffff;
  background: #a83245;
  font-weight: 900;
}

body.page-statistics .public-stat-card,
body.app-admin-stats .kpi-card {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

body.page-statistics .public-stat-card:hover,
body.app-admin-stats .kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--plus-shadow-2);
}

body.page-statistics .table-surface,
body.app-admin-stats .panel {
  box-shadow: var(--plus-shadow-1) !important;
}

body.page-about .card {
  overflow: hidden;
}

body.page-contrast .contrast-result-card {
  box-shadow: var(--plus-shadow-2);
}

body.dark-mode.app-2026 {
  --plus-blue: #8fd8f0;
  --plus-blue-soft: #244b5b;
  --plus-teal: #77d5c2;
  --plus-lime: #d8ee75;
  --plus-ink: #f3f9fb;
  --plus-muted: #bdd0d8;
  --plus-line: rgba(191, 222, 232, 0.18);
  --plus-line-strong: rgba(191, 222, 232, 0.34);
}

body.dark-mode.page-home .audit-form-shell {
  background: #173541 !important;
}

body.dark-mode.page-home .wizard-progress {
  border-bottom-color: var(--plus-line);
}

body.dark-mode.page-home .wizard-progress li {
  background: #152c3a !important;
}

body.dark-mode.page-home .wizard-progress li.is-active {
  border-color: #72c8e3 !important;
  background: #21465a !important;
}

body.dark-mode.page-home .wizard-context-item {
  border-color: var(--plus-line);
  color: #d9eaf0;
  background: #1a3a47;
}

body.dark-mode.page-home .choice-icon {
  border-color: var(--plus-line);
  color: #bfeefa;
  background: #204b5d;
}

body.dark-mode.page-home .choice-copy > span {
  color: #bdd0d8 !important;
}

body.dark-mode.page-home .choice-selected,
body.dark-mode.page-home .wizard-toggle-list .form-check::after {
  color: #dff8f1;
  background: #205b50;
}

body.dark-mode.page-home .wizard-toggle-list .form-check:has(input:checked) {
  border-color: rgba(119, 213, 194, 0.46) !important;
  background: #1d4c43 !important;
}

body.dark-mode.page-home .wizard-choice input:checked + label {
  border-color: #72c8e3;
  background: #21465a !important;
}

body.dark-mode.page-home #lighthouseOptions .wizard-toggle-list .form-check-label,
body.dark-mode.page-home .lighthouse-score-copy strong {
  color: #f2f8fa !important;
}

body.dark-mode.page-home #lighthouseOptions .wizard-toggle-list small,
body.dark-mode.page-home .lighthouse-score-copy small {
  color: #bdd0d8;
}

body.dark-mode.page-home .lighthouse-score-card {
  border-color: rgba(156, 204, 220, 0.22) !important;
  background: #193b48;
}

body.dark-mode.page-home .lighthouse-score-card .score-ring {
  background:
    radial-gradient(circle closest-side, #193b48 69%, transparent 71%),
    conic-gradient(var(--score-color, #77d5c2) var(--score), #315462 0);
}

body.dark-mode.page-home .lighthouse-score-card .score-ring > span {
  color: #f2f8fa;
}

body.dark-mode.page-home .lighthouse-score-card .score-ring strong {
  color: #f2f8fa !important;
}

body.dark-mode.page-home .audit-review-card > div {
  border-color: var(--plus-line);
  background: #193b48;
}

body.dark-mode.page-home .wizard-actions {
  background: #142c38 !important;
  box-shadow: 0 -10px 24px rgba(2, 14, 20, 0.12);
}

body.dark-mode.page-home .result-priority {
  color: #f2f8fa;
  background: rgba(255, 255, 255, 0.06);
}

body.dark-mode.page-home .result-metric-emoji {
  background: rgba(143, 216, 240, 0.12);
}

body.dark-mode.page-home #formError:not(.visually-hidden) {
  color: #ffdbe2;
  background: #552631;
}

body.dark-mode.page-subpage :where(.card, .public-stat-card, .table-surface),
body.dark-mode.app-admin-stats :where(.kpi-card, .panel) {
  box-shadow: 0 10px 28px rgba(2, 15, 21, 0.16) !important;
}

body.page-subpage .statistics-empty td {
  padding: 2rem 1rem;
  text-align: center;
}

body.page-subpage .statistics-empty-content {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  max-width: 440px;
  margin-inline: auto;
  color: var(--plus-muted);
}

body.page-subpage .statistics-empty-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--plus-line);
  border-radius: 50%;
  color: var(--plus-blue);
  background: var(--plus-blue-soft);
}

body.page-subpage .statistics-empty strong {
  color: var(--plus-ink);
}

body.dark-mode.page-subpage .statistics-empty-content {
  color: #b9ced7;
}

body.dark-mode.page-subpage .statistics-empty-icon {
  color: #bfeefa;
  background: #204b5d;
}

body.dark-mode.page-subpage .statistics-empty strong {
  color: #f2f8fa;
}

@keyframes plus-step-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes plus-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes plus-scan-character {
  0%, 100% { transform: translateX(-3px) rotate(-1deg); }
  50% { transform: translateX(4px) rotate(1deg); }
}

@keyframes plus-loading {
  0% { transform: translateX(-70%); }
  50% { transform: translateX(15%); }
  100% { transform: translateX(105%); }
}

@media (max-width: 1100px) {
  body.page-home .wizard-context {
    align-items: flex-start;
  }

  body.page-home .wizard-context-list {
    flex-wrap: wrap;
    overflow: visible;
  }

  body.page-home .wizard-choice label {
    min-height: 92px;
  }
}

@media (max-width: 768px) {
  body.page-home .wizard-progress ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.page-home .wizard-progress li {
    min-height: 44px;
  }

  body.page-home .wizard-context {
    display: grid;
    gap: 0.35rem;
  }

  body.page-home .wizard-context-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-home .wizard-context-item {
    width: 100%;
  }

  body.page-home .wizard-step-note {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  body.page-home .lighthouse-score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-home .audit-review-card {
    grid-template-columns: 1fr;
  }

  body.page-home .wizard-result-head {
    align-items: stretch;
  }

  body.page-home .wizard-result-toolbar,
  body.page-home .wizard-result-actions {
    width: 100%;
  }

  body.page-home .wizard-result-action {
    flex: 1 1 0;
  }
}

@media (max-height: 820px) and (min-width: 1101px) {
  body.page-home .wizard-context {
    min-height: 32px;
    padding-block: 0.25rem;
  }

  body.page-home .wizard-progress li {
    min-height: 42px;
  }

  body.page-home .wizard-step-head {
    margin-bottom: 0.45rem;
  }

  body.page-home .wizard-choice label {
    min-height: 84px;
    padding-block: 0.6rem;
  }

  body.page-home .wizard-step[data-step="5"] {
    overflow-x: visible;
    overflow-y: auto;
  }

  body.page-home .wizard-result-panel {
    overflow: visible;
  }

  body.page-home .wizard-result-head {
    gap: 0.45rem;
    padding-bottom: 0.4rem;
  }

  body.page-home .wizard-result-summary h3 {
    font-size: 1rem;
  }

  body.page-home .wizard-result-summary p {
    font-size: 0.72rem;
  }

  body.page-home .result-priority {
    margin-top: 0.22rem;
  }

  body.page-home .lighthouse-score-grid {
    gap: 0.45rem;
  }

  body.page-home .lighthouse-score-card {
    min-height: 102px;
    gap: 0.35rem;
    padding: 0.42rem !important;
  }

  body.page-home .lighthouse-score-card .score-ring {
    width: 58px;
    height: 58px;
  }

  body.page-home .lighthouse-score-card .score-ring strong {
    font-size: 0.96rem;
  }

  body.page-home .manual-audit-callout {
    padding: 0.42rem 0.55rem;
  }

  body.page-home .manual-audit-callout strong,
  body.page-home .manual-audit-callout span {
    font-size: 0.7rem;
  }

  body.page-home .wizard-result-restart {
    padding-top: 0.18rem;
  }

  body.page-home .wizard-actions {
    padding-block: 0.45rem;
  }
}

@media (max-height: 700px) and (min-width: 769px) {
  body.page-home .wizard-step[data-step="3"],
  body.page-home .wizard-step[data-step="5"] {
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.page-home .wizard-result-panel {
    overflow: visible;
  }

  body.page-home .wizard-step[data-step="3"] {
    overflow: hidden;
  }

  body.page-home .wizard-step[data-step="3"] {
    gap: 0.25rem;
  }

  body.page-home .wizard-step[data-step="3"] .wizard-step-head {
    margin-bottom: 0.18rem;
  }

  body.page-home .wizard-options-panel {
    gap: 0.28rem;
  }

  body.page-home .wizard-field-pair {
    gap: 0.45rem;
  }

  body.page-home .wizard-step[data-step="3"] :where(.form-control, .form-select) {
    min-height: 40px;
    padding-block: 0.35rem;
  }

  body.page-home .wizard-step[data-step="3"] .form-label {
    margin-bottom: 0.18rem;
    font-size: 0.78rem;
  }

  body.page-home .wizard-step[data-step="3"] .wizard-toggle-list .form-check {
    min-height: 44px;
    padding-block: 0.4rem;
  }

  body.page-home .wizard-step[data-step="3"] .wizard-small-note {
    font-size: 0.68rem;
  }

  body.page-home .wizard-result-panel {
    gap: 0.32rem;
    padding-block: 0.5rem;
  }

  body.page-home .wizard-result-head {
    padding-bottom: 0.28rem;
  }

  body.page-home .lighthouse-score-grid {
    gap: 0.35rem;
  }

  body.page-home .lighthouse-score-card {
    min-height: 78px;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 0.38rem;
    padding: 0.32rem 0.42rem !important;
  }

  body.page-home .lighthouse-score-card .score-ring {
    width: 50px;
    height: 50px;
  }

  body.page-home .lighthouse-score-card .score-ring strong {
    font-size: 0.96rem;
  }

  body.page-home .lighthouse-score-copy {
    justify-items: start;
    text-align: left;
  }

  body.page-home .manual-audit-callout {
    padding-block: 0.34rem;
  }

  body.page-home .wizard-result-restart {
    padding-top: 0.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.app-2026 *,
  body.app-2026 *::before,
  body.app-2026 *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
