/* FDIC-CSS-BUILD:20260720floki */
:root {
  --bg: #060b1f;
  --bg-deep: #020611;
  --site-page-bg: linear-gradient(135deg, var(--bg-deep), var(--bg) 35%, #081a46 80%);
  --card: rgba(12, 23, 58, 0.62);
  --stroke: rgba(255, 255, 255, 0.15);
  --text: #eaf1ff;
  --muted: #9eb0d8;
  --gold: #cfa24f;
  --blue: #2f75ff;
  --success: #46d6a9;
  --pending: #f6b65a;
  --partner-strip-canvas: linear-gradient(135deg, #040818 0%, var(--bg) 42%, #071a3d 100%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--site-page-bg);
}

.background-glow {
  position: fixed;
  inset: -20% 20% auto -20%;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, rgba(41, 112, 255, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
  isolation: isolate;
}

.top-bar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.top-badge {
  font-size: 0.8rem;
  color: #d6e5ff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.5rem;
  flex-wrap: wrap;
  row-gap: 0.35rem;
}

.logo-image {
  height: 2.45rem;
  width: auto;
  max-width: min(12.75rem, 48vw);
  object-fit: contain;
  object-position: left center;
  display: block;
  flex-shrink: 1;
  min-width: 0;
  background: transparent;
  mix-blend-mode: lighten;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.15;
  color: var(--text);
}

.customer-top .logo-text {
  color: #fdf8ed;
}

.customer-top .top-badge {
  border-color: rgba(230, 200, 120, 0.38);
  color: #f5eed8;
}

.top-nav {
  display: flex;
  gap: 0.7rem;
}

.nav-btn {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}

.nav-btn.active {
  border-color: rgba(207, 162, 79, 0.8);
  color: #ffe7b8;
}

main {
  padding: 2rem 3rem 3rem;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c8d8ff;
  font-size: 0.75rem;
  margin-bottom: 0.7rem;
}

.hero-copy h1 {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  line-height: 1.15;
  margin: 0 0 0.9rem;
}

.subtitle {
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.65;
}

.hero-heritage {
  margin: 1.1rem 0 0;
  max-width: 38rem;
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 500;
  color: rgba(210, 222, 248, 0.82);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2.25rem;
  margin-top: 1.65rem;
  margin-bottom: 0.25rem;
  max-width: 26rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hero-stat-value {
  font-size: clamp(1.9rem, 3.5vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #f4f7ff;
}

.hero-stat-value--gold {
  color: #f2e6c5;
  text-shadow: 0 0 42px rgba(207, 162, 79, 0.22);
}

.hero-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(200, 216, 255, 0.52);
}

.hero-partners {
  margin-top: 1.65rem;
  max-width: 38rem;
  padding: 1rem 1.15rem 1.05rem;
  border-radius: 0.65rem;
  background: var(--partner-strip-canvas);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  isolation: isolate;
}

.hero-partners-heading {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(200, 216, 255, 0.52);
  margin: 0 0 0.85rem;
}

.hero-partners-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem 0.85rem;
}

.partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.5rem;
  box-sizing: border-box;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.03);
}

.partner-logo {
  display: block;
  height: 1.45rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.95;
  mix-blend-mode: lighten;
}

.partner-logo--knockout {
  mix-blend-mode: lighten;
  opacity: 1;
}

.feature-pill-row {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  align-self: center;
  flex: 0 0 auto;
  background: rgba(47, 117, 255, 0.18);
  border: 1px solid rgba(47, 117, 255, 0.4);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.84rem;
  white-space: nowrap;
}

.perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.perks article,
.glass-card,
.auth-card {
  border: 1px solid var(--stroke);
  border-radius: 1rem;
  background: var(--card);
  backdrop-filter: blur(15px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

.perks article {
  padding: 1rem;
}

.perks p {
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.auth-card {
  padding: 1.4rem;
  align-self: start;
  position: relative;
  overflow: hidden;
}

.auth-card h2 {
  margin-top: 0.2rem;
}

.antibot-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.remember-username-box {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--stroke);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--muted);
  user-select: none;
}

.remember-username-box input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--gold);
  flex-shrink: 0;
  cursor: pointer;
}

.remember-username-box span {
  line-height: 1.35;
}

.turnstile-wrap {
  margin: 0.85rem 0 0.35rem;
  min-height: 4px;
}

.auth-message {
  margin: 0.7rem 0 0;
  color: #ffb8b8;
  min-height: 1.1rem;
}

