.bantbot-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(240, 188, 116, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(31, 41, 55, 0.03), rgba(31, 41, 55, 0)),
    #f2f4f6;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  background: linear-gradient(145deg, #f0bc74, #f7d7aa);
  color: #1f2937;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.2);
}

.brand-mark svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

.topbar-action {
  min-width: 8.5rem;
}

.section-kicker,
.footer-kicker,
.metric-label,
.dimension-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-list,
.score-list {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.6;
  font-size: 1rem;
}

.score-form {
  display: grid;
  gap: 1.25rem;
}

.score-form-layout,
.score-form-column {
  display: grid;
  gap: 1.25rem;
}

.score-form-actions {
  display: flex;
  justify-content: center;
}

.score-form-submit-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.analysis-submit-button {
  min-width: 11rem;
  padding-inline: 2.5rem;
}

@media (min-width: 992px) {
  .score-form-layout--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .score-form-layout--wide .score-form-field--compact {
    max-width: calc(50% - 0.625rem);
  }

  .score-form-layout--wide .score-form-field--full,
  .score-form-layout--wide .score-form-actions {
    grid-column: 1 / -1;
  }
}

.analysis-status-banner {
  padding: 1rem 1.25rem;
  border-left: 0.35rem solid #0ea5e9;
  border-radius: 1rem;
  background: linear-gradient(180deg, #eff8ff, #dff2ff);
  color: #0f172a;
}

.analysis-status-icon-wrap {
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.14);
  color: #0369a1;
  flex: 0 0 auto;
}

.analysis-status-spinner {
  position: absolute;
  inset: 0.22rem;
  border: 2px solid rgba(14, 165, 233, 0.18);
  border-top-color: #0284c7;
  border-radius: 999px;
  animation: bantbot-spin 0.9s linear infinite;
}

.analysis-status-glyph {
  position: absolute;
  inset: 0.72rem;
  width: 1.8rem;
  height: 1.8rem;
  fill: currentColor;
}

.analysis-status-kicker {
  color: #0369a1;
}

.analysis-status-copy {
  color: #334155;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #374151;
}

.form-control {
  border-color: #d1d5db;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  box-shadow: none;
}

.form-control:focus {
  border-color: #2361ce;
  box-shadow: 0 0 0 0.2rem rgba(35, 97, 206, 0.15);
}

textarea.form-control {
  min-height: 10rem;
  resize: vertical;
}

.field-note {
  margin-top: 0.55rem;
  color: #6b7280;
  font-size: 0.88rem;
}

.form-badge {
  align-self: flex-start;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
}

.error-card {
  border-left: 0.35rem solid #e11d48;
}

.error-card-warning {
  border-left-color: #d97706;
}

.error-card-danger {
  border-left-color: #e11d48;
}

.error-kicker-warning {
  color: #b45309;
}

.error-kicker-danger {
  color: #be123c;
}

.error-detail-note {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 1rem;
  background: #f9fafb;
}

.error-detail-note strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #111827;
}

.error-detail-note p {
  color: #4b5563;
  line-height: 1.6;
}

.saved-run-callout {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff, #f9fafb);
}

.saved-run-link {
  font-weight: 700;
  color: #1d4ed8;
  text-decoration: none;
}

.saved-run-link:hover,
.saved-run-link:focus {
  color: #1e40af;
  text-decoration: underline;
}

.run-trace-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.site-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.logout-form {
  margin: 0;
}

.user-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  color: #111827;
  line-height: 1.2;
}

.user-chip-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
}

.login-card {
  max-width: 40rem;
  margin: 0 auto;
}

.login-copy,
.login-note {
  max-width: 28rem;
}

.google-signin-shell {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.google-signin-button-wrap {
  min-height: 2.75rem;
}

.google-signin-button-wrap > div {
  max-width: 100%;
}

.history-link-list {
  display: grid;
  gap: 0.85rem;
}

.history-link-card {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff, #f9fafb);
  color: #111827;
  text-decoration: none;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    border-color 140ms ease;
}

.history-link-card:hover,
.history-link-card:focus {
  transform: translateY(-1px);
  border-color: rgba(35, 97, 206, 0.25);
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.08);
  color: #111827;
  text-decoration: none;
}

.history-link-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.history-link-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  color: #6b7280;
  font-size: 0.88rem;
}

.history-link-stat {
  color: #4b5563;
  font-weight: 600;
}

.trace-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
  color: #374151;
  font-size: 0.85rem;
  font-weight: 600;
}

