/*
  Express Floor Plans
  Static homepage prototype
  Version: 5.3.0
*/

:root {
  --font-main: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --paper: #f4f0e7;
  --paper-soft: #fffdf8;
  --ink: #181a16;
  --muted: #67695f;
  --line: rgba(24, 26, 22, 0.12);
  --line-strong: rgba(24, 26, 22, 0.22);
  --olive: #909077;
  --olive-dark: #686b52;
  --charcoal: #10130f;
  --white: #ffffff;
  --stone: #d7c9af;
  --brass: #b89c65;
  --shadow: 0 24px 70px rgba(32, 33, 29, 0.14);
  --shadow-soft: 0 16px 40px rgba(32, 33, 29, 0.09);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--ink);
  background: linear-gradient(180deg, #fffdf8 0%, var(--paper) 46%, #ebe4d6 100%);
  line-height: 1.6;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 880px 520px at -10% 4%, rgba(184, 156, 101, 0.20), transparent 66%),
    radial-gradient(ellipse 760px 460px at 104% 12%, rgba(104, 107, 82, 0.15), transparent 64%),
    radial-gradient(ellipse 900px 520px at 54% 112%, rgba(215, 201, 175, 0.30), transparent 68%);
}

body::after {
  content: "";
  position: fixed;
  top: 118px;
  left: -210px;
  width: min(980px, 74vw);
  height: 82vh;
  z-index: -1;
  pointer-events: none;
  background: url("../img/as-built.png") no-repeat center left / contain;
  opacity: 0.18;
  filter: grayscale(1) contrast(1.18);
  transform: rotate(1.5deg);
  mix-blend-mode: multiply;
}

img {
  display: block;
  max-width: 100%;
}

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

.wrap {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section-pad {
  padding: 112px 0;
}

.section-pad-soft {
  padding: 86px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(32, 33, 29, 0.08);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 10px 30px rgba(32, 33, 29, 0.08);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.22rem;
  color: var(--ink);
  letter-spacing: -0.035em;
}

.brand-subtitle {
  margin-top: 5px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-dark);
}


.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.main-nav a:not(.btn):hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--charcoal), #25291e);
  border-color: rgba(16, 19, 15, 0.95);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--olive-dark), #4d513d);
  border-color: var(--olive-dark);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.74);
  border-color: var(--line-strong);
}

.btn-light {
  color: var(--charcoal);
  background: var(--white);
}

.btn-full {
  width: 100%;
}

.hero {
  padding-top: 86px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--olive-dark);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.95rem, 5.6vw, 5.65rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  max-width: 780px;
}

.hero-lede {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-meta span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.42);
  font-size: 0.8rem;
}

.hero-board {
  position: relative;
  min-height: 650px;
}

.board-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(32, 33, 29, 0.11);
  background: var(--white);
  box-shadow: var(--shadow);
}

.board-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-card-main {
  inset: 28px 0 58px 58px;
  border-radius: var(--radius-xl);
}

.board-card-float {
  border-radius: var(--radius-lg);
}

.board-card-float-a {
  left: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 1.08;
}

.board-card-float-b {
  right: 30px;
  top: 0;
  width: 44%;
  aspect-ratio: 1.04;
}

.board-badge {
  position: absolute;
  right: 0;
  bottom: 92px;
  padding: 14px 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--charcoal);
  box-shadow: var(--shadow-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.proof-strip {
  padding: 0 0 72px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.proof-card,
.audience-card,
.booking-card,
.pricing-panel,
.deliverable-card {
  border: 1px solid rgba(24, 26, 22, 0.1);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(248, 243, 233, 0.78));
  box-shadow: var(--shadow-soft);
}

.proof-card {
  padding: 30px;
  border-radius: var(--radius-lg);
}

.proof-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--olive), var(--brass));
  font-size: 0.76rem;
  font-weight: 700;
}

.proof-card h2,
.audience-card h3,
.deliverable-card h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  letter-spacing: -0.03em;
}

.proof-card p,
.audience-card p,
.deliverable-card p,
.section-heading p,
.booking-copy p,
.final-cta p,
.site-footer p {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading h2,
.booking-copy h2,
.pricing-panel h2,
.final-cta h2,
.audience-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.deliverable-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.deliverable-card img {
  width: 100%;
  height: 238px;
  object-fit: cover;
  background: var(--paper-soft);
}

.card-body {
  padding: 24px;
}

.price-chip {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--olive-dark);
  background: rgba(144, 144, 119, 0.14);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.audience {
  background: linear-gradient(135deg, rgba(16, 19, 15, 0.045), rgba(184, 156, 101, 0.13));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.audience-copy {
  padding-right: 28px;
}

.audience-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: 72px;
  align-items: center;
}

.step-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  counter-increment: steps;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}

.step-list li::before {
  content: counter(steps);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  border-radius: 50%;
  color: var(--white);
  background: var(--charcoal);
  font-size: 0.8rem;
  font-weight: 700;
}

.booking-card {
  padding: 30px;
  border-radius: var(--radius-xl);
}