.login-success-overlay {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.35rem 1.1rem;
  background: rgba(4, 9, 26, 0.92);
  backdrop-filter: blur(12px);
  border-radius: inherit;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.login-success-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.login-success-inner {
  text-align: center;
  max-width: 15rem;
}

.login-success-icon {
  width: 3.85rem;
  height: 3.85rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(155deg, #4ade80, #059669);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 32px rgba(5, 150, 105, 0.5);
  transform: scale(0.55);
  opacity: 0;
}

.login-success-overlay.is-visible .login-success-icon {
  animation: loginVerifyPop 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    loginVerifyGlow 0.95s ease-in-out 0.48s 2;
}

.login-success-check-path {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
}

.login-success-overlay.is-visible .login-success-check-path {
  animation: loginVerifyStroke 0.42s ease-out 0.1s forwards;
}

.login-success-title {
  margin: 0 0 0.3rem;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  color: #ecfdf5;
  opacity: 0;
  transform: translateY(0.45rem);
}

.login-success-overlay.is-visible .login-success-title {
  animation: loginVerifyFadeUp 0.42s ease 0.32s forwards;
}

.login-success-sub {
  margin: 0;
  font-size: 0.82rem;
  color: #a7f3d0;
  opacity: 0;
  transform: translateY(0.35rem);
}

.login-success-overlay.is-visible .login-success-sub {
  animation: loginVerifyFadeUp 0.42s ease 0.46s forwards;
}

@keyframes loginVerifyPop {
  70% {
    transform: scale(1.06);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes loginVerifyGlow {
  0%,
  100% {
    box-shadow: 0 10px 32px rgba(5, 150, 105, 0.45);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(74, 222, 128, 0.2), 0 14px 42px rgba(5, 150, 105, 0.72);
  }
}

@keyframes loginVerifyStroke {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes loginVerifyFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-success-overlay {
    transition-duration: 0.15s;
  }

  .login-success-overlay.is-visible .login-success-icon {
    animation: none;
    opacity: 1;
    transform: scale(1);
  }

  .login-success-check-path {
    stroke-dashoffset: 0;
  }

  .login-success-overlay.is-visible .login-success-check-path {
    animation: none;
  }

  .login-success-overlay.is-visible .login-success-title,
  .login-success-overlay.is-visible .login-success-sub {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

form {
  display: grid;
  gap: 0.65rem;
}

input,
select {
  width: 100%;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(3, 10, 28, 0.7);
  color: var(--text);
  padding: 0.75rem 0.8rem;
}

button {
  border-radius: 0.65rem;
  border: 1px solid transparent;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
  font-weight: 600;
}

.primary {
  background: linear-gradient(170deg, var(--gold), #f3cf88);
  color: #161d2d;
}

.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--stroke);
}

.small {
  width: fit-content;
  padding: 0.58rem 0.82rem;
  font-size: 0.84rem;
}

.trust-block {
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 0.8rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.panel-header h2 {
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.glass-card {
  padding: 1.1rem;
}

.balance {
  font-size: 2rem;
  color: #ffe7b8;
  margin: 0.5rem 0 0.35rem;
}

.muted {
  color: var(--muted);
}

ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.55rem;
}

.table-card {
  margin-top: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 0.7rem 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

th {
  font-weight: 600;
  color: #d7e4ff;
}

.tag {
  display: inline-block;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
}

.tag.success {
  background: rgba(70, 214, 169, 0.2);
  color: var(--success);
}

.tag.pending {
  background: rgba(246, 182, 90, 0.2);
  color: var(--pending);
}

.admin-docs-scroll {
  overflow-x: auto;
  margin-top: 0.5rem;
}

.admin-docs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.admin-docs-table th,
.admin-docs-table td {
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.admin-docs-table th {
  color: #d7e4ff;
  font-weight: 600;
}

.admin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.edit-account-message {
  margin: 0.55rem 0 0;
  min-height: 1.25em;
  font-size: 0.84rem;
}

.admin-health-status {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.86rem;
  line-height: 1.45;
}

.admin-backup-list-wrap {
  margin-top: 0.85rem;
}

.admin-backup-list-wrap select {
  min-width: min(100%, 22rem);
  flex: 1;
}

.admin-file-label {
  cursor: pointer;
  margin: 0;
}

.admin-site-tools-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

a.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

a.button-link.secondary.small {
  padding: 0.45rem 0.75rem;
  border-radius: 0.45rem;
}

.admin-tx-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.admin-tx-row {
  display: grid;
  grid-template-columns: minmax(5rem, 6rem) minmax(7rem, 9rem) 1fr minmax(6rem, 8rem) auto;
  gap: 0.5rem;
  align-items: end;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 24, 56, 0.25);
}

.admin-tx-row .tx-meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
  align-self: center;
}

.admin-tx-add {
  display: grid;
  grid-template-columns: 1fr minmax(6rem, 8rem) minmax(7rem, 9rem) auto;
  gap: 0.5rem;
  align-items: end;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 720px) {
  .admin-tx-row {
    grid-template-columns: 1fr;
  }

  .admin-tx-add {
    grid-template-columns: 1fr;
  }
}

.art-module h3 {
  margin-top: 0;
}

.art-module h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.art-module-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1.25rem;
}

.art-module-lead {
  margin: 0.35rem 0 0;
  max-width: 40rem;
  line-height: 1.45;
}

.art-reference-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.art-ref-card {
  margin: 0;
  background: rgba(8, 24, 56, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.65rem;
  overflow: hidden;
}

.art-ref-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 9.5rem;
  object-fit: cover;
  object-position: center top;
}

.art-ref-card figcaption {
  padding: 0.4rem 0.55rem 0.55rem;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}

.art-toolbar {
  padding: 0.85rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.art-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  margin-top: 0.65rem;
  align-items: end;
}

.art-form-span2 {
  grid-column: span 2;
}

.art-form-actions {
  grid-column: span 2;
  display: flex;
  justify-content: flex-end;
}

.art-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1rem;
  align-items: start;
}

.art-cases-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.art-case-card {
  text-align: left;
  width: 100%;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 24, 56, 0.28);
  padding: 0.75rem 0.85rem;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.art-case-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.art-case-card--active {
  border-color: rgba(100, 168, 255, 0.65);
  background: rgba(12, 40, 88, 0.45);
}

.art-case-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.art-case-id {
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.art-case-asset {
  margin: 0.45rem 0 0.25rem;
  font-size: 0.86rem;
  line-height: 1.35;
}

.art-case-meta {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
}

.art-empty {
  margin: 0.25rem 0;
}

.art-detail {
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(165deg, rgba(14, 32, 72, 0.72) 0%, rgba(6, 18, 44, 0.55) 100%);
  backdrop-filter: blur(12px);
  padding: 1rem 1rem 1.1rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 28px rgba(0, 0, 0, 0.25);
}

.art-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.art-status-tag {
  flex-shrink: 0;
  white-space: nowrap;
}

.art-status-tag--neutral {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

.art-map-panel {
  margin-bottom: 1rem;
}

.art-map-caption {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
}

.art-map-host {
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.art-schematic-svg {
  display: block;
  width: 100%;
  height: auto;
}

.art-update-panel {
  margin-top: 0.25rem;
  padding: 0.95rem 0.9rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(207, 162, 79, 0.28);
  background: linear-gradient(160deg, rgba(18, 40, 88, 0.55) 0%, rgba(8, 22, 52, 0.4) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 8px 22px rgba(0, 0, 0, 0.18);
}

.art-update-panel-head h4 {
  margin: 0.2rem 0 0;
  font-size: 1rem;
  color: #f5eed8;
}

.art-update-kicker {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(207, 162, 79, 0.95);
}

.art-update-hint {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.78rem;
}

.art-timeline {
  margin-bottom: 0.85rem;
}

.art-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(214, 229, 255, 0.85);
}

.art-progress-pct {
  color: var(--gold);
}

.art-progress-bar {
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.art-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b8892a, #cfa24f, #e8c04a);
  box-shadow: 0 0 12px rgba(207, 162, 79, 0.45);
  transition: width 0.25s ease;
}

.art-vt {
  display: flex;
  flex-direction: column;
  max-height: 16rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.art-vt-row {
  display: grid;
  grid-template-columns: minmax(4.5rem, 5.25rem) 1.4rem 1fr;
  gap: 0 0.55rem;
  align-items: stretch;
  min-height: 3.5rem;
}

.art-vt-date {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(214, 229, 255, 0.75);
  padding-top: 0.55rem;
}

.art-vt-axis {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.art-vt-seg--up,
.art-vt-seg--down {
  width: 3px;
  flex: 1 1 0.5rem;
  min-height: 0.5rem;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.art-vt-seg--up.is-active,
.art-vt-seg--down.is-active {
  background: linear-gradient(180deg, #e8c04a, #cfa24f);
  box-shadow: 0 0 6px rgba(207, 162, 79, 0.4);
}

.art-vt-node {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
}

.art-vt-node--done {
  border-color: #cfa24f;
  background: linear-gradient(145deg, #e8c04a, #cfa24f);
  color: #1a2744;
}

.art-vt-node--current {
  border-color: #e8c04a;
  background: rgba(244, 232, 196, 0.95);
  color: #6b4f0a;
  box-shadow: 0 0 0 3px rgba(207, 162, 79, 0.3);
}

.art-vt-node .art-ico-check,
.art-vt-node .art-ico-truck {
  width: 0.68rem;
  height: 0.68rem;
}

.art-vt-card {
  display: flex;
  gap: 0.45rem;
  padding: 0.35rem 0.4rem 0.65rem 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.4rem;
}

.art-vt-card--active {
  background: linear-gradient(90deg, rgba(207, 162, 79, 0.18), transparent);
}

.art-vt-card--muted .art-vt-icon-box {
  opacity: 0.4;
}

.art-vt-card--muted .art-vt-status {
  color: rgba(255, 255, 255, 0.45);
}

.art-vt-row:last-child .art-vt-card {
  border-bottom: none;
}

.art-vt-icon-box {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(214, 229, 255, 0.9);
}

.art-vt-icon-box .art-ico-truck {
  width: 1rem;
  height: 1rem;
}

.art-vt-status {
  margin: 0.35rem 0 0;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #eaf1ff;
  line-height: 1.3;
}

.art-stage-form {
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.art-stage-form label {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.8rem;
  color: rgba(214, 229, 255, 0.9);
}

.art-stage-form label:first-child {
  margin-top: 0;
}

.art-stage-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.35rem;
}

.art-stage-row select {
  flex: 1;
  min-width: 12rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 18, 44, 0.65);
  color: #eaf1ff;
}

.art-detail-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.75rem;
  margin-top: 0.5rem;
}

@media (max-width: 960px) {
  .art-module-header {
    grid-template-columns: 1fr;
  }

  .art-reference-strip {
    grid-template-columns: 1fr 1fr;
  }

  .art-split {
    grid-template-columns: 1fr;
  }

  .art-form-grid {
    grid-template-columns: 1fr;
  }

  .art-form-span2,
  .art-form-actions {
    grid-column: span 1;
  }

  .art-detail-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .art-reference-strip {
    grid-template-columns: 1fr;
  }
}

.single-card {
  grid-template-columns: 1fr;
  justify-items: center;
}

.single-card .auth-card {
  width: min(100%, 32rem);
}

.customer-view {
  color: #0c1f4a;
}

.customer-view .panel-header h2,
.customer-view h3,
.customer-view p,
.customer-view li,
.customer-view span,
.customer-view strong {
  color: #1f2c4c;
}

.customer-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.customer-main,
.rewards-panel {
  background: #f4f7fc;
  border-radius: 0.8rem;
  padding: 1rem;
  border: 1px solid #d7deeb;
}

.customer-heading {
  margin-bottom: 0.75rem;
}

.customer-heading h2 {
  font-size: 2rem;
  font-weight: 700;
}

.customer-top {
  background: #092552;
  color: #fff;
}

.banking-panel,
.transactions-panel,
.wire-panel {
  background: #ffffff;
  border-radius: 0.7rem;
  border: 1px solid #d9e0ee;
  margin-bottom: 0.85rem;
}

.deposit-check-panel label {
  display: block;
  margin-top: 0.65rem;
  margin-bottom: 0.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1f2c4c;
}

.deposit-check-panel input[type="file"] {
  width: 100%;
  max-width: 100%;
  font-size: 0.8rem;
}

.deposit-intro {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #617291;
}

.deposit-file-name {
  margin: 0.15rem 0 0;
  min-height: 1.1em;
  font-size: 0.78rem;
  color: #4a6088;
}

.deposit-hint {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
}

.deposit-status {
  margin: 0.65rem 0 0.35rem;
  min-height: 1.2em;
  font-size: 0.84rem;
  font-weight: 600;
  color: #166534;
}

.customer-view .deposit-status {
  color: #166534;
}

.deposit-check-panel button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.documents-panel h3 {
  margin-top: 0;
}

.documents-intro {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  line-height: 1.5;
}

.car-panel h3 {
  margin-top: 0;
}

.car-intro {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  line-height: 1.5;
}

.car-message {
  margin: 0 0 0.65rem;
  min-height: 1.2em;
}

.car-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.car-case-card {
  border: 1px solid rgba(207, 162, 79, 0.28);
  border-radius: 1rem;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 48%, #f1f5fc 100%);
  padding: 1.15rem 1.2rem 1.05rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 14px 32px rgba(15, 35, 95, 0.09),
    0 2px 6px rgba(15, 35, 95, 0.04);
}

.car-case-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
}

.car-case-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a7340;
}

.car-case-id {
  font-weight: 800;
  font-size: 0.92rem;
  color: #0f234f;
  letter-spacing: 0.03em;
}

.car-case-asset {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #1f2c4c;
}

.car-case-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  flex-shrink: 0;
}

.car-update-chip {
  display: inline-block;
  max-width: 11rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(207, 162, 79, 0.45);
  background: linear-gradient(135deg, rgba(255, 248, 230, 0.95), rgba(244, 232, 196, 0.85));
  font-size: 0.66rem;
  font-weight: 600;
  color: #6b4f0a;
  text-align: right;
  line-height: 1.25;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.car-track-wrap {
  margin: 0 0 0.85rem;
  padding: 0.95rem 0.85rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(207, 162, 79, 0.22);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 255, 0.92) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 20px rgba(15, 35, 95, 0.06);
}

.car-track-title {
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5c6b88;
}

.car-vt {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.car-vt-row {
  display: grid;
  grid-template-columns: minmax(4.75rem, 5.5rem) 1.5rem 1fr;
  gap: 0 0.65rem;
  align-items: stretch;
  min-height: 4.25rem;
}

.car-vt-date {
  font-size: 0.72rem;
  font-weight: 600;
  color: #3d4d6f;
  padding-top: 0.65rem;
  line-height: 1.3;
}

.car-vt-axis {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100%;
}

.car-vt-seg--up,
.car-vt-seg--down {
  width: 3px;
  flex: 1 1 0.65rem;
  min-height: 0.65rem;
  border-radius: 2px;
  background: #d4dbe8;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.car-vt-seg--up.is-active,
.car-vt-seg--down.is-active {
  background: linear-gradient(180deg, #e8c04a 0%, #cfa24f 55%, #b8892a 100%);
  box-shadow: 0 0 8px rgba(207, 162, 79, 0.35);
}

.car-vt-node {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #d4dbe8;
  background: #f4f6fb;
  color: #8a96ae;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.car-vt-node--future {
  background: #fff;
  border-color: #cfd6e4;
}

.car-vt-node--done {
  border-color: #cfa24f;
  background: linear-gradient(145deg, #e8c04a, #cfa24f);
  color: #fff;
  box-shadow: 0 2px 8px rgba(207, 162, 79, 0.35);
}

.car-vt-node--current {
  border-color: #b8892a;
  background: linear-gradient(145deg, #fff8e8, #f4e8c4);
  color: #6b4f0a;
  box-shadow:
    0 0 0 4px rgba(207, 162, 79, 0.22),
    0 4px 12px rgba(207, 162, 79, 0.28);
  transform: scale(1.06);
}

.car-vt-node .car-ico-check,
.car-vt-node .car-ico-truck {
  width: 0.72rem;
  height: 0.72rem;
  display: block;
}

.car-vt-card {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.45rem 0.55rem 0.85rem 0.35rem;
  border-bottom: 1px solid rgba(232, 236, 244, 0.9);
  border-radius: 0.5rem;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.car-vt-card--active {
  background: linear-gradient(90deg, rgba(255, 248, 230, 0.65), rgba(255, 255, 255, 0));
  box-shadow: 0 2px 12px rgba(207, 162, 79, 0.12);
}

.car-vt-card--muted .car-vt-icon-box {
  opacity: 0.45;
}

.car-vt-card--muted .car-vt-status {
  color: #617291;
}

.car-vt-row:last-child .car-vt-card {
  border-bottom: none;
  padding-bottom: 0.15rem;
}

.car-vt-icon-box {
  flex-shrink: 0;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(207, 162, 79, 0.25);
  background: linear-gradient(145deg, #ffffff 0%, #eef2fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f4a7a;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.car-vt-icon-box .car-ico-truck {
  width: 1.15rem;
  height: 1.15rem;
}

.car-vt-card-main {
  min-width: 0;
  flex: 1;
}

.car-vt-status {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f234f;
  line-height: 1.35;
}

.car-vt-time {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  color: #5c6b88;
}

.car-vt-time--muted {
  color: #8b96ab;
  font-size: 0.7rem;
}

.car-details-panel {
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f4;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(248, 250, 254, 0.95));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.car-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
  font-size: 0.82rem;
  color: #1f2c4c;
}

.car-details-grid p {
  margin: 0.2rem 0 0;
  line-height: 1.35;
}

.car-dt {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #617291;
}

.car-span2 {
  grid-column: span 2;
}

.car-progress {
  margin: 0 0 1rem;
}

.car-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.car-progress-step {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #617291;
}

.car-progress-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f234f;
  text-align: right;
}

.car-progress-track {
  height: 0.42rem;
  border-radius: 999px;
  background: #e2e8f4;
  overflow: hidden;
}

.car-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #cfa24f 0%, #e8c04a 55%, #b8892a 100%);
  transition: width 0.35s ease;
}

.car-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1rem;
  align-items: start;
}

.car-side-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.car-details-title {
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5c6b88;
}

.car-empty-state {
  padding: 1.5rem 1rem;
  border-radius: 0.85rem;
  border: 1px dashed rgba(207, 162, 79, 0.35);
  background: rgba(255, 248, 230, 0.35);
  text-align: center;
}

.car-empty-title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: #0f234f;
}

.car-map-panel {
  padding: 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(207, 162, 79, 0.22);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 255, 0.92) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 20px rgba(15, 35, 95, 0.06);
}

.car-map-panel--fallback {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 10rem;
}

.car-map-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.car-map-kicker {
  margin: 0 0 0.15rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a7340;
}

.car-map-status {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f234f;
  line-height: 1.35;
}

.car-map-updated {
  flex-shrink: 0;
  font-size: 0.66rem;
  font-weight: 600;
  color: #617291;
}

.car-map-canvas {
  width: 100%;
  height: 13.5rem;
  min-height: 13.5rem;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid #d4dbe8;
  background: #eef2f8;
  z-index: 0;
}

.car-map-canvas.leaflet-container {
  font-family: inherit;
}

.car-map-disclaimer {
  margin: 0.45rem 0 0.65rem;
  font-size: 0.66rem;
  color: #8b96ab;
}

.car-map-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.car-map-stats strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.88rem;
  color: #0f234f;
}

.car-map-stat-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #617291;
}

.car-map-fallback-title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: #0f234f;
}

.car-map-fallback-copy {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.car-map-courier-pin,
.car-map-endpoint-pin {
  background: transparent;
  border: none;
}

.car-map-courier-pin-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #15356a, #0f234f);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 35, 95, 0.35);
}

.car-map-endpoint-pin-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 35, 95, 0.25);
}

.car-map-pin--pickup .car-map-endpoint-pin-inner {
  background: linear-gradient(145deg, #43a047, #2e7d32);
}

.car-map-pin--delivery .car-map-endpoint-pin-inner {
  background: linear-gradient(145deg, #e53935, #c62828);
}

.car-vt-spine {
  display: none;
}

@media (max-width: 960px) {
  .car-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-partners-logos {
    grid-template-columns: repeat(2, 4.85rem);
    gap: 0.75rem 0.85rem;
  }

  .partner-logo-wrap {
    width: 4.85rem;
    height: 1.95rem;
  }

  .car-vt {
    --car-vt-date-col: 4rem;
    --car-vt-axis-col: 1.35rem;
    --car-vt-gap: 0.45rem;
  }

  .car-vt-row {
    grid-template-columns: var(--car-vt-date-col) var(--car-vt-axis-col) 1fr;
    gap: 0 var(--car-vt-gap);
  }

  .car-vt-date {
    font-size: 0.66rem;
  }

  .car-vt-status {
    font-size: 0.62rem;
  }

  .car-case-badges {
    align-items: flex-start;
  }

  .car-update-chip {
    max-width: 100%;
    text-align: left;
  }

  .car-details-grid {
    grid-template-columns: 1fr;
  }

  .car-span2 {
    grid-column: span 1;
  }
}

.doc-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
}

.doc-step {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9eb0d8;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #d9e0ee;
  background: #f4f6fb;
}

.doc-step.is-active {
  color: #0a2d63;
  border-color: #2f75ff;
  background: rgba(47, 117, 255, 0.12);
}

.doc-step.is-done {
  color: #166534;
  border-color: rgba(22, 101, 52, 0.35);
  background: rgba(22, 101, 52, 0.08);
}

.doc-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .doc-category-grid {
    grid-template-columns: 1fr;
  }
}

.doc-category-card {
  text-align: left;
  padding: 1rem 1.05rem;
  border-radius: 0.65rem;
  border: 1px solid #d9e0ee;
  background: #fbfcff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.doc-category-card:hover {
  border-color: #2f75ff;
  box-shadow: 0 6px 18px rgba(15, 35, 95, 0.08);
}

.doc-category-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f234f;
}

.doc-category-desc {
  font-size: 0.8rem;
  line-height: 1.45;
  color: #617291;
}

.doc-flow-toolbar {
  margin-bottom: 0.75rem;
}

.doc-type-heading {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: #0f234f;
}

.doc-type-sub {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
}

.doc-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (max-width: 640px) {
  .doc-type-grid {
    grid-template-columns: 1fr;
  }
}

.doc-type-card {
  text-align: left;
  padding: 0.85rem 0.95rem;
  border-radius: 0.55rem;
  border: 1px solid #d9e0ee;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: border-color 0.15s ease;
}

.doc-type-card:hover {
  border-color: #cfa24f;
}

.doc-type-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #0f234f;
}

.doc-type-desc {
  font-size: 0.78rem;
  line-height: 1.4;
  color: #617291;
}

.doc-upload-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 900px) {
  .doc-upload-layout {
    grid-template-columns: 1fr;
  }
}

.doc-upload-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.doc-upload-lead {
  margin: 0 0 0.65rem;
  font-size: 0.84rem;
}

.doc-formats-label {
  font-size: 0.8rem;
  margin: 0 0 0.65rem;
  color: #3d4f73;
}

.doc-instruction-steps {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.doc-instruction-steps li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #3d4f73;
}

.doc-step-num {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(47, 117, 255, 0.15);
  color: #1a3a8a;
  font-weight: 800;
  font-size: 0.72rem;
  display: grid;
  place-items: center;
}

.doc-visual-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #617291;
  margin: 0 0 0.45rem;
}

.doc-visual-card {
  border: 1px dashed #c5cee0;
  border-radius: 0.55rem;
  padding: 0.65rem;
  margin-bottom: 0.75rem;
  background: #f8f9fd;
}

.doc-guide-svg {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto 0.5rem;
}

.doc-visual-caption {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #617291;
  text-align: center;
}

.document-dropzone {
  border: 2px dashed #9eb0d8;
  border-radius: 0.6rem;
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.document-dropzone.is-dragover {
  border-color: #2f75ff;
  background: rgba(47, 117, 255, 0.06);
}

.doc-drop-primary {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f234f;
}

.doc-drop-link {
  color: #2f75ff;
  text-decoration: underline;
}

.doc-drop-hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
}

.document-preview {
  margin-top: 0.75rem;
}

.doc-preview-img {
  max-width: 100%;
  max-height: 220px;
  border-radius: 0.45rem;
  border: 1px solid #d9e0ee;
}

.doc-preview-pdf {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.45rem;
  background: #f4f6fb;
  border: 1px solid #d9e0ee;
  font-size: 0.84rem;
}

.doc-pdf-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #7c2d12;
  background: #ffedd5;
  padding: 0.2rem 0.45rem;
  border-radius: 0.25rem;
}

.doc-notes-label {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1f2c4c;
}

.doc-notes {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.45rem;
  border: 1px solid #d9e0ee;
  font-family: inherit;
  font-size: 0.84rem;
  resize: vertical;
}

.doc-upload-actions {
  margin-top: 0.85rem;
}

.doc-upload-status {
  min-height: 1.2em;
  font-size: 0.84rem;
  font-weight: 600;
  color: #b45309;
  margin: 0.5rem 0 0;
}

.doc-recent-wrap {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e8ecf4;
}

.doc-recent-title {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f234f;
}

.doc-recent-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.doc-recent-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #3d4f73;
}

.doc-recent-date {
  color: #9eb0d8;
  flex-shrink: 0;
}

.doc-success-card {
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(22, 101, 52, 0.25);
  background: rgba(22, 101, 52, 0.06);
}

.doc-success-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.65rem;
  border-radius: 999px;
  background: #166534;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.doc-success-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: #0f234f;
}

.doc-success-meta {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
}

.doc-success-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.banking-header {
  background: #0c1f3d;
  color: #fff;
  border-radius: 0.7rem 0.7rem 0 0;
  padding: 0.85rem 0.65rem 0.95rem;
  display: block;
}

.banking-header h3 {
  color: #fff;
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
}

.banking-actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.2rem;
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
  padding: 0.1rem 0 0.15rem;
}

