[hidden] {
  display: none !important;
}

/*
    Brand palette per 2025 GD Branding Guidelines:
    Pacific Blue #0096C4, Smalt #00398E, Navy Blue #0A1E3D,
    Black #000000, Iron #D6D6D6, White #FFFFFF.
    Typography: Optima (titles), Poppins (body) -- no other hues/typefaces.
  */
:root {
  --white: #FFFFFF;
  --iron: #D6D6D6;
  --pacific: #0096C4;
  --smalt: #00398E;
  --navy: #0A1E3D;
  --black: #000000;

  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F2F3F4;
  --border: #E4E4E4;
  --border-strong: #D6D6D6;
  --ink: #0A1E3D;
  --ink-soft: #45566E;
  --ink-faint: #7C8AA0;
  --brand: #00398E;
  --brand-ink: #0A1E3D;
  --brand-tint: #E7EEF7;
  --accent: #0096C4;
  --accent-tint: #E5F5FA;
  --navy-plate: #0A1E3D;
  --shadow: 0 1px 2px rgba(10, 30, 61, 0.06), 0 8px 24px rgba(10, 30, 61, 0.08);
  --radius: 10px;
  --radius-sm: 7px;
}

/* Dark theme intentionally not supported -- this page always renders with
   the light palette above, regardless of the visitor's system preference. */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Poppins", -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.display {
  font-family: "Optima", "Segoe UI", Candara, Calibri, sans-serif;
  text-wrap: balance;
}

a {
  color: var(--brand);
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

/* ---------- site header (matches glassdesigns.com) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 12px 0;
  white-space: nowrap;
}

.brand-logo-img {
  height: 100%;
  width: auto;
  display: block;
}

.badge-img {
  flex: none;
  height: 100%;
  width: auto;
  display: block;
  padding: 5px 0;
}

/* Dark theme not supported (see note near the top of this file) -- the
   dark-on-light logo is always shown, the white-on-dark variant never is. */
.logo-dark {
  display: none;
}

.site-nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
  overflow-x: auto;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 9px 13px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.quote-btn {
  flex: none;
  text-decoration: none;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  margin-left: 10px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.quote-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.quote-btn:active {
  transform: translateY(1px);
}

@media (max-width: 780px) {
  .badge-img {
    display: none;
  }
}

/* ---------- video hero ---------- */
.welcome-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.welcome-text {
  flex: 1 1 320px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-ink);
  margin: 0 0 6px;
}

h1.hello {
  margin: 0;
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 600;
  color: var(--ink);
}

.video-thumb {
  position: relative;
  flex: 0 0 25%;
  max-width: 25%;
  min-width: 210px;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background:
    radial-gradient(120% 140% at 85% -10%, color-mix(in srgb, var(--accent) 55%, transparent) 0%, transparent 55%),
    linear-gradient(135deg, var(--navy-plate) 0%, var(--brand-ink) 65%, var(--brand) 130%);
  box-shadow: var(--shadow);
}

.video-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(115deg, transparent 0 40%, rgba(255, 255, 255, 0.06) 40% 41%, transparent 41% 62%, rgba(255, 255, 255, 0.05) 62% 63%, transparent 63%),
    linear-gradient(65deg, transparent 0 25%, rgba(255, 255, 255, 0.04) 25% 26%, transparent 26%);
}

.play-btn {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-btn:hover {
  transform: scale(1.08);
  background: white;
}

.play-btn:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
}

.play-btn svg {
  margin-left: 3px;
}

.video-caption {
  position: relative;
  z-index: 1;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 0 10px;
}

@media (max-width: 640px) {
  .video-thumb {
    flex: 1 1 auto;
    max-width: 260px;
    width: 100%;
    margin: 0 auto;
  }
}

/* ---------- section shell ---------- */
section {
  padding-top: 44px;
  scroll-margin-top: 84px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-family: "Optima", "Segoe UI", Candara, Calibri, sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin: 0;
  color: var(--ink);
}

.section-note {
  color: var(--ink-faint);
  font-size: 12.5px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.proj-thead-row th:first-child {
  border-top-left-radius: var(--radius);
}

.proj-thead-row th:last-child {
  border-top-right-radius: var(--radius);
}

.card-pad {
  padding: 22px 24px;
}

.banner {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 10px 14px;
  border-radius: 6px 6px 0 0;
  margin: -22px -24px 18px;
}

/* ---------- status ---------- */
.status-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 22px;
}

.material-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  padding: 5px 10px;
  border-radius: 100px;
  text-transform: uppercase;
}

.material-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--iron);
  border: 1px solid var(--ink-faint);
}

.timeframe {
  margin-top: 16px;
}

.timeframe .label {
  color: var(--ink-soft);
  font-size: 12.5px;
  margin-bottom: 4px;
}

