.portal-router-shell,
.customer-shell {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  padding: 28px 0 44px;
}
.portal-router-shell,
.customer-shell-narrow {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.portal-router-panel,
.customer-panel {
  width: min(100%, 460px);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  padding: 28px;
  box-shadow: 0 16px 44px rgba(29, 43, 54, 0.08);
}

.portal-router-logo,
.customer-logo {
  width: 172px;
  margin: 0 0 22px;
}

.portal-router-panel h1,
.customer-panel h1 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.portal-router-panel p,
.customer-panel p {
  margin: 0;
  color: var(--text-mid);
  line-height: 1.55;
}

body.customer-portal-page {
  --customer-logo-green: #5ca345;
  --customer-brand: #607854;
  --customer-brand-strong: #35452f;
  --customer-forest: #18301f;
  --customer-forest-soft: #213c29;
  --customer-ink: #293126;
  --customer-muted: #697165;
  --customer-border: #d9dfd4;
  --customer-border-soft: #e7ebe3;
  --customer-paper: #ffffff;
  --customer-canvas: #f6fbf2;
  --customer-warm: #f5f3eb;
  --customer-pale: #eef3ea;
  --customer-blue: #4d7280;
  --customer-amber: #9b6a18;
  --customer-danger: #9b3f32;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: #f6fbf2;
  color: var(--customer-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "kern";
  text-rendering: optimizeLegibility;
}

body.customer-portal-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 86% 4%, rgba(92, 163, 69, 0.12), transparent 28rem),
    linear-gradient(145deg, rgba(245, 243, 235, 0.55), transparent 48%);
}

.customer-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 16px;
  padding:
    max(12px, env(safe-area-inset-top))
    max(14px, env(safe-area-inset-right))
    12px
    max(14px, env(safe-area-inset-left));
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(circle at 100% 0%, rgba(103, 180, 74, 0.17), transparent 18rem),
    var(--customer-forest);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(24, 48, 31, 0.16);
}

.customer-brand-block {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.customer-logo-link {
  flex: 0 0 auto;
  display: block;
  width: 112px;
  border-radius: 13px;
  background: #ffffff;
  padding: 6px 9px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.customer-logo-link img {
  width: 100%;
}

.customer-brand-label {
  min-width: 0;
  display: grid;
  gap: 2px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  line-height: 1.25;
}

.customer-brand-label strong {
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 760;
}

.customer-brand-label span {
  display: none;
}

.customer-nav {
  grid-column: 1 / -1;
  display: flex;
  gap: 6px;
  margin: 0 -4px;
  padding: 1px 4px 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.customer-nav::-webkit-scrollbar {
  display: none;
}

.customer-nav a {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
  font-weight: 690;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.customer-nav-index {
  color: rgba(143, 207, 118, 0.78);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.07em;
}

.customer-nav a:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.customer-nav a[aria-current="page"] {
  border-color: rgba(143, 207, 118, 0.3);
  background: rgba(103, 180, 74, 0.18);
  color: #ffffff;
}

.customer-nav a[aria-current="page"] .customer-nav-index {
  color: #b8e4a6;
}

.customer-sidebar-footer {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.customer-support-card {
  display: none;
}

.customer-sign-out {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  padding: 8px 12px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.customer-sign-out:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.customer-portal-page .customer-shell {
  width: min(100% - 24px, 1280px);
  margin: 0 auto;
  padding: 26px 0 42px;
}

.customer-section-page .customer-shell {
  width: min(100% - 24px, 1080px);
}

.customer-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 87% 22%, rgba(113, 189, 82, 0.22), transparent 15rem),
    linear-gradient(138deg, var(--customer-forest), var(--customer-forest-soft));
  padding: clamp(28px, 6vw, 70px);
  color: #ffffff;
  box-shadow: 0 26px 70px rgba(24, 48, 31, 0.19);
}

.customer-hero::before,
.customer-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.customer-hero::before {
  width: 340px;
  height: 340px;
  right: -150px;
  top: -180px;
}

.customer-hero::after {
  width: 220px;
  height: 220px;
  right: 12%;
  bottom: -170px;
}

.customer-hero-copy {
  max-width: 760px;
}

.customer-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--customer-brand);
  font-size: 0.73rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.customer-hero .customer-eyebrow {
  color: #bde3ad;
}

.customer-hero .customer-eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--customer-logo-green);
  box-shadow: 0 0 0 5px rgba(103, 180, 74, 0.15);
}

.customer-hero h1 {
  max-width: 760px;
  margin: 16px 0 20px;
  color: #ffffff;
  font-size: clamp(2.55rem, 7vw, 5.2rem);
  font-weight: 760;
  letter-spacing: -0.058em;
  line-height: 0.96;
  text-wrap: balance;
}

.customer-hero-copy > p:not(.customer-eyebrow) {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
}

.customer-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.customer-primary-action,
.customer-secondary-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 13px;
  padding: 12px 17px;
  font-size: 0.92rem;
  font-weight: 780;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.customer-primary-action {
  background: #ffffff;
  color: var(--customer-forest);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.customer-primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.customer-secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.27);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.customer-secondary-action:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-2px);
}

.customer-hero-assurance {
  display: grid;
  align-content: center;
  gap: 8px;
}

.customer-hero-assurance > div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 15px 0 7px;
}

.customer-hero-assurance > div:first-child {
  border-top: 0;
}

.customer-hero-assurance > div > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(143, 207, 118, 0.13);
  color: #bde3ad;
  font-size: 0.7rem;
  font-weight: 850;
}

.customer-hero-assurance p {
  display: grid;
  gap: 3px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.45;
}

.customer-hero-assurance strong {
  color: #ffffff;
  font-size: 0.9rem;
}

.customer-dashboard-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 42px 4px 18px;
}

.customer-dashboard-intro h2 {
  margin: 6px 0 6px;
  color: var(--customer-brand-strong);
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  font-weight: 760;
  letter-spacing: -0.038em;
  line-height: 1.05;
}

.customer-dashboard-intro > div > p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--customer-muted);
  line-height: 1.6;
}

.customer-private-state {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  border: 1px solid #cfd9ca;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 8px 12px;
  color: var(--customer-brand-strong);
  font-size: 0.78rem;
  font-weight: 760;
  white-space: nowrap;
}

.customer-private-state span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--customer-logo-green);
  box-shadow: 0 0 0 4px rgba(92, 163, 69, 0.12);
}

.customer-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0 0 34px;
}

.customer-dashboard-panel {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--customer-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 14px 38px rgba(48, 60, 43, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.customer-dashboard-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--customer-logo-green), var(--customer-brand));
  opacity: 0.68;
}

.customer-dashboard-panel:not(.customer-appointments-panel):hover {
  transform: translateY(-3px);
  border-color: #c6d2c0;
  box-shadow: 0 20px 48px rgba(48, 60, 43, 0.11);
}

.customer-appointments-panel {
  border-color: #c9d7c3;
  background:
    linear-gradient(145deg, rgba(238, 243, 234, 0.7), rgba(255, 255, 255, 0.96) 42%);
  box-shadow: 0 20px 54px rgba(48, 60, 43, 0.1);
}

.customer-panel-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 17px;
}

.customer-panel-heading > div {
  min-width: 0;
}

.customer-panel-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #d6dfd1;
  border-radius: 15px;
  background: var(--customer-pale);
  color: var(--customer-brand-strong);
}

.customer-panel-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.customer-card-kicker {
  min-height: 0 !important;
  margin: 0 0 3px !important;
  color: var(--customer-brand) !important;
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  line-height: 1.3 !important;
  text-transform: uppercase;
}

.customer-dashboard-panel h2 {
  margin: 0;
  color: var(--customer-brand-strong);
  font-size: 1.16rem;
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.customer-dashboard-panel > p {
  min-height: 54px;
  margin: 0 0 20px;
  color: var(--customer-muted);
  line-height: 1.58;
}

.customer-appointments-panel > p {
  min-height: 0;
  max-width: 720px;
}

.customer-panel-heading-link {
  flex: 0 0 auto;
  margin-left: auto;
}

.customer-film-reel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(246px, 78%);
  gap: 12px;
  overflow-x: auto;
  margin: 0 -4px;
  padding: 4px 4px 13px;
  scroll-snap-type: x proximity;
  scrollbar-color: #bac8b3 transparent;
  scrollbar-width: thin;
}

.customer-visit-card {
  min-width: 0;
  min-height: 270px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 11px;
  scroll-snap-align: start;
  border: 1px solid var(--customer-border);
  border-top: 4px solid var(--customer-brand);
  border-radius: 18px;
  background: #ffffff;
  padding: 17px;
  box-shadow: 0 11px 28px rgba(48, 60, 43, 0.08);
}

.customer-visit-card.is-completed {
  border-top-color: var(--customer-brand);
}

.customer-visit-card.is-next {
  border-color: #a8c39c;
  border-top-color: var(--customer-logo-green);
  background: #f2f8ee;
  box-shadow: 0 15px 34px rgba(73, 111, 59, 0.14);
}

.customer-visit-card.is-scheduled {
  border-top-color: var(--customer-blue);
  background: #f8fbfc;
}