.banking-actions::-webkit-scrollbar {
  height: 4px;
}

.banking-actions::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.bank-tab {
  flex: 1 1 0;
  min-width: 3.35rem;
  max-width: 6.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  padding: 0.35rem 0.2rem 0.45rem;
  border: none;
  border-radius: 0.55rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.64rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.bank-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.bank-tab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.bank-tab-label {
  display: block;
  max-width: 5.75rem;
  text-align: center;
  text-wrap: balance;
}

.bank-tab-icon {
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
}

.bank-tab-icon--asset {
  object-fit: contain;
  mix-blend-mode: lighten;
}

.bank-tab.active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.customer-view .bank-tab {
  color: rgba(255, 255, 255, 0.88);
}

.customer-view .bank-tab.active {
  color: #fff;
}

.customer-view .bank-tab .bank-tab-label {
  color: inherit;
}

.bank-content-panel {
  display: none;
}

.bank-content-panel.active {
  display: block;
}

.bank-account-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.account-name {
  margin: 0;
  font-weight: 700;
}

.account-meta {
  margin: 0.2rem 0 0;
  color: #617291;
  font-size: 0.86rem;
}

.account-balance {
  margin: 0;
  background: #1f4e93;
  color: #fff !important;
  padding: 0.36rem 0.65rem;
  border-radius: 0.3rem;
  font-weight: 700;
}

.linked-accounts {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.35rem 0 0.25rem;
}

.linked-account-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.75rem;
  background: #f8fafc;
  border: 1px solid #dce4f0;
  border-radius: 0.5rem;
  font-size: 0.84rem;
}

.linked-account-row .linked-label {
  margin: 0;
  font-weight: 600;
  color: #1f2c4c;
}

.linked-account-row .linked-meta {
  margin: 0.12rem 0 0;
  font-size: 0.78rem;
  color: #617291;
}

.extra-checking-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.extra-checking-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  padding: 0.75rem;
  border: 1px solid #dce4f0;
  border-radius: 0.5rem;
  background: #f8fafc;
}

.extra-checking-fields {
  display: grid;
  gap: 0.35rem;
  flex: 1;
}

.extra-checking-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.linked-right {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.linked-balance {
  font-weight: 700;
  font-size: 0.82rem;
  color: #1f4e93;
  white-space: nowrap;
}

.linked-pill {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #166534;
  background: rgba(34, 197, 94, 0.15);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.transactions-panel,
.wire-panel {
  padding: 1rem;
}

.transactions-panel h3,
.wire-panel h3 {
  margin-top: 0;
}

.transactions-panel {
  background: #f3f6fb;
  border: 1px solid #e4eaf2;
  border-radius: 0.7rem;
  box-shadow: none;
}

.transactions-panel h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f234f;
  margin-bottom: 0.75rem;
}

.transaction-list {
  display: grid;
  gap: 0.65rem;
}

.transaction-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid #eef2f7;
  box-shadow: 0 2px 14px rgba(15, 35, 95, 0.06);
}

.tx-icon {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 35, 95, 0.12);
}

.tx-icon-svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
}

.customer-view .tx-icon-svg .tx-icon-glyph {
  stroke: #ffffff;
}

.tx-icon--transfer {
  background: linear-gradient(145deg, var(--blue) 0%, #3d66d9 48%, #0b2d62 100%);
  box-shadow: 0 3px 10px rgba(47, 117, 255, 0.22);
}

.tx-icon--deposit {
  background: linear-gradient(145deg, var(--success) 0%, #3cb88e 52%, #2a8f6a 100%);
  box-shadow: 0 3px 10px rgba(70, 214, 169, 0.22);
}

.tx-main {
  flex: 1;
  min-width: 0;
}

.tx-title {
  margin: 0;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #0f234f;
}

.tx-date {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0.22rem 0 0;
  font-size: 0.76rem;
  color: #7a8aa8 !important;
}

.tx-date-icon {
  width: 0.82rem;
  height: 0.82rem;
  flex-shrink: 0;
  opacity: 0.65;
}

.tx-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  flex-shrink: 0;
  text-align: right;
}

.tx-status {
  display: inline-block;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
}

.tx-status--completed {
  background: #dff7ec;
  color: #15803d;
}

.tx-status--pending {
  background: #ffedd8;
  color: #c05621;
}

.tx-amount {
  margin: 0;
  font-weight: 700;
  font-size: 0.98rem;
  color: #0f234f;
  line-height: 1.2;
}

.empty-transactions {
  text-align: center;
  color: #7a8aa8 !important;
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 0.85rem;
  background: #fff;
  border: 1px dashed #dbe3ef;
}

.rewards-panel-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.rewards-panel-title-row h3 {
  margin: 0;
}

.rewards-panel-head-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
}

.rewards-panel-head-icon--diamond {
  width: 1.5rem;
  height: 1.5rem;
  filter: drop-shadow(0 0 5px rgba(232, 192, 74, 0.65)) drop-shadow(0 0 8px rgba(120, 170, 255, 0.4));
  animation: rewards-diamond-shimmer 2.8s ease-in-out infinite;
}

.rewards-panel-head-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes rewards-diamond-shimmer {
  0%,
  100% {
    filter: drop-shadow(0 0 4px rgba(232, 192, 74, 0.5)) drop-shadow(0 0 6px rgba(158, 201, 255, 0.3));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 7px rgba(255, 248, 220, 0.9)) drop-shadow(0 0 11px rgba(180, 220, 255, 0.55));
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rewards-panel-head-icon--diamond {
    animation: none;
  }
}

.rewards-panel h3 {
  margin-top: 0;
}

.rewards-panel {
  position: sticky;
  top: 1rem;
  height: fit-content;
}

.points-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.reward-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.dark-btn,
.light-btn {
  border-radius: 0.45rem;
  padding: 0.58rem;
  font-weight: 600;
  border: 1px solid #d6e0f0;
}

.dark-btn {
  background: #0b2d62;
  color: #fff;
}

.light-btn {
  background: #f5f8ff;
  color: #1f3d70;
}

.reward-section-title {
  margin: 1rem 0 0.55rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.alerts-list {
  padding-left: 1rem;
  margin: 0;
}

.alerts-list li.alert-item {
  transition: opacity 0.3s ease;
}

.alerts-list li.alert-item--dismissing {
  opacity: 0;
}

.deal-grid {
  display: grid;
  gap: 0.55rem;
}

.deal-card {
  background: #eef3fb;
  border: 1px solid #d7e0ef;
  border-radius: 0.5rem;
  padding: 0.68rem;
  font-size: 0.86rem;
}

.deal-card--visual {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.deal-card-media {
  position: relative;
  width: 100%;
  height: 3.5rem;
  max-height: 3.75rem;
  background: #dbe4f2;
}

.deal-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.deal-card-caption {
  margin: 0;
  padding: 0.65rem 0.7rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #1f2c4c;
  background: #f8fbff;
  border-top: 1px solid #d7e0ef;
}

.card-status-row {
  border: 1px solid #d9e3f0;
  background: #f8fbff;
  border-radius: 0.55rem;
  padding: 0.8rem;
}

.card-status-label {
  margin: 0 0 0.35rem;
  font-size: 0.84rem;
  color: #617291 !important;
}

.card-status-pill {
  margin: 0;
  display: inline-block;
  background: #e8f1ff;
  color: #194b8f !important;
  border: 1px solid #bdd2f3;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
}

.cards-page {
  padding: 1.25rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.cards-main {
  background: #ffffff;
  border: 1px solid #e3e9f2;
  border-radius: 0.85rem;
  padding: 1.25rem 1.35rem;
}

.status-kicker {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #7b8aa8 !important;
  font-weight: 700;
}

.status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #2f6bff;
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.15);
}

.status-title {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  line-height: 1.05;
  font-weight: 800;
}

#status-title-left {
  color: #13264d !important;
}

#status-title-right {
  color: #f39c12 !important;
  margin-left: 0.35rem;
}

.phase-track {
  margin-bottom: 0.85rem;
}

.phase-labels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #8a9ab8 !important;
  margin-bottom: 0.35rem;
}

.phase-labels span {
  text-align: center;
}

.phase-labels span.active {
  color: #f39c12 !important;
}

.phase-bar {
  height: 0.45rem;
  border-radius: 999px;
  background: #eef2f8;
  overflow: hidden;
}

.phase-fill {
  height: 100%;
  width: 45%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f39c12, #ffb347);
  transition: width 0.25s ease;
}

.status-copy {
  margin: 0 0 1rem;
  color: #4b5b78 !important;
  line-height: 1.55;
  max-width: 38rem;
}

.status-copy strong {
  color: #13264d !important;
}

.physical-card {
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  background: radial-gradient(circle at 20% 20%, #2b5cff 0%, #0c1f4a 55%, #050b18 100%);
  color: #fff !important;
  box-shadow: 0 18px 40px rgba(12, 31, 74, 0.25);
  margin-bottom: 1rem;
}

.physical-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
}

.physical-wave {
  width: 2.4rem;
  height: 1.1rem;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.35));
  opacity: 0.9;
}

.physical-chip {
  width: 2.6rem;
  height: 1.9rem;
  border-radius: 0.35rem;
  background: linear-gradient(145deg, #f6d58a, #c9983b);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.physical-card-number {
  margin: 0 0 1rem;
  letter-spacing: 0.18em;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  color: #f5f8ff !important;
}

.physical-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 0.75rem;
}

#physical-card-name {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #f5f8ff !important;
}

.mc-logo {
  position: relative;
  width: 3rem;
  height: 1.9rem;
}

.mc-logo-physical {
  width: 3.2rem;
  height: 2rem;
}

.mc-circle {
  position: absolute;
  top: 0.1rem;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  opacity: 0.95;
}

.mc-red {
  left: 0;
  background: #eb001b;
}

.mc-orange {
  right: 0;
  background: #f79e1b;
  mix-blend-mode: screen;
}

.cards-side {
  display: grid;
  gap: 0.85rem;
}

.side-card {
  background: #ffffff;
  border: 1px solid #e3e9f2;
  border-radius: 0.85rem;
  padding: 1rem 1.05rem;
  box-shadow: 0 10px 24px rgba(15, 35, 75, 0.08);
}

.side-card-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.side-card-header.split {
  justify-content: space-between;
  align-items: baseline;
}

.side-card-header h4 {
  margin: 0;
  font-size: 0.95rem;
  color: #13264d !important;
}

.side-icon {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.35rem;
  background: #fff4e6;
  position: relative;
}

.side-icon.truck::before {
  content: "";
  position: absolute;
  inset: 0.25rem;
  border-radius: 0.2rem;
  border: 2px solid #f39c12;
}

.side-field {
  margin-bottom: 0.75rem;
}

.side-label {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #8a9ab8 !important;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pin {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #f39c12;
}

.side-value {
  margin: 0;
  color: #1f2c4c !important;
  font-weight: 600;
}

.verified-row {
  margin: 0.35rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2f9c6d !important;
}

.check {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 2px solid #2f9c6d;
  position: relative;
}

.check::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.12rem;
  width: 0.35rem;
  height: 0.55rem;
  border: solid #2f9c6d;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.support-link {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: #f39c12 !important;
  text-decoration: none;
}

.faq-item {
  border-top: 1px solid #edf1f8;
  padding: 0.55rem 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: #1f2c4c !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "›";
  color: #f39c12;
  font-weight: 800;
  transform: rotate(90deg);
  display: inline-block;
}

.faq-item[open] summary::after {
  transform: rotate(-90deg);
}

.faq-item p {
  margin: 0.45rem 0 0;
  color: #5c6c86 !important;
  line-height: 1.45;
}

@media (max-width: 1050px) {
  .hero-grid,
  .card-grid,
  .perks,
  .admin-layout,
  .customer-layout,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    max-width: none;
  }

  .top-bar,
  main {
    padding-inline: 1rem;
  }

  .logo-image {
    height: 2.1rem;
    max-width: min(10.5rem, 56vw);
  }

  .top-nav {
    flex-wrap: wrap;
    justify-content: end;
  }
}

/* === gov-theme.css (auto-bundled) === */
/* Government / financial institution portal theme — custom fork only */

:root {
  /* Mockup palette */
  --navy-900: #08132b;
  --navy-800: #0a1837;
  --navy-700: #0b1d45;
  --header: #15356a;
  --card: #102554;
  --border-card: #29487a;

  --portal-white: #f4f7fc;
  --portal-muted: #a9b5d1;
  --gold: #e4c57a;
  --blue: #5a84d6;

  /* Legacy aliases (landing / dark UI) */
  --navy: var(--navy-900);
  --navy-mid: var(--navy-700);
  --white: var(--portal-white);
  --muted: var(--portal-muted);

  --hero-gradient:
    radial-gradient(circle at top left, #163a73 0%, transparent 40%),
    linear-gradient(180deg, #08132b 0%, #0a1837 50%, #0b1d45 100%);

  --partner-strip-canvas: linear-gradient(135deg, #040818 0%, #0a1837 42%, #071a3d 100%);

  /* Customer / admin light areas */
  --bg-page: #f4f5f7;
  --border: #d9dde3;
  --text-body: #2f3640;
  --text-muted: #6c7a89;
  --input-bg: #eef1f5;

  --bg: var(--navy-900);
  --bg-deep: var(--navy-900);
  --site-page-bg: var(--bg-page);
  --stroke: var(--border);
  --text: var(--text-body);
  --success: #1e6b45;
  --pending: #8a6d2f;
  --shadow-soft: 0 4px 18px rgba(8, 19, 43, 0.2);
  --shadow-card: 0 2px 8px rgba(8, 19, 43, 0.14);
}

body.gov-portal {
  color: var(--text-body);
  background: var(--hero-gradient);
  background-color: var(--navy-900);
  background-attachment: fixed;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.gov-portal main {
  padding: 2rem 2rem 3.5rem;
  max-width: 72rem;
  margin: 0 auto;
  background: var(--bg-page);
  border-radius: 0.5rem 0.5rem 0 0;
  min-height: calc(100vh - 11rem);
  box-shadow: 0 -2px 24px rgba(0, 0, 0, 0.12);
}

body.gov-portal .background-glow {
  display: none;
}

/* Official government banner */
.gov-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.38rem 1rem;
  background: var(--navy-900);
  border-bottom: 1px solid var(--border-card);
  color: var(--portal-muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
}

.gov-banner-flag {
  font-size: 0.85rem;
  line-height: 1;
}

body.gov-portal .top-bar .secondary,
body.gov-portal .customer-top .secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

body.gov-portal .top-bar .secondary:hover,
body.gov-portal .customer-top .secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
}

body.gov-portal .login-success-overlay {
  background: rgba(244, 245, 247, 0.96);
}

body.gov-portal .login-success-title {
  color: var(--text-body);
}

body.gov-portal .login-success-sub {
  color: var(--text-muted);
}

body.gov-portal .login-success-icon {
  background: var(--navy);
  box-shadow: var(--shadow-soft);
}

/* Header — single bar: brand | secure pill | nav */
body.gov-portal .gov-header-shell,
body.gov-portal .top-bar,
body.gov-portal .customer-top {
  background: var(--header);
  color: var(--portal-white);
  border-bottom: 1px solid var(--border-card);
  backdrop-filter: none;
  padding: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.gov-header-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
  max-width: 82rem;
  margin: 0 auto;
  padding: 1.1rem 2.5rem 1.15rem;
  width: 100%;
}

.gov-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.gov-brand-logo {
  height: 4.5rem;
  width: auto;
  max-width: 13.5rem;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  border-radius: 0;
  background: transparent;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(8, 19, 43, 0.35));
}

.gov-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-width: 0;
  padding-top: 0.15rem;
}

.gov-brand-portal {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--portal-muted);
  letter-spacing: 0.02em;
  max-width: 11rem;
}