.timeframe .value {
  font-size: 18px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.timeframe .footnote {
  color: var(--ink-faint);
  font-size: 12px;
  margin-top: 10px;
  line-height: 1.5;
}

.status-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 760px) {
  .status-cols {
    grid-template-columns: 1fr;
  }
}

/* ---------- process timeline (catalog style) ---------- */
/* the 4 steps use the brand's own light-to-dark progression:
     even blue gradient from Pacific Blue to Navy Blue -- stops at Navy
     rather than reaching pure Black, matching the catalog reference image */
:root {
  --step1: #83BFD7;
  --step2: #0096C4;
  --step3: #00398E;
  --step4: #0A1E3D;
}

.process-title {
  background: var(--accent);
  color: #fff;
  text-align: left;
  padding: 22px 26px;
  border-radius: var(--radius);
  margin-top: 22px;
}

.process-title-eyebrow {
  margin: 0;
  font-family: "Inter", "Segoe UI", Candara, Calibri, sans-serif;
  font-size: 17px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
}

.process-title-main {
  margin: 2px 0 0;
  font-family: Optima, "Segoe UI", Candara, Calibri, sans-serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.process-section {
  display: flex;
  align-items: stretch;
  margin-top: 18px;
}

.process-sidebar {
  flex: none;
  width: 34px;
  background: var(--ink-faint);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-sidebar span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.process-timeline {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 0;
  padding-top: 18px;
}

.p-step {
  flex: 0 1 150px;
  min-width: 0;
  text-align: center;
  position: relative;
}

.p-connector {
  flex: 0 1 110px;
  height: 2px;
  background: var(--border-strong);
  /* .p-step is 150px wide with a centered 58px circle, leaving 46px of
     empty margin on each side -- extend the connector into that margin on
     both sides so it visually touches the circles instead of stopping
     short at the step's own box edge. Vertical position: .p-tag above the
     circle takes up a net 11px (margin-top -6px + height 11px + margin-bottom
     6px), so the circle's own top starts at 11px, and its center (58px
     tall) sits at 11 + 29 = 40px -- margin-top 39px centers this 2px line
     on that same point. */
  margin: 39px -46px 0;
  position: relative;
  overflow: hidden;
}

.p-connector.on::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand);
}

.p-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin: 0 auto 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Optima", "Segoe UI", Candara, Calibri, sans-serif;
  font-weight: 700;
  font-size: 23px;
  box-shadow: var(--shadow);
}

.p-step:nth-child(1) .p-circle {
  background: var(--step1);
  --ring: var(--step1);
}

.p-step:nth-child(3) .p-circle {
  background: var(--step2);
  --ring: var(--step2);
}

.p-step:nth-child(5) .p-circle {
  background: var(--step3);
  --ring: var(--step3);
}

.p-step:nth-child(7) .p-circle {
  background: var(--step4);
  --ring: var(--step4);
}

.p-step.current .p-circle {
  box-shadow: 0 0 0 5px var(--surface), var(--shadow);
}

.p-step.current .p-circle::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg, var(--ring) 55deg, transparent 130deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  animation: p-orbit 3.2s linear infinite;
}

@keyframes p-orbit {
  to {
    transform: rotate(360deg);
  }
}

.p-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-top: -6px;
  margin-bottom: 6px;
  height: 11px;
}

.p-tag:not(:empty)::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: p-blink 1.6s ease-in-out infinite;
}

@keyframes p-blink {

  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }

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

.p-title {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 13px;
  color: var(--ink);
  text-transform: uppercase;
}

.p-rule {
  width: 26px;
  height: 2px;
  margin: 7px auto 10px;
}

.p-step:nth-child(1) .p-rule {
  background: var(--step1);
}

.p-step:nth-child(3) .p-rule {
  background: var(--step2);
}

.p-step:nth-child(5) .p-rule {
  background: var(--step3);
}

.p-step:nth-child(7) .p-rule {
  background: var(--step4);
}

.p-copy {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 11px;
  color: var(--ink-faint);
  line-height: 1.75;
}

.p-copy strong {
  color: var(--ink-soft);
  font-weight: 700;
}

@media (max-width: 700px) {
  .process-timeline {
    flex-wrap: wrap;
    row-gap: 26px;
  }

  .p-connector {
    display: none;
  }

  .p-step {
    flex: 1 1 45%;
  }
}

/* appointments table */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

th {
  text-align: left;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  font-weight: 600;
  padding: 0 4px 10px;
  border-bottom: 1px solid var(--border);
}

