:root {
  color-scheme: light;
  --ink: #101312;
  --charcoal: #171a19;
  --carbon: #232624;
  --paper: #fbfaf5;
  --mist: #edf2ee;
  --line: #d9dfd8;
  --muted: #69726c;
  --teal: #00a7a5;
  --teal-dark: #067471;
  --brass: #c69c4c;
  --coral: #e45f4f;
  --white: #ffffff;
  --shadow: 0 20px 50px rgb(16 19 18 / 18%);
  --shadow-premium: 0 22px 54px rgb(9 17 16 / 16%);
  --shadow-soft: 0 10px 30px rgb(9 17 16 / 8%);
  --glass-line: rgb(255 255 255 / 16%);
  --premium-dark: #0b0f0e;
  --premium-green: #082f2d;
  --premium-gold: #cda24e;
  --radius: 8px;
  --max: 1180px;
  --font-body: Manrope, "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", Manrope, "Segoe UI Variable", ui-sans-serif, system-ui, sans-serif;
  --font-ui: Manrope, "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --ease-smooth: cubic-bezier(.22, 1, .36, 1);
  --ease-quick: cubic-bezier(.2, 0, .2, 1);
  --motion-fast: 180ms;
  --motion-medium: 320ms;
  --motion-slow: 520ms;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  font-family: var(--font-body);
  font-feature-settings: "liga" 1, "kern" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  font-family: var(--font-ui);
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  padding: 14px clamp(18px, 4vw, 46px);
  color: var(--white);
  background: linear-gradient(180deg, rgb(12 13 13 / 88%), rgb(12 13 13 / 24%));
  transition: background var(--motion-medium) var(--ease-smooth), box-shadow var(--motion-medium) var(--ease-smooth), backdrop-filter var(--motion-medium) var(--ease-smooth);
}

.site-header.scrolled {
  background: rgb(13 15 15 / 94%);
  box-shadow: 0 12px 24px rgb(0 0 0 / 18%);
  backdrop-filter: blur(14px);
}

.brand,
.app-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-family: var(--font-display);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: #030303;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: var(--radius);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark svg {
  width: 26px;
  height: 26px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.brand small {
  margin-top: 4px;
  color: rgb(255 255 255 / 72%);
  font-family: var(--font-ui);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  color: rgb(255 255 255 / 86%);
  font-size: .94rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
  transition: color var(--motion-fast) var(--ease-quick);
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--brass);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(.35);
  transform-origin: center;
  transition: opacity var(--motion-fast) var(--ease-smooth), transform var(--motion-medium) var(--ease-smooth);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  color: rgb(255 255 255 / 84%);
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 900;
  transition: transform var(--motion-medium) var(--ease-smooth), background var(--motion-medium) var(--ease-smooth), color var(--motion-fast) var(--ease-quick);
}

.account-link:hover,
.account-link:focus-visible {
  color: var(--white);
  background: rgb(255 255 255 / 16%);
  transform: translateY(-1px);
}

.account-link-strong {
  color: var(--charcoal);
  background: var(--brass);
  border-color: var(--brass);
}

.account-link-strong:hover,
.account-link-strong:focus-visible {
  color: var(--charcoal);
  background: #d8b567;
}

.account-link-customer {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
  gap: 4px;
}

.account-link-customer:hover,
.account-link-customer:focus-visible {
  color: var(--white);
  background: var(--teal-dark, #056f6c);
  border-color: var(--teal-dark, #056f6c);
  transform: translateY(-1px);
}

.icon-link,
.primary-link,
.button,
.menu-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  transition: transform var(--motion-medium) var(--ease-smooth), background var(--motion-medium) var(--ease-smooth), color var(--motion-fast) var(--ease-quick), border-color var(--motion-fast) var(--ease-quick), box-shadow var(--motion-medium) var(--ease-smooth);
}

.icon-link:hover,
.primary-link:hover,
.menu-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgb(16 19 18 / 16%);
}

.icon-link {
  gap: 8px;
  height: 42px;
  padding: 0 12px;
  color: var(--white);
  background: rgb(255 255 255 / 12%);
}

.icon-link svg {
  width: 18px;
  height: 18px;
}

.primary-link {
  height: 42px;
  padding: 0 18px;
  color: var(--charcoal);
  background: var(--white);
  font-weight: 800;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: rgb(255 255 255 / 12%);
}

.menu-button svg,
.icon-button svg,
.button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: min(88svh, 820px);
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-detailing.webp");
  background-position: center right;
  background-size: cover;
  transform: scale(1.01);
  animation: hero-settle 1300ms var(--ease-smooth) both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgb(8 10 9 / 92%) 0%, rgb(8 10 9 / 72%) 34%, rgb(8 10 9 / 24%) 68%, rgb(8 10 9 / 12%) 100%),
    linear-gradient(180deg, rgb(8 10 9 / 20%) 0%, rgb(8 10 9 / 74%) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(700px, calc(100% - 36px));
  min-height: min(88svh, 820px);
  padding: 118px 0 72px;
  margin-left: clamp(18px, 6vw, 92px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

body[data-page="site"] .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  min-height: 36px;
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

body[data-page="site"] .eyebrow::before {
  display: inline-block;
  width: 34px;
  height: 4px;
  flex: 0 0 auto;
  content: "";
  background: currentColor;
  border-radius: 999px;
}

body[data-page="site"] .hero .eyebrow {
  color: var(--teal);
  font-size: clamp(.9rem, 1.05vw, 1rem);
}

body[data-page="site"] .front-feature-wide .eyebrow,
body[data-page="site"] .chemical-band .eyebrow,
body[data-page="site"] .standard-copy .eyebrow,
body[data-page="site"] .process-section .eyebrow,
body[data-page="site"] .visit-card .eyebrow {
  color: var(--brass);
}

.hero h1,
.section h2,
.app-hero h1,
.app-view h1 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  line-height: .91;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 24px 0 0;
  color: rgb(255 255 255 / 78%);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(620px, 100%);
  margin-top: 18px;
}

.hero-chips span,
.front-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: rgb(255 255 255 / 82%);
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.button {
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  font-family: var(--font-ui);
  font-weight: 900;
  text-align: center;
  transition: transform var(--motion-medium) var(--ease-smooth), background var(--motion-medium) var(--ease-smooth), color var(--motion-fast) var(--ease-quick), box-shadow var(--motion-medium) var(--ease-smooth), border-color var(--motion-fast) var(--ease-quick);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgb(16 19 18 / 18%);
}

.button-primary {
  color: var(--charcoal);
  background: var(--brass);
}

.button-ghost {
  color: var(--white);
  background: rgb(255 255 255 / 13%);
  border: 1px solid rgb(255 255 255 / 22%);
  backdrop-filter: blur(12px);
}

.wide-button {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(760px, 100%);
  margin: 42px 0 0;
}

.hero-stats div {
  padding: 16px;
  background: rgb(255 255 255 / 9%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgb(255 255 255 / 68%);
  font-size: .85rem;
}

.hero-dashboard {
  position: absolute;
  z-index: 3;
  right: 70px;
  bottom: 64px;
  right: clamp(18px, 5vw, 70px);
  bottom: clamp(26px, 6vw, 74px);
  left: calc(100% - 460px);
  right: auto;
  display: grid;
  gap: 16px;
  width: 390px;
  max-width: calc(100% - 36px);
  width: min(390px, calc(100% - 36px));
  padding: 22px;
  color: var(--white);
  background: rgb(18 21 20 / 78%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgb(0 0 0 / 36%);
  backdrop-filter: blur(18px);
  animation: panel-rise 840ms var(--ease-smooth) 160ms both;
}

.dashboard-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgb(255 255 255 / 74%);
  font-size: .82rem;
  font-weight: 900;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: var(--teal);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgb(0 167 165 / 14%);
}

.hero-dashboard h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.02;
}

.hero-dashboard p {
  margin: 0;
  color: rgb(255 255 255 / 72%);
  line-height: 1.6;
}

.hero-dashboard .text-link {
  color: var(--brass);
}

.studio-link-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: rgb(255 255 255 / 9%);
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: var(--radius);
}

.studio-link-panel > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.studio-link-panel strong,
.studio-link-panel span {
  font-weight: 900;
}

.studio-link-panel p {
  margin: 0;
  color: rgb(255 255 255 / 70%);
  line-height: 1.55;
}