.gov-header-center {
  justify-self: center;
}

.gov-secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: rgba(8, 19, 43, 0.25);
  color: var(--portal-white);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gov-secure-pill-icon {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
}

.gov-header-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gov-header-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem;
}

.gov-header-logout {
  flex-shrink: 0;
}

.gov-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: var(--portal-white);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  min-height: 2.5rem;
  flex-shrink: 0;
}

.gov-nav-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  width: 1rem;
  height: 0.85rem;
}

.gov-nav-toggle-icon span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.gov-nav-open .gov-nav-toggle-icon span:nth-child(1) {
  transform: translateY(0.3rem) rotate(45deg);
}

body.gov-nav-open .gov-nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

body.gov-nav-open .gov-nav-toggle-icon span:nth-child(3) {
  transform: translateY(-0.3rem) rotate(-45deg);
}

body.gov-portal .logo {
  gap: 0.85rem;
  min-height: auto;
}

body.gov-portal .logo-image {
  height: 4.5rem;
  max-width: 13.5rem;
  mix-blend-mode: normal;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  filter: drop-shadow(0 1px 3px rgba(8, 19, 43, 0.35));
}

/* Landing / auth */
body.gov-portal main:has(> #landing.active) {
  background: transparent;
  max-width: 82rem;
  box-shadow: none;
  border-radius: 0;
  padding: 2.75rem 2.5rem 2.5rem;
  min-height: calc(100vh - 9.5rem);
}

body.gov-portal main:has(> #about.active),
body.gov-portal main:has(> #resources.active),
body.gov-portal main:has(> #analysis.active),
body.gov-portal main:has(> #news.active) {
  background: transparent;
  max-width: 82rem;
  box-shadow: none;
  border-radius: 0;
  padding: 2rem 2.5rem 2.5rem;
  min-height: calc(100vh - 9.5rem);
}

body.gov-portal main:has(> #customer.active) {
  background: var(--bg-page);
  border-radius: 0.5rem 0.5rem 0 0;
  box-shadow: 0 -2px 24px rgba(0, 0, 0, 0.12);
}

.gov-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  color: var(--portal-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.gov-nav-link:hover,
.gov-nav-link:focus-visible {
  color: var(--portal-white);
}

.gov-nav-link.is-active {
  color: var(--portal-white);
  border-bottom-color: var(--gold);
}

.gov-nav-link--dashboard[hidden] {
  display: none !important;
}

/* Landing layout — mockup grid */
.gov-landing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-rows: auto auto;
  column-gap: 3rem;
  row-gap: 0;
  align-items: start;
}

.gov-hero-col {
  grid-column: 1;
  grid-row: 1;
  padding-right: 0.5rem;
}

.gov-aside-col {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gov-stats-col {
  grid-column: 1;
  grid-row: 2;
  padding-right: 0.5rem;
  padding-top: 2.25rem;
}

.gov-landing-kicker {
  margin: 0 0 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--portal-muted);
}

.gov-landing-title {
  margin: 0 0 1.1rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.95rem, 3vw, 2.55rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--portal-white);
  max-width: 36rem;
  letter-spacing: -0.02em;
}

.gov-landing-lead {
  margin: 0;
  max-width: 34rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--portal-muted);
  font-weight: 400;
}

.gov-trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--portal-muted);
}

.gov-trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: var(--blue);
  margin-top: 0.05rem;
}

.gov-trust-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.gov-landing-divider {
  margin: 0 0 1.35rem;
  height: 1px;
  background: var(--border-card);
}

.gov-stats-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  max-width: 32rem;
  padding-bottom: 0.5rem;
}

.gov-stat {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.gov-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: rgba(16, 37, 84, 0.55);
  color: var(--blue);
  flex-shrink: 0;
}

.gov-stat-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.gov-stat-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.gov-stat-value {
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--portal-white);
}

.gov-stat-value--gold {
  color: #f2e6c5;
  text-shadow: 0 0 42px rgba(207, 162, 79, 0.22);
}

.gov-stat-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--portal-muted);
}

.gov-access-card,
.gov-access-panel:not(.auth-card) {
  background: var(--card);
  border: 1px solid var(--border-card);
  border-radius: 0.7rem;
  padding: 1.35rem 1.3rem 1.2rem;
  box-shadow:
    0 14px 40px rgba(8, 19, 43, 0.28),
    inset 0 1px 0 rgba(244, 247, 252, 0.05);
  color: var(--portal-white);
}

.gov-access-panel.auth-card {
  position: relative;
  color: var(--text-body);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  padding: 1.2rem 1.25rem;
  box-shadow: var(--shadow-soft);
}

.gov-access-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1.05rem;
  border-bottom: 1px solid var(--border-card);
}

.gov-access-head--compact {
  margin-bottom: 0.85rem;
}

.gov-access-head-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.55rem;
  background: rgba(8, 19, 43, 0.35);
  border: 1px solid var(--border-card);
  color: var(--blue);
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(244, 247, 252, 0.06);
}

.gov-access-head-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.gov-access-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--portal-white);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.gov-access-sub {
  margin: 0.22rem 0 0;
  font-size: 0.8rem;
  color: var(--portal-muted);
  line-height: 1.35;
}

.gov-access-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  margin-bottom: 0.65rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--border-card);
  border-radius: 0.55rem;
  background: rgba(8, 19, 43, 0.35);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(244, 247, 252, 0.04);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.gov-access-option:last-of-type {
  margin-bottom: 0;
}

.gov-access-security {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.05rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-card);
}

.gov-access-security-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  color: var(--blue);
}

.gov-access-security-icon svg {
  width: 1.85rem;
  height: 1.85rem;
}

.gov-access-security-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.gov-access-security strong {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--portal-white);
  line-height: 1.35;
}

.gov-access-security-copy span {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--portal-muted);
}

.gov-access-option:hover,
.gov-access-option:focus-visible {
  background: rgba(22, 58, 115, 0.35);
  border-color: var(--blue);
  transform: translateY(-1px);
  box-shadow:
    0 6px 18px rgba(8, 19, 43, 0.22),
    inset 0 1px 0 rgba(244, 247, 252, 0.06);
  outline: none;
}

.gov-access-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.45rem;
  background: rgba(8, 19, 43, 0.4);
  border: 1px solid var(--border-card);
  color: var(--blue);
}

.gov-access-option-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.gov-access-option-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.gov-access-option-copy strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--portal-white);
  letter-spacing: -0.01em;
}

.gov-access-option-copy span {
  font-size: 0.77rem;
  line-height: 1.4;
  color: var(--portal-muted);
}

.gov-access-chevron {
  display: flex;
  align-items: center;
  color: var(--portal-muted);
}

.gov-access-chevron svg {
  width: 1.1rem;
  height: 1.1rem;
}

.gov-partners-card {
  margin-top: auto;
  max-width: 100%;
  padding: 1rem 1.05rem 1.05rem;
  border-radius: 0.7rem;
  border: 1px solid var(--border-card);
  background: var(--card);
  box-shadow:
    0 14px 40px rgba(8, 19, 43, 0.28),
    inset 0 1px 0 rgba(244, 247, 252, 0.05);
}

.gov-partners-heading {
  margin: 0 0 0.8rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(169, 181, 209, 0.72);
  text-align: left;
}

.gov-partners-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
  align-items: stretch;
}

.gov-partner-logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.52rem 0.38rem;
  border-radius: 0.5rem;
  cursor: pointer;
  background: linear-gradient(160deg, rgba(16, 37, 84, 0.72) 0%, rgba(8, 19, 43, 0.55) 100%);
  border: 1px solid rgba(41, 72, 122, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(244, 247, 252, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.gov-partner-logo-cell:hover {
  background: linear-gradient(160deg, rgba(21, 53, 106, 0.82) 0%, rgba(11, 29, 69, 0.62) 100%);
  border-color: rgba(90, 132, 214, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(244, 247, 252, 0.09),
    0 4px 14px rgba(8, 19, 43, 0.28);
}

.gov-partner-logo {
  display: block;
  width: auto;
  height: var(--partner-logo-h, 1.02rem);
  max-width: var(--partner-logo-w, 4.35rem);
  object-fit: contain;
  object-position: center;
  mix-blend-mode: lighten;
  opacity: 0.95;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  transition: opacity 0.2s ease;
  filter: none;
}

.gov-partner-logo-cell:hover .gov-partner-logo {
  opacity: 1;
}

.gov-partner-logo--chase {
  --partner-logo-h: 0.96rem;
  --partner-logo-w: 3.45rem;
}

.gov-partner-logo--bofa {
  --partner-logo-h: 1.08rem;
  --partner-logo-w: 4.7rem;
}

.gov-partner-logo--citi {
  --partner-logo-h: 0.9rem;
  --partner-logo-w: 3.25rem;
  mix-blend-mode: normal;
  filter: none;
}

.gov-partner-logo--wells {
  --partner-logo-h: 1rem;
  --partner-logo-w: 4rem;
}

.gov-partner-logo--navy {
  --partner-logo-h: 0.92rem;
  --partner-logo-w: 4.45rem;
}

.gov-partner-logo--uber {
  --partner-logo-h: 0.98rem;
  --partner-logo-w: 2.65rem;
}

.gov-partner-logo--truist {
  --partner-logo-h: 0.94rem;
  --partner-logo-w: 3.65rem;
}

.gov-partner-logo--pnc {
  --partner-logo-h: 0.98rem;
  --partner-logo-w: 2.95rem;
}

/* Partner logo click — fireworks celebration */
.partner-fireworks-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  pointer-events: none;
}

.partner-fireworks-overlay:not([hidden]) {
  pointer-events: auto;
}

.partner-fireworks-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.partner-fireworks-stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transform: scale(0.2);
  opacity: 0;
}

.partner-fireworks-overlay.is-active .partner-fireworks-stage {
  animation: partner-logo-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes partner-logo-pop {
  0% {
    transform: scale(0.2);
    opacity: 0;
  }

  60% {
    transform: scale(1.08);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.partner-fireworks-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  transform-origin: center center;
}

.partner-fireworks-overlay.is-active .partner-fireworks-logo-wrap {
  animation: partner-heartbeat 1.05s ease-in-out 0.55s infinite;
}

@keyframes partner-heartbeat {
  0%,
  100% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.18);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.12);
  }

  56% {
    transform: scale(1);
  }
}

.partner-fireworks-logo {
  display: block;
  height: clamp(11rem, 24vh, 15rem);
  width: auto;
  max-width: min(96vw, 56rem);
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
  opacity: 1;
  filter: drop-shadow(0 10px 36px rgba(0, 0, 0, 0.35));
}

.partner-fireworks-logo.gov-partner-logo--citi {
  height: clamp(9rem, 20vh, 12.5rem);
  filter: drop-shadow(0 10px 36px rgba(0, 0, 0, 0.35));
}

.gov-partners-footnote {
  margin: 0.7rem 0 0;
  font-size: 0.66rem;
  line-height: 1.45;
  color: rgba(169, 181, 209, 0.65);
  text-align: center;
}

body.gov-portal .logo-text {
  display: none;
}

.gov-panel-back {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.85rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.gov-panel-back:hover {
  color: var(--navy);
}

.gov-panel-form {
  display: grid;
  gap: 0.65rem;
}

.gov-panel-message {
  margin: 0.75rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.gov-panel-message.is-info {
  padding: 0.75rem 0.85rem;
  border-radius: 0.45rem;
  background: var(--bg-page);
  border: 1px solid var(--border);
}

.gov-panel-message.is-error {
  padding: 0.75rem 0.85rem;
  border-radius: 0.45rem;
  background: rgba(120, 32, 32, 0.18);
  border: 1px solid rgba(220, 120, 120, 0.35);
  color: #f2c6c6;
}

.gov-case-result {
  margin-top: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 0.55rem;
  border: 1px solid var(--border-card);
  background: rgba(8, 19, 43, 0.45);
}

.gov-case-result-title {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold);
}

.gov-case-result-details {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.gov-case-result-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.gov-case-result-row dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--portal-muted);
}

.gov-case-result-row dd {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--portal-white);
  font-weight: 600;
}

.admin-agent-checklist {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.admin-agent-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--text);
}

.admin-agent-check input {
  margin: 0;
}

.gov-inline-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.gov-login-sub {
  margin: 0.35rem 0 0.85rem !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
}

body.gov-portal .auth-card,
body.gov-portal .glass-card,
body.gov-portal .perks article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: none;
  color: var(--text-body);
}

body.gov-portal .card-eyebrow,
body.gov-portal .kicker {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

body.gov-portal .auth-card h2,
body.gov-portal .panel-header h2 {
  color: var(--text-body);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 700;
}

body.gov-portal .auth-card .subtitle,
body.gov-portal .auth-card p {
  color: var(--text-muted);
}

body.gov-portal input,
body.gov-portal select,
body.gov-portal textarea {
  background: var(--input-bg);
  border: 1px solid var(--border);
  color: var(--text-body);
  border-radius: 0.45rem;
  box-shadow: none;
}

body.gov-portal input::placeholder {
  color: #9aa5b1;
}

body.gov-portal input:focus,
body.gov-portal select:focus,
body.gov-portal textarea:focus {
  outline: 2px solid rgba(19, 41, 75, 0.25);
  outline-offset: 1px;
  border-color: var(--navy-mid);
}

body.gov-portal label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

body.gov-portal .primary {
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
  border-radius: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  box-shadow: var(--shadow-card);
}

body.gov-portal .primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
}

body.gov-portal .secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
}

body.gov-portal .secondary:hover {
  background: var(--bg-page);
  border-color: #c5cad2;
}

body.gov-portal .remember-username-box {
  background: var(--bg-page);
  border-color: var(--border);
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.84rem;
  font-weight: 500;
}

body.gov-portal .remember-username-box input[type="checkbox"] {
  accent-color: var(--navy);
}

body.gov-portal .trust-block {
  border-top-color: var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
}

body.gov-portal .auth-message {
  color: #b42318;
}

body.gov-portal .nav-btn {
  background: var(--white);
  border-color: var(--border);
  color: var(--text-body);
  border-radius: 0.35rem;
}

body.gov-portal .nav-btn.active {
  border-color: var(--navy);
  color: var(--navy);
  background: #e9edf3;
}

/* Admin panel on light page */
body.gov-portal #admin-panel .kicker,
body.gov-portal #admin-panel .muted,
body.gov-portal .panel-header .muted {
  color: var(--text-muted) !important;
}

body.gov-portal #admin-panel h2,
body.gov-portal #admin-panel h3,
body.gov-portal #admin-panel label,
body.gov-portal #admin-panel th,
body.gov-portal #admin-panel td,
body.gov-portal #admin-panel p,
body.gov-portal #admin-panel span,
body.gov-portal #admin-panel strong {
  color: var(--text-body);
}