td {
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

tbody tr:last-child td {
  border-bottom: none;
}

td.num,
.tabnum {
  font-variant-numeric: tabular-nums;
}

td.num {
  text-align: right;
  white-space: nowrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.pill.confirmed {
  background: var(--brand-tint);
  color: var(--brand);
}

.pill.pending {
  background: var(--surface-2);
  color: var(--ink-soft);
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* payments */
.balance-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}

.balance-row:last-of-type {
  border-bottom: none;
}

.balance-row .amt {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.balance-row.due {
  padding-top: 14px;
}

.balance-row.due .label {
  font-weight: 700;
}

.balance-row.due .amt {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.meter {
  height: 8px;
  border-radius: 100px;
  background: var(--surface-2);
  overflow: hidden;
  margin: 14px 0 16px;
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 100px;
}

.meter-caption {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--ink-faint);
  margin-top: -8px;
  margin-bottom: 16px;
}

.pay-invoice-number {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 12px;
}

.pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 5px 0 var(--brand), 0 8px 16px rgba(10, 30, 61, 0.25);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 15px 16px;
  cursor: pointer;
  margin-bottom: 22px;
  transform: translateY(0);
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.15s ease;
}

.pay-btn:hover {
  background: #00a9db;
}

.pay-btn:active {
  transform: translateY(5px);
  box-shadow: 0 0 0 var(--brand), 0 2px 6px rgba(10, 30, 61, 0.25);
}

.pay-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.payment-record {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: var(--surface-2);
}

.payment-record .pr-head {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 10px;
  font-weight: 600;
}

.payment-record dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  font-size: 13px;
}

.payment-record dt {
  color: var(--ink-faint);
}

.payment-record dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
}

/* two column layout */
.cols {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
  align-items: start;
}

@media (max-width: 760px) {
  .cols {
    grid-template-columns: 1fr;
  }
}

/* referral strip */
.referral-strip {
  margin-top: 44px;
  border-radius: var(--radius);
  padding: 18px 24px;
  background: var(--accent-tint);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.referral-strip span {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.referral-strip a {
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand);
  text-decoration: none;
  border: 1px solid var(--brand);
  border-radius: 100px;
  padding: 9px 16px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.referral-strip a:hover {
  background: var(--brand);
  color: white;
}

/* footer */
footer.foot {
  margin-top: 40px;
  background: var(--navy-plate);
  border-radius: var(--radius);
  overflow: hidden;
}

.foot-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  padding: 30px 28px 26px;
}

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

.foot-logo {
  height: 44px;
  width: auto;
  display: block;
}

.foot-brand p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  max-width: 30ch;
  line-height: 1.6;
}

.foot-col h4 {
  margin: 0 0 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 700;
}

.foot-col a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.foot-col a svg {
  flex: none;
  color: var(--accent);
  opacity: 0.9;
}

.foot-col a:hover {
  color: #fff;
}

.foot-col a:hover svg {
  opacity: 1;
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.45);
}

/* invoice */
.inv-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.inv-meta {
  font-size: 13px;
}

.inv-meta .row {
  display: flex;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed var(--border);
}

.inv-meta .row span:first-child {
  color: var(--ink-faint);
  min-width: 96px;
}

.inv-meta .row span:last-child {}

#inv-number {
  font-weight: 700;
  color: var(--brand);
}

.inv-total {
  text-align: right;
}

.inv-total .grand {
  font-family: "Optima", "Segoe UI", Candara, Calibri, sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--ink);
}

.party-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 26px;
}

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

.party {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: var(--surface-2);
}

.party h3 {
  margin: 0 0 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.party p {
  margin: 2px 0;
  font-size: 13.5px;
}

.line-item {
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 60px;
  gap: 12px;
  align-items: center;
}

.line-item:last-child {
  border-bottom: none;
}

.line-item .li-title {
  font-weight: 700;
  margin: 0 0 4px;
  font-size: 13.5px;
}

.line-item .li-body {
  color: var(--ink-soft);
  font-size: 12.8px;
  line-height: 1.6;
}

.line-item .li-body strong {
  color: var(--ink);
}

.qty-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 6px 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.qty-chip .qty-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  font-weight: 700;
}

.qty-chip .qty-num {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.li-qty-col {
  display: flex;
  justify-content: center;
}

.totals {
  margin-top: 18px;
  margin-left: auto;
  width: 260px;
}

.totals .t-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}

.totals .t-row.final {
  border-bottom: none;
  border-top: 1px solid var(--border-strong);
  padding-top: 12px;
  margin-top: 4px;
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
}

.totals .t-row span:last-child {
  font-variant-numeric: tabular-nums;
}

/* ---------- load / error states (dynamic app only) ---------- */
.load-state,
.error-state {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
  color: var(--ink-soft);
  font-size: 14px;
}

.load-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--border-strong);
  border-top-color: var(--brand);
  animation: load-spin 0.8s linear infinite;
}

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

.error-state p {
  margin: 0;
}

.error-state #error-message {
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
}

.error-hint {
  color: var(--ink-faint);
  font-size: 13px;
}

/* per-appointment status pill color kept generic; JS assigns .confirmed or .pending */
.payment-record+.payment-record {
  margin-top: 10px;
}