.customer-visit-card.is-empty {
  min-height: 150px;
  border-top-color: #8b9687;
  background: #fafbf9;
}

.customer-visit-card p {
  min-height: 0;
  margin: 0;
}

.customer-visit-card .customer-visit-label {
  align-self: flex-start;
  border: 1px solid #d4dfcf;
  border-radius: 999px;
  background: var(--customer-pale);
  padding: 5px 9px;
  color: var(--customer-brand-strong);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.customer-visit-card.is-scheduled .customer-visit-label {
  border-color: #d1dfe4;
  background: #eef4f6;
  color: #355966;
}

.customer-visit-card h3 {
  margin: 0;
  color: var(--customer-brand-strong);
  font-size: 1.42rem;
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.customer-visit-meta {
  display: grid;
  gap: 7px;
  margin: 0;
}

.customer-visit-meta div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.customer-visit-meta dt {
  color: #798275;
  font-size: 0.66rem;
  font-weight: 820;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.customer-visit-meta dd {
  min-width: 0;
  margin: 0;
  color: var(--customer-ink);
  font-size: 0.87rem;
  font-weight: 720;
  overflow-wrap: anywhere;
}

.customer-visit-contractors {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.customer-visit-contractors li {
  display: grid;
  gap: 2px;
  border-left: 3px solid var(--customer-logo-green);
  border-radius: 7px;
  background: #f5f8f2;
  padding: 8px 10px;
}

.customer-visit-contractors strong,
.customer-visit-contractors span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.customer-visit-contractors strong {
  color: var(--customer-ink);
  font-size: 0.87rem;
}

.customer-visit-contractors span {
  color: var(--customer-muted);
  font-size: 0.76rem;
}

.customer-visit-card .customer-visit-summary {
  min-height: 0;
  margin: auto 0 0;
  color: var(--customer-muted);
  font-size: 0.83rem;
  line-height: 1.48;
}

.customer-panel-status {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 1px solid var(--customer-border);
  border-radius: 999px;
  background: var(--customer-pale);
  padding: 7px 11px;
  color: var(--customer-brand-strong);
  font-size: 0.8rem;
  font-weight: 760;
}

.customer-section-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin-top: auto;
  border: 1px solid #ccd8c6;
  border-radius: 12px;
  background: var(--customer-pale);
  padding: 9px 13px;
  color: var(--customer-brand-strong);
  font-size: 0.84rem;
  font-weight: 780;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.customer-section-link:hover,
.customer-section-link:focus-visible {
  border-color: #aebfa7;
  background: #e4eee0;
  transform: translateY(-1px);
}

.customer-dashboard-panel .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.customer-page-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 2px 15px;
}

.customer-page-topline > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--customer-brand-strong);
  font-size: 0.82rem;
  font-weight: 760;
  text-decoration: none;
}

.customer-page-topline > a:hover {
  text-decoration: underline;
}

.customer-section-heading {
  position: relative;
  overflow: hidden;
  margin: 0 0 20px;
  border: 1px solid var(--customer-border);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(92, 163, 69, 0.12), transparent 18rem),
    rgba(255, 255, 255, 0.96);
  padding: clamp(23px, 4vw, 44px);
  box-shadow: 0 18px 48px rgba(48, 60, 43, 0.08);
}

.customer-section-heading::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(var(--customer-logo-green), var(--customer-brand));
}

.customer-back-link {
  width: fit-content;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  margin: -8px 0 20px;
  color: var(--customer-brand-strong);
  font-size: 0.82rem;
  font-weight: 760;
  text-decoration: none;
}

.customer-back-link::before {
  content: "←";
  margin-right: 8px;
  font-size: 1rem;
}

.customer-back-link:hover,
.customer-back-link:focus-visible {
  color: #283c23;
  text-decoration: underline;
}

.customer-section-heading-layout {
  display: grid;
  gap: 26px;
}

.customer-section-heading-copy {
  min-width: 0;
}

.customer-section-heading h1 {
  max-width: 740px;
  margin: 8px 0 12px;
  color: var(--customer-brand-strong);
  font-size: clamp(2.2rem, 7vw, 4.7rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.customer-section-heading-copy > p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--customer-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.customer-status-panel {
  align-self: end;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  border: 1px solid #d7e0d2;
  border-radius: 17px;
  background: var(--customer-pale);
  padding: 15px;
}

.customer-status-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  gap: 3px;
  border-radius: 13px;
  background: var(--customer-brand-strong);
}

.customer-status-mark i {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #d9f0cf;
}

.customer-status-panel small {
  display: block;
  margin-bottom: 2px;
  color: var(--customer-brand);
  font-size: 0.65rem;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.customer-section-status {
  margin: 0;
  color: var(--customer-brand-strong);
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.45;
}

.customer-section-status.is-error {
  color: var(--customer-danger);
}

.customer-section-content {
  display: grid;
  gap: 14px;
  min-height: 110px;
  padding-bottom: 30px;
}

.customer-record-list {
  display: grid;
  gap: 14px;
}

.customer-record-list-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.customer-record-card {
  min-width: 0;
  display: grid;
  gap: 14px;
  border: 1px solid var(--customer-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: clamp(19px, 3vw, 27px);
  box-shadow: 0 12px 34px rgba(48, 60, 43, 0.07);
}

.customer-record-card.is-featured-record {
  border-color: #b7cab0;
  background: #f1f7ed;
  box-shadow: 0 17px 40px rgba(73, 111, 59, 0.12);
}

.customer-record-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.customer-record-header h2 {
  margin: 0;
  color: var(--customer-brand-strong);
  font-size: 1.18rem;
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.customer-record-badge {
  flex: 0 0 auto;
  max-width: 48%;
  border: 1px solid #cfdac9;
  border-radius: 999px;
  background: var(--customer-pale);
  padding: 5px 9px;
  color: var(--customer-brand-strong);
  font-size: 0.72rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.customer-record-details {
  display: grid;
  gap: 10px;
  margin: 0;
}

.customer-record-details div {
  display: grid;
  grid-template-columns: minmax(100px, 0.32fr) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  border-top: 1px solid var(--customer-border-soft);
  padding-top: 10px;
}

.customer-record-details div:first-child {
  border-top: 0;
  padding-top: 0;
}

.customer-record-details dt {
  color: #788174;
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.customer-record-details dd {
  min-width: 0;
  margin: 0;
  color: var(--customer-ink);
  font-weight: 690;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.customer-record-card p {
  margin: 0;
  color: var(--customer-muted);
  line-height: 1.58;
}

.customer-empty-state {
  background: #fafbf9;
}

.customer-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

body.customer-portal-page .btn-secondary {
  background: #f2f4f0;
  color: var(--customer-ink);
}

.customer-page-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--customer-border);
  padding: 24px 4px 4px;
}

.customer-page-footer p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.customer-page-footer strong {
  color: var(--customer-brand-strong);
  font-size: 0.88rem;
}

.customer-page-footer p span {
  color: var(--customer-muted);
  font-size: 0.76rem;
}

.customer-page-footer > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--customer-brand-strong);
  font-size: 0.82rem;
  font-weight: 760;
  text-decoration: none;
}

.customer-page-footer > a:hover {
  text-decoration: underline;
}

.customer-portal-page a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--customer-forest);
}

.customer-nav a:focus-visible {
  outline-offset: -5px;
  box-shadow: none;
}

@media (min-width: 720px) {
  .customer-portal-page .customer-shell {
    width: min(100% - 40px, 1280px);
    padding-top: 36px;
  }

  .customer-section-page .customer-shell {
    width: min(100% - 40px, 1080px);
  }

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

  .customer-appointments-panel {
    grid-column: 1 / -1;
  }

  .customer-section-heading-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.65fr);
    align-items: end;
  }
}

@media (min-width: 840px) {
  .customer-hero {
    grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.65fr);
    align-items: center;
  }
}

@media (min-width: 1020px) {
  body.customer-portal-page {
    display: grid;
    grid-template-columns: 284px minmax(0, 1fr);
    align-items: start;
  }

  body.customer-portal-page::before {
    left: 284px;
  }

  .customer-header {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    padding:
      max(26px, env(safe-area-inset-top))
      20px
      max(22px, env(safe-area-inset-bottom));
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 14px 0 38px rgba(24, 48, 31, 0.11);
  }

  .customer-brand-block {
    display: grid;
    gap: 14px;
    padding: 0 4px 24px;
  }

  .customer-logo-link {
    width: 100%;
    max-width: 206px;
    border-radius: 17px;
    padding: 12px 15px;
  }

  .customer-brand-label {
    gap: 4px;
    font-size: 0.76rem;
  }

  .customer-brand-label strong {
    font-size: 1rem;
  }

  .customer-brand-label span {
    display: block;
  }

  .customer-nav {
    display: grid;
    grid-column: auto;
    gap: 4px;
    width: 100%;
    margin: 0;
    padding: 14px 0;
    overflow: visible;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .customer-nav a {
    width: 100%;
    min-height: 47px;
    padding: 11px 13px;
    border-radius: 12px;
    font-size: 0.88rem;
  }

  .customer-nav a:hover {
    transform: translateX(2px);
  }

  .customer-nav a[aria-current="page"] {
    box-shadow: inset 3px 0 0 #8fcf76;
  }

  .customer-sidebar-footer {
    grid-column: auto;
    grid-row: auto;
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 22px;
  }

  .customer-support-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.065);
    padding: 14px;
  }

  .customer-support-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(143, 207, 118, 0.16);
    color: #c3e8b4;
    font-weight: 840;
  }

  .customer-support-card strong {
    color: #ffffff;
    font-size: 0.82rem;
  }

  .customer-support-card p {
    margin: 4px 0 8px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .customer-support-card a {
    color: #c3e8b4;
    font-size: 0.73rem;
    font-weight: 760;
    text-decoration: none;
  }

  .customer-support-card a:hover {
    text-decoration: underline;
  }

  .customer-sign-out {
    width: 100%;
    min-height: 44px;
  }

  .customer-portal-page .customer-shell {
    grid-column: 2;
    grid-row: 1;
    width: min(100% - 64px, 1280px);
    padding: 46px 0 64px;
  }

  .customer-section-page .customer-shell {
    width: min(100% - 64px, 1080px);
  }
}