body.gov-portal th {
  color: var(--text-muted);
  border-bottom-color: var(--border);
}

body.gov-portal td {
  border-bottom-color: var(--border);
}

body.gov-portal .balance {
  color: var(--navy);
}

/* Customer dashboard */
body.gov-portal .customer-top .top-badge {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
}

body.gov-portal .customer-view {
  color: var(--text-body);
}

body.gov-portal .customer-view .panel-header h2,
body.gov-portal .customer-view h3,
body.gov-portal .customer-view p,
body.gov-portal .customer-view li,
body.gov-portal .customer-view span,
body.gov-portal .customer-view strong {
  color: var(--text-body);
}

body.gov-portal .customer-main,
body.gov-portal .rewards-panel {
  background: var(--bg-page);
  border-color: var(--border);
}

body.gov-portal .banking-panel,
body.gov-portal .transactions-panel,
body.gov-portal .wire-panel {
  border-color: var(--border);
  box-shadow: var(--shadow-card);
}

body.gov-portal .bank-tab {
  background: var(--bg-page);
  border-color: var(--border);
  color: var(--text-muted);
}

body.gov-portal .bank-tab.active {
  background: var(--white);
  border-color: var(--border);
  color: var(--navy);
  box-shadow: var(--shadow-card);
}

/* Asset recovery — navy accents instead of gold */
body.gov-portal .car-case-card {
  border-color: var(--border);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

body.gov-portal .car-case-kicker,
body.gov-portal .car-update-chip {
  color: var(--navy-mid);
  border-color: rgba(19, 41, 75, 0.25);
  background: #eef2f7;
}

body.gov-portal .car-case-id {
  color: var(--navy);
}

body.gov-portal .car-track-wrap {
  border-color: var(--border);
  background: var(--bg-page);
  box-shadow: none;
}

body.gov-portal .car-vt-spine::after {
  background: linear-gradient(180deg, #9ed4ff 0%, #4da3e8 55%, var(--navy-mid) 100%);
  box-shadow: 0 0 8px rgba(77, 163, 232, 0.28);
}

body.gov-portal .car-vt-node--done {
  border-color: #4da3e8;
  background: linear-gradient(145deg, #7ec4ff, #4da3e8);
  box-shadow: 0 2px 8px rgba(77, 163, 232, 0.25);
}

body.gov-portal .car-vt-node--current {
  border-color: #8ecfff;
  background: linear-gradient(145deg, #f0f8ff 0%, #c5e5ff 45%, #8ecfff 100%);
  color: #0b5cab;
  box-shadow:
    0 0 0 3px rgba(142, 207, 255, 0.4),
    0 0 14px rgba(94, 184, 255, 0.5),
    0 0 24px rgba(126, 196, 255, 0.32);
}

body.gov-portal .car-vt-card--active {
  background: linear-gradient(90deg, rgba(224, 242, 255, 0.85), rgba(255, 255, 255, 0));
  box-shadow: none;
}

body.gov-portal .art-case-row.is-selected {
  border-color: var(--navy-mid);
  background: #eef2f7;
}

body.gov-portal .art-progress-fill {
  background: linear-gradient(90deg, var(--navy), var(--navy-mid));
}

/* Remaining premium/gold overrides */
body.gov-portal .hero-stat-value,
body.gov-portal .hero-stat-value--gold,
body.gov-portal .rewards-points,
body.gov-portal .deal-card-caption {
  color: var(--navy) !important;
  text-shadow: none !important;
}

body.gov-portal .tx-amount--credit {
  color: #15803d !important;
}

body.gov-portal .tx-amount--debit {
  color: #b45309 !important;
}

body.gov-portal .feature-pill {
  background: #e9edf3;
  border-color: var(--border);
  color: var(--navy-mid);
}

body.gov-portal .status-pill,
body.gov-portal .tx-status {
  border-radius: 0.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

body.gov-portal .status-pill--completed,
body.gov-portal .tx-status--completed {
  background: #e8f3ed;
  color: var(--success);
  border: 1px solid #b8dcc8;
}

body.gov-portal .status-pill--pending,
body.gov-portal .tx-status--pending {
  background: #f3f0e6;
  color: var(--pending);
  border: 1px solid #ddd4b8;
}

body.gov-portal .customer-top {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%) !important;
}

body.gov-portal .rewards-panel,
body.gov-portal .alerts-panel {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

body.gov-portal .alerts-panel h3,
body.gov-portal .rewards-panel h3 {
  color: var(--text-body);
}

body.gov-portal .alert-item {
  border-color: var(--border);
  background: var(--bg-page);
  color: var(--text-body);
}

/* Customer dashboard remaster */
body.gov-portal main:has(> #customer.active) {
  max-width: 82rem;
  padding: 1.5rem 2rem 2rem;
}

body.gov-portal .customer-layout {
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

body.gov-portal .customer-main,
body.gov-portal .rewards-panel {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

body.gov-portal .rewards-panel {
  position: sticky;
  top: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.1rem 1.05rem 1.15rem;
  box-shadow: var(--shadow-card);
}

body.gov-portal .bank-tab-icon-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.gov-portal .bank-tab.active .bank-tab-icon-shell {
  background: rgba(90, 132, 214, 0.12);
  border-color: rgba(21, 53, 106, 0.12);
}

body.gov-portal .bank-tab-icon-shell .bank-tab-icon {
  width: 1.35rem;
  height: 1.35rem;
}

body.gov-portal .bank-tab-label--short {
  display: none;
}

body.gov-portal .bank-tab-label--full {
  display: inline;
}

body.gov-portal .dash-account-card-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

body.gov-portal .dash-account-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.55rem;
  background: linear-gradient(180deg, #eef2f8 0%, #e4ebf5 100%);
  border: 1px solid var(--border);
  color: var(--header);
  flex-shrink: 0;
}

body.gov-portal .dash-account-card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

body.gov-portal .dash-clickable {
  cursor: pointer;
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    border-color 0.14s ease,
    background 0.14s ease;
}

body.gov-portal .dash-clickable:hover,
body.gov-portal .dash-clickable:focus-visible {
  outline: none;
}

body.gov-portal .dash-clickable.is-pressed {
  transform: scale(0.98);
}

body.gov-portal .dash-section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

body.gov-portal .dash-section-link:hover,
body.gov-portal .dash-section-link:focus-visible {
  color: var(--navy-900);
}

body.gov-portal .dash-inline-message {
  margin: 0.65rem 0 0;
  padding: 0.7rem 0.8rem;
  border-radius: 0.5rem;
  border: 1px solid #e8d4a8;
  background: #fff9ed;
  color: #6b4f0a;
  font-size: 0.78rem;
  line-height: 1.45;
}

body.gov-portal .deal-card.dash-clickable {
  width: 100%;
  text-align: left;
  border: 1px solid var(--border);
  background: var(--white);
  padding: 0;
}

body.gov-portal .deal-card.dash-clickable:hover,
body.gov-portal .deal-card.dash-clickable:focus-visible {
  border-color: var(--header);
  box-shadow: var(--shadow-soft);
}

body.gov-portal .customer-news-item.dash-clickable:hover,
body.gov-portal .dash-alert-item.dash-clickable:hover {
  border-color: var(--header);
  background: #f8fafc;
}

body.gov-portal .customer-help-link {
  border: none;
  font: inherit;
  cursor: pointer;
}

body.gov-portal .customer-help-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  min-height: 5.5rem;
  padding: 0.25rem 0.65rem;
  border: none;
  background: transparent;
  color: var(--portal-white);
  font: inherit;
  cursor: pointer;
  text-align: center;
  position: relative;
}

body.gov-portal .customer-help-tile:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.35rem;
  right: 0;
  width: 1px;
  height: calc(100% - 0.7rem);
  background: rgba(255, 255, 255, 0.14);
}

body.gov-portal .customer-help-tile:hover .customer-help-tile-icon,
body.gov-portal .customer-help-tile:focus-visible .customer-help-tile-icon {
  border-color: var(--gold);
  background: rgba(228, 197, 122, 0.12);
  color: var(--gold);
}

body.gov-portal .customer-help-tile:focus-visible {
  outline: none;
}

body.gov-portal .customer-help-tile.is-pressed .customer-help-tile-icon {
  transform: scale(0.96);
}

body.gov-portal .customer-help-tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  border: 1.5px solid rgba(228, 197, 122, 0.5);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold);
  transition:
    transform 0.14s ease,
    border-color 0.14s ease,
    background 0.14s ease;
}

body.gov-portal .customer-help-tile-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

body.gov-portal .customer-help-tile-label {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: rgba(244, 247, 252, 0.92);
}

body.gov-portal .dash-modal-lead {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-muted);
}

body.gov-portal .dash-modal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

body.gov-portal .dash-modal-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.75rem 0.8rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--bg-page);
}

body.gov-portal .dash-modal-list-item strong {
  color: var(--navy-900);
  font-size: 0.86rem;
}

body.gov-portal .dash-modal-list-item span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

body.gov-portal .dash-modal-list-item--stack {
  flex-direction: column;
  align-items: flex-start;
}

body.gov-portal .dash-modal-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.85rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--text-muted);
}

body.gov-portal .dash-modal-total strong {
  color: var(--navy-900);
  font-size: 1rem;
}

body.gov-portal .points-row strong {
  color: var(--navy-900);
}

body.gov-portal .reward-section-title {
  margin: 0;
}

body.gov-portal .deal-grid {
  display: grid;
  gap: 0.75rem;
}

body.gov-portal .customer-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

body.gov-portal .customer-hero-shield {
  display: none;
}

body.gov-portal .customer-hero-shield svg {
  width: 100%;
  height: 100%;
}

body.gov-portal .bank-tab-chevron {
  display: none;
}

body.gov-portal .bank-tab-label--short {
  display: none;
}

body.gov-portal .bank-tab-label--full {
  display: inline;
}

body.gov-portal .customer-welcome-block h2 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

body.gov-portal .customer-welcome-sub {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}

body.gov-portal .hero-shield-logo {
  filter: brightness(1.08) contrast(1.05);
}

body.gov-portal .linked-account-body {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

body.gov-portal .linked-account-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
  background: #eef2f8;
  color: #15356a;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

body.gov-portal .linked-account-logo.account-letter-box--solid,
body.gov-portal .linked-account-logo.account-letter-box--split {
  background: #eef2f8;
  color: #15356a;
  box-shadow: none;
}

body.gov-portal .customer-logout-btn {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

body.gov-portal .banking-panel {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  background: var(--white);
}

body.gov-portal .banking-header {
  background: var(--header);
  padding: 0.95rem 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.gov-portal .banking-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

body.gov-portal .banking-header-logo {
  height: 2.35rem;
  width: auto;
  max-width: 8.5rem;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 1px 3px rgba(8, 19, 43, 0.35));
}

body.gov-portal .banking-header h3 {
  margin: 0;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.gov-portal .banking-header .bank-tab:not(.active) {
  color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

body.gov-portal .banking-header .bank-tab:not(.active) .bank-tab-icon,
body.gov-portal .banking-header .bank-tab:not(.active) .bank-tab-label,
body.gov-portal .banking-header .bank-tab:not(.active) .bank-tab-chevron {
  color: #ffffff;
}

body.gov-portal .banking-header .bank-tab:not(.active) .bank-tab-icon-shell {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
}

body.gov-portal .bank-tab.active {
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy-900);
  box-shadow: 0 4px 14px rgba(8, 19, 43, 0.18);
}

body.gov-portal .bank-tab.active .bank-tab-icon {
  color: var(--navy-900);
}

body.gov-portal .bank-content-panel.active {
  padding: 1rem 1rem 1.15rem;
}

body.gov-portal .dash-account-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.05rem;
  margin-bottom: 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

body.gov-portal .dash-account-card-info .account-name {
  font-size: 1.05rem;
  color: var(--navy-900);
}

body.gov-portal .dash-account-card-balance {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

body.gov-portal .dash-account-card .account-balance {
  margin: 0;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--header) 0%, var(--navy-800) 100%);
  font-size: 1.05rem;
  line-height: 1.2;
}

body.gov-portal .dash-balance-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

body.gov-portal .dash-section {
  margin-top: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

body.gov-portal .dash-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

body.gov-portal .dash-section-head h3,
body.gov-portal .dash-sidebar-head .reward-section-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
}

body.gov-portal .dash-sidebar-head {
  margin-top: 1.15rem;
  margin-bottom: 0.7rem;
}

body.gov-portal .dash-section-link {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--header);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

body.gov-portal .dash-section-link:hover,
body.gov-portal .dash-section-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

body.gov-portal .transactions-panel.dash-section {
  background: var(--bg-page);
}

body.gov-portal .dash-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.35rem;
  align-items: center;
}

body.gov-portal .dash-overview-panel {
  background: linear-gradient(180deg, #f8fafc 0%, var(--bg-page) 100%);
}

body.gov-portal .dash-donut-wrap {
  position: relative;
  width: min(100%, 12rem);
  aspect-ratio: 1;
  margin: 0 auto;
}

body.gov-portal .dash-donut-wrap::before {
  content: "";
  position: absolute;
  inset: -5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 53, 106, 0.07) 0%, transparent 72%);
  pointer-events: none;
}

body.gov-portal .dash-donut {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(8, 19, 43, 0.1);
  position: relative;
}

body.gov-portal .dash-donut::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

body.gov-portal .dash-donut-center {
  position: absolute;
  inset: 22%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  text-align: center;
  padding: 0.35rem;
  box-shadow:
    inset 0 0 0 1px var(--border),
    0 2px 10px rgba(8, 19, 43, 0.06);
}

body.gov-portal .dash-donut-center span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

body.gov-portal .dash-donut-center strong {
  margin-top: 0.2rem;
  font-size: clamp(0.82rem, 2.2vw, 1rem);
  line-height: 1.2;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
}

body.gov-portal .dash-overview-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

body.gov-portal .dash-overview-legend li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.58rem 0.7rem;
  border-radius: 0.55rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(8, 19, 43, 0.04);
  font-size: 0.82rem;
  color: var(--text-body);
}

body.gov-portal .dash-legend-dot {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}

body.gov-portal .dash-legend-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

body.gov-portal .dash-legend-label {
  color: var(--navy-900);
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.gov-portal .dash-legend-share {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.2;
}

body.gov-portal .dash-legend-value {
  font-weight: 700;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body.gov-portal .dash-alerts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

body.gov-portal .dash-alert-empty {
  padding: 0.85rem;
  border-radius: 0.55rem;
  border: 1px dashed var(--border);
  background: var(--bg-page);
  font-size: 0.82rem;
  color: var(--text-muted);
  list-style: none;
}

body.gov-portal .dash-alert-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem 0.85rem;
  border-radius: 0.55rem;
  border: 1px solid var(--border);
  background: var(--bg-page);
}

body.gov-portal .dash-alert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  background: #e8edf4;
  color: var(--header);
  flex-shrink: 0;
}

body.gov-portal .dash-alert-icon svg {
  width: 1rem;
  height: 1rem;
}

body.gov-portal .dash-alert-copy strong {
  display: block;
  font-size: 0.86rem;
  color: var(--navy-900);
  line-height: 1.35;
}

body.gov-portal .dash-alert-copy span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
}

body.gov-portal .dash-alert-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}