.booking-card-top,
.estimate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.booking-card-top {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.booking-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.fake-input {
  display: block;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: var(--paper-soft);
  font-weight: 500;
}

.service-picks {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.service-picks span {
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(144, 144, 119, 0.28);
  background: rgba(144, 144, 119, 0.1);
  font-size: 0.88rem;
  font-weight: 600;
}

.estimate-row {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.estimate-row strong {
  color: var(--ink);
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.pricing-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  gap: 60px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius-xl);
}

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

.pricing-list p {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.pricing-list span {
  color: var(--muted);
  text-align: right;
}

.final-cta {
  padding-top: 72px;
}

.final-cta-inner {
  padding: 74px 34px;
  border-radius: 44px;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 10% 20%, rgba(144, 144, 119, 0.48), transparent 34%),
    linear-gradient(135deg, #242818 0%, #10130f 48%, #2b2418 100%);
  box-shadow: var(--shadow);
}

.final-cta-inner img {
  width: 76px;
  margin: 0 auto 28px;
  filter: brightness(0) invert(1);
  opacity: 0.82;
}

.final-cta-inner h2 {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-inner p {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding: 62px 0;
  border-top: 1px solid var(--line);
  background: var(--paper-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 42px;
}

.footer-brand {
  margin-bottom: 16px;
}

.site-footer h2 {
  margin-bottom: 12px;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer a:hover {
  color: var(--olive-dark);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero-grid,
  .booking-grid,
  .pricing-panel {
    grid-template-columns: 1fr;
  }

  .hero-board {
    min-height: 560px;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-copy {
    grid-column: 1 / -1;
  }

  .deliverable-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 30px, var(--container));
  }

  .section-pad,
  .section-pad-soft {
    padding: 70px 0;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-copy {
    display: none;
  }

  .main-nav {
    gap: 13px;
    font-size: 0.84rem;
  }

  .btn {
    min-height: 48px;
  }

  .btn-small {
    min-height: 40px;
    padding: 0 15px;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-grid {
    gap: 42px;
  }

  h1 {
    font-size: clamp(2.7rem, 12vw, 4.1rem);
  }

  .hero-board {
    min-height: 460px;
  }

  .board-card-main {
    inset: 20px 0 74px 26px;
  }

  .board-card-float-a {
    width: 47%;
  }

  .board-card-float-b {
    width: 52%;
    right: 12px;
  }

  .board-badge {
    right: 0;
    bottom: 42px;
  }

  .proof-grid,
  .audience-grid,
  .deliverable-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .deliverable-card img {
    height: 220px;
  }

  .pricing-panel,
  .booking-card {
    padding: 24px;
  }

  .pricing-list p {
    display: grid;
  }

  .pricing-list span {
    text-align: left;
  }

  .final-cta-inner {
    padding: 58px 24px;
    border-radius: 32px;
  }
}

/* Account dashboard prototype */
.account-body::after {
  top: 104px;
  left: -260px;
  width: min(920px, 70vw);
  height: 76vh;
  opacity: 0.13;
}

.nav-active {
  color: var(--ink);
}

.main-nav .btn.nav-active,
.main-nav .btn.nav-active:visited {
  color: var(--white);
}

.account-shell {
  min-height: 70vh;
}

.account-hero {
  padding: 82px 0 38px;
}

.account-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
}

.account-welcome h1 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 4.5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  max-width: 820px;
}

.account-welcome p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.account-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  white-space: nowrap;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding-bottom: 104px;
}

.dashboard-main,
.dashboard-side {
  display: grid;
  gap: 24px;
  align-content: start;
}

.dash-panel,
.side-card {
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(24, 26, 22, 0.10);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.dash-panel {
  border-radius: var(--radius-xl);
  padding: 30px;
}

.side-card {
  border-radius: 28px;
  padding: 26px;
}

.panel-header,
.mini-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.panel-header h2,
.side-card h2 {
  margin-bottom: 0;
  font-size: clamp(1.28rem, 2vw, 1.85rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.panel-header .eyebrow,
.mini-header .eyebrow,
.side-card > .eyebrow {
  margin-bottom: 10px;
}

.text-link {
  color: var(--olive-dark);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.text-link:hover {
  color: var(--charcoal);
}

.appointment-list,
.project-list {
  display: grid;
  gap: 16px;
}

.appointment-card,
.project-row {
  display: grid;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(24, 26, 22, 0.09);
  border-radius: 24px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.appointment-card:hover,
.project-row:hover {
  transform: translateY(-2px);
  border-color: rgba(104, 107, 82, 0.25);
  box-shadow: 0 18px 40px rgba(32, 33, 29, 0.08);
}

.appointment-card {
  grid-template-columns: 92px minmax(0, 1fr) auto;
  padding: 18px;
}

.appointment-featured {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(244, 240, 231, 0.86));
  border-color: rgba(104, 107, 82, 0.22);
}

.appointment-date {
  min-height: 106px;
  border-radius: 22px;
  background: linear-gradient(160deg, var(--charcoal), #2a2f22);
  color: var(--white);
  display: grid;
  place-items: center;
  padding: 12px;
  text-align: center;
  box-shadow: 0 18px 38px rgba(16, 19, 15, 0.20);
}

.appointment-date strong {
  display: block;
  margin: -6px 0;
  font-size: 2.15rem;
  letter-spacing: -0.06em;
}

.appointment-date span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.82;
}

.compact-date {
  min-height: 92px;
  background: linear-gradient(160deg, var(--olive-dark), #797b61);
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(104, 107, 82, 0.12);
  color: var(--olive-dark);
}

.status-chip.confirmed,
.status-chip.ready {
  background: rgba(104, 107, 82, 0.15);
  color: #4d513d;
}

.status-chip.pending {
  background: rgba(184, 156, 101, 0.19);
  color: #7c6433;
}

.quiet-text {
  color: var(--muted);
  font-size: 0.88rem;
}

.appointment-content h3,
.project-details h3 {
  margin-bottom: 4px;
  font-size: 1.13rem;
  letter-spacing: -0.025em;
}

.appointment-content p,
.project-details p,
.side-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.service-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(144, 144, 119, 0.12);
  color: var(--olive-dark);
  font-size: 0.78rem;
  font-weight: 600;
}

.compact-tags {
  margin-top: 10px;
}

.compact-tags span {
  min-height: 26px;
  font-size: 0.72rem;
}

.appointment-tools,
.project-status {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.panel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(24, 26, 22, 0.14);
  background: rgba(255, 253, 248, 0.78);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.panel-button:hover {
  transform: translateY(-1px);
  background: var(--white);
  border-color: rgba(24, 26, 22, 0.25);
}

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

.wide-button {
  width: 100%;
  margin-top: 22px;
}

.project-row {
  grid-template-columns: 92px minmax(0, 1fr) auto;
  padding: 16px;
}

.project-thumb {
  width: 92px;
  height: 76px;
  border-radius: 18px;
  border: 1px solid rgba(24, 26, 22, 0.10);
  background-color: var(--paper-soft);
  background-position: center;
  background-size: cover;
  box-shadow: 0 14px 32px rgba(32, 33, 29, 0.08);
}

.plan-thumb-a {
  background-image: url("../img/2d-schematic-floorplans-1.jpg");
}

.plan-thumb-b {
  background-image: url("../img/full-color-schematic-floorplans-1.png");
}

.plan-thumb-c {
  background-image: url("../img/as-built-cad.png");
}

.profile-card p + p {
  margin-top: 8px;
}

.logo-upload-preview {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 18px;
}

.logo-placeholder {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--charcoal), var(--olive-dark));
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.04em;
  box-shadow: 0 18px 36px rgba(16, 19, 15, 0.20);
}

.logo-upload-preview h2 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.book-card {
  background: linear-gradient(145deg, rgba(16, 19, 15, 0.96), rgba(65, 68, 51, 0.94));
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.10);
}

.book-card .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.book-card h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.book-card p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 22px;
}

.account-footer {
  margin-top: 0;
}

@media (max-width: 1040px) {
  .account-hero-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .account-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

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

@media (max-width: 760px) {
  .account-hero {
    padding-top: 58px;
  }

  .dashboard-side {
    grid-template-columns: 1fr;
  }

  .dash-panel,
  .side-card {
    padding: 22px;
    border-radius: 24px;
  }

  .appointment-card,
  .project-row {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .appointment-date,
  .compact-date {
    width: 100%;
    min-height: 86px;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    gap: 10px;
  }

  .appointment-date strong {
    margin: 0;
    font-size: 1.8rem;
  }

  .appointment-tools,
  .project-status {
    justify-items: start;
  }

  .project-thumb {
    width: 100%;
    height: 130px;
  }
}

/* ==========================================================================
   Passwordless Login / Create Account Prototype
   Version: 4.5.0
   ========================================================================== */

.auth-body {
  min-height: 100vh;
}

.auth-shell {
  padding: 132px 0 44px;
  position: relative;
  overflow: hidden;
}

.auth-shell::before {
  content: "";
  position: absolute;
  left: -120px;
  top: 90px;
  width: min(560px, 58vw);
  height: min(560px, 58vw);
  background: url("../img/as-built-with-measurements.png") center / contain no-repeat;
  opacity: 0.095;
  filter: grayscale(1) contrast(1.18);
  pointer-events: none;
}

.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 0.72fr);
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.auth-copy h1 {
  max-width: 720px;
  margin: 0 0 22px;
  font-size: clamp(2.6rem, 5vw, 5.05rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
  color: var(--charcoal);
}

.auth-copy > p:not(.eyebrow) {
  max-width: 650px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
}

.auth-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.auth-benefits article {
  padding: 22px;
  border: 1px solid rgba(28, 30, 25, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 46px rgba(29, 32, 26, 0.07);
  backdrop-filter: blur(18px);
}

.auth-benefits span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(89, 91, 64, 0.12);
  color: var(--olive-dark);
  font-size: 0.74rem;
  font-weight: 700;
}

.auth-benefits h2 {
  margin: 0 0 8px;
  font-size: 1rem;
  letter-spacing: -0.035em;
  color: var(--charcoal);
}

.auth-benefits p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.auth-card {
  padding: 28px;
  border: 1px solid rgba(28, 30, 25, 0.09);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(246, 243, 235, 0.88));
  box-shadow: 0 30px 80px rgba(29, 32, 26, 0.13);
  backdrop-filter: blur(22px);
}

.auth-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(28, 30, 25, 0.06);
}

.auth-toggle button {
  border: 0;
  border-radius: 999px;
  padding: 13px 14px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.auth-toggle .toggle-active {
  background: var(--white);
  color: var(--charcoal);
  box-shadow: 0 10px 28px rgba(29, 32, 26, 0.11);
}

.auth-panel,
.create-account-preview {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 30, 25, 0.08);
}

.auth-panel + .auth-panel,
.auth-panel + .create-account-preview {
  margin-top: 16px;
}

.auth-panel-muted {
  background: rgba(248, 247, 242, 0.75);
}

.auth-panel h2,
.create-account-preview h2 {
  margin: 0 0 8px;
  color: var(--charcoal);
  font-size: 1.35rem;
  letter-spacing: -0.05em;
}

.form-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.auth-form,
.profile-form-grid {
  display: grid;
  gap: 14px;
}

.auth-form label,
.profile-form-grid label,
.delivery-choice legend {
  color: var(--charcoal);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"],
.profile-form-grid input {
  width: 100%;
  margin-top: 8px;
  padding: 15px 16px;
  border: 1px solid rgba(28, 30, 25, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--charcoal);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.auth-form input:focus,
.profile-form-grid input:focus,
.pin-entry input:focus {
  border-color: rgba(89, 91, 64, 0.55);
  box-shadow: 0 0 0 4px rgba(89, 91, 64, 0.12);
}

.delivery-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 2px 0 4px;
  padding: 0;
  border: 0;
}

.delivery-choice legend {
  width: 100%;
  margin-bottom: 4px;
}

.delivery-choice label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(28, 30, 25, 0.055);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.pin-entry {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.pin-entry input {
  min-width: 0;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(28, 30, 25, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  font: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
  outline: none;
}

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

.auth-footer {
  margin-top: 0;
}

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

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

@media (max-width: 640px) {
  .auth-shell {
    padding-top: 112px;
  }

  .auth-card,
  .auth-panel,
  .create-account-preview {
    padding: 20px;
    border-radius: 24px;
  }

  .auth-copy h1 {
    font-size: clamp(2.3rem, 13vw, 3.4rem);
  }

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

  .pin-entry {
    gap: 6px;
  }

  .pin-entry input {
    border-radius: 13px;
    font-size: 1.1rem;
  }
}


/* ==========================================================================
   Login Page Refinements
   Version: 4.5.0
   ========================================================================== */

.auth-grid {
  align-items: center;
}

.auth-copy h1 {
  max-width: 690px;
  font-size: clamp(2.35rem, 4.35vw, 4.45rem);
}

.auth-tab-control {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.auth-toggle {
  margin-bottom: 24px;
}

.auth-tab-label {
  display: block;
  border: 0;
  border-radius: 999px;
  padding: 13px 14px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

#tab-signin:checked ~ .auth-toggle .auth-tab-signin,
#tab-create:checked ~ .auth-toggle .auth-tab-create {
  background: var(--white);
  color: var(--charcoal);
  box-shadow: 0 10px 28px rgba(29, 32, 26, 0.11);
}

.auth-tab-panel {
  display: none;
}

#tab-signin:checked ~ .auth-signin-panel,
#tab-create:checked ~ .auth-create-panel {
  display: block;
}

.code-panel {
  margin-top: 16px;
}

.create-account-preview h2 {
  margin-top: 0;
}

.after-form-note {
  margin-top: 14px;
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .auth-copy h1 {
    font-size: clamp(2.1rem, 12vw, 3.25rem);
  }
}


/* ==========================================================================
   Login Page Refinements
   Version: 4.5.0
   ========================================================================== */

.code-panel[hidden] {
  display: none !important;
}

.code-panel.is-ready {
  animation: panelReveal 220ms ease both;
}

.input-attention {
  border-color: rgba(104, 107, 82, 0.7) !important;
  box-shadow: 0 0 0 4px rgba(104, 107, 82, 0.16) !important;
}

@keyframes panelReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*
   Login Page Refinements
   Version: 4.5.0
*/
.auth-statement {
  margin-top: 30px;
  max-width: 560px;
  padding: 24px 26px;
  border: 1px solid rgba(49, 55, 55, 0.12);
  background: rgba(255, 255, 255, 0.54);
  border-radius: 26px;
  box-shadow: 0 22px 55px rgba(31, 35, 35, 0.08);
}

.auth-statement p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.text-link-button {
  display: block;
  margin: 16px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.text-link-button:hover {
  color: var(--ink);
}

.auth-panel[hidden],
.code-panel[hidden] {
  display: none;
}

/* Booking process prototype */
.booking-body::after {
  opacity: 0.13;
}

.booking-shell {
  min-height: calc(100vh - 82px);
  padding: 84px 0 108px;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(460px, 1.22fr);
  gap: 42px;
  align-items: start;
}

.booking-intro {
  position: sticky;
  top: 118px;
  padding: 12px 0;
}

.booking-intro h1 {
  margin: 0 0 18px;
  max-width: 520px;
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.booking-intro > p {
  max-width: 500px;
  color: var(--muted);
  font-size: 1.02rem;
}

.booking-progress-bar {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.progress-bar-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.progress-bar-copy strong {
  color: var(--ink);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.progress-track {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: rgba(24, 26, 22, 0.09);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--olive-dark), var(--charcoal));
  transition: width 220ms ease;
}

.booking-card {
  min-height: 560px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(24, 26, 22, 0.14);
  border-radius: var(--radius-xl);
  background: rgba(255, 253, 248, 0.90);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.booking-step h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.property-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.property-type-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255,255,255,0.78), rgba(244,240,231,0.72));
  color: var(--ink);
  text-align: left;
  font: inherit;
  box-shadow: 0 14px 36px rgba(32, 33, 29, 0.07);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.property-type-card:hover,
.property-type-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--olive-dark);
  box-shadow: 0 20px 44px rgba(32, 33, 29, 0.12);
  outline: none;
}

.property-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 42px;
  border-radius: 16px;
  background: rgba(144, 144, 119, 0.14);
  color: var(--olive-dark);
  font-size: 1.45rem;
  font-weight: 700;
}

.property-type-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.property-type-card small {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.booking-form {
  margin-top: 28px;
}

.booking-form label,
.booking-form-grid label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.booking-form input,
.booking-form-grid input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: rgba(255,255,255,0.86);
  color: var(--ink);
  font: inherit;
}

.optional-label {
  color: var(--muted);
  font-weight: 400;
}

.autocomplete-shell {
  position: relative;
  margin-bottom: 18px;
}

.address-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-soft);
  box-shadow: var(--shadow-soft);
}

.address-suggestions button {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.address-suggestions button:last-child {
  border-bottom: 0;
}

.address-suggestions button:hover,
.address-suggestions button:focus-visible {
  background: rgba(144, 144, 119, 0.12);
  outline: none;
}

.booking-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
}

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

.selection-summary {
  margin-top: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(16, 19, 15, 0.045);
}

.selection-summary h3 {
  margin: 4px 0 8px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.selection-summary p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

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

  .booking-intro {
    position: static;
  }
}

@media (max-width: 680px) {
  .property-type-grid,
  .booking-form-grid {
    grid-template-columns: 1fr;
  }

  .booking-actions {
    flex-direction: column-reverse;
  }

  .booking-actions .btn {
    width: 100%;
  }
}

/* v1.6: restore primary button treatment when a button is also marked active. */
.btn-primary.nav-active,
.btn-primary.nav-active:visited {
  color: var(--white);
  background: linear-gradient(135deg, var(--charcoal), #25291e);
  border-color: rgba(16, 19, 15, 0.95);
}

.btn-primary.nav-active:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--olive-dark), #4d513d);
  border-color: var(--olive-dark);
}


/* v1.7: service selection screen */
.service-select-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.85fr);
  gap: 18px;
  margin-top: 28px;
}

.service-stack {
  display: grid;
  gap: 14px;
}

.service-option-card {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.72);
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(32, 33, 29, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.service-option-card:hover,
.service-option-card:focus-visible,
.service-option-card.is-selected {
  transform: translateY(-2px);
  border-color: rgba(96, 101, 73, 0.62);
  background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(242,239,229,0.82));
  box-shadow: 0 20px 42px rgba(32, 33, 29, 0.105);
  outline: none;
}

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

.service-kicker,
.service-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-kicker {
  color: var(--muted);
  background: rgba(16, 19, 15, 0.055);
}

.service-pill {
  color: var(--white);
  background: var(--charcoal);
}

.service-option-card strong {
  display: block;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}

.service-option-card small {
  display: block;
  max-width: 620px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.service-price {
  display: inline-flex;
  width: fit-content;
  margin-top: 2px;
  color: var(--olive-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.service-summary-panel {
  position: sticky;
  top: 120px;
  align-self: start;
  padding: 22px;
  border: 1px solid rgba(24, 26, 22, 0.13);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(22, 24, 20, 0.96), rgba(65, 69, 52, 0.92));
  color: var(--white);
  box-shadow: 0 22px 48px rgba(32, 33, 29, 0.16);
}

.service-summary-panel .eyebrow,
.service-summary-panel p,
.service-summary-panel .estimate-row span {
  color: rgba(255,255,255,0.68);
}

.service-summary-panel h3 {
  margin: 8px 0 10px;
  color: var(--white);
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.service-summary-panel p {
  margin-bottom: 18px;
  font-size: 0.86rem;
  line-height: 1.55;
}

.estimate-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.82rem;
}

.estimate-row strong {
  color: var(--white);
  text-align: right;
}

.add-on-panel {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

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

.add-on-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.62);
  cursor: pointer;
}

.add-on-card input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--olive-dark);
}