@media (min-width: 1020px) and (max-width: 1279px) {
  .customer-hero {
    grid-template-columns: 1fr;
  }

  .customer-hero h1 {
    max-width: 650px;
    font-size: clamp(3.1rem, 6.2vw, 4.1rem);
  }

  .customer-hero-assurance {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1220px) {
  .customer-dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .customer-film-reel {
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
    margin: 0;
    padding: 4px 0 2px;
  }
}

@media (max-width: 719px) {
  .customer-hero {
    gap: 20px;
  }

  .customer-hero-assurance {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 5px;
  }

  .customer-hero-assurance > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 9px 4px;
  }

  .customer-hero-assurance > div:first-child {
    border-left: 0;
  }

  .customer-hero-assurance > div > span {
    width: 29px;
    height: 29px;
    font-size: 0.62rem;
  }

  .customer-hero-assurance p {
    font-size: 0;
    line-height: 1.25;
  }

  .customer-hero-assurance strong {
    display: block;
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .customer-page-topline {
    align-items: flex-start;
  }

  .customer-page-topline > a {
    justify-content: flex-end;
    font-size: 0.74rem;
    line-height: 1.3;
    text-align: right;
  }

  .customer-page-topline > a span {
    flex: 0 0 auto;
    font-size: 0.92rem;
  }

  .customer-panel-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .customer-panel-heading-link {
    width: 100%;
    margin-left: 0;
  }

  .customer-record-header {
    flex-direction: column;
  }

  .customer-record-badge {
    max-width: 100%;
  }

  .customer-record-details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 460px) {
  .customer-brand-label {
    display: none;
  }

  .customer-logo-link {
    width: 104px;
  }

  .customer-sign-out {
    padding: 8px 10px;
    font-size: 0.76rem;
  }

  .customer-hero {
    border-radius: 23px;
    padding: 26px 22px;
  }

  .customer-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.4rem);
  }

  .customer-hero-actions {
    display: grid;
  }

  .customer-primary-action,
  .customer-secondary-action {
    width: 100%;
  }

  .customer-dashboard-panel,
  .customer-section-heading,
  .customer-record-card {
    border-radius: 19px;
  }

  .customer-private-state {
    white-space: normal;
  }

  .customer-page-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

/* Botanical Light v4 -------------------------------------------------------
   An art-directed customer layer that preserves the existing portal hooks. */

body.customer-portal-page {
  --customer-logo-green: #5ca345;
  --customer-brand: #2d6a4f;
  --customer-brand-strong: #174b36;
  --customer-forest: #143d2d;
  --customer-forest-soft: #245a43;
  --customer-ink: #173028;
  --customer-muted: #647069;
  --customer-border: rgba(23, 48, 40, 0.12);
  --customer-border-soft: rgba(23, 48, 40, 0.075);
  --customer-paper: #fffefa;
  --customer-canvas: #f8f7f1;
  --customer-warm: #f5dcc5;
  --customer-pale: #dff1e3;
  --customer-lilac: #e9e3f3;
  --customer-citrus: #dce99d;
  --customer-blue: #54788a;
  --customer-amber: #9a681b;
  --customer-danger: #9b3f32;
  display: block;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--customer-canvas);
  color: var(--customer-ink);
  font-family: "Avenir Next", Avenir, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
}

body.customer-portal-page::before {
  inset: 0;
  left: 0;
  background:
    radial-gradient(circle at 7% 12%, rgba(212, 233, 157, 0.46), transparent 25rem),
    radial-gradient(circle at 94% 34%, rgba(233, 227, 243, 0.58), transparent 31rem),
    linear-gradient(180deg, #fbfaf6 0%, var(--customer-canvas) 42%, #f3f5ed 100%);
}

.customer-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  overflow: visible;
  padding:
    max(14px, env(safe-area-inset-top))
    max(24px, env(safe-area-inset-right))
    14px
    max(24px, env(safe-area-inset-left));
  border: 0;
  border-bottom: 1px solid rgba(23, 48, 40, 0.08);
  background: rgba(250, 249, 244, 0.88);
  color: var(--customer-ink);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(130%);
}

.customer-brand-block {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0;
}