body.gov-portal .dash-alert-time {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
}

body.gov-portal .dash-alert-arrow {
  color: var(--text-muted);
  font-size: 0.95rem;
}

body.gov-portal .rewards-panel-title-row h3 {
  font-size: 1rem;
  color: var(--navy-900);
}

body.gov-portal .deal-card--visual {
  overflow: hidden;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

body.gov-portal .deal-card-body {
  position: relative;
  padding: 0.75rem 2rem 0.85rem 0.85rem;
}

body.gov-portal .deal-card-desc {
  margin: 0.25rem 0 0;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--text-muted);
}

body.gov-portal .deal-card-arrow {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

body.gov-portal .customer-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

body.gov-portal .customer-news-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: start;
  padding: 0.7rem 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid var(--border);
  background: var(--bg-page);
}

body.gov-portal .customer-news-item time {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

body.gov-portal .customer-news-item strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--navy-900);
}

body.gov-portal .customer-news-item .deal-card-arrow {
  position: static;
  transform: none;
  margin-top: 0.15rem;
}

body.gov-portal .customer-help-banner {
  margin-top: 1.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(90deg, var(--navy-800) 0%, var(--navy-900) 55%, #08132b 100%);
  border: 1px solid rgba(41, 72, 122, 0.65);
  color: var(--portal-white);
  box-shadow: 0 10px 28px rgba(8, 19, 43, 0.22);
}

body.gov-portal .customer-help-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.35rem 1.5rem;
}

body.gov-portal .customer-help-banner h3 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--portal-white);
  letter-spacing: -0.01em;
}

body.gov-portal .customer-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

body.gov-portal .customer-help-banner .dark-btn {
  min-width: 8.5rem;
  padding: 0.62rem 1rem;
  border-radius: 0.45rem;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--navy-900);
  font-size: 0.8rem;
  font-weight: 700;
}

body.gov-portal .customer-help-banner .dark-btn:hover,
body.gov-portal .customer-help-banner .dark-btn:focus-visible {
  background: #edd9a0;
  border-color: #edd9a0;
}

body.gov-portal .customer-help-banner .light-btn {
  min-width: 8.5rem;
  padding: 0.62rem 1rem;
  border-radius: 0.45rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--portal-white);
  font-size: 0.8rem;
  font-weight: 600;
}

body.gov-portal .customer-help-banner .light-btn:hover,
body.gov-portal .customer-help-banner .light-btn:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.65);
}

body.gov-portal .customer-help-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  flex: 1;
  max-width: 26rem;
}

body.gov-portal .points-row {
  padding: 0.7rem 0.8rem;
  border-radius: 0.5rem;
  background: var(--bg-page);
  border: 1px solid var(--border);
}

body.gov-portal .points-row span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

body.gov-portal .reward-buttons {
  margin-bottom: 0.15rem;
}

body.gov-portal .rewards-panel-head-icon--gift,
body.gov-portal .rewards-panel-head-icon--star,
body.gov-portal .rewards-panel-head-icon--diamond {
  animation: none;
  color: var(--gold);
}

body.gov-portal .transactions-panel.dash-section {
  background: var(--white);
  border: 1px solid var(--border);
}

body.gov-portal .dash-section {
  margin-top: 0.75rem;
}

body.gov-portal .dash-overview-panel {
  background: linear-gradient(180deg, #f8fafc 0%, var(--bg-page) 100%);
}

body.gov-portal .customer-help-intro {
  flex-shrink: 0;
}

body.gov-portal .art-stage-row select,
body.gov-portal #admin-panel select,
body.gov-portal #admin-panel input,
body.gov-portal #admin-panel textarea {
  background: var(--input-bg);
  border-color: var(--border);
  color: var(--text-body);
}

body.gov-portal .art-update-panel,
body.gov-portal .art-map-panel {
  background: var(--white);
  border-color: var(--border);
}

/* Admin layout — white cards on light gray page */
body.gov-portal .admin-layout {
  gap: 1rem;
}

body.gov-portal .glass-card,
body.gov-portal .table-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  box-shadow: var(--shadow-soft);
  color: var(--text-body);
}

body.gov-portal .admin-tx-row,
body.gov-portal .admin-tx-add {
  border-color: var(--border);
}

body.gov-portal .admin-tx-row {
  background: var(--bg-page);
  border-radius: 0.45rem;
  padding: 0.5rem;
}

body.gov-portal .tag.success {
  background: #e8f3ed;
  color: var(--success);
  border: 1px solid #b8dcc8;
}

body.gov-portal .tag.pending {
  background: #f3f0e6;
  color: var(--pending);
  border: 1px solid #ddd4b8;
}

/* Asset Recovery admin — light institutional panels */
body.gov-portal .art-module {
  color: var(--text-body);
}

body.gov-portal .art-toolbar {
  border-color: var(--border);
}

body.gov-portal .art-case-card {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-body);
  box-shadow: var(--shadow-card);
}

body.gov-portal .art-case-card:hover {
  border-color: #c5cad2;
  background: var(--bg-page);
}

body.gov-portal .art-case-card--active {
  border-color: var(--navy-mid);
  background: #eef2f7;
}

body.gov-portal .art-case-id {
  color: var(--navy);
}

body.gov-portal .art-case-asset,
body.gov-portal .art-case-meta {
  color: var(--text-muted);
}

body.gov-portal .art-detail {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: none;
  color: var(--text-body);
}

body.gov-portal .art-detail-head h4 {
  color: var(--text-body);
}

body.gov-portal .art-status-tag {
  color: var(--text-muted);
}

body.gov-portal .art-status-tag--neutral {
  background: var(--bg-page);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

body.gov-portal .art-update-panel-head h4 {
  color: var(--text-body);
}

body.gov-portal .art-update-kicker {
  color: var(--navy-mid);
}

body.gov-portal .art-progress-head {
  color: var(--text-muted);
}

body.gov-portal .art-progress-pct {
  color: var(--navy);
}

body.gov-portal .art-progress-bar {
  background: var(--border);
}

body.gov-portal .art-vt-date {
  color: var(--text-muted);
}

body.gov-portal .art-vt-seg--up,
body.gov-portal .art-vt-seg--down {
  background: var(--border);
}

body.gov-portal .art-vt-seg--up.is-active,
body.gov-portal .art-vt-seg--down.is-active {
  background: linear-gradient(180deg, #2a4a72 0%, var(--navy-mid) 100%);
  box-shadow: none;
}

body.gov-portal .art-vt-node {
  border-color: var(--border);
  background: var(--white);
  color: var(--text-muted);
}

body.gov-portal .art-vt-node--done {
  border-color: var(--navy-mid);
  background: var(--navy-mid);
  color: var(--white);
  box-shadow: none;
}

body.gov-portal .art-vt-node--current {
  border-color: var(--navy);
  background: #e8edf4;
  color: var(--navy);
  box-shadow: 0 0 0 4px rgba(19, 41, 75, 0.12);
}

body.gov-portal .art-vt-card {
  color: var(--text-body);
}

body.gov-portal .art-vt-card--active {
  background: linear-gradient(90deg, rgba(232, 237, 244, 0.9), rgba(255, 255, 255, 0));
}

body.gov-portal .art-vt-status {
  color: var(--navy-mid);
}

body.gov-portal .art-vt-icon-box {
  background: var(--bg-page);
  border-color: var(--border);
  color: var(--navy);
}

body.gov-portal .art-stage-form {
  border-color: var(--border);
}

body.gov-portal .art-stage-form label {
  color: var(--text-muted);
}

body.gov-portal .art-ref-card {
  background: var(--bg-page);
  border: 1px solid var(--border);
}

body.gov-portal .art-ref-card figcaption {
  color: var(--text-muted);
}

/* Documents wizard */
body.gov-portal .doc-type-card:hover {
  border-color: var(--navy-mid);
  background: #eef2f7;
}

body.gov-portal .doc-type-title {
  color: var(--text-body);
}

body.gov-portal .doc-type-desc {
  color: var(--text-muted);
}

body.gov-portal .documents-intro,
body.gov-portal .car-intro,
body.gov-portal .deposit-intro,
body.gov-portal .deposit-hint {
  color: var(--text-muted);
}

body.gov-portal .deposit-file-name {
  color: var(--text-muted);
}

/* Account / banking panels */
body.gov-portal .account-summary-card,
body.gov-portal .checking-card,
body.gov-portal .savings-card,
body.gov-portal .ira-card {
  background: var(--white);
  border-color: var(--border);
  box-shadow: var(--shadow-card);
}

body.gov-portal .account-label,
body.gov-portal .account-meta {
  color: var(--text-muted);
}

body.gov-portal .account-balance,
body.gov-portal .checking-balance {
  color: var(--navy);
}

body.gov-portal .tx-row,
body.gov-portal .tx-item {
  border-color: var(--border);
}

body.gov-portal .tx-desc,
body.gov-portal .tx-date {
  color: var(--text-body);
}

body.gov-portal .tx-amount--debit {
  color: var(--text-body);
}

body.gov-portal .wire-panel h3,
body.gov-portal .transactions-panel h3 {
  color: var(--text-body);
}

body.gov-portal .card-ship-tracker,
body.gov-portal .ship-timeline {
  background: var(--bg-page);
  border-color: var(--border);
}

body.gov-portal .ship-step.is-active .ship-step-label,
body.gov-portal .ship-step.is-done .ship-step-label {
  color: var(--navy);
}

body.gov-portal .deal-card {
  background: var(--white);
  border-color: var(--border);
}

body.gov-portal .deal-card-caption {
  color: var(--text-body);
}

body.gov-portal .rewards-points-label,
body.gov-portal .rewards-tier {
  color: var(--text-muted);
}

body.gov-portal .customer-heading h2 {
  color: var(--text-body);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
}

body.gov-portal .panel-header h2 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
}

body.gov-portal .danger,
body.gov-portal .btn-danger {
  background: #fff5f5;
  color: #b42318;
  border-color: #f5c2c0;
}

body.gov-portal .danger:hover,
body.gov-portal .btn-danger:hover {
  background: #fee2e2;
  border-color: #f0a8a5;
}

/* Footer */
.gov-footer {
  background: var(--navy-900);
  color: var(--portal-muted);
  padding: 1.35rem 2.5rem 1.1rem;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  border-top: 1px solid var(--border-card);
}

.gov-footer--full {
  text-align: left;
}

.gov-footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 82rem;
  margin: 0 auto;
}

.gov-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gov-footer-seal {
  width: 4.25rem;
  height: auto;
  border-radius: 0;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.gov-footer-brand div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.gov-footer-brand strong {
  color: var(--portal-white);
  font-weight: 600;
  font-size: 0.82rem;
}

.gov-footer-brand span {
  color: var(--portal-muted);
  font-size: 0.74rem;
}

.gov-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  align-items: center;
}

.gov-footer-nav a {
  color: var(--portal-muted);
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 600;
}

.gov-footer-nav a:hover {
  color: var(--portal-white);
  text-decoration: underline;
}

.gov-footer-copy {
  margin: 0.9rem auto 0;
  max-width: 82rem;
  text-align: right;
  color: rgba(169, 181, 209, 0.55);
  font-size: 0.68rem;
}

.gov-footer strong {
  color: var(--portal-white);
  font-weight: 600;
}

/* About FDIC page */
.gov-about-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.75rem;
  font-size: 0.78rem;
  color: var(--portal-muted);
}

.gov-breadcrumb-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--portal-muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.gov-breadcrumb-link:hover,
.gov-breadcrumb-link:focus-visible {
  color: var(--gold);
}

.gov-breadcrumb-sep {
  opacity: 0.65;
}

.gov-breadcrumb-current {
  color: var(--portal-white);
  font-weight: 600;
}

.gov-about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.75rem;
}

.gov-about-title {
  margin: 0 0 1.1rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--portal-white);
}

.gov-about-lead {
  margin: 0;
  max-width: 38rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--portal-muted);
}

.gov-about-hero-seal {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gov-about-hero-seal img {
  width: min(100%, 17.5rem);
  height: auto;
  filter: drop-shadow(0 8px 28px rgba(228, 197, 122, 0.18));
}

.gov-about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-card);
}

.gov-about-stat {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.gov-about-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  color: var(--gold);
}

.gov-about-stat-icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.gov-about-stat-value {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.gov-about-stat p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--portal-muted);
}

.gov-about-block {
  margin-bottom: 3rem;
}

.gov-section-title {
  margin: 0 0 1.35rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--gold);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold);
}

.gov-about-mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.gov-about-mission-copy {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--portal-muted);
}

.gov-about-feature-card,
.gov-about-info-card {
  background: var(--card);
  border: 1px solid var(--border-card);
  border-radius: 0.65rem;
  padding: 1.35rem 1.25rem;
}

.gov-about-feature-icon,
.gov-about-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.85rem;
  color: var(--gold);
}

.gov-about-feature-icon svg,
.gov-about-card-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.gov-about-feature-card h3,
.gov-about-info-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--portal-white);
}

.gov-about-feature-card p,
.gov-about-info-card p {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--portal-muted);
}

.gov-about-link {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

.gov-about-link:hover,
.gov-about-link:focus-visible {
  text-decoration: underline;
}

.gov-about-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gov-about-commitment {
  position: relative;
  margin: 0 -2.5rem;
  padding: 3rem 2.5rem 3.25rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 19, 43, 0.94) 0%, rgba(10, 24, 55, 0.88) 100%),
    url("./images/commitment-building.svg") center bottom / cover no-repeat;
  border-top: 1px solid var(--border-card);
}

.gov-about-commitment-inner {
  position: relative;
  z-index: 1;
  max-width: 82rem;
  margin: 0 auto;
}

.gov-about-commitment-title {
  margin: 0 0 0.75rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--portal-white);
}

.gov-about-commitment-lead {
  margin: 0 0 2rem;
  max-width: 40rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--portal-muted);
}

.gov-commitment-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.gov-commitment-pillar {
  text-align: center;
}

.gov-commitment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: rgba(8, 19, 43, 0.45);
}

.gov-commitment-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.gov-commitment-pillar h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--portal-white);
}

.gov-commitment-pillar p {
  margin: 0 auto;
  max-width: 16rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--portal-muted);
}

/* Expanded footer */
.gov-footer--expanded {
  padding: 2rem 2.5rem 0;
}

.gov-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 82rem;
  margin: 0 auto;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-card);
}

.gov-footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.gov-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--portal-muted);
  text-decoration: none;
}

.gov-footer-social a:hover,
.gov-footer-social a:focus-visible {
  color: var(--portal-white);
}

.gov-footer-social svg {
  width: 1.1rem;
  height: 1.1rem;
}

.gov-footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 10rem));
  gap: 2rem 2.5rem;
}

.gov-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.gov-footer-col strong {
  margin-bottom: 0.25rem;
  color: var(--portal-white);
  font-size: 0.8rem;
  font-weight: 700;
}

.gov-footer-col a {
  color: var(--portal-muted);
  font-size: 0.76rem;
  font-weight: 500;
  text-decoration: none;
}

.gov-footer-col a:hover,
.gov-footer-col a:focus-visible {
  color: var(--portal-white);
}

.gov-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 82rem;
  margin: 0 auto;
  padding: 0.9rem 0 1rem;
  font-size: 0.72rem;
  color: var(--portal-muted);
}