.add-on-card strong,
.add-on-card small {
  display: block;
}

.add-on-card strong {
  margin-bottom: 3px;
  font-size: 0.88rem;
  letter-spacing: -0.015em;
}

.add-on-card small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.42;
}

@media (max-width: 980px) {
  .service-select-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .add-on-grid {
    grid-template-columns: 1fr;
  }

  .service-option-top {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* v1.8: cleaner service pricing selection screen */
.service-price-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 16px;
  padding: 13px 16px;
  border: 1px solid rgba(24, 26, 22, 0.10);
  border-radius: 18px;
  background: rgba(255,255,255,0.58);
  color: var(--muted);
  font-size: 0.84rem;
}

.service-price-context strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.service-stack-full {
  gap: 16px;
}

.service-row-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.service-row-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: transparent;
  transition: background 180ms ease;
}

.service-row-card.is-selected {
  border-color: rgba(96, 101, 73, 0.82);
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(239,235,220,0.92));
  box-shadow: 0 24px 50px rgba(32, 33, 29, 0.13);
}

.service-row-card.is-selected::before {
  background: var(--olive-dark);
}

.service-main-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.service-row-price {
  display: grid;
  gap: 4px;
  justify-items: end;
  min-width: 132px;
  color: var(--muted);
  text-align: right;
}

.service-row-price > span {
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.service-row-price small {
  max-width: none;
  font-size: 0.74rem;
  line-height: 1.25;
}

.add-on-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.add-on-heading .eyebrow {
  margin-bottom: 0;
}

.add-on-heading span {
  color: var(--muted);
  font-size: 0.78rem;
}

.add-on-grid-priced .add-on-card {
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.add-on-card em {
  color: var(--olive-dark);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.service-helper-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(96, 101, 73, 0.18);
  border-radius: 16px;
  background: rgba(96, 101, 73, 0.06);
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 760px) {
  .service-price-context,
  .add-on-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .service-row-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .service-row-price {
    justify-items: start;
    min-width: 0;
    text-align: left;
  }

  .add-on-grid-priced .add-on-card {
    grid-template-columns: auto 1fr;
  }

  .add-on-card em {
    grid-column: 2;
  }
}


/* Booking service path refinements, v1.9.0 */
.service-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0 24px;
}

.service-path-card {
  appearance: none;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  width: 100%;
  padding: 20px;
  border: 1px solid rgba(24, 26, 22, 0.12);
  border-radius: 24px;
  background: rgba(255,255,255,0.76);
  box-shadow: 0 18px 42px rgba(32, 33, 29, 0.08);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.service-path-card:hover,
.service-path-card.is-selected {
  transform: translateY(-2px);
  border-color: rgba(96, 101, 73, 0.58);
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(239,235,220,0.9));
  box-shadow: 0 24px 56px rgba(32, 33, 29, 0.13);
}

.service-path-thumb {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(244,240,231,0.86);
}

.service-path-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) contrast(0.94);
}

.service-path-copy {
  display: grid;
  gap: 8px;
}

.service-path-copy strong {
  display: block;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.service-path-copy small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.service-path-panel {
  margin-top: 18px;
}

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

.service-panel-heading h3 {
  margin: 4px 0 0;
  font-size: clamp(1.28rem, 2vw, 1.85rem);
  letter-spacing: -0.055em;
}

.text-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--olive-dark);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 0;
  text-transform: uppercase;
}

.add-on-grid-preview {
  grid-template-columns: 1fr;
}

.add-on-card-preview {
  grid-template-columns: auto 82px minmax(0, 1fr) auto !important;
  gap: 16px;
  min-height: 108px;
}

.add-on-card-preview > img {
  width: 82px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(24,26,22,0.10);
  background: #fff;
}

.preview-link {
  appearance: none;
  display: inline-flex;
  width: fit-content;
  margin-top: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--olive-dark);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-modal[hidden] {
  display: none;
}

.preview-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  min-height: 100vh;
  padding: 28px;
}

.preview-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 19, 17, 0.62);
  backdrop-filter: blur(8px);
}

.preview-modal-card {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 56px));
  max-height: 88vh;
  overflow: auto;
  padding: 22px;
  border-radius: 28px;
  background: var(--paper-soft);
  box-shadow: 0 34px 100px rgba(0,0,0,0.35);
}

.preview-modal-card h3 {
  margin: 0 48px 16px 0;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.preview-modal-card img {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
}

.preview-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(24,26,22,0.10);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.modal-open {
  overflow: hidden;
}

@media (max-width: 860px) {
  .service-path-grid {
    grid-template-columns: 1fr;
  }

  .service-path-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .service-panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .service-path-card,
  .add-on-card-preview {
    grid-template-columns: 1fr !important;
  }

  .service-path-thumb,
  .add-on-card-preview > img {
    width: 100%;
  }

  .service-path-thumb {
    aspect-ratio: 16 / 9;
  }

  .add-on-card-preview > img {
    height: 150px;
  }

  .add-on-card-preview em {
    grid-column: auto;
  }
}


/* Booking service path revisions, v2.0.0 */
.service-path-grid-stacked {
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 26px;
}

.service-path-grid-stacked .service-path-card {
  grid-template-columns: 148px minmax(0, 1fr);
  padding: 22px;
}

.service-path-grid-stacked .service-path-thumb {
  aspect-ratio: 4 / 3;
}

.service-panel-heading h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.service-panel-heading .form-note {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .service-path-grid-stacked .service-path-card {
    grid-template-columns: 1fr;
  }

  .service-path-grid-stacked .service-path-thumb {
    aspect-ratio: 16 / 9;
  }
}


/* Calendar availability screen, v2.3.0 */
.schedule-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 22px;
}

.schedule-overview div {
  padding: 16px;
  border: 1px solid rgba(24, 26, 22, 0.10);
  border-radius: 18px;
  background: rgba(255,255,255,0.66);
}