.dashboard-list {
  display: grid;
  gap: 8px;
}

.dashboard-list article {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgb(255 255 255 / 11%);
}

.dashboard-list strong {
  color: var(--brass);
  font-size: .78rem;
  font-weight: 900;
}

.dashboard-list span {
  color: rgb(255 255 255 / 72%);
  line-height: 1.45;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  color: var(--white);
  background: var(--charcoal);
}

.signal-strip div {
  min-height: 108px;
  padding: 24px clamp(18px, 4vw, 48px);
  background: #20231f;
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
}

.signal-strip span {
  color: rgb(255 255 255 / 68%);
  line-height: 1.55;
}

.front-deck {
  display: grid;
  grid-template-columns: 1.3fr .9fr .9fr;
  gap: 16px;
  width: min(var(--max), calc(100% - 36px));
  margin: clamp(42px, 6vw, 76px) auto 0;
}

.front-feature {
  min-height: 230px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgb(16 19 18 / 4%);
  transition: transform var(--motion-medium) var(--ease-smooth), box-shadow var(--motion-medium) var(--ease-smooth), border-color var(--motion-medium) var(--ease-smooth);
}

.front-feature:hover {
  transform: translateY(-4px);
  border-color: rgb(0 167 165 / 28%);
  box-shadow: 0 18px 38px rgb(16 19 18 / 10%);
}

.front-feature-wide {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  background:
    linear-gradient(135deg, rgb(23 26 25 / 96%), rgb(6 116 113 / 86%)),
    var(--charcoal);
  border-color: rgb(255 255 255 / 12%);
}

.front-feature-wide .eyebrow {
  color: var(--brass);
}

.front-feature h2,
.front-feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
}

.front-feature h2 {
  max-width: 620px;
  font-size: clamp(2rem, 4vw, 4.2rem);
}

.front-feature h3 {
  margin-top: 26px;
  font-size: 1.35rem;
}

.front-feature p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.front-feature-wide p {
  color: rgb(255 255 255 / 74%);
}

.front-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.front-image-tile {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgb(13 15 15 / 12%), rgb(13 15 15 / 58%)),
    url("assets/hero-detailing.webp") center / cover;
  border-color: rgb(16 19 18 / 10%);
}

.chemical-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  width: min(var(--max), calc(100% - 36px));
  margin: clamp(54px, 7vw, 88px) auto 0;
  padding: clamp(24px, 5vw, 42px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgb(6 116 113 / 92%), rgb(23 26 25 / 96)),
    var(--charcoal);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.chemical-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  line-height: 1;
}

.chemical-band p:not(.eyebrow) {
  margin: 0;
  color: rgb(255 255 255 / 78%);
  font-size: 1.02rem;
  line-height: 1.7;
}

.care-matrix-section {
  padding-bottom: clamp(54px, 7vw, 92px);
}

.care-lane-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.care-lane-grid article {
  display: grid;
  align-content: start;
  min-height: 270px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 92%), rgb(237 242 238 / 92%)),
    var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgb(16 19 18 / 4%);
  transition: transform var(--motion-medium) var(--ease-smooth), box-shadow var(--motion-medium) var(--ease-smooth), border-color var(--motion-medium) var(--ease-smooth), background var(--motion-medium) var(--ease-smooth);
}

.care-lane-grid article:hover {
  transform: translateY(-4px);
  border-color: rgb(0 167 165 / 28%);
  box-shadow: 0 18px 38px rgb(16 19 18 / 10%);
}

.care-lane-grid span {
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  color: var(--teal-dark);
  background: #e4f7f4;
  border: 1px solid #c8ebe5;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.care-lane-grid h3 {
  margin: 42px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.06;
}

.care-lane-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.studio-standard-section {
  width: 100%;
  padding: 0 clamp(18px, 5vw, 70px) clamp(72px, 9vw, 118px);
}

.studio-standard-panel {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 5vw, 64px);
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 44px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgb(23 26 25 / 98%), rgb(6 116 113 / 72%)),
    var(--charcoal);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.standard-copy {
  display: grid;
  align-content: center;
}

.standard-copy .eyebrow {
  color: var(--brass);
}

.standard-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 4.1rem);
  font-weight: 700;
  line-height: 1;
}

.standard-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgb(255 255 255 / 74%);
  line-height: 1.7;
}

.standard-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.standard-step-grid article {
  min-height: 186px;
  padding: 18px;
  background: rgb(255 255 255 / 9%);
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: var(--radius);
}

.standard-step-grid span {
  display: inline-block;
  color: var(--brass);
  font-size: .78rem;
  font-weight: 900;
}

.standard-step-grid strong {
  display: block;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 1.28rem;
}

.standard-step-grid p {
  margin: 9px 0 0;
  color: rgb(255 255 255 / 70%);
  line-height: 1.58;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 118px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.results-copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.05rem, 4.6vw, 4.5rem);
  line-height: 1;
}

.section-heading p:not(.eyebrow),
.results-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.compact-heading {
  display: block;
  width: min(760px, 100%);
}

.service-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.expanded-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.review-card,
.process-list article,
.booking-panel,
.service-preview-panel,
.proof-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--motion-medium) var(--ease-smooth), box-shadow var(--motion-medium) var(--ease-smooth), border-color var(--motion-medium) var(--ease-smooth), background var(--motion-medium) var(--ease-smooth);
}

.service-card {
  min-height: 320px;
  padding: 26px;
  background: var(--white);
  box-shadow: 0 1px 0 rgb(16 19 18 / 4%);
}

.service-card:hover,
.review-card:hover,
.proof-grid article:hover {
  transform: translateY(-4px);
  border-color: rgb(0 167 165 / 30%);
  box-shadow: 0 18px 38px rgb(16 19 18 / 10%);
}

.featured-card {
  background: var(--charcoal);
  color: var(--white);
  border-color: rgb(255 255 255 / 12%);
}

.service-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--teal-dark);
  background: #e4f7f4;
  border-radius: var(--radius);
}

.featured-card .service-icon {
  color: var(--brass);
  background: rgb(198 156 76 / 16%);
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  margin: 32px 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.service-card p {
  min-height: 84px;
  color: var(--muted);
  line-height: 1.65;
}

.featured-card p {
  color: rgb(255 255 255 / 70%);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
  padding-top: 18px;
  color: var(--teal-dark);
  border-top: 1px solid var(--line);
  font-weight: 900;
}

.vehicle-data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.vehicle-data-grid article {
  min-height: 150px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.vehicle-data-grid strong,
.vehicle-data-grid span {
  display: block;
}

.vehicle-data-grid strong {
  color: var(--coral);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.vehicle-data-grid span {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.featured-card .card-meta {
  color: var(--brass);
  border-top-color: rgb(255 255 255 / 14%);
}

.process-section {
  width: 100%;
  max-width: none;
  padding-right: clamp(18px, 5vw, 70px);
  padding-left: clamp(18px, 5vw, 70px);
  color: var(--white);
  background: var(--charcoal);
}

.process-section .section-heading {
  width: min(var(--max), 100%);
  margin-right: auto;
  margin-left: auto;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.process-list article {
  min-height: 230px;
  padding: 24px;
  background: #20231f;
  border-color: rgb(255 255 255 / 12%);
}

.process-list span {
  display: inline-block;
  color: var(--brass);
  font-size: .82rem;
  font-weight: 900;
}

.process-list h3 {
  margin: 42px 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
}

.process-list p {
  margin: 0;
  color: rgb(255 255 255 / 68%);
  line-height: 1.58;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 18px;
  align-items: start;
}

.booking-panel,
.service-preview-panel {
  background: var(--white);
}

.booking-panel {
  display: grid;
  gap: 22px;
  padding: clamp(18px, 3vw, 30px);
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend,
label {
  color: var(--charcoal);
  font-size: .86rem;
  font-weight: 900;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  padding: 6px;
  background: var(--mist);
  border-radius: var(--radius);
}

.segment {
  min-height: 42px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-weight: 900;
  transition: color var(--motion-fast) var(--ease-quick), background var(--motion-medium) var(--ease-smooth), box-shadow var(--motion-medium) var(--ease-smooth), transform var(--motion-medium) var(--ease-smooth);
}

.segment.active {
  color: var(--charcoal);
  background: var(--white);
  box-shadow: 0 8px 18px rgb(16 19 18 / 9%);
}

.service-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.service-choice {
  min-height: 46px;
  padding: 0 10px;
  color: var(--charcoal);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .86rem;
  font-weight: 900;
  transition: color var(--motion-fast) var(--ease-quick), background var(--motion-medium) var(--ease-smooth), border-color var(--motion-fast) var(--ease-quick), box-shadow var(--motion-medium) var(--ease-smooth), transform var(--motion-medium) var(--ease-smooth);
}

.service-choice.active {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
  box-shadow: 0 10px 24px rgb(16 19 18 / 14%);
}

.service-choice:hover,
.service-choice:focus-visible {
  transform: translateY(-1px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
}

.field-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.35;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
  transition: background var(--motion-fast) var(--ease-quick), border-color var(--motion-fast) var(--ease-quick), box-shadow var(--motion-medium) var(--ease-smooth);
}

textarea {
  min-height: 108px;
  padding-top: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgb(0 167 165 / 28%);
  outline-offset: 2px;
}

input:focus,
select:focus,
textarea:focus {
  background: var(--white);
  border-color: rgb(0 167 165 / 55%);
  box-shadow: 0 12px 24px rgb(0 167 165 / 8%);
}

input:disabled,
select:disabled,
textarea:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.addon-grid label,
.care-list label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.vehicle-summary {
  margin: 0;
  padding: 13px 14px;
  color: var(--teal-dark);
  background: #e4f7f4;
  border: 1px solid #c8ebe5;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.5;
}

.booking-note {
  margin: 0;
  padding: 12px 14px;
  color: var(--text-main);
  background: var(--mist);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.45;
}

.form-grid .booking-note {
  grid-column: 1 / -1;
}

input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--teal);
}

.service-preview-panel {
  position: sticky;
  top: 96px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.service-preview-panel h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
}

.service-preview-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.service-preview-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 26px;
  color: var(--muted);
  list-style: none;
}

.service-preview-list li {
  position: relative;
  padding-left: 20px;
}

.service-preview-list li::before {
  position: absolute;
  top: .62em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--brass);
  border-radius: 50%;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--motion-fast) var(--ease-quick), text-underline-offset var(--motion-fast) var(--ease-quick);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--coral);
  text-underline-offset: 7px;
}