.gov-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.gov-footer-legal a {
  color: var(--portal-muted);
  text-decoration: none;
  font-weight: 600;
}

.gov-footer-legal a:hover,
.gov-footer-legal a:focus-visible {
  color: var(--portal-white);
}

/* Resources page */
.gov-resources-block {
  margin-bottom: 2.75rem;
}

.gov-page-subhead {
  margin: -0.75rem 0 1.35rem;
  max-width: 40rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--portal-muted);
}

.gov-resources-categories {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.gov-resource-category-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.15rem 1rem 1rem;
  background: var(--card);
  border: 1px solid var(--border-card);
  border-radius: 0.65rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.gov-resource-category-card:hover,
.gov-resource-category-card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.gov-resource-category-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--portal-white);
}

.gov-resource-category-card p {
  margin: 0 0 0.85rem;
  flex: 1;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--portal-muted);
}

.gov-resource-arrow {
  margin-top: auto;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.gov-popular-resources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.gov-resource-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--border-card);
  border-radius: 0.55rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.gov-resource-row:hover,
.gov-resource-row:focus-visible {
  border-color: var(--gold);
}

.gov-resource-row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--gold);
  flex-shrink: 0;
}

.gov-resource-row-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.gov-resource-row-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.gov-resource-row-copy strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--portal-white);
}

.gov-resource-row-copy span {
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--portal-muted);
}

.gov-resources-tools-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1rem;
}

.gov-resources-tool-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gov-resources-tool-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.gov-resources-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  color: var(--gold);
  flex-shrink: 0;
}

.gov-resources-check svg {
  width: 1.1rem;
  height: 1.1rem;
}

.gov-resources-tool-list strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.88rem;
  color: var(--portal-white);
}

.gov-resources-tool-list p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--portal-muted);
}

.gov-resources-aside {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.gov-resources-cta {
  padding: 1.25rem 1.15rem;
  background: var(--card);
  border: 1px solid var(--border-card);
  border-radius: 0.65rem;
}

.gov-resources-cta--subscribe {
  background:
    linear-gradient(180deg, rgba(8, 19, 43, 0.88) 0%, rgba(16, 37, 84, 0.95) 100%),
    url("./images/commitment-building.svg") center / cover no-repeat;
}

.gov-resources-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.65rem;
  color: var(--gold);
}

.gov-resources-cta-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.gov-resources-cta h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--portal-white);
}

.gov-resources-cta p {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--portal-muted);
}

/* News page */
.gov-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  gap: 1.5rem;
  align-items: start;
}

.gov-news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-card);
}

.gov-news-tab {
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: var(--portal-muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -0.67rem;
}

.gov-news-tab.is-active {
  color: var(--portal-white);
  border-bottom-color: var(--gold);
}

.gov-news-tab:hover,
.gov-news-tab:focus-visible {
  color: var(--portal-white);
}

.gov-news-toolbar {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.gov-news-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.45rem;
  border: 1px solid var(--border-card);
  background: rgba(8, 19, 43, 0.35);
  color: var(--portal-muted);
}

.gov-news-search svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.gov-news-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--portal-white);
  font: inherit;
  font-size: 0.78rem;
}

.gov-news-search input::placeholder {
  color: var(--portal-muted);
}

.gov-news-search input:focus {
  outline: none;
}

.gov-news-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.45rem;
  border: 1px solid var(--border-card);
  background: var(--card);
  color: var(--portal-white);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.gov-news-filter-btn svg {
  width: 1rem;
  height: 1rem;
}

.gov-news-filter-btn:hover,
.gov-news-filter-btn:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.gov-news-feed {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.gov-news-card {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem;
  border-radius: 0.55rem;
  border: 1px solid var(--border-card);
  background: var(--card);
}

.gov-news-card[hidden] {
  display: none;
}

.gov-news-thumb {
  border-radius: 0.4rem;
  min-height: 5.5rem;
  background: linear-gradient(135deg, #102554, #0b1d45);
}

.gov-news-thumb--building {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 43, 0.2), rgba(8, 19, 43, 0.75)),
    linear-gradient(135deg, #163a73, #102554);
}

.gov-news-thumb--podium {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 43, 0.25), rgba(8, 19, 43, 0.8)),
    radial-gradient(circle at 30% 70%, rgba(228, 197, 122, 0.25), transparent 55%),
    linear-gradient(135deg, #0a1837, #102554);
}

.gov-news-thumb--alert {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 43, 0.2), rgba(8, 19, 43, 0.85)),
    radial-gradient(circle at 70% 30%, rgba(200, 80, 70, 0.35), transparent 50%),
    linear-gradient(135deg, #0b1d45, #08132b);
}

.gov-news-thumb--data {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 43, 0.2), rgba(8, 19, 43, 0.8)),
    repeating-linear-gradient(90deg, rgba(90, 132, 214, 0.15) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, #102554, #08132b);
}

.gov-news-thumb--forum {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 43, 0.25), rgba(8, 19, 43, 0.85)),
    radial-gradient(circle at 50% 40%, rgba(90, 132, 214, 0.3), transparent 60%),
    linear-gradient(135deg, #0a1837, #0b1d45);
}

.gov-news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.4rem;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gov-news-label {
  color: var(--gold);
  font-weight: 700;
}

.gov-news-meta time {
  color: var(--portal-muted);
  font-weight: 600;
}

.gov-news-copy h3 {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--portal-white);
}

.gov-news-copy p {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--portal-muted);
}

.gov-news-more-wrap {
  margin-top: 1.1rem;
  text-align: center;
}

.gov-news-aside {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.gov-news-categories-card {
  padding: 1.15rem 1.1rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border-card);
  background: var(--card);
}

.gov-news-categories-card h3 {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--portal-white);
}

.gov-news-category-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.gov-news-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0;
  color: var(--portal-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(41, 72, 122, 0.45);
}

.gov-news-category-list a:last-child {
  border-bottom: 0;
}

.gov-news-category-list a:hover,
.gov-news-category-list a:focus-visible {
  color: var(--portal-white);
}

.gov-news-category-list .gov-resource-arrow {
  color: var(--gold);
  font-size: 0.9rem;
}

/* Analysis page */
.gov-analysis-block {
  margin-bottom: 2.75rem;
}

.gov-analysis-research-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.gov-analysis-research-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.15rem 1rem 1rem;
  background: var(--card);
  border: 1px solid var(--border-card);
  border-radius: 0.65rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.gov-analysis-research-card:hover,
.gov-analysis-research-card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.gov-analysis-research-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--portal-white);
}

.gov-analysis-research-card p {
  margin: 0 0 0.85rem;
  flex: 1;
  font-size: 0.73rem;
  line-height: 1.45;
  color: var(--portal-muted);
}

.gov-analysis-featured-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.gov-analysis-featured-head .gov-section-title {
  margin-bottom: 0;
}

.gov-analysis-view-all {
  white-space: nowrap;
}

.gov-analysis-featured-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.gov-analysis-featured-card {
  display: flex;
  flex-direction: column;
  min-height: 11.5rem;
  padding: 1rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border-card);
  color: inherit;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(8, 19, 43, 0.55) 0%, rgba(8, 19, 43, 0.92) 70%),
    var(--card);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.gov-analysis-featured-card--charts {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 43, 0.5) 0%, rgba(8, 19, 43, 0.9) 75%),
    radial-gradient(circle at 80% 20%, rgba(90, 132, 214, 0.35), transparent 55%),
    linear-gradient(135deg, #102554, #0b1d45);
}

.gov-analysis-featured-card--globe {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 43, 0.5) 0%, rgba(8, 19, 43, 0.9) 75%),
    radial-gradient(circle at 70% 30%, rgba(228, 197, 122, 0.2), transparent 50%),
    linear-gradient(135deg, #0a1837, #102554);
}

.gov-analysis-featured-card--data {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 43, 0.5) 0%, rgba(8, 19, 43, 0.9) 75%),
    repeating-linear-gradient(90deg, rgba(90, 132, 214, 0.12) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, #08132b, #102554);
}

.gov-analysis-featured-card--trend {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 43, 0.5) 0%, rgba(8, 19, 43, 0.9) 75%),
    linear-gradient(160deg, rgba(30, 107, 69, 0.25), transparent 60%),
    linear-gradient(135deg, #0b1d45, #08132b);
}

.gov-analysis-featured-card--policy {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 43, 0.5) 0%, rgba(8, 19, 43, 0.9) 75%),
    radial-gradient(circle at 20% 80%, rgba(90, 132, 214, 0.3), transparent 45%),
    linear-gradient(135deg, #102554, #0a1837);
}

.gov-analysis-featured-card:hover,
.gov-analysis-featured-card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.gov-analysis-featured-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.gov-analysis-featured-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--portal-white);
}

.gov-analysis-featured-card p {
  margin: 0 0 0.75rem;
  flex: 1;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--portal-muted);
}

.gov-analysis-featured-card .gov-about-link {
  margin-top: auto;
  font-size: 0.74rem;
}

.gov-analysis-data-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1rem;
}

.gov-analysis-data-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
  padding: 1rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--border-card);
  border-radius: 0.55rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.gov-analysis-data-row:hover,
.gov-analysis-data-row:focus-visible {
  border-color: var(--gold);
}

.gov-analysis-data-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.gov-analysis-data-copy strong {
  font-size: 0.86rem;
  color: var(--portal-white);
}

.gov-analysis-data-copy span {
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--portal-muted);
}

/* Info article mini-modal */
body.gov-info-modal-open {
  overflow: hidden;
}

.gov-info-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.gov-info-modal[hidden] {
  display: none;
}

.gov-info-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 19, 43, 0.72);
  backdrop-filter: blur(2px);
}

.gov-info-modal-panel {
  position: relative;
  width: min(100%, 26rem);
  padding: 1.35rem 1.35rem 1.15rem;
  background: var(--card);
  border: 1px solid var(--border-card);
  border-radius: 0.7rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  animation: gov-info-modal-in 0.18s ease-out;
}

@keyframes gov-info-modal-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gov-info-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.gov-info-modal-title {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.3;
}

.gov-info-modal-close {
  padding: 0;
  border: 0;
  background: none;
  color: var(--portal-muted);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.gov-info-modal-close:hover,
.gov-info-modal-close:focus-visible {
  color: var(--portal-white);
}

.gov-info-modal-body {
  margin: 0 0 1rem;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--portal-muted);
}

.gov-info-modal-ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 0.4rem;
  border: 1px solid var(--border-card);
  background: rgba(8, 19, 43, 0.35);
  color: var(--portal-white);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.gov-info-modal-ok:hover,
.gov-info-modal-ok:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.gov-resources-tool-list li[data-info-modal] {
  cursor: pointer;
  border-radius: 0.45rem;
  transition: background 0.15s ease;
}

.gov-resources-tool-list li[data-info-modal]:hover,
.gov-resources-tool-list li[data-info-modal]:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