.customer-logo-link {
  width: 132px;
  max-width: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.customer-logo-link img {
  display: block;
  width: 100%;
}

.customer-brand-label {
  display: grid;
  gap: 1px;
  margin: 0;
  color: #708078;
  font-size: 0.7rem;
  line-height: 1.3;
}

.customer-brand-label strong {
  color: var(--customer-ink);
  font-size: 0.82rem;
  font-weight: 750;
}

.customer-brand-label span {
  display: block;
}

.customer-nav {
  grid-column: 2;
  grid-row: 1;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
}

.customer-nav a {
  position: relative;
  width: auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 0;
  border-radius: 999px;
  padding: 10px 13px;
  color: #647069;
  font-size: 0.79rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.customer-nav-index {
  display: none;
}

.customer-nav a:hover {
  border: 0;
  background: rgba(45, 106, 79, 0.075);
  color: var(--customer-brand-strong);
  transform: translateY(-1px);
}

.customer-nav a[aria-current="page"] {
  border: 0;
  background: var(--customer-ink);
  color: #ffffff;
  box-shadow: none;
}

.customer-sidebar-footer {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.customer-support-card {
  display: none;
}

.customer-sign-out {
  width: auto;
  min-height: 40px;
  border: 1px solid rgba(23, 48, 40, 0.13);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--customer-ink);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.5);
}

.customer-sign-out:hover {
  border-color: rgba(23, 48, 40, 0.26);
  background: #ffffff;
}

.customer-portal-page .customer-shell,
.customer-section-page .customer-shell {
  grid-column: auto;
  grid-row: auto;
  width: min(100% - 56px, 1320px);
  margin: 0 auto;
  padding: 38px 0 64px;
}

.customer-section-page .customer-shell {
  width: min(100% - 56px, 1120px);
}

.customer-hero {
  position: relative;
  isolation: isolate;
  min-height: 490px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  overflow: hidden;
  border: 1px solid rgba(23, 48, 40, 0.075);
  border-radius: 42px;
  background:
    linear-gradient(118deg, rgba(255, 254, 250, 0.98), rgba(245, 249, 239, 0.9)),
    #fffefa;
  padding: clamp(48px, 7vw, 96px);
  color: var(--customer-ink);
  box-shadow: 0 32px 100px rgba(37, 75, 56, 0.09);
}

.customer-hero::before {
  width: 430px;
  height: 430px;
  right: -250px;
  top: -260px;
  border: 74px solid rgba(220, 233, 157, 0.27);
  background: transparent;
}

.customer-hero::after {
  width: 250px;
  height: 250px;
  left: 42%;
  right: auto;
  bottom: -205px;
  border: 54px solid rgba(233, 227, 243, 0.42);
  background: transparent;
}

.customer-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.customer-eyebrow,
.customer-hero .customer-eyebrow {
  color: var(--customer-brand);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.customer-hero .customer-eyebrow span {
  width: 28px;
  height: 1px;
  border-radius: 0;
  background: var(--customer-brand);
  box-shadow: none;
}

.customer-hero h1 {
  max-width: 720px;
  margin: 20px 0 24px;
  color: var(--customer-ink);
  font-size: clamp(3.4rem, 6.4vw, 6rem);
  font-weight: 580;
  letter-spacing: -0.062em;
  line-height: 0.93;
  text-wrap: balance;
}

.customer-hero h1 em {
  color: var(--customer-brand);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.customer-hero-copy > p:not(.customer-eyebrow) {
  max-width: 580px;
  margin: 0;
  color: #65726b;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.72;
}

.customer-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.customer-primary-action,
.customer-secondary-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  border-radius: 999px;
  padding: 13px 21px;
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.customer-primary-action {
  background: var(--customer-ink);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(23, 48, 40, 0.17);
}

.customer-primary-action:hover {
  background: var(--customer-brand-strong);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(23, 48, 40, 0.23);
}

.customer-secondary-action {
  border: 1px solid rgba(23, 48, 40, 0.12);
  background: rgba(255, 255, 255, 0.64);
  color: var(--customer-ink);
}

.customer-secondary-action:hover {
  border-color: rgba(23, 48, 40, 0.24);
  background: #ffffff;
  transform: translateY(-2px);
}

.customer-hero-assurance {
  position: relative;
  min-height: 370px;
  display: block;
  padding: 0;
}

.customer-hero-assurance::before {
  content: "";
  position: absolute;
  inset: 20px 18px 24px 24px;
  border-radius: 44% 56% 62% 38% / 43% 35% 65% 57%;
  background:
    radial-gradient(circle at 64% 28%, rgba(255, 255, 255, 0.72), transparent 7rem),
    linear-gradient(145deg, #d9efde, #c8e2cb 58%, #e4edb7);
  box-shadow:
    inset 0 0 0 1px rgba(23, 48, 40, 0.07),
    0 30px 70px rgba(51, 101, 72, 0.14);
  transform: rotate(-4deg);
}

.customer-botanical-ring {
  position: absolute;
  width: 230px;
  height: 230px;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(23, 75, 54, 0.25);
  border-radius: 50%;
  transform: translate(-49%, -52%);
}

.customer-botanical-ring::before,
.customer-botanical-ring::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(23, 75, 54, 0.14);
  border-radius: 50%;
}

.customer-botanical-ring::before {
  inset: 24px;
}

.customer-botanical-ring::after {
  inset: 58px;
  background: rgba(255, 255, 255, 0.23);
}

.customer-botanical-leaf {
  position: absolute;
  z-index: 2;
  display: block;
  border: 1px solid rgba(23, 75, 54, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(98, 161, 106, 0.2));
  box-shadow: inset -18px -18px 30px rgba(38, 95, 61, 0.08);
}

.customer-botanical-leaf::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 65%;
  left: 50%;
  top: 18%;
  background: rgba(23, 75, 54, 0.24);
  transform: rotate(38deg);
}

.customer-botanical-leaf-one {
  width: 105px;
  height: 160px;
  right: 5%;
  top: 7%;
  border-radius: 100% 0 100% 0;
  transform: rotate(22deg);
}

.customer-botanical-leaf-two {
  width: 84px;
  height: 126px;
  left: 4%;
  bottom: 8%;
  border-radius: 0 100% 0 100%;
  transform: rotate(-18deg);
}

.customer-hero-assurance .customer-care-note {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 254, 250, 0.72);
  box-shadow: 0 18px 48px rgba(30, 69, 49, 0.14);
  backdrop-filter: blur(14px);
}

.customer-hero-assurance .customer-care-note-main {
  left: 50%;
  top: 50%;
  width: 215px;
  min-height: 205px;
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  justify-content: flex-end;
  gap: 0;
  border-radius: 50% 50% 22px 22px;
  padding: 30px 27px 26px;
  transform: translate(-50%, -50%) rotate(2deg);
}

.customer-care-note-main::before {
  content: "";
  position: absolute;
  width: 46px;
  height: 56px;
  left: 50%;
  top: 31px;
  border: 1px solid rgba(45, 106, 79, 0.36);
  border-radius: 100% 0 100% 0;
  background: rgba(223, 241, 227, 0.65);
  transform: translateX(-50%) rotate(45deg);
}

.customer-care-note-main small {
  color: var(--customer-brand);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.customer-care-note-main strong {
  margin: 7px 0 5px;
  color: var(--customer-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.05;
}

.customer-hero-assurance .customer-care-note-main > span {
  width: auto;
  height: auto;
  display: block;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #66736b;
  font-size: 0.72rem;
  line-height: 1.45;
}

.customer-hero-assurance .customer-care-note-private,
.customer-hero-assurance .customer-care-note-human {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 190px;
  border-radius: 20px;
  padding: 12px 14px;
}

.customer-care-note-private {
  right: -4px;
  bottom: 38px;
  transform: rotate(-2deg);
}

.customer-care-note-human {
  left: -2px;
  top: 48px;
  transform: rotate(3deg);
}

.customer-hero-assurance .customer-care-note-private > span,
.customer-hero-assurance .customer-care-note-human > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--customer-ink);
  color: #ffffff;
  font-size: 0.72rem;
}

.customer-hero-assurance .customer-care-note p {
  margin: 0;
  color: #68736d;
  font-size: 0.65rem;
  line-height: 1.35;
}

.customer-hero-assurance .customer-care-note p strong {
  display: block;
  margin-bottom: 2px;
  color: var(--customer-ink);
  font-size: 0.72rem;
}

.customer-dashboard-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  margin: clamp(70px, 9vw, 116px) 0 34px;
  padding: 0 clamp(4px, 2vw, 24px);
  border: 0;
}