.studio-pin {
  display: grid;
  gap: 7px;
  margin: 0 0 22px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.studio-pin strong,
.studio-pin span {
  display: block;
}

.studio-pin span {
  color: var(--muted);
  font-size: .92rem;
}

.results-section {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .82fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.results-image {
  overflow: hidden;
  background: var(--charcoal);
  border-radius: var(--radius);
}

.results-image img {
  width: 100%;
  height: clamp(360px, 52vw, 620px);
  object-fit: cover;
  object-position: center right;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.proof-grid article {
  padding: 20px;
  background: var(--white);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  color: var(--coral);
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}

.proof-grid span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.testimonials-section {
  padding-top: 0;
}

.visit-section {
  padding-top: 0;
}

.visit-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(22px, 5vw, 60px);
  align-items: center;
  padding: clamp(24px, 5vw, 42px);
  color: var(--white);
  background: var(--charcoal);
  border-radius: var(--radius);
}

.visit-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
}

.visit-card p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgb(255 255 255 / 72%);
  line-height: 1.65;
}

.visit-actions {
  display: grid;
  gap: 12px;
}

.visit-actions .button {
  width: 100%;
}

.visit-actions .coords {
  margin: 0;
  padding: 13px 14px;
  color: rgb(255 255 255 / 76%);
  background: rgb(255 255 255 / 9%);
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: var(--radius);
  font-weight: 900;
  text-align: center;
}

.review-card {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
}

.review-card p {
  margin: 0 0 24px;
  color: var(--carbon);
  font-size: 1.05rem;
  line-height: 1.65;
}

.review-card strong {
  color: var(--teal-dark);
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  padding: 42px clamp(18px, 5vw, 70px);
  color: var(--white);
  background: var(--charcoal);
}

.footer p {
  max-width: 520px;
  color: rgb(255 255 255 / 64%);
}

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links a {
  color: rgb(255 255 255 / 78%);
}

.profile-list a {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.toast {
  position: fixed;
  z-index: 90;
  right: 18px;
  bottom: 18px;
  width: min(360px, calc(100% - 36px));
  padding: 14px 16px;
  color: var(--white);
  background: var(--charcoal);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--motion-medium) var(--ease-smooth), transform var(--motion-medium) var(--ease-smooth);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

body[data-page="mobile"] {
  min-height: 100svh;
  background:
    radial-gradient(circle at top left, rgb(0 167 165 / 18%), transparent 34%),
    linear-gradient(135deg, #0d0f0f, #20231f 58%, #111614);
}

body[data-page="admin"] {
  min-height: 100svh;
  background:
    linear-gradient(135deg, rgb(13 15 15 / 96%), rgb(32 35 31 / 94)),
    var(--charcoal);
}

body[data-page="portal"] {
  min-height: 100svh;
  background:
    linear-gradient(135deg, rgb(237 242 238 / 96%), rgb(251 250 245 / 94)),
    var(--paper);
}

.admin-topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 46px);
  color: var(--white);
  background: rgb(13 15 15 / 92%);
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  backdrop-filter: blur(16px);
}

.admin-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: rgb(255 255 255 / 78%);
  background: rgb(255 255 255 / 9%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius);
  font-weight: 800;
  transition: background var(--motion-medium) var(--ease-smooth), color var(--motion-fast) var(--ease-quick), transform var(--motion-medium) var(--ease-smooth);
}

.admin-links a:hover,
.admin-links a:focus-visible {
  color: var(--white);
  background: rgb(255 255 255 / 14%);
  transform: translateY(-1px);
}

.admin-page {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(30px, 5vw, 62px) 0 72px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: clamp(24px, 5vw, 42px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgb(6 116 113 / 76%), rgb(23 26 25 / 96)),
    var(--charcoal);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgb(0 0 0 / 28%);
}

.admin-hero h1,
.admin-section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
}

.admin-hero h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 6vw, 6.3rem);
}

.admin-hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgb(255 255 255 / 76%);
  font-size: 1.04rem;
  line-height: 1.65;
}

.admin-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.admin-counter-card,
.admin-auth-panel,
.admin-database-grid article,
.admin-load-card,
.admin-board {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgb(16 19 18 / 4%);
}

.admin-auth-panel {
  margin-top: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.admin-auth-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.admin-auth-form label,
.admin-help {
  color: var(--muted);
  font-weight: 850;
}

.admin-auth-form input {
  width: 100%;
  min-height: 46px;
  margin-top: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-help {
  margin: 14px 0 0;
  font-size: .9rem;
  line-height: 1.5;
}

.admin-help code {
  color: var(--charcoal);
  font-weight: 900;
}

.admin-account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-account-row h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
}

.admin-account-row p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 850;
}

.admin-database-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.admin-database-grid article {
  min-height: 136px;
  padding: 20px;
}

.admin-database-grid span,
.admin-database-grid strong,
.admin-database-grid p {
  display: block;
}

.admin-database-grid span {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 900;
}

.admin-database-grid strong {
  margin: 18px 0 10px;
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: .95;
}

.admin-database-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.admin-counter-card {
  min-height: 178px;
  padding: 22px;
}

.admin-counter-card span,
.admin-counter-card strong,
.admin-counter-card p {
  display: block;
}

.admin-counter-card span {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 900;
}

.admin-counter-card strong {
  margin: 22px 0 12px;
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: .9;
  overflow-wrap: anywhere;
}

.admin-counter-card strong[data-admin-last] {
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  line-height: 1.15;
  word-break: break-word;
  letter-spacing: -0.01em;
}

.admin-counter-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.primary-counter {
  color: var(--white);
  background: var(--charcoal);
  border-color: rgb(255 255 255 / 12%);
}

.primary-counter span,
.primary-counter p {
  color: rgb(255 255 255 / 70%);
}

.primary-counter strong {
  color: var(--brass);
}