@media (max-width: 960px) {
  .gov-header-bar {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 0.85rem 1.25rem;
  }

  .gov-header-center {
    justify-self: start;
  }

  .gov-header-end {
    justify-self: stretch;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .gov-header-logout {
    align-self: auto;
    order: 1;
  }

  .gov-nav-toggle {
    display: inline-flex;
    order: 2;
  }

  .gov-header-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow: visible;
    width: 100%;
    order: 10;
    gap: 0.2rem;
    padding: 0.45rem 0 0.15rem;
    margin-top: 0.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-overflow-scrolling: touch;
  }

  body.gov-nav-open .gov-header-nav {
    display: flex;
  }

  .gov-header-nav::-webkit-scrollbar {
    display: none;
  }

  .gov-nav-link {
    flex-shrink: 0;
    min-height: 2.75rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.88rem;
    width: 100%;
    text-align: left;
    border-radius: 0.45rem;
  }

  .gov-nav-link:hover,
  .gov-nav-link:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }

  .gov-landing-layout {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .gov-hero-col,
  .gov-aside-col,
  .gov-stats-col {
    grid-column: 1;
    grid-row: auto;
    padding-right: 0;
  }

  .gov-aside-col {
    order: 2;
  }

  .gov-stats-col {
    order: 3;
  }

  .gov-about-hero,
  .gov-about-mission-grid {
    grid-template-columns: 1fr;
  }

  .gov-about-stats,
  .gov-about-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gov-commitment-pillars {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gov-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gov-resources-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gov-analysis-research-grid,
  .gov-analysis-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gov-analysis-data-layout {
    grid-template-columns: 1fr;
  }

  .gov-news-layout {
    grid-template-columns: 1fr;
  }

  .gov-popular-resources,
  .gov-resources-tools-layout {
    grid-template-columns: 1fr;
  }

  .car-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.gov-portal {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  body.gov-portal .gov-banner {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  body.gov-portal .top-bar,
  body.gov-portal .customer-top,
  body.gov-portal .gov-header-shell {
    padding-left: 0;
    padding-right: 0;
  }

  .gov-header-bar {
    padding: 0.85rem max(1rem, env(safe-area-inset-left)) 0.9rem max(1rem, env(safe-area-inset-right));
    gap: 0.65rem;
  }

  .gov-brand-logo {
    height: 3.15rem;
    max-width: 9.5rem;
  }

  .gov-brand-portal {
    font-size: 0.72rem;
    max-width: 9rem;
  }

  .gov-header-center {
    display: none;
  }

  body.gov-portal main:has(> #landing.active),
  body.gov-portal main:has(> #about.active),
  body.gov-portal main:has(> #resources.active),
  body.gov-portal main:has(> #analysis.active),
  body.gov-portal main:has(> #news.active),
  body.gov-portal main {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .gov-about-commitment {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .gov-about-stats,
  .gov-about-cards-grid,
  .gov-resources-categories,
  .gov-analysis-research-grid,
  .gov-analysis-featured-grid {
    grid-template-columns: 1fr;
  }

  .gov-popular-resources {
    grid-template-columns: 1fr;
  }

  .gov-news-card {
    grid-template-columns: 1fr;
  }

  .gov-news-thumb {
    min-height: 4.5rem;
  }

  .gov-partners-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.42rem;
  }

  .gov-partner-logo-cell {
    min-height: 2.1rem;
    padding: 0.38rem 0.28rem;
    border-radius: 0.45rem;
  }

  .gov-partner-logo {
    --partner-logo-h: 0.78rem;
    --partner-logo-w: 3.4rem;
  }

  .gov-footer-top,
  .gov-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .gov-footer-columns {
    grid-template-columns: 1fr;
  }

  body.gov-portal main:has(> #customer.active),
  body.gov-portal main:has(> #landing.active) {
    padding: 1rem max(1rem, env(safe-area-inset-left)) calc(1.5rem + env(safe-area-inset-bottom))
      max(1rem, env(safe-area-inset-right));
  }

  body.gov-portal .customer-main,
  body.gov-portal .rewards-panel {
    padding: 0.95rem 0.9rem;
    border-radius: 0.65rem;
  }

  body.gov-portal .customer-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  body.gov-portal .rewards-panel {
    position: static;
  }

  body.gov-portal .customer-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-bottom: 0.95rem;
  }

  body.gov-portal .customer-logout-btn {
    display: none;
  }

  body.gov-portal .dash-account-card {
    flex-direction: column;
    align-items: stretch;
  }

  body.gov-portal .dash-account-card-balance {
    align-items: flex-start;
  }

  body.gov-portal .dash-overview-layout {
    grid-template-columns: 1fr;
  }

  body.gov-portal .dash-alert-item {
    grid-template-columns: auto 1fr;
  }

  body.gov-portal .dash-alert-meta {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  body.gov-portal .customer-help-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  body.gov-portal .customer-help-links {
    max-width: none;
    grid-template-columns: 1fr;
  }

  body.gov-portal .customer-help-tile {
    min-height: auto;
    padding: 0.35rem 0.25rem;
  }

  body.gov-portal .customer-help-tile:not(:last-child)::after {
    display: block;
  }

  body.gov-portal .customer-help-banner .dark-btn,
  body.gov-portal .customer-help-banner .light-btn {
    min-width: 0;
    flex: 1 1 auto;
  }

  body.gov-portal .customer-help-actions {
    width: 100%;
  }

  body.gov-portal .banking-header {
    padding: 0.85rem 0.75rem 0.95rem;
  }

  body.gov-portal .banking-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    overflow: visible;
    padding: 0.2rem 0 0.35rem;
  }

  body.gov-portal .bank-tab {
    flex: none;
    min-width: 0;
    max-width: none;
    width: 100%;
    padding: 0.45rem 0.25rem 0.5rem;
    gap: 0.35rem;
  }

  body.gov-portal .bank-tab-icon-shell {
    width: 2rem;
    height: 2rem;
  }

  body.gov-portal .bank-tab-label {
    font-size: 0.6rem;
    max-width: none;
    line-height: 1.15;
  }

  body.gov-portal .bank-tab-label--short {
    display: inline;
  }

  body.gov-portal .bank-tab-label--full {
    display: none;
  }

  body.gov-portal .bank-content-panel.active {
    padding: 0.9rem 0.75rem 1rem;
  }

  body.gov-portal .dash-account-card,
  body.gov-portal .dash-section {
    padding: 0.9rem 0.85rem;
  }

  body.gov-portal .dash-account-card .account-balance {
    font-size: 0.95rem;
  }

  body.gov-portal .customer-help-links {
    grid-template-columns: 1fr;
  }

  body.gov-portal .gov-access-panel.auth-card {
    padding: 1rem;
  }

  body.gov-portal .gov-landing-layout {
    row-gap: 1.25rem;
  }
}

/* Mobile gloss remaster — customer dashboard & shell */
@media (max-width: 720px) {
  body.gov-portal {
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
  }

  body.gov-portal .gov-header-shell {
    box-shadow: 0 6px 28px rgba(8, 19, 43, 0.38);
  }

  body.gov-portal .gov-header-bar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%);
  }

  .gov-header-logout,
  .gov-nav-toggle {
    border-radius: 0.55rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  }

  .gov-header-logout:active,
  .gov-nav-toggle:active {
    transform: scale(0.97);
  }

  body.gov-nav-open .gov-header-nav {
    padding: 0.55rem;
    border-radius: 0.65rem;
    margin-top: 0.45rem;
    background: rgba(8, 19, 43, 0.42);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  }

  .gov-nav-link {
    transition: background 0.16s ease, color 0.16s ease;
  }

  body.gov-portal main:has(> #customer.active) {
    background:
      radial-gradient(ellipse 120% 80% at 50% -20%, rgba(90, 132, 214, 0.14), transparent 55%),
      linear-gradient(168deg, #e6ecf5 0%, #f3f6fb 42%, #eef2f8 100%);
  }

  body.gov-portal.customer-dashboard-active main {
    background:
      radial-gradient(ellipse 120% 80% at 50% -20%, rgba(90, 132, 214, 0.14), transparent 55%),
      linear-gradient(168deg, #e6ecf5 0%, #f3f6fb 42%, #eef2f8 100%);
  }

  body.gov-portal .customer-main {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  body.gov-portal .customer-heading {
    position: relative;
    overflow: hidden;
    display: block;
    margin-bottom: 1rem;
    padding: 1.2rem 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
      radial-gradient(circle at 88% 24%, rgba(90, 132, 214, 0.32), transparent 46%),
      linear-gradient(135deg, var(--header) 0%, var(--navy-800) 50%, var(--navy-900) 100%);
    box-shadow: 0 14px 36px rgba(8, 19, 43, 0.24);
  }

  body.gov-portal .customer-welcome-block {
    position: relative;
    z-index: 1;
    max-width: 68%;
  }

  body.gov-portal .customer-welcome-block h2,
  body.gov-portal #customer-welcome {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    background: none !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(1.35rem, 5.2vw, 1.75rem);
    line-height: 1.2;
    text-shadow: 0 2px 14px rgba(8, 19, 43, 0.35);
  }

  body.gov-portal .customer-welcome-sub,
  body.gov-portal .customer-heading #customer-welcome-sub {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    opacity: 1;
    font-size: 0.82rem;
    max-width: 16rem;
  }

  body.gov-portal .customer-hero-shield {
    display: block;
    position: absolute;
    right: -0.15rem;
    top: 50%;
    transform: translateY(-52%);
    width: 6.2rem;
    height: 7.2rem;
    filter: drop-shadow(0 10px 22px rgba(8, 19, 43, 0.35));
  }

  body.gov-portal .customer-hero-emblem {
    width: 100%;
    height: 100%;
  }

  body.gov-portal .customer-logout-btn {
    display: none;
  }

  body.gov-portal .bank-tab-chevron {
    display: inline;
  }

  body.gov-portal .bank-tab-label--short {
    display: inline;
  }

  body.gov-portal .bank-tab-label--full {
    display: none;
  }

  body.gov-portal .dash-account-visual {
    display: none;
  }

  body.gov-portal .banking-header .bank-tab:not(.active) {
    color: rgba(255, 255, 255, 0.96);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
  }

  body.gov-portal .banking-header .bank-tab:not(.active) .bank-tab-label,
  body.gov-portal .banking-header .bank-tab:not(.active) .bank-tab-chevron {
    color: rgba(255, 255, 255, 0.94);
  }

  body.gov-portal .banking-header .bank-tab:not(.active) .bank-tab-icon {
    color: #ffffff;
  }

  body.gov-portal .banking-panel {
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
      0 14px 44px rgba(8, 19, 43, 0.24),
      0 1px 0 rgba(255, 255, 255, 0.08) inset;
  }

  body.gov-portal .banking-header {
    background: var(--header);
    padding: 1rem 0.8rem 1.05rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  body.gov-portal .banking-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 0.9rem;
  }

  body.gov-portal .banking-header-logo {
    height: 2.5rem;
    max-width: 9rem;
  }

  body.gov-portal .banking-header::after {
    display: none;
  }

  body.gov-portal .banking-header h3 {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0;
    color: #ffffff;
    text-shadow: none;
  }

  body.gov-portal .banking-actions {
    gap: 0.5rem;
    padding: 0.15rem 0 0.4rem;
  }

  body.gov-portal .bank-tab {
    border-radius: 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
    padding: 0.55rem 0.3rem 0.58rem;
    transition:
      transform 0.2s cubic-bezier(0.34, 1.2, 0.64, 1),
      background 0.2s ease,
      box-shadow 0.2s ease,
      border-color 0.2s ease;
  }

  body.gov-portal .bank-tab:active {
    transform: scale(0.95);
  }

  body.gov-portal .bank-tab.active {
    background: linear-gradient(160deg, #ffffff 0%, #eef3fb 100%);
    border-color: rgba(255, 255, 255, 0.95);
    color: var(--navy-900);
    box-shadow:
      0 8px 22px rgba(8, 19, 43, 0.22),
      0 1px 0 rgba(255, 255, 255, 1) inset;
    transform: translateY(-2px);
  }

  body.gov-portal .bank-tab-icon-shell {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.62rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.12);
    transition: background 0.2s ease, box-shadow 0.2s ease;
  }

  body.gov-portal .banking-header .bank-tab:not(.active) .bank-tab-icon {
    color: #ffffff;
  }

  body.gov-portal .bank-tab.active .bank-tab-icon-shell {
    background: linear-gradient(145deg, rgba(90, 132, 214, 0.22), rgba(21, 53, 106, 0.1));
    border-color: rgba(90, 132, 214, 0.28);
    box-shadow:
      0 2px 10px rgba(90, 132, 214, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }

  body.gov-portal .bank-tab-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  body.gov-portal .bank-content-panel.active {
    background: linear-gradient(180deg, #fcfdfe 0%, #f3f6fb 100%);
    padding: 1rem 0.8rem 1.2rem;
    animation: mobilePanelFadeIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @keyframes mobilePanelFadeIn {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  body.gov-portal .dash-account-card,
  body.gov-portal .dash-section {
    border-radius: 0.95rem;
    background: linear-gradient(148deg, #ffffff 0%, #f8fafd 100%);
    border: 1px solid rgba(217, 221, 227, 0.85);
    box-shadow:
      0 10px 30px rgba(8, 19, 43, 0.07),
      0 1px 0 rgba(255, 255, 255, 0.95) inset;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  body.gov-portal .dash-account-card:active,
  body.gov-portal .dash-clickable.is-pressed {
    transform: scale(0.985);
  }

  body.gov-portal .dash-account-card-icon {
    border-radius: 0.7rem;
    background: linear-gradient(145deg, #eef3fa 0%, #e2eaf5 100%);
    box-shadow:
      0 4px 12px rgba(21, 53, 106, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  body.gov-portal .dash-account-card .account-balance {
    padding: 0.55rem 0.95rem;
    background: linear-gradient(135deg, #2563a8 0%, #15356a 52%, #0a1837 100%);
    box-shadow:
      0 6px 18px rgba(21, 53, 106, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.22);
    font-weight: 700;
    letter-spacing: 0.01em;
  }

  body.gov-portal .linked-account-logo {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.45rem;
    font-size: 0.95rem;
    font-weight: 800;
  }

  body.gov-portal .linked-account-logo.account-letter-box--solid {
    background: var(--letter-color);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(8, 19, 43, 0.16);
  }

  body.gov-portal .linked-account-logo.account-letter-box--split {
    background: linear-gradient(135deg, #e53935 0%, #e53935 50%, #1e88e5 50%, #1e88e5 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(8, 19, 43, 0.16);
  }

  body.gov-portal #customer-account-name,
  body.gov-portal #customer-account-name.account-name-letters,
  body.gov-portal .linked-label,
  body.gov-portal .linked-label.account-name-letters {
    display: block !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    font-weight: 600 !important;
    color: var(--navy-900, #1f2c4c) !important;
  }

  body.gov-portal #customer-account-name .account-letter-box,
  body.gov-portal .linked-label .account-letter-box {
    display: inline !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    background-image: none !important;
    color: inherit !important;
    box-shadow: none !important;
    font-size: inherit !important;
    font-weight: inherit !important;
  }

  body.gov-portal .linked-account-row {
    border-radius: 0.85rem;
    padding: 0.75rem 0.85rem;
    background: linear-gradient(148deg, #ffffff 0%, #f8fafd 100%);
    box-shadow: 0 6px 20px rgba(8, 19, 43, 0.06);
  }

  body.gov-portal .tx-row,
  body.gov-portal .tx-item {
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(217, 221, 227, 0.75);
    box-shadow: 0 2px 10px rgba(8, 19, 43, 0.04);
    margin-bottom: 0.45rem;
    transition: background 0.16s ease, box-shadow 0.16s ease;
  }

  body.gov-portal .tx-row:active,
  body.gov-portal .tx-item:active {
    background: #fff;
    box-shadow: 0 4px 14px rgba(8, 19, 43, 0.08);
  }

  body.gov-portal .dash-section-link {
    font-weight: 600;
    color: var(--header);
  }

  body.gov-portal .rewards-panel {
    border-radius: 1rem;
    background: linear-gradient(148deg, #ffffff 0%, #f5f8fc 100%);
    border: 1px solid rgba(217, 221, 227, 0.9);
    box-shadow: 0 12px 36px rgba(8, 19, 43, 0.08);
    padding: 1.05rem 0.95rem;
  }

  body.gov-portal .deal-card {
    border-radius: 0.85rem;
    box-shadow: 0 6px 20px rgba(8, 19, 43, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  body.gov-portal .customer-help-banner {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(8, 19, 43, 0.12);
    margin-top: 1rem;
  }

  body.gov-portal .customer-help-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.15rem 1rem 1.1rem;
  }

  body.gov-portal .customer-help-intro {
    width: 100%;
  }

  body.gov-portal .customer-help-banner h3 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
  }

  body.gov-portal .customer-help-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    width: 100%;
  }

  body.gov-portal .customer-help-banner .dark-btn,
  body.gov-portal .customer-help-banner .light-btn {
    min-width: 0;
    width: 100%;
    padding: 0.62rem 0.75rem;
    font-size: 0.78rem;
  }

  body.gov-portal .customer-help-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: none;
    width: 100%;
  }

  body.gov-portal .customer-help-tile {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    min-height: auto;
    width: 100%;
    padding: 0.72rem 0.85rem;
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-align: left;
    transition: background 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
  }

  body.gov-portal .customer-help-tile:not(:last-child)::after {
    display: none;
  }

  body.gov-portal .customer-help-tile-icon {
    width: 2.35rem;
    height: 2.35rem;
    flex-shrink: 0;
    border-radius: 0.55rem;
    background: rgba(8, 19, 43, 0.35);
    border: 1px solid rgba(228, 197, 122, 0.35);
  }

  body.gov-portal .customer-help-tile-label {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
  }

  body.gov-portal .customer-help-tile:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(228, 197, 122, 0.45);
  }

  body.gov-portal .gov-access-panel.auth-card {
    border-radius: 1rem;
    box-shadow:
      0 16px 48px rgba(8, 19, 43, 0.28),
      0 1px 0 rgba(255, 255, 255, 0.06) inset;
  }
}

@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  body.gov-portal .bank-tab,
  body.gov-portal .bank-content-panel.active,
  body.gov-portal .dash-account-card,
  body.gov-portal .gov-header-logout,
  body.gov-portal .gov-nav-toggle {
    transition: none;
    animation: none;
    transform: none;
  }
}

/* Desktop — keep original PC dashboard (mobile remaster is max-width 720px only) */
@media (min-width: 721px) {
  body.gov-portal .customer-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  body.gov-portal .customer-welcome-block h2,
  body.gov-portal #customer-welcome {
    color: var(--navy-900) !important;
    -webkit-text-fill-color: currentColor;
    text-shadow: none;
  }

  body.gov-portal .customer-welcome-sub,
  body.gov-portal #customer-welcome-sub {
    color: var(--text-muted) !important;
    -webkit-text-fill-color: currentColor;
    max-width: none;
  }

  body.gov-portal .customer-hero-shield {
    display: none !important;
  }

  body.gov-portal .customer-main {
    background: var(--bg-page);
    border: 1px solid var(--border);
    box-shadow: none;
    padding: 1rem;
    border-radius: 0.8rem;
  }

  body.gov-portal .banking-actions {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    grid-template-columns: none;
  }

  body.gov-portal .bank-tab-chevron {
    display: none !important;
  }

  body.gov-portal .linked-account-logo.account-letter-box--solid,
  body.gov-portal .linked-account-logo.account-letter-box--split {
    background: #eef2f8 !important;
    color: #15356a !important;
    box-shadow: none !important;
  }
}