.customer-dashboard-intro h2 {
  max-width: 720px;
  margin: 10px 0 12px;
  color: var(--customer-ink);
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 570;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.customer-dashboard-intro > div > p:last-child {
  max-width: 650px;
  margin: 0;
  color: #6a766f;
  font-size: 0.98rem;
  line-height: 1.65;
}

.customer-private-state {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(45, 106, 79, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  padding: 9px 14px;
  color: var(--customer-brand);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.customer-private-state span {
  width: 7px;
  height: 7px;
  background: #66a868;
  box-shadow: 0 0 0 5px rgba(102, 168, 104, 0.12);
}

.customer-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 18px;
}

.customer-dashboard-panel {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid rgba(23, 48, 40, 0.08);
  border-radius: 30px;
  background: rgba(255, 254, 250, 0.88);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 18px 60px rgba(36, 69, 52, 0.075);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.customer-dashboard-panel::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -92px;
  top: -96px;
  border: 1px solid rgba(23, 48, 40, 0.09);
  border-radius: 50%;
  background: transparent;
}

.customer-dashboard-panel:not(.customer-appointments-panel):hover {
  transform: translateY(-5px) rotate(-0.2deg);
  box-shadow: 0 26px 72px rgba(36, 69, 52, 0.12);
}

.customer-appointments-panel {
  grid-column: span 8;
  grid-row: span 2;
  min-height: 520px;
  border-color: transparent;
  background:
    radial-gradient(circle at 96% 8%, rgba(220, 233, 157, 0.22), transparent 16rem),
    linear-gradient(145deg, #143d2d, #1d503a);
  color: #ffffff;
  box-shadow: 0 28px 80px rgba(20, 61, 45, 0.2);
}

.customer-appointments-panel::before {
  width: 330px;
  height: 330px;
  right: -160px;
  top: -190px;
  border: 64px solid rgba(255, 255, 255, 0.045);
}

.customer-contact-panel {
  grid-column: span 4;
  background: linear-gradient(145deg, #f9e5d3, #f4d6bd);
}

.customer-invoices-panel {
  grid-column: span 4;
  background: linear-gradient(145deg, #eee9f6, #e5dcf0);
}

.customer-questions-panel {
  grid-column: span 5;
  background: linear-gradient(145deg, #e7f4e8, #d9ebdc);
}

.customer-feedback-panel {
  grid-column: span 3;
  background: linear-gradient(145deg, #edf1c6, #dfe99e);
}

.customer-guides-panel {
  grid-column: span 4;
  background: linear-gradient(145deg, #fffefa, #f4f0e6);
}

.customer-panel-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}

.customer-panel-icon {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(23, 48, 40, 0.1);
  border-radius: 50% 50% 50% 16px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--customer-ink);
}

.customer-panel-icon svg {
  width: 20px;
  height: 20px;
}

.customer-appointments-panel .customer-panel-icon {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #dbeaa7;
}

.customer-card-kicker {
  color: rgba(23, 48, 40, 0.56);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.customer-appointments-panel .customer-card-kicker {
  color: #b7cdbf;
}

.customer-dashboard-panel h2 {
  margin: 2px 0 0;
  color: var(--customer-ink);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.customer-appointments-panel h2 {
  color: #ffffff;
}

.customer-dashboard-panel > p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(23, 48, 40, 0.66);
  font-size: 0.88rem;
  line-height: 1.6;
}

.customer-appointments-panel > p {
  color: rgba(255, 255, 255, 0.68);
}

.customer-section-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  color: var(--customer-ink);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
}

.customer-section-link span {
  transition: transform 180ms ease;
}

.customer-section-link:hover span {
  transform: translateX(4px);
}

.customer-appointments-panel .customer-section-link {
  color: #e5efbd;
}

.customer-panel-heading-link {
  margin: 0;
  white-space: nowrap;
}

.customer-film-reel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-auto-columns: minmax(210px, 0.72fr);
  grid-auto-flow: column;
  gap: 12px;
  margin-top: 28px;
  padding: 4px 4px 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.customer-visit-card {
  min-width: 0;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.075);
  padding: 22px;
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.customer-visit-card.is-next {
  border-color: rgba(220, 233, 157, 0.44);
  background: #f5f4e9;
  color: var(--customer-ink);
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.13);
}

.customer-visit-card.is-empty {
  min-height: 190px;
}

.customer-visit-label {
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 7px 10px;
  color: #dbeaa7;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-visit-card.is-next .customer-visit-label {
  border-color: rgba(45, 106, 79, 0.14);
  background: var(--customer-pale);
  color: var(--customer-brand);
}

.customer-visit-card h3 {
  margin: 22px 0 8px;
  color: inherit;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.customer-visit-meta,
.customer-visit-summary {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  line-height: 1.52;
}

.customer-visit-card.is-next .customer-visit-meta,
.customer-visit-card.is-next .customer-visit-summary {
  color: #67736c;
}

.customer-visit-summary {
  margin-top: 14px;
}

.customer-visit-contractors {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
}

.customer-visit-card.is-next .customer-visit-contractors {
  border-color: rgba(23, 48, 40, 0.1);
  color: var(--customer-ink);
}

.customer-panel-status {
  color: inherit;
}

.customer-page-topline {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 0 4px;
}

.customer-page-topline > a,
.customer-back-link {
  color: var(--customer-brand);
  font-size: 0.75rem;
  font-weight: 760;
  text-decoration: none;
}

.customer-page-topline > a:hover,
.customer-back-link:hover {
  text-decoration: underline;
}

.customer-section-heading {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 48, 40, 0.075);
  border-radius: 38px;
  background:
    radial-gradient(circle at 92% 8%, rgba(220, 233, 157, 0.56), transparent 19rem),
    linear-gradient(135deg, #fffefa, #eff4e9);
  padding: clamp(34px, 6vw, 70px);
  box-shadow: 0 24px 72px rgba(36, 69, 52, 0.08);
}

.customer-section-heading::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 310px;
  right: 6%;
  top: -135px;
  border: 1px solid rgba(45, 106, 79, 0.18);
  border-radius: 100% 0 100% 0;
  background: rgba(223, 241, 227, 0.38);
  transform: rotate(38deg);
}

.customer-section-heading::after {
  inset: auto -90px -150px auto;
  width: 230px;
  height: 230px;
  border: 42px solid rgba(233, 227, 243, 0.42);
  border-radius: 50%;
  background: transparent;
}

.customer-section-heading-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  align-items: end;
  gap: 40px;
  margin-top: 22px;
}

.customer-section-heading h1 {
  margin: 12px 0 14px;
  color: var(--customer-ink);
  font-size: clamp(3.3rem, 7vw, 6rem);
  font-weight: 570;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.customer-section-heading-copy > p:last-child {
  max-width: 570px;
  margin: 0;
  color: #68756d;
  font-size: 0.96rem;
  line-height: 1.65;
}

.customer-status-panel {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  padding: 17px;
  box-shadow: 0 16px 40px rgba(44, 80, 59, 0.08);
  backdrop-filter: blur(14px);
}

.customer-status-mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 50% 50% 50% 14px;
  background: var(--customer-ink);
}

.customer-status-mark i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #dce99d;
}

.customer-status-panel small {
  color: var(--customer-brand);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.customer-section-status {
  margin: 4px 0 0;
  color: var(--customer-ink);
  font-size: 0.76rem;
  line-height: 1.42;
}

.customer-section-content {
  min-height: 180px;
  margin-top: 22px;
}

.customer-invoice-content {
  min-height: 640px;
}

.customer-invoice-workspace {
  display: grid;
  gap: 18px;
}

.customer-invoice-workspace-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  border: 1px solid rgba(23, 48, 40, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at 94% 8%, rgba(220, 233, 157, 0.36), transparent 15rem),
    linear-gradient(135deg, rgba(255, 254, 250, 0.98), rgba(238, 245, 234, 0.92));
  padding: clamp(26px, 4vw, 42px);
  box-shadow: 0 18px 58px rgba(36, 69, 52, 0.07);
}

.customer-invoice-workspace-header::after {
  content: "";
  position: absolute;
  width: 128px;
  height: 176px;
  right: 13%;
  top: -112px;
  border: 1px solid rgba(45, 106, 79, 0.14);
  border-radius: 100% 0 100% 0;
  transform: rotate(36deg);
}

.customer-invoice-workspace-header > div {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.customer-invoice-eyebrow {
  margin: 0 0 12px;
  color: var(--customer-brand);
  font-size: 0.65rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.customer-invoice-workspace-header h2 {
  margin: 0;
  color: var(--customer-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4.2vw, 3.85rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.customer-invoice-workspace-header p:last-child {
  max-width: 580px;
  margin: 16px 0 0;
  color: #65736b;
  font-size: 0.88rem;
  line-height: 1.65;
}

.customer-invoice-count {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  border: 1px solid rgba(45, 106, 79, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  padding: 11px 15px;
  color: var(--customer-brand);
  font-size: 0.68rem;
  font-weight: 790;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.customer-invoice-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.customer-invoice-overview-item {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 146px;
  overflow: hidden;
  border: 1px solid rgba(23, 48, 40, 0.07);
  border-radius: 25px;
  background: rgba(255, 254, 250, 0.9);
  padding: 23px;
  box-shadow: 0 13px 36px rgba(36, 69, 52, 0.045);
}

.customer-invoice-overview-item:nth-child(2) {
  background: linear-gradient(145deg, rgba(255, 254, 250, 0.96), rgba(238, 233, 246, 0.72));
}

.customer-invoice-overview-item:nth-child(3) {
  background: linear-gradient(145deg, rgba(255, 254, 250, 0.96), rgba(249, 229, 211, 0.68));
}

.customer-invoice-overview-item > span {
  color: #69766e;
  font-size: 0.65rem;
  font-weight: 760;
}

.customer-invoice-overview-item strong {
  align-self: end;
  color: var(--customer-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.customer-invoice-overview-item strong.is-blank {
  color: rgba(23, 48, 40, 0.36);
}

.customer-invoice-overview-item small {
  color: #7b867f;
  font-size: 0.61rem;
  line-height: 1.4;
}

.customer-invoice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.45fr);
  align-items: start;
  gap: 18px;
}

.customer-invoice-ledger {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.customer-invoice-ledger-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 7px 4px;
}

.customer-invoice-ledger-header h3 {
  margin: 0;
  color: var(--customer-ink);
  font-size: 1.15rem;
  font-weight: 690;
  letter-spacing: -0.035em;
}

.customer-invoice-ledger-header p {
  max-width: 360px;
  margin: 0;
  color: #748078;
  font-size: 0.7rem;
  line-height: 1.5;
  text-align: right;
}

.customer-invoice-document {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 48, 40, 0.09);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(220, 233, 157, 0.22) 0 7px, transparent 7px),
    rgba(255, 254, 250, 0.96);
  padding: clamp(25px, 4vw, 40px);
  box-shadow: 0 21px 64px rgba(36, 69, 52, 0.075);
}

.customer-invoice-document::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -122px;
  bottom: -132px;
  border: 28px solid rgba(231, 244, 232, 0.72);
  border-radius: 50%;
}

.customer-invoice-document.is-empty {
  border-style: dashed;
  border-color: rgba(45, 106, 79, 0.2);
}

.customer-invoice-document-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(23, 48, 40, 0.09);
}

.customer-invoice-monogram {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 17px;
  background: var(--customer-ink);
  color: #e0e99e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.83rem;
  letter-spacing: -0.04em;
}

.customer-invoice-document-header > div > span {
  display: block;
  margin-bottom: 4px;
  color: var(--customer-brand);
  font-size: 0.58rem;
  font-weight: 810;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.customer-invoice-document-header h3 {
  margin: 0;
  color: var(--customer-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.customer-invoice-status {
  border: 1px solid rgba(45, 106, 79, 0.12);
  border-radius: 999px;
  background: #edf5e9;
  padding: 8px 11px;
  color: var(--customer-brand);
  font-size: 0.59rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.customer-invoice-fields {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  margin: 12px 0 0;
}

.customer-invoice-fields > div {
  display: grid;
  gap: 7px;
  min-height: 86px;
  align-content: center;
  border-bottom: 1px solid rgba(23, 48, 40, 0.075);
  padding: 14px 2px;
}

.customer-invoice-fields dt {
  color: #748078;
  font-size: 0.61rem;
  font-weight: 740;
}

.customer-invoice-fields dd {
  margin: 0;
  color: var(--customer-ink);
  font-size: 0.88rem;
  font-weight: 670;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.customer-invoice-fields dd.is-blank {
  color: rgba(23, 48, 40, 0.34);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  font-weight: 500;
}

.customer-invoice-fields .is-prominent dd {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.26rem;
  font-weight: 500;
}

.customer-invoice-document-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 23px;
}

.customer-invoice-document-footer p {
  margin: 0;
  color: #77827b;
  font-size: 0.66rem;
  line-height: 1.45;
}

.customer-invoice-document-footer a,
.customer-invoice-help a {
  color: var(--customer-brand);
  font-size: 0.68rem;
  font-weight: 790;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.customer-invoice-help {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 430px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 14%, rgba(220, 233, 157, 0.2), transparent 12rem),
    linear-gradient(155deg, #153c2d, #214f3b);
  padding: 30px;
  color: #ffffff;
  box-shadow: 0 24px 70px rgba(23, 63, 47, 0.16);
}

.customer-invoice-help::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 230px;
  right: -64px;
  top: -72px;
  border: 1px solid rgba(220, 233, 157, 0.22);
  border-radius: 100% 0 100% 0;
  transform: rotate(36deg);
}

.customer-invoice-help-mark {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50% 50% 50% 15px;
  background: rgba(255, 255, 255, 0.08);
  color: #dce99d;
  font-size: 0.9rem;
}

.customer-invoice-help-eyebrow {
  position: relative;
  z-index: 1;
  color: #dce99d;
  font-size: 0.6rem;
  font-weight: 810;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.customer-invoice-help h3 {
  position: relative;
  z-index: 1;
  margin: 12px 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.customer-invoice-help p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  line-height: 1.62;
}

.customer-invoice-help a {
  position: relative;
  z-index: 1;
  justify-self: start;
  margin-top: 22px;
  color: #dce99d;
}

.customer-record-list {
  display: grid;
  gap: 14px;
}

.customer-record-list-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-record-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 48, 40, 0.085);
  border-radius: 28px;
  background: rgba(255, 254, 250, 0.92);
  padding: clamp(22px, 3.5vw, 34px);
  box-shadow: 0 17px 52px rgba(36, 69, 52, 0.065);
}

.customer-record-card:nth-child(3n + 1) {
  background: linear-gradient(145deg, rgba(255, 254, 250, 0.96), rgba(231, 244, 232, 0.83));
}

.customer-record-card:nth-child(3n + 2) {
  background: linear-gradient(145deg, rgba(255, 254, 250, 0.96), rgba(238, 233, 246, 0.86));
}

.customer-record-card:nth-child(3n) {
  background: linear-gradient(145deg, rgba(255, 254, 250, 0.96), rgba(249, 229, 211, 0.78));
}

.customer-record-card.is-featured-record {
  border-color: rgba(45, 106, 79, 0.18);
  background:
    radial-gradient(circle at 100% 0, rgba(220, 233, 157, 0.24), transparent 12rem),
    linear-gradient(145deg, #173f2f, #225640);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(23, 63, 47, 0.16);
}

.customer-record-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.customer-record-header h2,
.customer-record-header h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.25rem, 2.6vw, 1.72rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.customer-record-badge {
  flex: 0 0 auto;
  border: 1px solid rgba(45, 106, 79, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  padding: 7px 10px;
  color: var(--customer-brand);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.is-featured-record .customer-record-badge {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #dce99d;
}

.customer-record-details {
  display: grid;
  gap: 10px;
  margin: 0;
}

.customer-record-details > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.34fr) minmax(0, 1fr);
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(23, 48, 40, 0.08);
}

.is-featured-record .customer-record-details > div {
  border-color: rgba(255, 255, 255, 0.1);
}

.customer-record-details dt {
  color: rgba(23, 48, 40, 0.56);
  font-size: 0.68rem;
  font-weight: 750;
}

.customer-record-details dd {
  margin: 0;
  color: inherit;
  font-size: 0.78rem;
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.is-featured-record .customer-record-details dt {
  color: rgba(255, 255, 255, 0.56);
}

.customer-empty-state {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.customer-empty-state::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 180px;
  right: 30px;
  top: 12px;
  border: 1px solid rgba(45, 106, 79, 0.16);
  border-radius: 100% 0 100% 0;
  background: rgba(223, 241, 227, 0.28);
  transform: rotate(34deg);
}

.customer-empty-state p {
  position: relative;
  z-index: 1;
  max-width: 520px;
  color: #67736c;
  line-height: 1.6;
}

.customer-record-card .btn {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--customer-ink);
  padding: 12px 18px;
  color: #ffffff;
  font-weight: 750;
}

.customer-page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 52px;
  padding: 28px 6px 8px;
  border-top: 1px solid rgba(23, 48, 40, 0.09);
}

.customer-page-footer p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.customer-page-footer strong {
  color: var(--customer-ink);
  font-size: 0.84rem;
}

.customer-page-footer p span {
  color: #738078;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  font-style: italic;
}

.customer-page-footer > a {
  color: var(--customer-brand);
  font-size: 0.74rem;
  font-weight: 760;
  text-decoration: none;
}

.customer-portal-page a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--customer-brand-strong);
}

.customer-nav a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: -4px;
  box-shadow: 0 0 0 2px var(--customer-brand-strong);
}

@keyframes customer-botanical-drift {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }
  50% {
    transform: translateY(-9px) rotate(1deg);
  }
}

@media (min-width: 1020px) {
  .customer-care-note-human {
    animation: customer-botanical-drift 7s ease-in-out infinite;
  }
}

@media (max-width: 1180px) {
  .customer-header {
    gap: 12px;
    padding-inline: 18px;
  }

  .customer-brand-label {
    display: none;
  }

  .customer-nav a {
    padding-inline: 10px;
    font-size: 0.74rem;
  }

  .customer-portal-page .customer-shell,
  .customer-section-page .customer-shell {
    width: min(100% - 40px, 1120px);
  }

  .customer-hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr);
    gap: 30px;
    padding: 58px;
  }
}

@media (max-width: 920px) {
  .customer-header {
    grid-template-columns: minmax(0, 1fr) auto;
    backdrop-filter: none;
  }

  .customer-brand-block {
    grid-column: 1;
  }

  .customer-sidebar-footer {
    grid-column: 2;
  }

  .customer-nav {
    position: fixed;
    z-index: 120;
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    grid-column: auto;
    grid-row: auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    background: rgba(247, 247, 241, 0.92);
    padding: 7px;
    box-shadow: 0 20px 60px rgba(23, 48, 40, 0.22);
    backdrop-filter: blur(18px) saturate(140%);
  }

  .customer-nav a {
    min-width: 0;
    min-height: 52px;
    justify-content: center;
    border-radius: 17px;
    padding: 8px 4px;
    font-size: 0.62rem;
    line-height: 1.1;
    text-align: center;
    white-space: normal;
  }

  .customer-nav a:nth-child(n + 6) {
    display: none;
  }

  body.customer-portal-page {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .customer-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 52px;
  }

  .customer-hero h1 {
    max-width: 680px;
    font-size: clamp(3.3rem, 9vw, 5.3rem);
  }

  .customer-hero-assurance {
    width: min(100%, 520px);
    min-height: 360px;
    margin: 0 auto;
  }

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

  .customer-appointments-panel {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .customer-contact-panel,
  .customer-invoices-panel,
  .customer-questions-panel,
  .customer-feedback-panel,
  .customer-guides-panel {
    grid-column: span 1;
  }

  .customer-guides-panel {
    grid-column: 1 / -1;
  }

  .customer-section-heading-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .customer-invoice-layout {
    grid-template-columns: 1fr;
  }

  .customer-invoice-help {
    min-height: 310px;
  }

  .customer-status-panel {
    max-width: 420px;
  }
}

@media (max-width: 620px) {
  .customer-header {
    min-height: 70px;
    padding:
      max(11px, env(safe-area-inset-top))
      14px
      11px;
  }

  .customer-logo-link {
    width: 116px;
  }

  .customer-sign-out {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 0.69rem;
  }

  .customer-sign-out span {
    display: none;
  }

  .customer-portal-page .customer-shell,
  .customer-section-page .customer-shell {
    width: min(100% - 24px, 580px);
    padding-top: 18px;
  }

  .customer-hero {
    gap: 22px;
    border-radius: 30px;
    padding: 34px 24px 26px;
  }

  .customer-hero::before {
    width: 260px;
    height: 260px;
    right: -190px;
    top: -175px;
    border-width: 46px;
  }

  .customer-hero h1 {
    margin-top: 16px;
    font-size: clamp(3rem, 15vw, 4.25rem);
    line-height: 0.94;
  }

  .customer-hero-copy > p:not(.customer-eyebrow) {
    font-size: 0.95rem;
    line-height: 1.63;
  }

  .customer-hero-actions {
    display: grid;
    gap: 9px;
    margin-top: 26px;
  }

  .customer-primary-action,
  .customer-secondary-action {
    width: 100%;
  }

  .customer-hero-assurance {
    min-height: 250px;
  }

  .customer-hero-assurance::before {
    inset: 10px 12px 16px;
  }

  .customer-botanical-ring {
    width: 170px;
    height: 170px;
  }

  .customer-botanical-leaf-one {
    width: 76px;
    height: 112px;
  }

  .customer-botanical-leaf-two {
    width: 64px;
    height: 92px;
  }

  .customer-hero-assurance .customer-care-note-main {
    width: 170px;
    min-height: 168px;
    padding: 24px 20px 20px;
  }

  .customer-hero-assurance .customer-care-note-main::before {
    width: 35px;
    height: 43px;
    top: 23px;
  }

  .customer-hero-assurance .customer-care-note-main strong {
    font-size: 1.08rem;
  }

  .customer-hero-assurance .customer-care-note-main span {
    font-size: 0.63rem;
  }

  .customer-hero-assurance .customer-care-note-private,
  .customer-hero-assurance .customer-care-note-human {
    width: 150px;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 7px;
    border-radius: 15px;
    padding: 9px 10px;
  }

  .customer-hero-assurance .customer-care-note-private > span,
  .customer-hero-assurance .customer-care-note-human > span {
    width: 26px;
    height: 26px;
  }

  .customer-hero-assurance .customer-care-note p {
    font-size: 0.56rem;
  }

  .customer-hero-assurance .customer-care-note p strong {
    font-size: 0.62rem;
  }

  .customer-hero-assurance .customer-care-note-human {
    left: -3px;
    top: 20px;
  }

  .customer-hero-assurance .customer-care-note-private {
    right: -1px;
    bottom: 18px;
  }

  .customer-dashboard-intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
    margin: 70px 0 26px;
    padding-inline: 5px;
  }

  .customer-dashboard-intro h2 {
    font-size: clamp(2.5rem, 12vw, 3.65rem);
  }

  .customer-private-state {
    justify-self: start;
  }

  .customer-dashboard-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .customer-appointments-panel,
  .customer-contact-panel,
  .customer-invoices-panel,
  .customer-questions-panel,
  .customer-feedback-panel,
  .customer-guides-panel {
    grid-column: auto;
  }

  .customer-dashboard-panel {
    min-height: 210px;
    border-radius: 25px;
    padding: 24px;
  }

  .customer-appointments-panel {
    min-height: 470px;
  }

  .customer-panel-heading {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .customer-panel-heading-link {
    grid-column: 1 / -1;
    margin-left: 55px;
  }

  .customer-film-reel {
    grid-auto-columns: minmax(205px, 84%);
  }

  .customer-page-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .customer-section-heading {
    border-radius: 29px;
    padding: 34px 24px;
  }

  .customer-section-heading h1 {
    font-size: clamp(2.65rem, 12vw, 3.8rem);
  }

  .customer-record-list-grid {
    grid-template-columns: 1fr;
  }

  .customer-invoice-workspace-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    border-radius: 27px;
    padding: 28px 23px;
  }

  .customer-invoice-overview {
    grid-template-columns: 1fr;
  }

  .customer-invoice-overview-item {
    min-height: 122px;
    border-radius: 22px;
    padding: 20px;
  }

  .customer-invoice-ledger-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .customer-invoice-ledger-header p {
    text-align: left;
  }

  .customer-invoice-document {
    border-radius: 24px;
    padding: 23px;
  }

  .customer-invoice-document-header {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .customer-invoice-monogram {
    width: 46px;
    height: 46px;
  }

  .customer-invoice-status {
    grid-column: 2;
    justify-self: start;
  }

  .customer-invoice-fields {
    grid-template-columns: 1fr;
  }

  .customer-invoice-fields > div {
    min-height: 75px;
  }

  .customer-invoice-document-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-invoice-help {
    min-height: 340px;
    border-radius: 24px;
    padding: 25px;
  }

  .customer-record-card {
    border-radius: 24px;
    padding: 23px;
  }

  .customer-record-details > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .customer-page-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .customer-care-note-human {
    animation: none;
  }
}

/* Customer portal elevation: approved light overview, August 2026. */
body.customer-portal-page {
  --customer-logo-green: #5ca345;
  --customer-brand: #2f7756;
  --customer-brand-strong: #174a36;
  --customer-forest: #123d2f;
  --customer-forest-soft: #1d513e;
  --customer-ink: #153b2e;
  --customer-muted: #68766f;
  --customer-border: #dce5de;
  --customer-border-soft: #e9efea;
  --customer-paper: #ffffff;
  --customer-canvas: #ffffff;
  --customer-pale: #f1f8ee;
  width: 100%;
  margin-inline: auto;
  background: #ffffff;
  color: var(--customer-ink);
}

body.customer-portal-page::before {
  display: none;
}

.customer-header {
  border-bottom: 1px solid #e5ebe6;
  background: rgba(255, 255, 255, 0.97);
  color: var(--customer-ink);
  box-shadow: none;
}

.customer-logo-link {
  width: 146px;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.customer-brand-label {
  color: var(--customer-muted);
}

.customer-brand-label strong {
  color: var(--customer-ink);
}

.customer-brand-label span {
  display: block;
}

.customer-nav-index {
  display: none;
}

.customer-nav a {
  color: #435b51;
}

.customer-nav a:hover {
  border-color: #dce7df;
  background: #f5faf5;
  color: var(--customer-forest);
}

.customer-nav a[aria-current="page"] {
  border-color: var(--customer-forest);
  background: var(--customer-forest);
  color: #ffffff;
}

.customer-sign-out {
  border-color: #dce5de;
  color: var(--customer-ink);
}

.customer-sign-out:hover {
  border-color: #aabfb1;
  background: #f5faf5;
}

.customer-portal-page .customer-shell {
  width: min(100% - 48px, 1392px);
  padding: 22px 0 38px;
}

.customer-section-page .customer-shell {
  width: min(100% - 48px, 1180px);
}

.customer-hero {
  min-height: 286px;
  grid-template-columns: minmax(0, 1.05fr) minmax(410px, 0.95fr);
  gap: clamp(28px, 4vw, 64px);
  border: 1px solid #e1e8e2;
  border-radius: 24px;
  background: #fbfcf8;
  padding: 20px clamp(38px, 5vw, 74px);
  box-shadow: 0 18px 60px rgba(31, 75, 54, 0.06);
}

.customer-hero h1 {
  margin: 16px 0 22px;
  font-size: clamp(3.05rem, 3.7vw, 4.25rem);
  line-height: 0.93;
}

.customer-hero-copy > p:not(.customer-eyebrow) {
  max-width: 600px;
  color: #68766f;
}

.customer-hero-assurance {
  min-height: 230px;
}

.customer-hero-assurance::before {
  inset: 8px 16px 10px 22px;
  box-shadow:
    inset 0 0 0 1px rgba(23, 48, 40, 0.06),
    0 22px 54px rgba(51, 101, 72, 0.1);
}

.customer-botanical-ring {
  width: 198px;
  height: 198px;
}

.customer-botanical-leaf-one {
  width: 88px;
  height: 132px;
  right: 8%;
}

.customer-botanical-leaf-two {
  width: 72px;
  height: 108px;
  left: 8%;
}

.customer-hero-assurance .customer-care-note-main {
  width: 188px;
  min-height: 184px;
  padding: 28px 23px 22px;
}

.customer-hero-assurance .customer-care-note-main strong {
  font-size: 1.2rem;
}

.customer-hero-assurance .customer-care-note-private,
.customer-hero-assurance .customer-care-note-human {
  width: 174px;
  padding: 10px 12px;
}

.customer-care-note-human {
  left: 2px;
  top: 22px;
}

.customer-care-note-private {
  right: 0;
  bottom: 18px;
}

.customer-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(32px, 4vw, 58px);
  align-items: start;
  padding: 22px clamp(12px, 3.5vw, 50px) 0;
}

.customer-cleaning-column {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.customer-next-clean-section,
.customer-recent-cleans-section,
.customer-latest-invoice {
  min-width: 0;
}

.customer-overview-heading {
  margin: 0 0 13px;
}

.customer-overview-heading h2 {
  margin: 2px 0 0;
  color: var(--customer-forest);
  font-size: clamp(1.18rem, 1.8vw, 1.48rem);
  font-weight: 760;
  letter-spacing: -0.025em;
}

.customer-card-kicker {
  margin: 0;
  color: var(--customer-brand);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.customer-overview-heading-with-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.customer-overview-heading-with-copy > p {
  max-width: 310px;
  margin: 0;
  color: var(--customer-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: right;
}

.customer-next-clean-card {
  min-height: 178px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: clamp(22px, 3vw, 46px);
  align-items: center;
  overflow: hidden;
  border: 1px solid #cfe0cf;
  border-radius: 18px;
  background: #fbfdf9;
  padding: 24px 28px;
  box-shadow: 0 14px 36px rgba(30, 75, 50, 0.05);
}

.customer-next-clean-card.is-empty {
  grid-template-columns: 1fr;
}

.customer-clean-date {
  min-width: 96px;
  display: grid;
  align-content: center;
  justify-items: start;
  color: var(--customer-brand);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
}

.customer-clean-date span {
  font-size: 1.05rem;
}

.customer-clean-date strong {
  margin: 2px 0;
  color: var(--customer-forest);
  font-size: 3.6rem;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.customer-next-clean-details,
.customer-recent-clean-details,
.customer-latest-invoice-details {
  display: grid;
  gap: 0;
  margin: 0;
}

.customer-next-clean-details > div,
.customer-recent-clean-details > div,
.customer-latest-invoice-details > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid #e5ebe6;
  padding: 9px 0;
}

.customer-next-clean-details > div:last-child,
.customer-recent-clean-details > div:last-child,
.customer-latest-invoice-details > div:last-child {
  border-bottom: 0;
}

.customer-next-clean-details dt,
.customer-recent-clean-details dt,
.customer-latest-invoice-details dt {
  color: #7a877f;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
}

.customer-next-clean-details dd,
.customer-recent-clean-details dd,
.customer-latest-invoice-details dd {
  margin: 0;
  color: #365347;
  font-size: 0.9rem;
  line-height: 1.35;
}

.customer-portal-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--customer-forest);
  border-radius: 999px;
  padding: 11px 21px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.customer-portal-button:hover {
  transform: translateY(-1px);
}

.customer-portal-button-primary {
  background: var(--customer-forest);
  color: #ffffff;
}

.customer-portal-button-primary:hover {
  background: var(--customer-forest-soft);
  color: #ffffff;
}

.customer-portal-button-secondary {
  background: #ffffff;
  color: var(--customer-forest);
}

.customer-portal-button-secondary:hover {
  border-color: var(--customer-brand);
  background: #f5faf5;
  color: var(--customer-forest);
}

.customer-film-reel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-flow: row;
  grid-auto-columns: auto;
  gap: 0;
  overflow: visible;
  padding: 0;
  scroll-snap-type: none;
}

.customer-recent-clean {
  min-width: 0;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: clamp(22px, 3vw, 46px);
  align-items: center;
  border-bottom: 1px solid #e0e8e2;
  padding: 17px 18px 17px 28px;
}

.customer-recent-clean:first-child {
  border-top: 1px solid #e0e8e2;
}

.customer-recent-clean .customer-clean-date strong {
  font-size: 2.75rem;
}

.customer-recent-clean .customer-clean-date span {
  font-size: 0.9rem;
}

.customer-recent-clean-details > div {
  padding: 6px 0;
}

.customer-latest-invoice {
  position: sticky;
  top: 108px;
}

.customer-latest-invoice-panel {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  border: 1px solid #d9e4db;
  border-radius: 18px;
  background: #ffffff;
  padding: 28px;
  box-shadow: 0 16px 44px rgba(30, 70, 49, 0.05);
}

.customer-latest-invoice-panel h3 {
  margin: 0 0 16px;
  color: var(--customer-brand);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.customer-latest-invoice-details {
  margin-bottom: 24px;
}

.customer-invoice-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.customer-invoice-document-note {
  margin: 0;
  color: var(--customer-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.customer-inline-link {
  color: var(--customer-forest);
  font-size: 0.84rem;
  font-weight: 760;
  text-underline-offset: 4px;
}

.customer-portal-message h3 {
  margin: 0 0 8px;
  color: var(--customer-forest);
  font-size: 1.1rem;
}

.customer-portal-message p,
.customer-latest-invoice-panel > p {
  margin: 0;
  color: var(--customer-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.customer-overview-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(32px, 4vw, 58px);
  margin: 26px clamp(12px, 3.5vw, 50px) 0;
  border-top: 1px solid #e2e9e3;
  padding-top: 20px;
}

.customer-overview-links a {
  color: var(--customer-forest);
  font-size: 0.85rem;
  text-decoration: none;
}

.customer-overview-links a:last-child {
  justify-self: stretch;
}

.customer-overview-links strong {
  margin-right: 3px;
}

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

.customer-appointment-record {
  min-height: 0;
}

.customer-appointment-record.is-featured-record {
  border-color: #bcd4be;
  background: #f8fcf6;
}

.customer-clean-feedback-link {
  margin-top: 20px;
}

.customer-invoice-document-footer {
  gap: 16px;
}

.customer-invoice-document-footer .customer-invoice-actions {
  min-width: min(100%, 360px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.customer-clean-feedback-composer,
.customer-general-feedback-card {
  border: 1px solid #cfe0d1;
  border-radius: 26px;
  background: #fbfdf9;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: 0 18px 52px rgba(30, 75, 50, 0.05);
}

.customer-clean-feedback-composer h2,
.customer-general-feedback-card h2,
.customer-feedback-history-heading h2 {
  margin: 8px 0 12px;
  color: var(--customer-forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.customer-clean-feedback-composer > p:not(.customer-card-kicker),
.customer-general-feedback-card > p:not(.customer-card-kicker) {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--customer-muted);
  line-height: 1.6;
}

.customer-clean-feedback-form {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

.customer-feedback-rating {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.customer-feedback-rating legend,
.customer-feedback-comments > span {
  margin-bottom: 10px;
  color: var(--customer-forest);
  font-size: 0.86rem;
  font-weight: 780;
}

.customer-feedback-rating-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.customer-feedback-rating-options label {
  position: relative;
  min-height: 84px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  border: 1px solid #d3e0d5;
  border-radius: 16px;
  background: #ffffff;
  padding: 10px;
  color: var(--customer-muted);
  cursor: pointer;
}

.customer-feedback-rating-options input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.customer-feedback-rating-options strong {
  color: var(--customer-forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.customer-feedback-rating-options span {
  font-size: 0.68rem;
  line-height: 1.25;
  text-align: center;
}

.customer-feedback-rating-options label:has(input:checked) {
  border-color: var(--customer-brand);
  background: var(--customer-pale);
  box-shadow: 0 0 0 2px rgba(47, 119, 86, 0.12);
}

.customer-feedback-rating-options label:has(input:focus-visible) {
  outline: 3px solid #ffffff;
  box-shadow: 0 0 0 7px var(--customer-forest);
}

.customer-feedback-comments {
  display: grid;
}

.customer-feedback-comments textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #cfdcd2;
  border-radius: 16px;
  background: #ffffff;
  padding: 15px 16px;
  color: var(--customer-ink);
  font: inherit;
  line-height: 1.5;
}

.customer-feedback-comments textarea:focus-visible {
  outline: 3px solid #ffffff;
  box-shadow: 0 0 0 7px var(--customer-forest);
}

.customer-feedback-form-note {
  margin: -8px 0 0;
  color: var(--customer-muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.customer-clean-feedback-form .customer-portal-button {
  justify-self: start;
}

.customer-general-feedback-card .customer-portal-button {
  margin-top: 4px;
}

.customer-feedback-history-heading {
  margin: 46px 0 18px;
}

.customer-feedback-history-heading h2 {
  margin-bottom: 6px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.customer-feedback-history-heading p {
  margin: 0;
  color: var(--customer-muted);
}

@media (min-width: 921px) {
  .customer-header {
    grid-template-columns: minmax(270px, auto) minmax(0, 1fr) auto;
    gap: clamp(20px, 3vw, 48px);
    padding: 7px 24px;
  }

  .customer-brand-block {
    grid-column: 1;
  }

  .customer-nav {
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
    margin: 0;
    padding: 0;
  }

  .customer-nav a {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 0.78rem;
  }

  .customer-sidebar-footer {
    grid-column: 3;
  }
}

@media (max-width: 1080px) {
  .customer-hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.85fr);
    padding-inline: 42px;
  }

  .customer-next-clean-card,
  .customer-recent-clean {
    grid-template-columns: 105px minmax(0, 1fr);
  }

  .customer-next-clean-card .customer-portal-button,
  .customer-recent-clean .customer-portal-button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 920px) {
  .customer-header {
    background: rgba(255, 255, 255, 0.98);
  }

  .customer-nav {
    border-color: #dfe8e1;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 52px rgba(23, 61, 47, 0.16);
  }

  .customer-nav a {
    color: #52675e;
  }

  .customer-nav a[aria-current="page"] {
    color: #ffffff;
  }

  .customer-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 44px;
  }

  .customer-hero-assurance {
    width: min(100%, 520px);
    min-height: 280px;
  }

  .customer-overview-layout,
  .customer-overview-links {
    grid-template-columns: 1fr;
  }

  .customer-latest-invoice {
    position: static;
  }

  .customer-latest-invoice-panel {
    min-height: 0;
  }

  .customer-overview-links a:last-child {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .customer-logo-link {
    width: 112px;
  }

  .customer-brand-label span {
    display: none;
  }

  .customer-portal-page .customer-shell,
  .customer-section-page .customer-shell {
    width: min(100% - 24px, 580px);
  }

  .customer-hero {
    border-radius: 24px;
    padding: 32px 24px 24px;
  }

  .customer-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .customer-hero-assurance {
    min-height: 245px;
  }

  .customer-overview-layout {
    gap: 34px;
    padding-inline: 2px;
  }

  .customer-overview-heading-with-copy {
    align-items: start;
    flex-direction: column;
    gap: 7px;
  }

  .customer-overview-heading-with-copy > p {
    text-align: left;
  }

  .customer-next-clean-card,
  .customer-recent-clean {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 17px;
    padding: 22px 18px;
  }

  .customer-clean-date {
    min-width: 70px;
  }

  .customer-clean-date strong {
    font-size: 3rem;
  }

  .customer-recent-clean .customer-clean-date strong {
    font-size: 2.35rem;
  }

  .customer-next-clean-details > div,
  .customer-recent-clean-details > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .customer-next-clean-card .customer-portal-button,
  .customer-recent-clean .customer-portal-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .customer-latest-invoice-panel {
    border-radius: 22px;
    padding: 24px;
  }

  .customer-overview-links {
    gap: 18px;
    margin-inline: 2px;
  }

  .customer-invoice-document-footer .customer-invoice-actions {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .customer-clean-feedback-composer,
  .customer-general-feedback-card {
    border-radius: 24px;
    padding: 27px 22px;
  }

  .customer-feedback-rating-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-feedback-rating-options label:last-child {
    grid-column: 1 / -1;
  }

  .customer-clean-feedback-form .customer-portal-button,
  .customer-general-feedback-card .customer-portal-button {
    width: 100%;
  }
}