.admin-load-card,
.admin-board {
  margin-top: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.admin-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.admin-section-heading > span,
.admin-section-heading select {
  color: var(--teal-dark);
  font-weight: 900;
}

.admin-status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.admin-status-strip article {
  min-height: 94px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-status-strip strong,
.admin-status-strip span {
  display: block;
}

.admin-status-strip strong {
  color: var(--coral);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.admin-status-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.admin-request-list {
  display: grid;
  gap: 12px;
}

.admin-request-card {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(220px, .8fr) minmax(260px, auto);
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-request-card h3 {
  margin: 10px 0 6px;
  font-family: var(--font-display);
  font-size: 1.28rem;
}

.admin-request-card p,
.admin-request-card small {
  display: block;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.request-meta {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.request-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.request-actions button {
  min-height: 38px;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform var(--motion-medium) var(--ease-smooth), background var(--motion-medium) var(--ease-smooth), border-color var(--motion-medium) var(--ease-smooth);
}

.request-actions button:hover,
.request-actions button:focus-visible {
  transform: translateY(-1px);
  background: #e4f7f4;
  border-color: #c8ebe5;
}

.request-actions button[data-status-action="cancelled"] {
  grid-column: 1 / -1;
  color: #b91c1c;
  background: #fff5f5;
  border-color: #fecaca;
  font-weight: 700;
}

.request-actions button[data-status-action="cancelled"]:hover,
.request-actions button[data-status-action="cancelled"]:focus-visible {
  background: #fee2e2;
  border-color: #fca5a5;
  transform: translateY(-1px);
}

.admin-empty {
  padding: 18px;
  color: var(--muted);
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.customer-page {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(30px, 5vw, 62px) 0 72px;
}

.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: end;
  padding: clamp(24px, 5vw, 44px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgb(13 15 15 / 94%), rgb(6 116 113 / 82%)),
    var(--charcoal);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgb(16 19 18 / 24%);
}

.portal-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.35rem, 5vw, 5.8rem);
  line-height: 1;
}

.portal-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgb(255 255 255 / 76%);
  font-size: 1.04rem;
  line-height: 1.65;
}

.portal-live-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.portal-live-card strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.portal-live-card p {
  margin: 0;
  color: rgb(255 255 255 / 70%);
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.portal-main,
.portal-workspace,
.portal-form,
.portal-list {
  display: grid;
  gap: 14px;
}

.portal-workspace {
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
}

.portal-card,
.portal-stat-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgb(16 19 18 / 4%);
}

.portal-card {
  padding: clamp(18px, 3vw, 26px);
}

.portal-account-card {
  position: sticky;
  top: 94px;
}

.portal-card-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.portal-card-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px;
  background: var(--mist);
  border-radius: var(--radius);
}

.auth-tabs button {
  min-height: 42px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-weight: 900;
  transition: color var(--motion-fast) var(--ease-quick), background var(--motion-medium) var(--ease-smooth), box-shadow var(--motion-medium) var(--ease-smooth);
}

.auth-tabs button.active {
  color: var(--charcoal);
  background: var(--white);
  box-shadow: 0 8px 18px rgb(16 19 18 / 9%);
}

.auth-text-button {
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  padding: 0;
  color: var(--teal-dark);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-weight: 900;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--motion-fast) var(--ease-quick), transform var(--motion-medium) var(--ease-smooth);
}

.auth-text-button:hover,
.auth-text-button:focus-visible {
  color: var(--charcoal);
  transform: translateY(-1px);
}

.auth-reset-panel {
  padding-top: 4px;
}

.auth-reset-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.05;
}

.form-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.reset-result {
  padding: 12px 14px;
  color: var(--teal-dark);
  background: rgb(0 167 165 / 10%);
  border: 1px solid rgb(0 167 165 / 20%);
  border-radius: var(--radius);
}

.remember-device-option {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  color: var(--charcoal);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.remember-device-option input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.remember-device-option span,
.remember-device-option strong,
.remember-device-option small {
  display: block;
}

.remember-device-option strong {
  font-weight: 900;
}

.remember-device-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.35;
}

.profile-block.portal-profile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  min-height: 210px;
  padding: 20px;
  text-align: left;
  background:
    linear-gradient(135deg, rgb(7 37 35 / 96%), rgb(0 123 115 / 46%)),
    url("assets/hero-detailing.webp") center / cover;
  border-color: rgb(255 255 255 / 12%);
  box-shadow: 0 18px 44px rgb(5 40 37 / 22%);
  overflow: hidden;
}

.portal-profile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.portal-profile-top span {
  padding: 7px 10px;
  color: rgb(255 255 255 / 82%);
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.profile-block.portal-profile .avatar {
  width: 70px;
  height: 70px;
  color: var(--charcoal);
  background: var(--brass);
  box-shadow: 0 12px 30px rgb(0 0 0 / 22%);
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-name-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.display-name {
  font: 500 0.875rem/1.2 var(--font-mono, ui-monospace, monospace);
  color: rgb(255 255 255 / 70%);
}

.full-name {
  font: 600 1rem/1.3 var(--font-sans);
  color: var(--white);
}

.portal-profile h2 {
  margin: 26px 0 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4vw, 1.95rem);
  line-height: 1.05;
}

.portal-profile p {
  margin: 9px 0 0;
  color: rgb(255 255 255 / 70%);
  word-break: break-word;
}

.profile-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.profile-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: rgb(255 255 255 / 86%);
  background: rgb(255 255 255 / 12%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
}

.portal-card .button-ghost,
.garage-login-actions .button-ghost {
  color: var(--charcoal);
  background: var(--paper);
  border: 1px solid var(--line);
}

.portal-card .button-ghost:hover,
.portal-card .button-ghost:focus-visible,
.garage-login-actions .button-ghost:hover,
.garage-login-actions .button-ghost:focus-visible {
  color: var(--charcoal);
  background: var(--mint-soft);
  border-color: var(--pine-line);
}

.portal-account-actions,
.profile-edit-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.portal-account-actions .button,
.profile-edit-actions .button {
  justify-content: center;
  min-width: 0;
}

.account-security-card {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 16px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgb(6 47 44 / 94%), rgb(0 126 117 / 70%)),
    url("assets/hero-detailing.webp") center / cover;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.account-security-card span {
  color: var(--gold);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.account-security-card strong {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.05;
}

.account-security-card p {
  max-width: 30ch;
  margin: 0;
  color: rgb(255 255 255 / 82%);
}

.profile-edit-form {
  margin-top: 14px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.password-change-form {
  border-color: rgb(0 167 165 / 24%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 70%);
}

.password-change-form .profile-edit-actions {
  grid-template-columns: 1fr;
}

.portal-dashboard {
  display: grid;
  gap: 18px;
}

.portal-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, .95fr));
  gap: 14px;
}

.portal-dashboard-tile {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.portal-alert-tile {
  color: var(--white);
  background:
    linear-gradient(135deg, rgb(6 47 44 / 94%), rgb(0 124 116 / 72%)),
    url("assets/hero-detailing.webp") center / cover;
  border-color: rgb(255 255 255 / 12%);
}

.portal-dashboard-tile span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.portal-alert-tile span,
.portal-alert-tile p {
  color: rgb(255 255 255 / 78%);
}

.portal-dashboard-tile strong {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.08;
}

.portal-alert-tile strong {
  color: var(--white);
}

.portal-dashboard-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.portal-alert-tile span,
.portal-alert-tile p {
  color: rgb(255 255 255 / 78%);
}

.service-stage-track {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.service-stage-track span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0;
}

.service-stage-track span.is-done {
  color: var(--teal-dark);
  background: #e4f7f4;
  border-color: rgb(0 167 165 / 28%);
}

.service-stage-track span.is-current {
  color: var(--charcoal);
  background: var(--brass);
  border-color: rgb(160 116 30 / 24%);
}

.portal-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.portal-stat-grid article {
  min-height: 132px;
  padding: 20px;
}

.portal-stat-grid span,
.portal-stat-grid strong {
  display: block;
}

.portal-stat-grid span {
  color: var(--muted);
  font-weight: 900;
}

.portal-stat-grid strong {
  margin-top: 24px;
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: .9;
}

.portal-list-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.portal-list-card span,
.portal-list-card p,
.portal-list-card small {
  color: var(--muted);
}

.portal-list-card strong {
  display: block;
  margin: 6px 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.1;
}

.portal-list-card p {
  margin: 0;
  line-height: 1.45;
}

.portal-list-card small {
  flex: 0 0 auto;
  font-weight: 900;
  text-align: right;
}

.booking-card {
  align-items: flex-start;
}

.booking-card-main {
  min-width: 0;
  flex: 1 1 260px;
}

.booking-card-side {
  display: grid;
  gap: 10px;
  justify-items: end;
  flex: 0 0 auto;
}

.request-meta {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 900;
}

.service-suggestion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.service-suggestion-card {
  display: grid;
  gap: 8px;
  min-height: 178px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-suggestion-card span {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 900;
}

.service-suggestion-card strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.05;
}

.service-suggestion-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.service-suggestion-card .vehicle-action {
  justify-self: start;
  align-self: end;
}

.booking-guide {
  display: grid;
  gap: 12px;
}

.booking-step {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.booking-step > span {
  color: var(--teal-dark);
  font-size: .78rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.vehicle-form-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.vehicle-manage-card {
  align-items: flex-start;
  flex-wrap: wrap;
}

.vehicle-card-main {
  min-width: 0;
  flex: 1 1 220px;
}

.vehicle-class-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  color: var(--muted);
  font-style: normal;
  font-size: .78rem;
  font-weight: 700;
  text-transform: capitalize;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  vertical-align: middle;
}

.care-passport-card {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 82%), rgb(251 250 245 / 96%)),
    var(--paper);
}