.score-chip {
  min-width: 12rem;
  padding: 1.15rem 1.35rem;
  border-radius: 1.1rem;
  background: linear-gradient(145deg, #1f2937, #111827);
  color: #fff;
  box-shadow: 0 18px 30px rgba(17, 24, 39, 0.18);
  text-align: left;
}

.score-chip--highly_qualified {
  background: linear-gradient(145deg, #047857, #065f46);
  box-shadow: 0 18px 30px rgba(4, 120, 87, 0.22);
}

.score-chip--strongly_qualified {
  background: linear-gradient(145deg, #15803d, #166534);
  box-shadow: 0 18px 30px rgba(21, 128, 61, 0.2);
}

.score-chip--workable {
  background: linear-gradient(145deg, #b45309, #92400e);
  box-shadow: 0 18px 30px rgba(180, 83, 9, 0.22);
}

.score-chip--emerging {
  background: linear-gradient(145deg, #c2410c, #9a3412);
  box-shadow: 0 18px 30px rgba(194, 65, 12, 0.22);
}

.score-chip--unqualified {
  background: linear-gradient(145deg, #b91c1c, #991b1b);
  box-shadow: 0 18px 30px rgba(185, 28, 28, 0.22);
}

.score-chip-label {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.score-chip strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1.1;
}

.score-chip-note {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.45;
}

.score-chip-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.score-chip-stat {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.metric-card {
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.metric-label {
  margin-bottom: 0.55rem;
  color: #6b7280;
}

.metric-value {
  margin: 0;
  color: #111827;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.metric-band {
  margin: 0;
}

.metric-detail {
  margin: 0.7rem 0 0;
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.55;
}

.metric-small {
  font-size: 1rem;
  line-height: 1.5;
}

.account-summary-card {
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.account-summary-paragraph {
  max-width: 78rem;
  color: #374151;
  font-size: 1rem;
  line-height: 1.65;
}

.qualification-band-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.qualification-band-pill--highly_qualified {
  background: #d1fae5;
  color: #065f46;
}

.qualification-band-pill--strongly_qualified {
  background: #dcfce7;
  color: #166534;
}

.qualification-band-pill--workable {
  background: #fef3c7;
  color: #92400e;
}

.qualification-band-pill--emerging {
  background: #ffedd5;
  color: #c2410c;
}

.qualification-band-pill--unqualified {
  background: #fee2e2;
  color: #b91c1c;
}

.dimension-card {
  height: 100%;
  padding: 1.25rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.98));
  font-size: 1rem;
}

.dimension-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}

.dimension-card .dimension-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.dimension-status-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.maturity-pill,
.confidence-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.maturity-pill--highly_qualified {
  background: #d1fae5;
  color: #065f46;
}

.maturity-pill--strongly_qualified {
  background: #dcfce7;
  color: #166534;
}

.maturity-pill--workable {
  background: #fef3c7;
  color: #92400e;
}

.maturity-pill--emerging {
  background: #ffedd5;
  color: #c2410c;
}

.maturity-pill--unqualified {
  background: #fee2e2;
  color: #b91c1c;
}

.confidence-pill {
  background: #eef2f7;
  color: #475569;
}

.dimension-meta {
  color: #6b7280;
  font-size: 0.92rem;
}

.documentation-dimension-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 248, 252, 0.98));
}

.documentation-subhead {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.documentation-note {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 1rem;
  background: #f9fafb;
  color: #374151;
  font-size: 0.98rem;
  line-height: 1.65;
}

.documentation-note strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #111827;
}

.documentation-step {
  background: linear-gradient(180deg, #ffffff, #f9fafb);
}

.card .card-body > p.text-gray-600,
.card .card-body > p.text-gray-700,
.card .card-body > ul,
.card .card-body > ol,
.empty-state-tile p,
.table tbody td {
  font-size: 1rem;
}

.table > :not(caption) > * > * {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.table thead th {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.empty-state-card {
  min-height: 100%;
}

.empty-state-tile {
  display: grid;
  gap: 0.95rem;
  height: 100%;
  padding: 1.1rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 1rem;
  background: #f9fafb;
}

.empty-state-tile-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.history-provider-cell {
  min-width: 12rem;
  color: #4b5563;
  font-size: 0.92rem;
  word-break: break-word;
}

.meta-list {
  display: grid;
  gap: 1rem;
}

.meta-row {
  margin: 0;
}

.meta-label {
  margin-bottom: 0.3rem;
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meta-value {
  margin: 0;
  color: #111827;
  font-size: 1rem;
}

.document-list {
  display: grid;
  gap: 1rem;
}

.snapshot-card {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff, #f9fafb);
}

.snapshot-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
}

.snapshot-preview {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tile-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #f0bc74;
  color: #111827;
  font-weight: 700;
}

.footer-card {
  background: rgba(255, 255, 255, 0.88);
}

@keyframes bantbot-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 991px) {
  .score-chip {
    width: 100%;
  }

  .analysis-status-icon-wrap {
    width: 2.85rem;
    height: 2.85rem;
  }
}

@font-face {
  font-family: Play;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/Play-Regular.woff2") format("woff2");
}

@font-face {
  font-family: Play;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/Play-Bold.woff2") format("woff2");
}

:root {
  --snapsoft-green: #00a486;
  --snapsoft-dark: #1e2a38;
  --snapsoft-light: #e9eaeb;
  --snapsoft-orange: #ff6b00;
  --snapsoft-accent: #29deb5;
  --snapsoft-paper: #f1f3f5;
  --snapsoft-card: #ffffff;
  --snapsoft-border: rgba(30, 42, 56, 0.12);
  --snapsoft-shadow: 0 22px 44px rgba(30, 42, 56, 0.08);
}

html,
body,
.bantbot-shell,
.bantbot-shell .btn,
.bantbot-shell .form-control,
.bantbot-shell .navbar-brand,
.bantbot-shell .badge {
  font-family: Play, "Segoe UI", sans-serif;
}

.bantbot-shell {
  color: var(--snapsoft-dark);
  background: var(--snapsoft-paper);
}

.site-shell-container {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding-inline: clamp(1rem, 2.8vw, 2rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(30, 42, 56, 0.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(30, 42, 56, 0.06);
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--snapsoft-dark);
  text-decoration: none;
}

.brand-wordmark,
.site-footer-wordmark {
  display: block;
  width: auto;
  height: 1.4rem;
}

.brand-divider {
  width: 1px;
  height: 2rem;
  background: linear-gradient(
    180deg,
    rgba(30, 42, 56, 0.15),
    rgba(41, 222, 181, 0.9),
    rgba(30, 42, 56, 0.15)
  );
}

.brand-app-meta {
  display: grid;
  gap: 0.1rem;
  line-height: 1;
}

.brand-app-title {
  display: block;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--snapsoft-dark);
}

.brand-app-subtitle {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--snapsoft-green);
}

.site-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.25rem;
  margin-left: auto;
}

.topbar-action {
  min-width: 0;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  color: var(--snapsoft-dark) !important;
  position: relative;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.topbar-action::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.42rem;
  width: 100%;
  height: 2px;
  background: var(--snapsoft-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.topbar-action:hover::after,
.topbar-action:focus::after,
.topbar-action.is-active::after {
  transform: scaleX(1);
}

.topbar-action.is-active {
  color: var(--snapsoft-green) !important;
}

.site-main {
  padding: 2rem 0 3rem;
}

.site-footer {
  margin-top: 1rem;
  background: var(--snapsoft-dark);
  color: rgba(255, 255, 255, 0.88);
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.75rem;
  padding-block: 2rem;
}

.site-footer-brand {
  display: grid;
  gap: 0.8rem;
  max-width: 34rem;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.85rem 1.25rem;
}

.site-footer-wordmark {
  height: 1.35rem;
}

.site-footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.site-footer-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer-link:hover,
.site-footer-link:focus {
  color: var(--snapsoft-accent);
  text-decoration: none;
}

.card,
.documentation-note,
.saved-run-callout,
.snapshot-card,
.empty-state-tile,
.history-link-card {
  border-radius: 1rem;
}

.card {
  background: var(--snapsoft-card);
  box-shadow: var(--snapsoft-shadow) !important;
}

.workbench-card,
.metric-card,
.account-summary-card,
.documentation-note,
.saved-run-callout,
.snapshot-card,
.empty-state-tile,
.history-link-card,
.dimension-card {
  border: 1px solid var(--snapsoft-border);
}

.workbench-card,
.metric-card,
.account-summary-card,
.empty-state-tile {
  position: relative;
  overflow: hidden;
}

.workbench-card::before,
.metric-card::before,
.account-summary-card::before,
.empty-state-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--snapsoft-accent);
}

.workbench-card .card-body,
.metric-card .card-body,
.account-summary-card .card-body,
.empty-state-tile,
.documentation-note,
.snapshot-card,
.saved-run-callout,
.history-link-card {
  position: relative;
}

.section-kicker,
.footer-kicker,
.documentation-subhead {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  color: var(--snapsoft-dark);
}

.section-kicker::before,
.footer-kicker::before,
.documentation-subhead::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-radius: 0.1rem;
  background: var(--snapsoft-orange);
  transform: rotate(45deg);
}

.btn {
  border-radius: 0.85rem;
  padding: 0.85rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 140ms ease,
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-secondary,
.btn.btn-secondary,
.btn-secondary.text-dark {
  background: var(--snapsoft-accent);
  border-color: var(--snapsoft-accent);
  color: var(--snapsoft-dark) !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn.btn-secondary:hover,
.btn.btn-secondary:focus {
  background: var(--snapsoft-green);
  border-color: var(--snapsoft-green);
  color: #fff !important;
}

.btn-outline-primary {
  border-color: var(--snapsoft-green);
  color: var(--snapsoft-green);
  background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--snapsoft-green);
  border-color: var(--snapsoft-green);
  color: #fff;
}

.btn-outline-gray-100 {
  border-color: rgba(41, 222, 181, 0.42);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.btn-outline-gray-100:hover,
.btn-outline-gray-100:focus {
  border-color: var(--snapsoft-accent);
  background: var(--snapsoft-accent);
  color: var(--snapsoft-dark);
}

.analysis-status-banner {
  border-left-color: var(--snapsoft-orange);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(233, 234, 235, 0.92));
  box-shadow: var(--snapsoft-shadow);
}

.analysis-status-icon-wrap {
  background: rgba(0, 164, 134, 0.12);
  color: var(--snapsoft-green);
}

.analysis-status-spinner {
  border-color: rgba(0, 164, 134, 0.18);
  border-top-color: var(--snapsoft-green);
}

.analysis-status-kicker {
  color: var(--snapsoft-green);
}

.analysis-status-copy,
.field-note,
.dimension-meta,
.metric-detail,
.account-summary-paragraph,
.snapshot-preview,
.history-provider-cell,
.meta-value code,
.table tbody td,
.card .card-body > p.text-gray-600,
.card .card-body > p.text-gray-700 {
  color: #50606f !important;
}

.form-label,
.metric-label,
.meta-label,
.documentation-subhead {
  color: rgba(30, 42, 56, 0.78);
}

.form-control {
  border-color: rgba(30, 42, 56, 0.16);
  background: rgba(255, 255, 255, 0.94);
  color: var(--snapsoft-dark);
}

.form-control:focus {
  border-color: var(--snapsoft-green);
  box-shadow: 0 0 0 0.2rem rgba(0, 164, 134, 0.16);
}

.history-link-card:hover,
.history-link-card:focus {
  border-color: rgba(0, 164, 134, 0.36);
  box-shadow: 0 18px 32px rgba(30, 42, 56, 0.1);
}

.trace-pill {
  border: 1px solid rgba(0, 164, 134, 0.18);
  background: rgba(0, 164, 134, 0.08);
  color: var(--snapsoft-dark);
}

.documentation-note,
.snapshot-card,
.saved-run-callout,
.empty-state-tile {
  background: var(--snapsoft-card);
}

.empty-state-card {
  background: var(--snapsoft-card);
  border: 1px solid var(--snapsoft-border);
}

.tile-number {
  background: var(--snapsoft-accent);
  color: var(--snapsoft-dark);
  box-shadow: 0 12px 24px rgba(41, 222, 181, 0.18);
}

.saved-run-link {
  color: var(--snapsoft-green);
}

.saved-run-link:hover,
.saved-run-link:focus {
  color: #007662;
}

.table thead th {
  color: var(--snapsoft-green);
}

/* Preserve the existing qualification band and score pill palette. */

@media (max-width: 991px) {
  .site-nav-inner {
    min-height: auto;
    padding-block: 0.95rem;
    flex-wrap: wrap;
  }

  .site-nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 1rem 1.4rem;
  }

  .brand-divider {
    display: none;
  }

  .site-main {
    padding-top: 1.5rem;
  }
}

@media (max-width: 575px) {
  .brand-wordmark,
  .site-footer-wordmark {
    height: 1.15rem;
  }

  .brand-app-title {
    font-size: 1rem;
  }

  .brand-app-subtitle {
    font-size: 0.7rem;
  }
}