.schedule-overview span,
.calendar-heading span,
.times-heading p,
.calendar-note {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.schedule-overview strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

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

.calendar-panel,
.times-panel {
  min-height: 520px;
  padding: 22px;
  border: 1px solid rgba(24, 26, 22, 0.12);
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 18px 42px rgba(32, 33, 29, 0.07);
}

.calendar-heading,
.times-heading {
  margin-bottom: 16px;
}

.calendar-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.calendar-heading h3,
.times-heading h3 {
  margin: 4px 0 0;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.mini-calendar {
  display: grid;
  gap: 22px;
}

.calendar-month-block {
  display: grid;
  gap: 10px;
}

.calendar-month-title {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.calendar-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.calendar-day-name {
  padding: 0 0 6px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.calendar-date {
  appearance: none;
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid rgba(24, 26, 22, 0.10);
  border-radius: 14px;
  background: rgba(255,255,255,0.76);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.calendar-date:hover,
.calendar-date:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(96, 101, 73, 0.55);
  outline: none;
}

.calendar-date.is-selected {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.calendar-date.is-blocked,
.calendar-date.is-weekend,
.calendar-date.is-empty {
  color: rgba(24, 26, 22, 0.28);
  background: rgba(24, 26, 22, 0.045);
  cursor: not-allowed;
}

.calendar-date.is-empty {
  border-color: transparent;
  background: transparent;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.74rem;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(96, 101, 73, 0.55);
}

.legend-dot.selected { background: var(--charcoal); }
.legend-dot.unavailable { background: rgba(24, 26, 22, 0.18); }

.time-slot-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.time-slot {
  appearance: none;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 52px;
  padding: 13px 12px;
  border: 1px solid rgba(24, 26, 22, 0.12);
  border-radius: 16px;
  background: rgba(255,255,255,0.82);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.time-slot:hover,
.time-slot:focus-visible,
.time-slot.is-selected {
  border-color: rgba(96, 101, 73, 0.62);
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(239,235,220,0.9));
  outline: none;
}

.time-slot.is-selected {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.calendar-note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(96, 101, 73, 0.16);
  border-radius: 16px;
  background: rgba(96, 101, 73, 0.06);
}

.calendar-note strong {
  color: var(--ink);
}

@media (max-width: 980px) {
  .calendar-layout,
  .schedule-overview {
    grid-template-columns: 1fr;
  }

  .calendar-panel,
  .times-panel {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .calendar-heading {
    flex-direction: column;
  }

  .mini-calendar {
    gap: 5px;
  }

  .calendar-date {
    min-height: 38px;
    border-radius: 12px;
    font-size: 0.76rem;
  }
}


/* Review screen, v2.6.0 */
.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  gap: 16px;
  margin-top: 24px;
}

.review-main-card,
.review-total-card {
  border: 1px solid rgba(24, 26, 22, 0.12);
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 18px 42px rgba(32, 33, 29, 0.07);
}

.review-main-card {
  grid-column: 1;
  padding: 22px;
}

.review-total-card {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: start;
  position: sticky;
  top: 118px;
  padding: 24px;
  background: linear-gradient(160deg, rgba(22, 24, 20, 0.96), rgba(65, 69, 52, 0.92));
  color: var(--white);
}

.review-total-card .eyebrow,
.review-total-card p {
  color: rgba(255,255,255,0.68);
}

.review-total-card > strong {
  display: block;
  margin: 8px 0 14px;
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.07em;
}

.review-total-card p {
  margin-bottom: 20px;
  font-size: 0.84rem;
  line-height: 1.55;
}

.review-next-note {
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.16);
}

.review-next-note span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255,255,255,0.58);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.review-next-note b {
  color: var(--white);
  font-size: 0.95rem;
}

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

.review-section-heading .eyebrow {
  margin-bottom: 0;
}

.review-section-heading span {
  color: var(--muted);
  font-size: 0.78rem;
}

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

.review-row {
  min-height: 82px;
  padding: 15px;
  border: 1px solid rgba(24, 26, 22, 0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.62);
}

.review-address-row {
  min-height: 0;
  margin-bottom: 12px;
}

.review-row span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-row strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.review-service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(24, 26, 22, 0.10);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(242,239,229,0.72));
}

.review-service-card strong {
  display: block;
  margin: 10px 0 5px;
  color: var(--ink);
  font-size: 1.18rem;
  letter-spacing: -0.035em;
}

.review-service-card small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.review-service-card em {
  color: var(--ink);
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.055em;
}


.review-layout-single {
  grid-template-columns: 1fr;
  max-width: 980px;
}

.review-layout-single .review-main-card,
.review-layout-single .review-total-card {
  grid-column: 1;
  grid-row: auto;
}

.review-total-card-top {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 24px;
  align-items: end;
}

.review-total-card-top > strong {
  margin-bottom: 0;
}

.review-total-card-top p:last-child {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .review-layout {
    grid-template-columns: 1fr;
  }

  .review-main-card,
  .review-total-card {
    grid-column: auto;
    grid-row: auto;
  }

  .review-total-card {
    position: static;
  }

  .review-total-card-top {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 620px) {
  .review-mini-grid,
  .review-service-card {
    grid-template-columns: 1fr;
  }

  .review-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}


/* Booking refinements, v2.8.0 */
.progress-label {
  color: var(--muted);
}

.review-addon-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.review-addon-card,
.extended-service-notice,
.review-services-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 15px 16px;
  border-radius: 18px;
}

.review-addon-card {
  border: 1px solid rgba(24, 26, 22, 0.09);
  background: rgba(255,255,255,0.72);
}

.review-addon-card strong,
.extended-service-notice strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
  letter-spacing: -0.025em;
}

.review-addon-card small,
.extended-service-notice span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.review-addon-card em,
.extended-service-notice em {
  color: var(--ink);
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.review-addon-card-empty {
  border-style: dashed;
  background: rgba(246, 243, 235, 0.62);
}

.extended-service-notice {
  margin-top: 12px;
  border: 1px solid rgba(127, 103, 55, 0.24);
  background: linear-gradient(145deg, rgba(255, 250, 237, 0.94), rgba(242, 233, 211, 0.72));
}

.review-services-total {
  margin-top: 14px;
  border: 1px solid rgba(24, 26, 22, 0.14);
  background: rgba(24, 26, 22, 0.94);
  color: var(--white);
}

.review-services-total span {
  color: rgba(255,255,255,0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.review-services-total strong {
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1;
}

@media (max-width: 620px) {
  .review-addon-card,
  .extended-service-notice,
  .review-services-total {
    grid-template-columns: 1fr;
  }
}


/* Booking refinements, v2.9.0 */
.basic-extended-notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(127, 103, 55, 0.24);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 250, 237, 0.94), rgba(242, 233, 211, 0.72));
}

.basic-extended-notice[hidden] {
  display: none;
}

.basic-extended-notice strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  letter-spacing: -0.025em;
}