.care-passport-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.care-passport-metrics small {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  color: var(--teal-dark);
  text-align: left;
  background: #e4f7f4;
  border: 1px solid rgb(0 167 165 / 24%);
  border-radius: 999px;
}

.care-metric-action {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 28px;
  padding: 0 10px;
  color: var(--teal-dark);
  font: inherit;
  font-size: .95rem;
  font-weight: 700;
  text-align: left;
  background: #e4f7f4;
  border: 1px solid rgb(0 167 165 / 28%);
  border-radius: 999px;
  cursor: pointer;
  transition: background 180ms var(--ease-smooth), border-color 180ms var(--ease-smooth), transform 180ms var(--ease-smooth);
}

.care-metric-action:hover,
.care-metric-action:focus-visible {
  background: #d8f1ed;
  border-color: rgb(0 167 165 / 42%);
  transform: translateY(-1px);
}

.vehicle-card-side {
  display: grid;
  gap: 10px;
  justify-items: end;
  flex: 0 0 auto;
}

.vehicle-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.vehicle-action {
  min-height: 34px;
  padding: 7px 10px;
  color: var(--charcoal);
  font: inherit;
  font-size: .88rem;
  font-weight: 900;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: background 180ms var(--ease-smooth), border-color 180ms var(--ease-smooth), transform 180ms var(--ease-smooth);
}

.vehicle-action:hover,
.vehicle-action:focus-visible {
  background: #e4f7f4;
  border-color: rgb(0 167 165 / 34%);
  transform: translateY(-1px);
}

.vehicle-action.danger {
  color: #9f2f24;
}

.vehicle-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: 1 0 100%;
  gap: 10px;
  margin: 4px 0 0;
  padding: 14px;
  background: rgb(255 255 255 / 72%);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.care-passport-panel {
  display: grid;
  flex: 1 0 100%;
  gap: 8px;
  margin-top: 4px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.care-passport-panel > span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.care-passport-panel strong {
  font-family: var(--font-display);
}

.care-passport-panel p {
  margin: 0;
}

.vehicle-detail-grid div {
  min-width: 0;
}

.vehicle-detail-grid dt {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.vehicle-detail-grid dd {
  margin: 4px 0 0;
  color: var(--charcoal);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.mobile-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 22px;
}

.app-shell {
  position: relative;
  width: min(430px, 100%);
  height: min(880px, calc(100svh - 44px));
  min-height: 680px;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 10px solid #080908;
  border-radius: 32px;
  box-shadow: 0 30px 90px rgb(0 0 0 / 45%);
  animation: phone-rise 720ms var(--ease-smooth) both;
}

.app-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 14px 18px 8px;
  background: rgb(251 250 245 / 92%);
  backdrop-filter: blur(12px);
}

.app-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.app-account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 10px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .78rem;
  font-weight: 950;
  transition: transform var(--motion-medium) var(--ease-smooth), background var(--motion-medium) var(--ease-smooth), color var(--motion-fast) var(--ease-quick);
}

.app-account-link.active {
  color: var(--charcoal);
  background: var(--brass);
  border-color: var(--brass);
}

.app-account-link-customer {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.app-account-link-customer:hover,
.app-account-link-customer:focus-visible {
  color: var(--white);
  background: var(--teal-dark, #056f6c);
  border-color: var(--teal-dark, #056f6c);
  transform: translateY(-1px);
}

.app-account-link:hover,
.app-account-link:focus-visible {
  transform: translateY(-1px);
}

.app-wordmark {
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 950;
  text-transform: uppercase;
}

.app-wordmark .brand-mark {
  width: 38px;
  height: 38px;
  color: var(--white);
  background: #030303;
}

.app-wordmark .brand-mark svg {
  width: 23px;
  height: 23px;
}

.icon-button {
  width: 42px;
  height: 42px;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line);
}

.icon-button.dark {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.app-view {
  position: absolute;
  inset: 72px 0 0;
  display: block;
  height: auto;
  padding: 8px 18px 108px;
  overflow: auto;
  scrollbar-width: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(14px, 0, 0) scale(.992);
  pointer-events: none;
  transition:
    opacity var(--motion-medium) var(--ease-smooth),
    transform var(--motion-medium) var(--ease-smooth),
    visibility 0s linear var(--motion-medium);
}

.app-view::-webkit-scrollbar {
  display: none;
}

.app-view.active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
  transition-delay: 0s;
}

.app-hero {
  min-height: 196px;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(140deg, rgb(13 15 15 / 92%), rgb(13 15 15 / 18%)),
    url("assets/hero-detailing.webp") center / cover;
  border-radius: var(--radius);
}

.app-hero p {
  margin: 0 0 12px;
  color: rgb(255 255 255 / 72%);
}

.app-hero h1 {
  width: min(270px, 100%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.08;
}

.appointment-card,
.app-section,
.maintenance-card,
.vehicle-card,
.app-package,
.profile-block {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform var(--motion-medium) var(--ease-smooth), box-shadow var(--motion-medium) var(--ease-smooth), border-color var(--motion-medium) var(--ease-smooth), background var(--motion-medium) var(--ease-smooth), color var(--motion-fast) var(--ease-quick);
}

.appointment-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 18px;
}

.appointment-card h2,
.maintenance-card h2,
.app-section h2 {
  margin: 9px 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
}

.appointment-card p,
.maintenance-card p {
  margin: 0;
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  color: var(--teal-dark);
  background: #dff5ef;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 950;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

body[data-page="mobile"] .quick-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quick-actions button,
.quick-actions a {
  display: grid;
  min-height: 76px;
  place-items: center;
  gap: 6px;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 900;
  transition: transform var(--motion-medium) var(--ease-smooth), background var(--motion-medium) var(--ease-smooth), border-color var(--motion-medium) var(--ease-smooth), box-shadow var(--motion-medium) var(--ease-smooth);
}

.quick-actions button:hover,
.quick-actions button:focus-visible,
.quick-actions a:hover,
.quick-actions a:focus-visible,
.app-package:hover,
.app-package:focus-visible,
.vehicle-card:hover {
  transform: translateY(-2px);
  border-color: rgb(0 167 165 / 32%);
  box-shadow: 0 14px 30px rgb(16 19 18 / 10%);
}

.quick-actions svg {
  width: 22px;
  height: 22px;
  color: var(--teal-dark);
}

.app-section,
.maintenance-card,
.profile-block {
  padding: 18px;
}

.app-section-heading,
.app-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.app-section-heading h2,
.app-title-row h1 {
  margin: 0;
}

.app-section-heading span,
.app-title-row span {
  color: var(--teal-dark);
  font-weight: 950;
}

.progress-track {
  height: 9px;
  margin: 16px 0;
  overflow: hidden;
  background: var(--mist);
  border-radius: 999px;
}

.progress-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--brass));
  border-radius: inherit;
  transition: width var(--motion-slow) var(--ease-smooth);
}

.mini-list {
  display: grid;
  gap: 10px;
}

.mini-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mini-list article > * {
  min-width: 0;
}

.mini-list span {
  color: var(--muted);
  font-size: .9rem;
  overflow-wrap: anywhere;
  text-align: right;
}

.app-title-row {
  min-height: 64px;
}

.app-title-row h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
}

.app-package-list,
.vehicle-list,
.care-list,
.app-form {
  display: grid;
  gap: 12px;
}

.app-package {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 82px;
  padding: 16px;
  color: var(--ink);
  text-align: left;
}

.app-package.active {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.app-package span,
.app-package small {
  display: block;
}

.app-package small {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.35;
}

.app-package.active small {
  color: rgb(255 255 255 / 68%);
}

.app-package b {
  color: var(--teal-dark);
  white-space: nowrap;
}

.app-package.active b {
  color: var(--brass);
}

.app-form {
  margin-top: 14px;
}

.vehicle-card {
  min-height: 118px;
  padding: 18px;
}

.vehicle-card span,
.vehicle-card strong,
.vehicle-card p {
  display: block;
}

.vehicle-card span {
  color: var(--muted);
  font-size: .9rem;
}

.vehicle-card strong {
  margin: 8px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.vehicle-card p {
  margin: 0;
  color: var(--muted);
}

.primary-vehicle {
  color: var(--white);
  background:
    linear-gradient(135deg, rgb(13 15 15 / 94%), rgb(13 15 15 / 34%)),
    url("assets/hero-detailing.webp") center / cover;
  border-color: rgb(255 255 255 / 16%);
}

.primary-vehicle span,
.primary-vehicle p {
  color: rgb(255 255 255 / 70%);
}

.garage-login-prompt {
  display: grid;
  gap: 14px;
  min-height: 310px;
  align-content: center;
  padding: 24px;
  color: var(--charcoal);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 94%), rgb(237 242 238 / 96%)),
    var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgb(16 19 18 / 8%);
}

.garage-login-prompt h2 {
  max-width: 310px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 7vw, 2.4rem);
  line-height: 1;
}

.garage-login-prompt p {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.garage-login-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.care-list label {
  justify-content: flex-start;
  background: var(--white);
}

.maintenance-card {
  margin-top: 14px;
}

.profile-block {
  display: grid;
  place-items: center;
  min-height: 230px;
  text-align: center;
}

.avatar {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  color: var(--white);
  background: var(--charcoal);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 950;
}

.profile-block h1 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.85rem;
}

.profile-block p {
  margin: 8px 0 0;
  color: var(--muted);
}

.profile-care-card {
  display: grid;
  gap: 18px;
  min-height: 260px;
  padding: 20px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(145deg, rgb(13 15 15 / 96%), rgb(6 116 113 / 88%)),
    var(--charcoal);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgb(16 19 18 / 18%);
}

.profile-care-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-care-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--brass);
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius);
}

.profile-care-icon svg {
  width: 30px;
  height: 30px;
}

.profile-care-card .status-pill {
  color: #dff5ef;
  background: rgb(0 167 165 / 18%);
}

.profile-care-card h1 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 10vw, 3.2rem);
  font-weight: 700;
  line-height: .96;
}

.profile-care-card p {
  max-width: 310px;
  margin: 0;
  color: rgb(255 255 255 / 74%);
  line-height: 1.55;
}

.profile-care-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.profile-care-actions a,
.profile-care-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--charcoal);
  background: var(--brass);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  font-size: .86rem;
  font-weight: 950;
  transition: transform var(--motion-medium) var(--ease-smooth), background var(--motion-medium) var(--ease-smooth), border-color var(--motion-fast) var(--ease-quick);
}

.profile-care-actions button {
  color: var(--white);
  background: rgb(255 255 255 / 10%);
  border-color: rgb(255 255 255 / 16%);
}

.profile-care-actions a:hover,
.profile-care-actions a:focus-visible,
.profile-care-actions button:hover,
.profile-care-actions button:focus-visible {
  transform: translateY(-1px);
}

.profile-list {
  margin-top: 14px;
}