.basic-extended-notice span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.basic-extended-notice em {
  color: var(--ink);
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.review-extended-line-item {
  margin-top: 12px;
  border: 1px solid rgba(24, 26, 22, 0.09);
  background: rgba(255,255,255,0.72);
}

.review-extended-line-item[hidden] {
  display: none;
}

@media (max-width: 620px) {
  .basic-extended-notice {
    grid-template-columns: 1fr;
  }
}

/* Booking refinements, v3.0.0 */
.review-total-card-top {
  align-items: center;
}

.review-total-card > div:first-child strong,
.review-total-card [data-review-total] {
  font-size: clamp(3rem, 7vw, 5.4rem);
}

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

.payment-field {
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.payment-field-wide {
  grid-column: 1 / -1;
}

.payment-field input {
  width: 100%;
  margin-top: 8px;
  padding: 15px 16px;
  border: 1px solid rgba(28, 30, 25, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.payment-field input:focus {
  border-color: rgba(89, 91, 64, 0.55);
  box-shadow: 0 0 0 4px rgba(89, 91, 64, 0.12);
}

.payment-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (max-width: 620px) {
  .payment-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Profile and Brand Assets Prototype
   Version: 4.5.0
   ========================================================================== */

.profile-shell {
  padding: 132px 0 54px;
  position: relative;
  overflow: hidden;
}

.profile-shell::before {
  content: "";
  position: absolute;
  left: -180px;
  top: 120px;
  width: min(650px, 64vw);
  height: min(650px, 64vw);
  background: url("../img/as-built-with-measurements.png") center / contain no-repeat;
  opacity: 0.085;
  filter: grayscale(1) contrast(1.14);
  pointer-events: none;
}

.profile-hero {
  position: relative;
  z-index: 1;
  margin-bottom: 34px;
}

.profile-back-link {
  display: inline-flex;
  margin-bottom: 24px;
}

.profile-hero h1 {
  max-width: 880px;
  margin: 0 0 18px;
  color: var(--charcoal);
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.profile-hero > p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.profile-settings-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.profile-settings-main {
  display: grid;
  gap: 24px;
}

.profile-settings-side {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 118px;
}

.settings-card {
  padding: 30px;
  border: 1px solid rgba(28, 30, 25, 0.09);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 245, 238, 0.86));
  box-shadow: 0 26px 72px rgba(29, 32, 26, 0.105);
  backdrop-filter: blur(20px);
}

.settings-card-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.settings-card-header h2 {
  margin: 6px 0 0;
  color: var(--charcoal);
  font-size: clamp(1.65rem, 2vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.065em;
}

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

.settings-form-grid label {
  color: var(--charcoal);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.settings-form-grid label span {
  color: var(--muted);
  font-weight: 600;
}

.settings-form-grid input,
.upload-dropzone input[type="file"] {
  font: inherit;
}

.settings-form-grid input {
  width: 100%;
  margin-top: 8px;
  padding: 15px 16px;
  border: 1px solid rgba(28, 30, 25, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.settings-form-grid input:focus {
  border-color: rgba(89, 91, 64, 0.55);
  box-shadow: 0 0 0 4px rgba(89, 91, 64, 0.12);
}

.settings-field-wide {
  grid-column: 1 / -1;
}

.settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
}

.settings-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.brand-upload-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.brand-logo-current,
.brand-upload-panel,
.brand-note-card {
  border: 1px solid rgba(28, 30, 25, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.68);
}

.brand-logo-current {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  min-height: 300px;
  padding: 24px;
}

.large-logo-placeholder {
  width: 132px;
  height: 132px;
  font-size: 2.05rem;
}

.brand-logo-current p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.brand-upload-panel {
  padding: 24px;
}

.brand-upload-panel h3 {
  margin: 0 0 8px;
  color: var(--charcoal);
  font-size: 1.35rem;
  letter-spacing: -0.05em;
}

.brand-upload-panel > p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
}

.upload-dropzone {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 138px;
  padding: 22px;
  border: 1px dashed rgba(89, 91, 64, 0.42);
  border-radius: 24px;
  background: rgba(89, 91, 64, 0.06);
  cursor: pointer;
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.upload-dropzone:hover {
  transform: translateY(-2px);
  border-color: rgba(89, 91, 64, 0.72);
  background: rgba(89, 91, 64, 0.095);
}

.upload-dropzone input {
  display: none;
}

.upload-dropzone span {
  color: var(--charcoal);
  font-size: 1rem;
  font-weight: 800;
}

.upload-dropzone small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.brand-note-card {
  margin: 18px 0;
  padding: 18px;
  background: rgba(250, 248, 241, 0.85);
}

.brand-note-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--charcoal);
  font-size: 0.92rem;
}

.brand-note-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 1040px) {
  .profile-settings-grid {
    grid-template-columns: 1fr;
  }

  .profile-settings-side {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .brand-upload-layout,
  .profile-settings-side {
    grid-template-columns: 1fr;
  }

  .brand-logo-current {
    min-height: 220px;
  }
}

@media (max-width: 620px) {
  .profile-shell {
    padding-top: 112px;
  }

  .settings-card {
    padding: 22px;
    border-radius: 26px;
  }

  .settings-card-header,
  .settings-actions {
    display: grid;
    justify-items: start;
  }

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

/* Footer refinements and shared include support | Version: 4.5.0 */
.site-footer {
  padding: 72px 0;
  border-top: 1px solid rgba(38, 40, 34, 0.12);
  background:
    radial-gradient(circle at 12% 0%, rgba(142, 140, 109, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 250, 0.94), rgba(242, 239, 229, 0.94));
}

.footer-panel {
  display: grid;
  gap: 34px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.2fr);
  align-items: start;
  gap: 42px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(38, 40, 34, 0.1);
}

.footer-main > p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-links > div {
  padding: 22px;
  border: 1px solid rgba(38, 40, 34, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
}

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

.footer-disclaimer-card {
  padding: 22px;
  border: 1px solid rgba(38, 40, 34, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
}

.footer-disclaimer-card h2,
.footer-links h2 {
  color: var(--ink);
}

.footer-disclaimer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.75;
}

@media (max-width: 860px) {
  .footer-main,
  .footer-links,
  .footer-disclaimers {
    grid-template-columns: 1fr;
  }
}

/* Final design review refinements | Version: 4.5.0 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  padding: 58px 0 22px;
  border-top: 1px solid rgba(38, 40, 34, 0.12);
  background: linear-gradient(180deg, rgba(250, 248, 241, 0.96), rgba(238, 235, 224, 0.96));
}

.footer-new {
  display: grid;
  gap: 28px;
}

.footer-topline {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1fr);
  align-items: center;
  gap: 42px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(38, 40, 34, 0.10);
}

.footer-topline p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.footer-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-contact-row a {
  color: var(--ink);
}

.footer-contact-row span,
.footer-contact-row a {
  position: relative;
}

.footer-contact-row span:not(:last-child)::after,
.footer-contact-row a::after {
  content: '';
  position: absolute;
  right: -13px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(38, 40, 34, 0.28);
  transform: translateY(-50%);
}

.footer-bottomline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(38, 40, 34, 0.08);
  color: rgba(55, 57, 49, 0.58);
  font-size: 0.72rem;
  line-height: 1.5;
}

.auth-graphic {
  margin-top: 34px;
  padding: 16px;
  border: 1px solid rgba(38, 40, 34, 0.10);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 28px 70px rgba(32, 33, 29, 0.10);
  overflow: hidden;
}

.auth-graphic img {
  display: block;
  width: 100%;
  border-radius: 22px;
  opacity: 0.94;
}

.service-thumb-mini {
  width: 78px;
  height: 64px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(38, 40, 34, 0.12);
  background: var(--paper-soft);
}

.service-thumb-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-preview-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
}

.access-instructions-card {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(38, 40, 34, 0.10);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
}

.access-instructions-card h3 {
  margin: 0;
  font-size: 1rem;
}

.access-instructions-card textarea,
.request-change-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 112px;
  padding: 15px 16px;
  border: 1px solid rgba(28, 30, 25, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--charcoal);
  font: inherit;
  outline: none;
}

.access-instructions-card textarea:focus,
.request-change-form textarea:focus {
  border-color: rgba(89, 91, 64, 0.55);
  box-shadow: 0 0 0 4px rgba(89, 91, 64, 0.12);
}

.calendar-date.is-available {
  border-color: rgba(96, 101, 73, 0.42);
  background: rgba(255, 255, 255, 0.96);
  color: var(--olive-dark);
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(96, 101, 73, 0.12);
}

.calendar-date.is-available:hover,
.calendar-date.is-available:focus-visible {
  background: rgba(241, 239, 229, 0.98);
}

.review-access-row {
  margin-top: 18px;
}

.project-detail-shell,
.confirmation-shell {
  padding: 70px 0 90px;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.project-detail-card,
.confirmation-card {
  padding: 28px;
  border: 1px solid rgba(38, 40, 34, 0.10);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 24px 60px rgba(32, 33, 29, 0.08);
}

.download-list,
.disclaimer-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.download-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(38, 40, 34, 0.10);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
}

.download-row strong,
.download-row small {
  display: block;
}

.download-row small,
.disclaimer-card p {
  color: var(--muted);
  line-height: 1.65;
}

.disclaimer-card {
  padding: 18px;
  border: 1px solid rgba(38, 40, 34, 0.10);
  border-radius: 20px;
  background: rgba(244, 240, 231, 0.72);
}

.disclaimer-card h3 {
  margin-bottom: 8px;
  font-size: 0.96rem;
}

.disclaimer-card p {
  margin: 0;
  font-size: 0.78rem;
}

.request-change-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.confirmation-card {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.confirmation-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--white);
  font-size: 2rem;
}

.confirmation-next {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
  text-align: left;
}

.confirmation-next div {
  padding: 18px;
  border: 1px solid rgba(38, 40, 34, 0.10);
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
}

.confirmation-next strong,
.confirmation-next small {
  display: block;
}

.confirmation-next small {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .footer-topline,
  .project-detail-grid,
  .confirmation-next {
    grid-template-columns: 1fr;
  }

  .footer-contact-row {
    display: grid;
  }

  .footer-contact-row span::after,
  .footer-contact-row a::after {
    display: none;
  }
}

.confirmation-actions { justify-content: center; }

.progress-track [data-progress-fill] { width: 0%; }
.service-row-card:has(.service-thumb-mini) {
  grid-template-columns: auto minmax(0, 1fr) auto;
}
@media (max-width: 760px) {
  .service-row-card:has(.service-thumb-mini) {
    grid-template-columns: auto 1fr;
  }
  .service-row-card:has(.service-thumb-mini) .service-row-price {
    grid-column: 1 / -1;
  }
}

/* Final approval refinements | Version: 4.5.0 */
.footer-refined {
  gap: 34px;
}

.footer-identity-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1fr);
  gap: 46px;
  align-items: center;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(38, 40, 34, 0.10);
}

.footer-identity-row p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(160px, 0.7fr) minmax(260px, 1fr);
  gap: 28px;
  align-items: start;
}

.footer-contact-item {
  display: grid;
  gap: 7px;
  padding-top: 4px;
}

.footer-contact-item span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-contact-item a,
.footer-contact-item address {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-style: normal;
  font-weight: 650;
  line-height: 1.62;
}

.footer-bottomline-small {
  padding-top: 14px;
  color: rgba(55, 57, 49, 0.50);
  font-size: 0.72rem;
  font-weight: 500;
}

.footer-contact-row,
.footer-topline {
  display: none;
}

.cancel-button {
  border-color: rgba(120, 48, 40, 0.20);
  color: #783028;
  background: rgba(120, 48, 40, 0.045);
}

.appointment-tools {
  gap: 8px;
}

.disclaimer-detail-card {
  margin-top: 6px;
  background: rgba(255,255,255,0.48);
  box-shadow: none;
}

.disclaimer-list-compact {
  gap: 8px;
}

.disclaimer-card-compact {
  padding: 14px 16px;
  background: rgba(255,255,255,0.48);
  border-color: rgba(38, 40, 34, 0.08);
}

.disclaimer-card-compact h3 {
  color: rgba(38, 40, 34, 0.72);
  font-size: 0.82rem;
}

.disclaimer-card-compact p {
  color: rgba(76, 79, 68, 0.72);
  font-size: 0.68rem;
  line-height: 1.6;
}

.invoice-view-button {
  margin-top: 18px;
}

.calendar-date.is-available {
  border-color: rgba(96, 101, 73, 0.38);
  background: rgba(236, 241, 218, 0.82);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.42);
}

.calendar-date.is-available:hover,
.calendar-date.is-available:focus-visible {
  background: rgba(224, 235, 191, 0.95);
  border-color: rgba(96, 101, 73, 0.72);
}

.calendar-date.is-selected,
.calendar-date.is-available.is-selected {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(32, 33, 29, 0.18);
}

.legend-dot.available {
  background: rgba(159, 181, 92, 0.90);
  box-shadow: inset 0 0 0 1px rgba(96, 101, 73, 0.34);
}

.reschedule-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.reschedule-summary-card {
  display: grid;
  gap: 6px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid rgba(38, 40, 34, 0.10);
  border-radius: 22px;
  background: rgba(255,255,255,0.62);
}

.reschedule-summary-card span,
.reschedule-summary-card small {
  color: var(--muted);
}

.reschedule-summary-card strong {
  color: var(--ink);
  line-height: 1.35;
}

.reschedule-actions {
  margin-top: 22px;
}

.invoice-shell .wrap {
  max-width: 980px;
}

.invoice-page-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.invoice-page-header h1 {
  margin: 4px 0 8px;
  font-size: clamp(2.1rem, 5vw, 4rem);
  letter-spacing: -0.075em;
}

.invoice-page-header p {
  margin: 0;
  color: var(--muted);
}

.invoice-card {
  padding: 34px;
  border: 1px solid rgba(38, 40, 34, 0.10);
  border-radius: 34px;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 30px 70px rgba(32, 33, 29, 0.10);
}

.invoice-brand-row,
.invoice-line,
.invoice-total-box {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.invoice-status {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.invoice-status.paid {
  background: rgba(96, 101, 73, 0.14);
  color: var(--olive);
}

.invoice-meta-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 32px 0;
}

.invoice-meta-grid div,
.invoice-bill-grid > div {
  padding: 16px;
  border: 1px solid rgba(38, 40, 34, 0.08);
  border-radius: 20px;
  background: rgba(250, 248, 241, 0.72);
}

.invoice-meta-grid span,
.invoice-line small,
.invoice-total-box small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.invoice-bill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 26px;
}

.invoice-bill-grid h2 {
  margin: 4px 0 8px;
  font-size: 1.15rem;
}

.invoice-bill-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.invoice-line {
  padding: 16px 0;
  border-bottom: 1px solid rgba(38, 40, 34, 0.09);
}

.invoice-line-heading {
  padding-bottom: 10px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.invoice-line em {
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

.invoice-total-box {
  margin-top: 28px;
  padding: 22px;
  border-radius: 24px;
  background: var(--charcoal);
  color: var(--white);
}

.invoice-total-box strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.invoice-total-box small,
.invoice-total-box span {
  color: rgba(255,255,255,0.68);
}

@media (max-width: 860px) {
  .footer-identity-row,
  .footer-contact-grid,
  .reschedule-layout,
  .invoice-bill-grid,
  .invoice-meta-grid {
    grid-template-columns: 1fr;
  }

  .invoice-page-header,
  .invoice-brand-row,
  .invoice-total-box {
    align-items: start;
    flex-direction: column;
  }
}

.footer-bottomline.footer-bottomline-small {
  box-shadow: none;
  font-size: 0.72rem;
}


/* Final design review refinements | Version: 4.5.0 */
.footer-contact-grid {
  gap: 18px 36px;
  padding-top: 2px;
}

.footer-contact-item {
  position: relative;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

.footer-contact-item::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--olive);
  box-shadow: 0 0 0 7px rgba(96, 101, 73, 0.10);
}

.footer-contact-item span,
.footer-contact-item a,
.footer-contact-item address {
  grid-column: 2;
}

.footer-contact-item a,
.footer-contact-item address {
  font-size: 1.02rem;
}

.reschedule-layout {
  grid-template-columns: 1fr;
  max-width: 1180px;
}

.reschedule-layout .booking-intro {
  position: relative;
  top: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 24px;
  align-items: end;
  padding: 0;
}

.reschedule-layout .booking-intro h1 {
  max-width: 780px;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.reschedule-layout .booking-intro > p {
  max-width: 620px;
}

.reschedule-summary-card {
  margin-top: 0;
  align-self: end;
}

.reschedule-card {
  width: 100%;
  padding: clamp(24px, 4vw, 42px);
}

.reschedule-card .calendar-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
}

.reschedule-card .schedule-overview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.reschedule-card .calendar-panel,
.reschedule-card .times-panel {
  min-height: 420px;
}

.reschedule-card .time-slot-list {
  gap: 12px;
}

.reschedule-card .time-slot {
  min-height: 58px;
}

.invoice-bill-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.invoice-meta-grid strong small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.35;
}

.project-detail-card .eyebrow {
  letter-spacing: 0.14em;
}

@media (max-width: 1040px) {
  .reschedule-layout .booking-intro,
  .reschedule-card .calendar-layout,
  .reschedule-card .schedule-overview,
  .invoice-bill-grid-three {
    grid-template-columns: 1fr;
  }

  .reschedule-card .calendar-panel,
  .reschedule-card .times-panel {
    min-height: auto;
  }
}


/* Final reschedule and invoice polish | Version: 4.5.0 */
.reschedule-shell {
  padding-top: 76px;
}

.reschedule-page {
  max-width: 1040px;
}

.reschedule-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.reschedule-hero-card h1 {
  max-width: 640px;
  margin: 8px 0 16px;
  font-size: clamp(2.55rem, 5.4vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.085em;
}

.reschedule-hero-card > div:first-child > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.reschedule-page .reschedule-summary-card {
  max-width: 420px;
  margin-left: auto;
  background: rgba(255,255,255,0.76);
  box-shadow: 0 16px 40px rgba(32, 33, 29, 0.06);
}

.reschedule-page .reschedule-card {
  padding: clamp(26px, 3.6vw, 40px);
}

.reschedule-page .schedule-overview {
  margin-top: 0;
}

.reschedule-page .calendar-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 22px;
}

.reschedule-page .calendar-panel,
.reschedule-page .times-panel {
  min-height: 0;
}

.reschedule-page .calendar-panel {
  padding: 24px;
}

.reschedule-page .times-panel {
  padding: 24px;
}

.reschedule-page .time-slot-list {
  gap: 12px;
}

.reschedule-page .booking-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reschedule-page .booking-actions .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .reschedule-hero-card,
  .reschedule-page .calendar-layout,
  .reschedule-page .schedule-overview {
    grid-template-columns: 1fr;
  }

  .reschedule-page .reschedule-summary-card {
    margin-left: 0;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .reschedule-page .booking-actions,
  .reschedule-page .time-slot-list {
    grid-template-columns: 1fr;
  }
}

.invoice-shell-refined .wrap {
  max-width: 1040px;
}

.invoice-card-polished {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: rgba(255,255,255,0.86);
}

.invoice-top-band {
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(96, 101, 73, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(250,248,241,0.96), rgba(255,255,255,0.92));
  border-bottom: 1px solid rgba(38, 40, 34, 0.09);
}

.invoice-brand-row-polished {
  margin-bottom: 30px;
}

.invoice-title-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.invoice-title-row span,
.invoice-info-strip span,
.invoice-summary-row span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.invoice-title-row strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.075em;
}

.invoice-title-row div:last-child {
  text-align: right;
}

.invoice-info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(38, 40, 34, 0.08);
  border-bottom: 1px solid rgba(38, 40, 34, 0.09);
}