.app-tabs {
  position: absolute;
  z-index: 8;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 8px;
  background: rgb(255 255 255 / 94%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgb(16 19 18 / 20%);
  backdrop-filter: blur(14px);
}

.app-tab {
  display: grid;
  min-width: 0;
  min-height: 58px;
  place-items: center;
  gap: 3px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 12px;
  font-size: .68rem;
  font-weight: 900;
  transition: transform var(--motion-medium) var(--ease-smooth), background var(--motion-medium) var(--ease-smooth), color var(--motion-fast) var(--ease-quick), box-shadow var(--motion-medium) var(--ease-smooth);
}

.app-tab svg {
  width: 20px;
  height: 20px;
}

.app-tab.active {
  color: var(--white);
  background: var(--charcoal);
  box-shadow: 0 10px 22px rgb(16 19 18 / 18%);
}

.app-tab:hover,
.app-tab:focus-visible {
  transform: translateY(-1px);
}

/* Premium customer-surface stability polish */
body[data-page="site"],
body[data-page="portal"] {
  background:
    radial-gradient(circle at 12% 8%, rgb(0 167 165 / 10%), transparent 28%),
    radial-gradient(circle at 86% 22%, rgb(198 156 76 / 10%), transparent 25%),
    linear-gradient(180deg, #f7f8f3 0%, #fbfaf5 46%, #f4f5ef 100%);
}

body[data-page="mobile"] {
  background:
    radial-gradient(circle at 16% 0%, rgb(0 167 165 / 24%), transparent 30%),
    radial-gradient(circle at 82% 18%, rgb(205 162 78 / 18%), transparent 28%),
    linear-gradient(135deg, #070908, #18201d 58%, #070a09);
}

body[data-page="portal"] .admin-topbar,
.site-header.scrolled {
  background: rgb(8 10 10 / 92%);
  border-bottom-color: rgb(255 255 255 / 12%);
  box-shadow: 0 16px 38px rgb(0 0 0 / 18%);
}

.button,
.app-account-link,
.vehicle-action,
.auth-tabs button,
.quick-actions button,
.profile-care-actions a,
.profile-care-actions button {
  will-change: transform;
}

.button-primary {
  background: linear-gradient(135deg, #d3a653, #bd8f3e);
  box-shadow: 0 12px 26px rgb(176 126 39 / 20%);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 36px rgb(176 126 39 / 24%);
}

.app-account-link,
.icon-button {
  background: rgb(255 255 255 / 78%);
  backdrop-filter: blur(12px);
}

:where(.service-card, .front-feature, .booking-panel, .service-preview-panel, .visit-card, .portal-card, .portal-stat-grid article, .portal-dashboard-tile, .portal-list-card, .service-suggestion-card, .booking-step, .appointment-card, .app-section, .maintenance-card, .vehicle-card, .app-package, .profile-block, .account-security-card) {
  border-color: rgb(16 19 18 / 12%);
  box-shadow: var(--shadow-soft);
}

:where(.service-card, .front-feature, .portal-card, .portal-dashboard-tile, .portal-list-card, .service-suggestion-card, .booking-step, .appointment-card, .app-section, .maintenance-card, .vehicle-card, .app-package, .account-security-card) {
  transition:
    transform var(--motion-medium) var(--ease-smooth),
    box-shadow var(--motion-medium) var(--ease-smooth),
    border-color var(--motion-medium) var(--ease-smooth),
    background var(--motion-medium) var(--ease-smooth),
    opacity var(--motion-medium) var(--ease-smooth);
}

:where(.service-card, .front-feature, .portal-dashboard-tile, .portal-list-card, .service-suggestion-card, .appointment-card, .app-section, .maintenance-card, .vehicle-card, .app-package, .account-security-card):hover {
  border-color: rgb(0 167 165 / 24%);
  box-shadow: var(--shadow-premium);
}

.hero-dashboard,
.portal-hero,
.profile-block.portal-profile,
.portal-alert-tile,
.app-hero,
.profile-care-card,
.account-security-card {
  border: 1px solid var(--glass-line);
  box-shadow: 0 26px 70px rgb(0 0 0 / 24%);
}

.portal-hero {
  background:
    linear-gradient(135deg, rgb(7 32 31 / 98%), rgb(5 88 82 / 90%)),
    url("assets/hero-detailing.webp") center / cover;
}

.portal-dashboard-tile,
.booking-step,
.service-suggestion-card,
.portal-list-card {
  background: linear-gradient(180deg, rgb(255 255 255 / 92%), rgb(251 250 245 / 96%));
}

.portal-dashboard-tile.portal-alert-tile {
  color: var(--white);
  background:
    linear-gradient(135deg, rgb(7 37 35 / 94%), rgb(0 96 90 / 68%)),
    url("assets/hero-detailing.webp") center / cover;
  border-color: var(--glass-line);
}

.portal-dashboard-tile.portal-alert-tile strong {
  color: var(--white);
}

.admin-empty {
  min-height: 52px;
  color: #56605a;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 84%), rgb(251 250 245 / 92%)),
    var(--paper);
  border-style: solid;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 70%);
}

body[data-portal-state="loading"] .portal-dashboard-tile,
body[data-studio-sync="checking"] .hero-dashboard,
body[data-studio-sync="checking"] .appointment-card {
  position: relative;
  overflow: hidden;
}

body[data-portal-state="loading"] .portal-dashboard-tile::after,
body[data-studio-sync="checking"] .hero-dashboard::after,
body[data-studio-sync="checking"] .appointment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgb(255 255 255 / 20%) 42%, transparent 72%);
  transform: translateX(-100%);
  animation: premium-shimmer 1200ms var(--ease-smooth) infinite;
  pointer-events: none;
}

body[data-backend-state="offline"] .portal-live-card,
body[data-portal-state="offline"] .portal-dashboard-tile,
body[data-studio-sync="offline"] .hero-dashboard {
  border-color: rgb(228 95 79 / 32%);
}

.app-shell {
  border-color: #050706;
  box-shadow:
    0 34px 96px rgb(0 0 0 / 54%),
    0 0 0 1px rgb(255 255 255 / 8%);
}

.app-header,
.app-tabs {
  background: rgb(255 255 255 / 88%);
  border-color: rgb(16 19 18 / 10%);
  backdrop-filter: blur(18px);
}

.app-tab.active {
  background: linear-gradient(135deg, #111615, #060807);
  box-shadow: 0 12px 26px rgb(16 19 18 / 24%);
}

.app-shell.is-switching .app-tabs {
  transform: translateY(1px);
}

body.ui-ready :where(.section, .front-deck, .portal-card, .portal-stat-grid article, .app-section, .appointment-card, .maintenance-card, .profile-block) {
  animation: premium-fade-up 620ms var(--ease-smooth) both;
}

body.ui-ready :where(.portal-stat-grid article:nth-child(2), .front-deck > :nth-child(2), .service-grid > :nth-child(2), .quick-actions > :nth-child(2)) {
  animation-delay: 60ms;
}

body.ui-ready :where(.portal-stat-grid article:nth-child(3), .front-deck > :nth-child(3), .service-grid > :nth-child(3), .quick-actions > :nth-child(3)) {
  animation-delay: 110ms;
}

body.ui-ready :where(.portal-stat-grid article:nth-child(4), .front-deck > :nth-child(4), .service-grid > :nth-child(4), .quick-actions > :nth-child(4)) {
  animation-delay: 150ms;
}

@keyframes hero-settle {
  from {
    transform: scale(1.04);
  }

  to {
    transform: scale(1.01);
  }
}

@keyframes phone-rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes panel-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes premium-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

@keyframes premium-shimmer {
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 1180px) {
  .hero {
    min-height: auto;
    padding-bottom: 34px;
  }

  .hero-content {
    min-height: auto;
    padding-bottom: 58px;
  }

  .hero-dashboard {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 760px;
    max-width: calc(100% - 36px);
    width: min(760px, calc(100% - 36px));
    margin: -22px auto 0;
  }

  .front-deck {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .front-feature-wide {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .front-image-tile {
    min-height: 300px;
  }

  .admin-counter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-database-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-request-card {
    grid-template-columns: 1fr;
  }

  .request-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }

  .portal-account-card {
    position: static;
  }
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: 76px 14px auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    color: var(--charcoal);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  body.menu-open .nav-links {
    display: grid;
  }

  .nav-links a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .menu-button {
    display: inline-flex;
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .portal-hero,
  .portal-dashboard-grid,
  .portal-workspace {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .booking-layout,
  .results-section,
  .chemical-band,
  .front-deck,
  .studio-standard-panel,
  .visit-card {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .review-grid,
  .vehicle-data-grid,
  .care-lane-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-preview-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 68px;
    padding: 12px 14px;
  }

  .brand small,
  .icon-link span {
    display: none;
  }

  .primary-link {
    display: none;
  }

  .nav-links {
    inset-top: 68px;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-media {
    background-position: center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgb(8 10 9 / 68%) 0%, rgb(8 10 9 / 92%) 100%),
      linear-gradient(90deg, rgb(8 10 9 / 88%), rgb(8 10 9 / 36%));
  }

  .hero-content {
    width: calc(100% - 32px);
    min-height: 86svh;
    padding: 96px 0 46px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 17vw, 4.7rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stats,
  .signal-strip,
  .service-grid,
  .review-grid,
  .vehicle-data-grid,
  .care-lane-grid,
  .process-list,
  .standard-step-grid,
  .proof-grid,
  .form-grid,
  .addon-grid,
  .admin-counter-grid,
  .admin-database-grid,
  .admin-status-strip,
  .request-actions,
  .portal-dashboard-grid,
  .portal-stat-grid {
    grid-template-columns: 1fr;
  }

  .service-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stats {
    margin-top: 24px;
  }

  .hero-chips {
    margin-top: 16px;
  }

  .hero-dashboard {
    width: calc(100% - 28px);
  }

  .front-deck {
    width: calc(100% - 28px);
  }

  .admin-page {
    width: calc(100% - 28px);
    padding-top: 18px;
  }

  .customer-page {
    width: calc(100% - 28px);
    padding-top: 18px;
  }

  .admin-links {
    width: 100%;
  }

  .admin-links a {
    flex: 1 1 auto;
    justify-content: center;
  }

  .admin-section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-account-row {
    align-items: stretch;
    flex-direction: column;
  }

  .vehicle-form-actions,
  .vehicle-detail-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-card-side,
  .booking-card-side {
    width: 100%;
    justify-items: stretch;
  }

  .vehicle-card-side small,
  .booking-card-side small,
  .vehicle-actions {
    text-align: left;
    justify-content: flex-start;
  }

  .vehicle-action {
    flex: 1 1 86px;
  }

  .service-card {
    min-height: auto;
  }

  .service-card p {
    min-height: 0;
  }

  .section {
    width: calc(100% - 28px);
    padding: 64px 0;
  }

  .process-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .studio-standard-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .results-image img {
    height: 340px;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .mobile-page {
    padding: 0;
  }

  .app-shell {
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    border: 0;
    border-radius: 0;
  }

  .app-tabs {
    bottom: max(10px, env(safe-area-inset-bottom));
  }
}

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

.mobile-only {
  display: none !important;
}

@media (max-width: 900px) {
  .mobile-only {
    display: inline-flex !important;
  }
}

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

/* ==========================================================================
   CUSTOMER RUNNING JOB POP-UPS & NOTIFICATION CENTER
   ========================================================================== */

.ak-popup-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  max-width: min(420px, calc(100vw - 32px));
}

.ak-job-popup {
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-16px) scale(0.96);
  transition: opacity 280ms var(--ease-smooth), transform 280ms var(--ease-smooth);
}

.ak-job-popup.ak-popup-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ak-popup-card {
  padding: 18px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgb(16 38 35 / 96%), rgb(13 15 15 / 98%)),
    var(--charcoal);
  border: 1px solid rgb(0 167 165 / 45%);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgb(0 0 0 / 42%), 0 0 0 1px rgb(255 255 255 / 8%);
  backdrop-filter: blur(16px);
}

.ak-popup-in_progress .ak-popup-card,
.ak-popup-stage_update .ak-popup-card {
  border-color: rgb(211 166 83 / 60%);
  background:
    linear-gradient(135deg, rgb(38 30 14 / 96%), rgb(16 19 18 / 98%)),
    var(--charcoal);
}

.ak-popup-ready .ak-popup-card {
  border-color: rgb(0 200 150 / 60%);
}

.ak-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.ak-popup-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ak-pulse-dot {
  position: relative;
  width: 10px;
  height: 10px;
  background: var(--brass);
  border-radius: 50%;
}

.ak-pulse-dot.active::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 2px solid var(--brass);
  border-radius: 50%;
  animation: akPulse 1.6s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes akPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.ak-popup-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

.ak-popup-dismiss {
  padding: 4px;
  font-size: 1.1rem;
  line-height: 1;
  color: rgb(255 255 255 / 60%);
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: color 150ms var(--ease-quick);
}

.ak-popup-dismiss:hover {
  color: var(--white);
}

.ak-popup-message {
  margin: 0 0 10px;
  color: rgb(255 255 255 / 84%);
  font-size: 0.92rem;
  line-height: 1.5;
}

.ak-popup-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 12px;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 8px;
}

.ak-stage-pill {
  color: var(--brass);
  font-weight: 800;
  font-size: 0.85rem;
}

.ak-stage-step {
  color: rgb(255 255 255 / 60%);
  font-size: 0.78rem;
  font-weight: 700;
}

.ak-popup-actions {
  display: flex;
  justify-content: flex-end;
}

.ak-popup-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--charcoal);
  background: var(--brass);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 160ms var(--ease-smooth), box-shadow 160ms var(--ease-smooth);
}

.ak-popup-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgb(176 126 39 / 35%);
}