.invoice-info-strip > div {
  padding: 18px 34px;
  background: rgba(255,255,255,0.72);
}

.invoice-info-strip strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 1rem;
}

.invoice-bill-grid-polished {
  margin: 28px 34px 28px;
}

.invoice-bill-grid-polished > div {
  background: rgba(250, 248, 241, 0.74);
}

.invoice-line-list-polished {
  margin: 0 34px;
  border: 1px solid rgba(38, 40, 34, 0.08);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,0.76);
}

.invoice-line-list-polished .invoice-line {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(38, 40, 34, 0.08);
}

.invoice-line-list-polished .invoice-line:last-child {
  border-bottom: none;
}

.invoice-line-list-polished .invoice-line-heading {
  background: rgba(250, 248, 241, 0.95);
}

.invoice-summary-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 22px;
  align-items: center;
  max-width: 420px;
  margin: 28px 34px 34px auto;
  padding: 24px;
  border-radius: 24px;
  background: var(--charcoal);
  color: var(--white);
}

.invoice-summary-row span {
  color: rgba(255,255,255,0.62);
}

.invoice-summary-row strong {
  color: var(--white);
  text-align: right;
}

.invoice-summary-row span:last-of-type,
.invoice-summary-row span:last-of-type + strong {
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.16);
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

@media (max-width: 820px) {
  .invoice-title-row,
  .invoice-info-strip,
  .invoice-bill-grid-polished {
    grid-template-columns: 1fr;
  }

  .invoice-title-row div:last-child {
    text-align: left;
  }

  .invoice-summary-row {
    margin-left: 34px;
  }
}

/* Final invoice/profile/booking refinements | Version: 4.5.0 */
.invoice-header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.invoice-brand {
  gap: 16px;
}

.invoice-logo-box {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(38, 40, 34, 0.10);
  box-shadow: 0 12px 30px rgba(32, 33, 29, 0.08);
  flex: 0 0 auto;
}

.invoice-logo-box .brand-mark {
  width: 34px;
  height: 34px;
}

.invoice-bill-grid-polished > div {
  min-height: 198px;
  padding: 22px;
}

.invoice-bill-grid-polished p {
  line-height: 1.7;
}

.brand-checkbox-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(38, 40, 34, 0.12);
  border-radius: 20px;
  background: rgba(250, 248, 241, 0.78);
  color: var(--ink);
}

.brand-checkbox-card input {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  accent-color: var(--olive-dark);
}

.brand-checkbox-card strong,
.brand-checkbox-card small {
  display: block;
}

.brand-checkbox-card strong {
  margin-bottom: 5px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand-checkbox-card small {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .invoice-header-actions {
    justify-content: flex-start;
  }

  .invoice-bill-grid-polished > div {
    min-height: auto;
  }
}


/* Print-friendly invoice redesign | Version: 4.5.0 */
.invoice-card.invoice-print-card {
  padding: 34px;
  background: #fff;
  border: 1px solid rgba(20, 22, 18, 0.16);
  box-shadow: 0 18px 50px rgba(20, 22, 18, 0.06);
  color: #111;
}

.invoice-print-card .eyebrow,
.invoice-print-meta span,
.invoice-project-location span,
.invoice-print-from span,
.invoice-print-summary span,
.invoice-print-line small,
.invoice-print-meta small,
.invoice-project-location small,
.invoice-print-from small {
  display: block;
  color: #555;
  font-size: 0.72rem;
  line-height: 1.35;
}

.invoice-print-header,
.invoice-print-line,
.invoice-print-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.invoice-print-header {
  padding-bottom: 18px;
  border-bottom: 2px solid #111;
}

.invoice-print-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.invoice-print-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.15);
  flex: 0 0 auto;
}

.invoice-print-brand h2 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.invoice-print-brand p,
.invoice-print-note {
  margin: 3px 0 0;
  color: #555;
  font-size: 0.74rem;
}

.invoice-print-status {
  padding: 6px 14px;
  border: 1px solid #111;
  border-radius: 999px;
  color: #111;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.invoice-print-meta {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.9fr;
  gap: 12px;
  margin-top: 18px;
}

.invoice-print-meta > div,
.invoice-project-location,
.invoice-print-from {
  border: 1px solid #d8d5ca;
  border-radius: 14px;
  padding: 13px 14px;
  background: #fff;
}

.invoice-print-meta strong,
.invoice-project-location strong,
.invoice-print-from strong {
  display: block;
  margin-top: 4px;
  font-size: 0.96rem;
  line-height: 1.18;
}

.invoice-print-meta small,
.invoice-project-location small,
.invoice-print-from small {
  margin-top: 6px;
}

.invoice-project-location {
  margin-top: 14px;
}

.invoice-project-location strong {
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.invoice-project-location small {
  font-size: 0.84rem;
}

.invoice-print-from {
  margin-top: 12px;
}

.invoice-print-lines {
  margin-top: 22px;
  border: 1px solid #111;
  border-radius: 14px;
  overflow: hidden;
}

.invoice-print-line {
  padding: 10px 16px;
  border-bottom: 1px solid #d8d5ca;
}

.invoice-print-line:last-child {
  border-bottom: 0;
}

.invoice-print-line-head {
  background: #f6f6f3;
  color: #111;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.invoice-print-line strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.18;
}

.invoice-print-line em {
  color: #111;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.invoice-print-summary {
  width: min(340px, 100%);
  margin: 18px 0 0 auto;
  border-top: 2px solid #111;
  padding-top: 8px;
}

.invoice-print-summary > div {
  padding: 4px 0;
}

.invoice-print-summary strong {
  font-size: 0.92rem;
}

.invoice-print-summary .invoice-print-grand {
  margin-top: 5px;
  padding-top: 9px;
  border-top: 1px solid #111;
}

.invoice-print-summary .invoice-print-grand span,
.invoice-print-summary .invoice-print-grand strong {
  color: #111;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.invoice-payment-record span,
.invoice-payment-record strong {
  font-size: 0.82rem;
  color: #444;
}

.invoice-print-note {
  margin-top: 24px;
  padding-top: 10px;
  border-top: 1px solid #d8d5ca;
}

@media (max-width: 820px) {
  .invoice-card.invoice-print-card {
    padding: 24px;
  }

  .invoice-print-header {
    flex-direction: column;
  }

  .invoice-print-meta {
    grid-template-columns: 1fr;
  }
}


/* Invoice header refinement | Version: 4.5.0 */
.invoice-print-header {
  align-items: flex-start;
}

.invoice-print-brand {
  align-items: flex-start;
  gap: 13px;
}

.invoice-print-brand img {
  width: 44px;
  height: 44px;
  margin-top: 1px;
}

.invoice-print-brand h2 {
  padding-top: 1px;
}

.invoice-company-block {
  text-align: right;
  color: #333;
  font-size: 0.72rem;
  line-height: 1.42;
}

.invoice-company-block strong,
.invoice-company-block span {
  display: block;
}

.invoice-company-block strong {
  color: #111;
  font-size: 0.84rem;
  line-height: 1.25;
  margin-bottom: 3px;
}

.invoice-print-from {
  display: none;
}

@media (max-width: 820px) {
  .invoice-company-block {
    text-align: left;
  }
}


/* Invoice paid status refinement | Version: 4.5.0 */
.invoice-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.invoice-status-paid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 8px 18px;
  border: 2px solid #111;
  border-radius: 999px;
  color: #111;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .invoice-header-right {
    align-items: flex-start;
  }
}


/* Invoice restraint correction | Version: 4.5.0 */
.invoice-print-header {
  align-items: flex-start;
  gap: 28px;
}

.invoice-header-right {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 18px;
}

.invoice-status-paid {
  min-width: 0;
  padding: 7px 13px;
  border: 1.5px solid #111;
  border-radius: 4px;
  background: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}

.invoice-print-brand {
  align-items: center;
}

.invoice-print-brand img {
  width: 42px;
  height: 42px;
  margin-top: 0;
}

.invoice-print-brand h2 {
  padding-top: 0;
}

@media (max-width: 820px) {
  .invoice-header-right {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Clean invoice rebuild | Version: 4.5.0 */
.invoice-clean-card {
  padding: 46px;
  background: #fff;
  border: 1px solid rgba(20, 22, 18, 0.15);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(20, 22, 18, 0.06);
  color: #111;
}

.invoice-clean-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid #111;
}

.invoice-clean-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.invoice-clean-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
  flex: 0 0 auto;
}

.invoice-clean-brand h2 {
  margin: 0;
  color: #111;
  font-size: 1.48rem;
  line-height: 1;
  letter-spacing: -0.035em;
}

.invoice-clean-brand p {
  margin: 5px 0 0;
  color: #555;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.invoice-clean-company {
  display: grid;
  justify-items: end;
  gap: 2px;
  color: #444;
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: right;
}

.invoice-clean-company strong {
  color: #111;
  font-size: 0.95rem;
}

.invoice-clean-company em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 6px 14px;
  border: 1.5px solid #111;
  border-radius: 999px;
  color: #111;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.invoice-clean-meta {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.9fr;
  border: 1px solid #cfcfc9;
  border-top: 0;
}

.invoice-clean-meta > div {
  min-height: 118px;
  padding: 19px 20px;
  border-right: 1px solid #cfcfc9;
}

.invoice-clean-meta > div:last-child {
  border-right: 0;
}

.invoice-clean-meta span,
.invoice-clean-project span,
.invoice-clean-summary span,
.invoice-clean-lines small {
  display: block;
  color: #555;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.invoice-clean-meta strong,
.invoice-clean-project strong {
  display: block;
  margin-top: 8px;
  color: #111;
  font-size: 1.08rem;
  line-height: 1.15;
}

.invoice-clean-meta small,
.invoice-clean-project small {
  display: block;
  margin-top: 8px;
  color: #444;
  font-size: 0.88rem;
  line-height: 1.38;
}

.invoice-clean-project {
  margin-top: 20px;
  padding: 20px 22px;
  border: 1px solid #cfcfc9;
}

.invoice-clean-project strong {
  margin-top: 4px;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.invoice-clean-project small {
  margin-top: 3px;
  font-size: 1rem;
}

.invoice-clean-lines {
  margin-top: 24px;
  border: 1px solid #111;
}

.invoice-clean-line {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 18px;
  border-bottom: 1px solid #d7d7d0;
}

.invoice-clean-line:last-child {
  border-bottom: 0;
}

.invoice-clean-line-head {
  background: #fafafa;
  color: #111;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.invoice-clean-line strong {
  display: block;
  color: #111;
  font-size: 0.98rem;
  line-height: 1.2;
}

.invoice-clean-line small {
  margin-top: 3px;
  color: #444;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.invoice-clean-line em {
  color: #111;
  font-style: normal;
  font-size: 0.96rem;
  font-weight: 800;
  white-space: nowrap;
}

.invoice-clean-summary {
  width: min(390px, 100%);
  margin: 24px 0 0 auto;
  border-top: 2px solid #111;
  padding-top: 10px;
}

.invoice-clean-summary > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 0;
}

.invoice-clean-summary strong {
  color: #111;
  font-size: 0.98rem;
}

.invoice-clean-grand {
  margin-top: 4px;
  padding-top: 11px !important;
  border-top: 1px solid #111;
}

.invoice-clean-grand span,
.invoice-clean-grand strong {
  color: #111;
  font-size: 1.32rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.invoice-clean-note {
  margin: 32px 0 0;
  padding-top: 13px;
  border-top: 1px solid #d7d7d0;
  color: #555;
  font-size: 0.82rem;
}

@media (max-width: 820px) {
  .invoice-clean-card {
    padding: 26px;
  }

  .invoice-clean-header,
  .invoice-clean-brand {
    align-items: flex-start;
  }

  .invoice-clean-header,
  .invoice-clean-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .invoice-clean-company {
    justify-items: start;
    text-align: left;
  }

  .invoice-clean-meta > div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #cfcfc9;
  }

  .invoice-clean-meta > div:last-child {
    border-bottom: 0;
  }

  .invoice-clean-project strong {
    font-size: 1.25rem;
  }
}

/* Admin Console
   Version: 5.0.0 */
.admin-body {
  background: linear-gradient(180deg, #fffdf8 0%, #f4f0e7 100%);
}

.admin-body::after {
  opacity: 0.08;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 110;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.admin-topbar-inner {
  width: min(1380px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.admin-brand {
  flex: 0 0 auto;
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
}

.admin-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.admin-nav a.is-active,
.admin-nav a:hover {
  color: var(--ink);
  background: rgba(144, 144, 119, 0.16);
}

.admin-shell {
  width: min(1380px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 96px;
}

.admin-hero,
.admin-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.admin-hero h1,
.admin-page-head h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.admin-hero p:not(.eyebrow),
.admin-page-head p:not(.eyebrow) {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.admin-hero-actions,
.admin-row-actions,
.admin-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.admin-metric-card,
.admin-panel {
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.admin-metric-card {
  padding: 22px;
}

.admin-metric-card span,
.admin-metric-card small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-metric-card strong {
  display: block;
  margin: 6px 0 4px;
  font-size: 2.45rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.admin-grid-main {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 22px;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.7fr);
  gap: 22px;
  margin-bottom: 22px;
}

.admin-panel {
  padding: 28px;
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-panel-head h2,
.admin-panel h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.045em;
}

.admin-panel-head a {
  color: var(--olive-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

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

.admin-list-spacious {
  gap: 18px;
}

.admin-appointment-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
}

.admin-appointment-row h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  letter-spacing: -0.025em;
}

.admin-appointment-row p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-datebox {
  width: 64px;
  min-height: 66px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(144, 144, 119, 0.16);
  border: 1px solid rgba(144, 144, 119, 0.24);
}

.admin-datebox strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.admin-datebox span {
  display: block;
  margin-top: -8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.admin-badges span,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(144, 144, 119, 0.14);
  color: var(--olive-dark);
}

.status-progress { background: rgba(144, 144, 119, 0.18); color: var(--olive-dark); }
.status-waiting { background: rgba(184, 156, 101, 0.18); color: #806532; }
.status-review { background: rgba(16, 19, 15, 0.10); color: var(--charcoal); }

.btn-danger {
  color: #7d2d22;
  background: rgba(125, 45, 34, 0.08);
  border-color: rgba(125, 45, 34, 0.18);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.admin-table th,
.admin-table td {
  padding: 16px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table td {
  font-size: 0.92rem;
}

.admin-table td > span,
.admin-table td strong + span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 3px;
}

.admin-table td a:not(.btn) {
  color: var(--olive-dark);
  font-weight: 700;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  margin-bottom: 18px;
}

.admin-toolbar input,
.admin-toolbar select,
.admin-select,
.admin-form-grid input,
.admin-form-stack input,
.admin-form-stack select,
.admin-form-stack textarea,
.admin-deliverable-row input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  font: inherit;
  color: var(--ink);
}

.admin-toolbar select,
.admin-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 12px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.admin-select-wrap {
  display: grid;
  gap: 8px;
}

.admin-select-wrap span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.admin-form-grid label,
.admin-form-stack label,
.admin-deliverable-row,
.admin-check {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-full {
  grid-column: 1 / -1;
}

.admin-form-stack {
  display: grid;
  gap: 16px;
}

.admin-form-actions {
  margin-top: 20px;
}

.admin-deliverable-list {
  display: grid;
  gap: 14px;
}

.admin-deliverable-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.admin-deliverable-row strong,
.admin-deliverable-row small {
  display: block;
  text-transform: none;
  letter-spacing: normal;
}

.admin-deliverable-row strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.admin-deliverable-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.admin-note {
  color: var(--muted);
  margin: 0;
}

.admin-logo-preview {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
}

.admin-logo-preview img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: grayscale(1);
}

.admin-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  font-size: 0.92rem;
}

.admin-check input {
  margin-top: 4px;
}

@media (max-width: 980px) {
  .admin-topbar-inner,
  .admin-hero,
  .admin-page-head,
  .admin-appointment-row {
    align-items: stretch;
  }
  .admin-topbar-inner,
  .admin-hero,
  .admin-page-head {
    flex-direction: column;
  }
  .admin-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: 0;
    border-radius: 22px;
  }
  .admin-metrics,
  .admin-grid-main,
  .admin-detail-grid {
    grid-template-columns: 1fr;
  }
  .admin-appointment-row,
  .admin-deliverable-row,
  .admin-toolbar,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
}


/* Admin badge refinement | Version: 5.0.0 */
.admin-badges {
  align-items: flex-start;
  gap: 8px;
}

.admin-badges span {
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid rgba(144, 144, 119, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--olive-dark);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pill {
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.status-progress {
  background: rgba(144, 144, 119, 0.16);
  border-color: rgba(144, 144, 119, 0.28);
  color: var(--olive-dark);
}

.status-waiting {
  background: rgba(184, 156, 101, 0.14);
  border-color: rgba(184, 156, 101, 0.28);
  color: #775f2d;
}

.status-review {
  background: rgba(16, 19, 15, 0.075);
  border-color: rgba(16, 19, 15, 0.14);
  color: var(--charcoal);
}

.admin-table .admin-badges {
  max-width: 260px;
}

@media (max-width: 760px) {
  .admin-badges span,
  .status-pill {
    white-space: normal;
  }
}

/* Admin workflow refinements | Version: 5.0.0 */
.admin-dashboard-project-table {
  min-width: 520px;
}

.admin-dashboard-project-table th:nth-child(2),
.admin-dashboard-project-table td:nth-child(2) {
  width: 160px;
}

.admin-badge-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid rgba(144, 144, 119, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--olive-dark);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-badge-pill-waiting,
.status-waiting {
  background: rgba(184, 156, 101, 0.12);
  border-color: rgba(184, 156, 101, 0.24);
  color: #775f2d;
}

.admin-badge-pill-review,
.status-review {
  background: rgba(16, 19, 15, 0.06);
  border-color: rgba(16, 19, 15, 0.14);
  color: var(--charcoal);
}

.admin-table .status-pill,
.admin-table .admin-badge-pill {
  font-size: 0.66rem;
}

.admin-row-actions-stack {
  justify-content: flex-end;
}

.admin-detail-grid-wide {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.55fr);
}

.admin-feed-panel {
  margin-top: 22px;
}

.admin-feed-list {
  display: grid;
  gap: 14px;
}

.admin-feed-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.admin-feed-item.is-client-request {
  border-color: rgba(184, 156, 101, 0.42);
  background: rgba(255, 248, 232, 0.84);
  box-shadow: 0 16px 36px rgba(184, 156, 101, 0.12);
}

.admin-feed-item div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.admin-feed-item strong {
  color: var(--ink);
}

.admin-feed-item span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.admin-feed-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.admin-feed-composer {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-feed-composer textarea {
  width: 100%;
  min-height: 118px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  font: inherit;
  color: var(--ink);
  text-transform: none;
  letter-spacing: normal;
}

.admin-form-actions-stacked {
  display: grid;
  gap: 10px;
}

.admin-toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 300;
  max-width: 380px;
  padding: 18px 20px;
  border: 1px solid rgba(125, 45, 34, 0.18);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 22px 60px rgba(29, 32, 26, 0.16);
}

.admin-toast strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.admin-toast p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.admin-reschedule-panel {
  padding: 34px;
}

.admin-reschedule-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.admin-reschedule-summary article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.admin-reschedule-summary span,
.admin-reschedule-summary small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-reschedule-summary strong {
  display: block;
  margin: 6px 0 3px;
  color: var(--ink);
}

.admin-reschedule-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
  gap: 22px;
}

.admin-reschedule-actions {
  margin-top: 22px;
}

.work-order-preview {
  display: grid;
  gap: 24px;
}

.work-order-header,
.work-order-grid,
.work-order-services,
.work-order-notes {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.work-order-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

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

.work-order-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
}

.work-order-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-order-grid strong {
  color: var(--ink);
}

.work-order-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.work-order-services h3,
.work-order-notes h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.work-order-notes {
  border-bottom: 0;
}

.work-order-notes div {
  min-height: 46px;
  border-bottom: 1px solid rgba(28, 30, 25, 0.18);
}

.brand-addon-card img {
  padding: 12px;
  background: rgba(255, 255, 255, 0.82);
  object-fit: contain;
}

@media (max-width: 980px) {
  .admin-reschedule-summary,
  .admin-reschedule-grid,
  .work-order-grid,
  .admin-detail-grid-wide {
    grid-template-columns: 1fr;
  }
}


/* Admin table and badge refinements | Version: 5.0.0 */
.admin-table-large {
  min-width: 980px;
}

.admin-table-large th:nth-child(1),
.admin-table-large td:nth-child(1) {
  width: 28%;
}

.admin-table-large th:nth-child(2),
.admin-table-large td:nth-child(2) {
  width: 14%;
}

.admin-table-large th:nth-child(3),
.admin-table-large td:nth-child(3) {
  width: 24%;
}

.admin-table-large th:nth-child(4),
.admin-table-large td:nth-child(4) {
  width: 14%;
}

.admin-table-large th:nth-child(5),
.admin-table-large td:nth-child(5) {
  width: 13%;
}

.admin-table-large th:nth-child(6),
.admin-table-large td:nth-child(6) {
  width: 7%;
  text-align: right;
}

.admin-table-large .admin-row-actions {
  justify-content: flex-start;
  gap: 8px;
}

.admin-badges span,
.admin-badge-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 0 10px;
  border: 1px solid rgba(144, 144, 119, 0.24);
  border-radius: 999px;
  background: rgba(144, 144, 119, 0.12);
  color: var(--olive-dark);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-badge-pill-waiting,
.status-waiting {
  background: rgba(184, 156, 101, 0.12);
  border-color: rgba(184, 156, 101, 0.24);
  color: #775f2d;
}

.admin-badge-pill-review,
.status-review {
  background: rgba(16, 19, 15, 0.06);
  border-color: rgba(16, 19, 15, 0.14);
  color: var(--charcoal);
}

.admin-dashboard-project-table .admin-badge-pill,
.admin-table .admin-badge-pill,
.admin-table .status-pill {
  font-size: 0.68rem;
  line-height: 1;
  padding-top: 0;
  padding-bottom: 0;
}


/* Admin cleanup refinements | Version: 5.0.0 */
.admin-table-large {
  min-width: 860px;
}

.admin-table-large th:nth-child(1),
.admin-table-large td:nth-child(1) { width: 31%; }
.admin-table-large th:nth-child(2),
.admin-table-large td:nth-child(2) { width: 15%; }
.admin-table-large th:nth-child(3),
.admin-table-large td:nth-child(3) { width: 30%; }
.admin-table-large th:nth-child(4),
.admin-table-large td:nth-child(4) { width: 14%; }
.admin-table-large th:nth-child(5),
.admin-table-large td:nth-child(5) { width: 10%; text-align: right; }

.admin-badges span,
.admin-badge-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 0 10px;
  border: 1px solid rgba(144, 144, 119, 0.24);
  border-radius: 999px;
  background: rgba(144, 144, 119, 0.12);
  color: var(--olive-dark);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-badge-pill-waiting,
.status-waiting {
  background: rgba(184, 156, 101, 0.12);
  border-color: rgba(184, 156, 101, 0.24);
  color: #775f2d;
}

.admin-badge-pill-review,
.status-review {
  background: rgba(16, 19, 15, 0.06);
  border-color: rgba(16, 19, 15, 0.14);
  color: var(--charcoal);
}

.admin-reference-panel .admin-form-stack {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.admin-reference-stack {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.admin-reference-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.admin-reference-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-reference-card .eyebrow {
  margin: 0;
}

.admin-reference-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

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


/* Admin pill alignment fix | Version: 5.1.0
   Fixes inherited table span styles that were forcing status/branding pills to align text at the top. */
.admin-table td > .admin-badge-pill,
.admin-table td > .status-pill,
.admin-dashboard-project-table td > .admin-badge-pill,
.admin-dashboard-project-table td > .status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 0 10px;
  margin-top: 0;
  border: 1px solid rgba(144, 144, 119, 0.24);
  border-radius: 999px;
  background: rgba(144, 144, 119, 0.12);
  color: var(--olive-dark);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
}

.admin-table td > .admin-badge-pill-waiting,
.admin-table td > .status-waiting,
.admin-dashboard-project-table td > .admin-badge-pill-waiting,
.admin-dashboard-project-table td > .status-waiting {
  background: rgba(184, 156, 101, 0.12);
  border-color: rgba(184, 156, 101, 0.24);
  color: #775f2d;
}

.admin-table td > .admin-badge-pill-review,
.admin-table td > .status-review,
.admin-dashboard-project-table td > .admin-badge-pill-review,
.admin-dashboard-project-table td > .status-review {
  background: rgba(16, 19, 15, 0.06);
  border-color: rgba(16, 19, 15, 0.14);
  color: var(--charcoal);
}

/* Phase 2 Authentication
   Version: 2.0.0 */
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  margin-top: 8px;
  padding: 15px 16px;
  border: 1px solid rgba(28, 30, 25, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--charcoal);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.logout-form {
  margin: 0;
}

.flash-stack {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.flash-message {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.88);
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 600;
}

.flash-success {
  border-color: rgba(104, 107, 82, 0.30);
  background: rgba(144, 144, 119, 0.14);
}

.flash-error {
  border-color: rgba(132, 54, 43, 0.30);
  background: rgba(132, 54, 43, 0.08);
}

.flash-notice {
  border-color: rgba(184, 156, 101, 0.34);
  background: rgba(184, 156, 101, 0.12);
}

/* Express Floor Plans service admin wizard | Version: 3.1.0-phase3 */
.service-toolbar-filters {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-toolbar-filters .admin-select {
  min-width: 190px;
}

.service-wizard-panel,
.service-edit-panel {
  display: grid;
  gap: 22px;
}


.service-edit-form {
  display: grid;
  gap: 22px;
}

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

.service-step {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-step.is-current,
.service-step.is-complete {
  border-color: rgba(144, 144, 119, 0.34);
  background: rgba(144, 144, 119, 0.14);
  color: var(--olive-dark);
}

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

.service-type-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 156px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}

.service-type-card input {
  position: absolute;
  top: 18px;
  right: 18px;
}

.service-type-card strong {
  color: var(--ink);
  font-size: 1.04rem;
}

.service-type-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.service-type-card:has(input:checked) {
  border-color: rgba(144, 144, 119, 0.48);
  box-shadow: 0 18px 36px rgba(16, 19, 15, 0.08);
}

.service-pricing-card,
.service-review-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
}

.service-pricing-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1rem;
}

.service-tier-list {
  display: grid;
  gap: 12px;
}

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

.service-tier-row label,
.service-pricing-card label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-tier-row input,
.service-pricing-card input,
.admin-form-grid textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  font: inherit;
  color: var(--ink);
}

.admin-form-grid textarea {
  min-height: 132px;
  resize: vertical;
}

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

.service-checkbox-grid .admin-check {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.48);
}

.service-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

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

.service-review-wide {
  grid-column: 1 / -1;
}

.service-review-card span,
.service-review-card strong {
  display: block;
}

.service-review-card span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-review-card strong {
  margin-top: 6px;
  color: var(--ink);
  font-size: 1rem;
}

.service-table .admin-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.service-table .admin-row-actions form {
  margin: 0;
}

@media (max-width: 980px) {
  .service-toolbar-filters,
  .service-type-grid,
  .service-tier-row,
  .service-checkbox-grid,
  .service-review-grid,
  .service-steps {
    grid-template-columns: 1fr;
  }

  .service-toolbar-filters {
    display: grid;
  }
}

/* Phase 3 service wizard control refinements */
.service-type-card {
  padding-right: 74px;
}

.service-type-card input[type="radio"] {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  pointer-events: none;
}

.service-type-card::before,
.service-type-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.service-type-card::before {
  top: 24px;
  right: 24px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
}

.service-type-card::after {
  top: 32px;
  right: 32px;
  width: 10px;
  height: 10px;
  background: transparent;
}

.service-type-card:has(input[type="radio"]:checked)::before {
  border-color: var(--ink);
  background: var(--ink);
}

.service-type-card:has(input[type="radio"]:checked)::after {
  background: var(--paper);
}

.service-type-card:has(input[type="radio"]:focus-visible)::before {
  outline: 3px solid rgba(144, 144, 119, 0.26);
  outline-offset: 3px;
}

.admin-check {
  position: relative;
  padding-left: 36px;
}

.admin-check input[type="checkbox"] {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  pointer-events: none;
}

.admin-check span {
  position: relative;
  display: block;
}

.admin-check span::before,
.admin-check span::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.admin-check span::before {
  left: -36px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
}

.admin-check input[type="checkbox"]:checked + span::before {
  border-color: var(--ink);
  background: var(--ink);
}

.admin-check input[type="checkbox"]:checked + span::after {
  left: -29px;
  top: 50%;
  width: 8px;
  height: 13px;
  transform: translateY(-58%) rotate(45deg);
  border-right: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
}

.admin-check input[type="checkbox"]:focus-visible + span::before {
  outline: 3px solid rgba(144, 144, 119, 0.26);
  outline-offset: 3px;
}

.service-checkbox-grid .admin-check {
  padding: 12px 14px 12px 50px;
}

.service-checkbox-grid .admin-check span::before {
  left: -36px;
}

.service-checkbox-grid .admin-check input[type="checkbox"]:checked + span::after {
  left: -29px;
}

/* Phase 3 service pricing rows | Version: 3.1.1-phase3 */
.service-tier-row {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
}

.service-add-tier {
  justify-self: start;
  margin-top: 14px;
}

.service-remove-tier {
  min-height: 50px;
  align-self: end;
}

.service-remove-tier:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 980px) {
  .service-tier-row {
    grid-template-columns: 1fr;
  }

  .service-remove-tier {
    width: 100%;
  }
}

/* Phase 3 service images | Version: 3.2.0-phase3 */
.service-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-image-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
}

.service-image-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.service-image-card label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-image-card input[type="file"] {
  width: 100%;
  margin-top: 8px;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  font: inherit;
  color: var(--ink);
}

.service-image-preview {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.service-review-images {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.service-review-images img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-list-thumb {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
}

@media (max-width: 980px) {
  .service-image-grid {
    grid-template-columns: 1fr;
  }
}