/* Notification Center Drawer */
.ak-notification-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 90vw);
  z-index: 99998;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--white);
  border-left: 1px solid var(--line);
  box-shadow: -10px 0 36px rgb(0 0 0 / 22%);
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ak-notification-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.drawer-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--charcoal);
}

.drawer-title-row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.drawer-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-text-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-dark);
  background: transparent;
  border: none;
  cursor: pointer;
}

.drawer-text-btn:hover {
  text-decoration: underline;
}

.drawer-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.drawer-close-btn:hover {
  color: var(--charcoal);
  background: var(--mint-soft);
}

.drawer-push-prompt {
  padding: 10px 14px;
  background: #fbfaf5;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.drawer-push-prompt span {
  line-height: 1.4;
}

.drawer-push-prompt button {
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  background: var(--teal);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 160ms var(--ease-smooth);
}

.drawer-push-prompt button:hover {
  opacity: 0.88;
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-empty {
  text-align: center;
  padding: 40px 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.drawer-notif-card {
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 180ms var(--ease-smooth);
}

.drawer-notif-card.unread {
  background: #f0faf8;
  border-color: rgb(0 167 165 / 32%);
}

.drawer-notif-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.drawer-notif-type {
  display: inline-block;
  padding: 2px 7px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal-dark);
  background: rgb(0 167 165 / 12%);
  border-radius: 4px;
}

.drawer-notif-type.type-in_progress,
.drawer-notif-type.type-stage_update {
  color: #8c5d14;
  background: rgb(211 166 83 / 22%);
}

.drawer-notif-type.type-ready {
  color: #0b7348;
  background: rgb(0 180 120 / 18%);
}

.drawer-notif-top time {
  font-size: 0.78rem;
  color: var(--muted);
}

.drawer-notif-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.drawer-notif-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.drawer-notif-stage {
  display: block;
  margin-top: 6px;
  font-weight: 700;
  color: var(--brass);
}

/* Header Notification Bell & Badge */
.notification-bell-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
  color: var(--white);
  background: #c6392c;
  border-radius: 999px;
  box-shadow: 0 0 0 2px var(--white);
}

.admin-stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.admin-stage-btn {
  padding: 4px 9px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--teal-dark);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: background 150ms var(--ease-smooth);
}

.admin-stage-btn:hover {
  background: var(--mint-soft);
  border-color: var(--pine-line);
}

.admin-stage-btn.active {
  color: var(--white);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

/* ============================================================
   ADMIN INBOUND REAL-TIME NOTIFICATIONS & ALERT SYSTEM
   ============================================================ */

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--white);
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--motion-fast) var(--ease-smooth);
}

.admin-sound-toggle-btn:hover {
  background: rgb(255 255 255 / 18%);
  border-color: rgb(255 255 255 / 28%);
  transform: translateY(-1px);
}

.admin-sound-toggle-btn.muted {
  opacity: 0.72;
  color: rgb(255 255 255 / 65%);
}

#admin-popup-container {
  position: fixed;
  z-index: 10000;
  top: 86px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}

.admin-inbound-popup {
  pointer-events: auto;
  opacity: 0;
  transform: translateX(36px) scale(0.96);
  transition: opacity 280ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-inbound-popup.admin-popup-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.admin-inbound-card {
  position: relative;
  overflow: hidden;
  padding: 16px 18px 16px 18px;
  color: #f7faf9;
  background: linear-gradient(145deg, #14221f 0%, #0c1514 100%);
  border: 1px solid rgb(245 166 35 / 45%);
  border-left: 5px solid #f5a623;
  border-radius: 12px;
  box-shadow: 0 16px 36px -8px rgb(0 0 0 / 65%), 0 0 0 1px rgb(245 166 35 / 15%);
  backdrop-filter: blur(12px);
}

.admin-inbound-card.card-inquiry {
  border-color: rgb(56 189 248 / 45%);
  border-left-color: #38bdf8;
  box-shadow: 0 16px 36px -8px rgb(0 0 0 / 65%), 0 0 0 1px rgb(56 189 248 / 15%);
}

.admin-inbound-card.card-cancelled {
  border-color: rgb(239 68 68 / 45%);
  border-left-color: #ef4444;
}

.admin-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.admin-popup-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f5a623;
  box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.7);
  animation: adminPulse 1.8s infinite;
}

.admin-pulse-dot.pulse-blue {
  background: #38bdf8;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
}

@keyframes adminPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(245, 166, 35, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 166, 35, 0); }
}

.admin-popup-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.admin-popup-dismiss {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  color: rgb(255 255 255 / 60%);
  background: transparent;
  border: none;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 120ms;
}

.admin-popup-dismiss:hover {
  color: #fff;
  background: rgb(255 255 255 / 15%);
}

.admin-popup-meta {
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgb(255 255 255 / 84%);
  margin-bottom: 10px;
}

.admin-popup-meta strong {
  color: #fff;
}

.admin-popup-tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.admin-popup-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #14221f;
  background: #f5a623;
  border-radius: 4px;
}

.admin-popup-pill.pill-blue {
  color: #0b1f2e;
  background: #38bdf8;
}

.admin-popup-ref {
  font-family: monospace;
  font-size: 0.78rem;
  color: rgb(255 255 255 / 75%);
}

.admin-popup-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.admin-popup-action-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0c1514;
  background: #f5a623;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 140ms ease;
}

.admin-popup-action-btn:hover {
  background: #ffb845;
  transform: translateY(-1px);
}

.admin-request-card.new-inbound-highlight {
  animation: adminNewCardGlow 2.5s ease-out;
}

@keyframes adminNewCardGlow {
  0% { box-shadow: 0 0 0 4px #f5a623, 0 8px 24px rgba(245, 166, 35, 0.4); }
  100% { box-shadow: none; }
}

/* ==========================================================================
   ADMIN BOOKING DISABLE TOGGLE (RED SLIDER)
   ========================================================================== */

.admin-toggle-control {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 4px 12px;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: var(--radius);
  transition: all var(--motion-fast) var(--ease-smooth);
}

.admin-toggle-control:hover {
  background: rgb(255 255 255 / 12%);
  border-color: rgb(255 255 255 / 24%);
}

.admin-toggle-control.active-disabled {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.25);
}

.admin-toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  user-select: none;
}

.admin-toggle-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #10b981;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 4px;
  transition: all 180ms ease;
}

.admin-toggle-control.active-disabled .admin-toggle-badge {
  color: #fff;
  background: #ef4444;
  border-color: #dc2626;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* Custom Slider Switch */
.admin-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.admin-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.admin-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  transition: all 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  transition: all 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* When Checkbox is Checked -> Slider turns RED */
.admin-switch input:checked + .admin-slider.red-slider {
  background-color: #ef4444;
  border-color: #dc2626;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.55);
}

.admin-switch input:checked + .admin-slider:before {
  transform: translateX(20px);
  background-color: #ffffff;
}

/* Booking Paused Notice on Public and Customer Forms */
.booking-paused-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.38);
  border-left: 5px solid #ef4444;
  border-radius: var(--radius);
  color: #fee2e2;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.12);
}

.booking-paused-notice svg,
.booking-paused-notice .paused-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  color: #ef4444;
}

.booking-paused-notice strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.booking-paused-notice p {
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgb(255 255 255 / 85%);
  margin: 0;
}

button.button-primary:disabled,
button[type="submit"]:disabled,
.booking-panel button[type="submit"]:disabled {
  background: #27272a !important;
  color: #9ca3af !important;
  border-color: #3f3f46 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  opacity: 0.85 !important;
}


