﻿:root {
  --ink: #0d0d0b;
  --text: #1f211d;
  --muted: #6f6b63;
  --soft: #f6f4ee;
  --paper: #ffffff;
  --line: #dfddd4;
  --line-strong: #c9c6ba;
  --green: #0f5b49;
  --gold: #b8872d;
  --brick: #a94e3f;
  --human: #e85d45;
  --warning: #d89a2b;
  --shadow: 0 24px 70px rgba(28, 27, 24, 0.1);
  --grid-x: 50vw;
  --grid-y: 34vh;
}

body.property-detail-page {
  min-height: 100vh;
  overflow: auto;
  padding: 24px;
}

.property-detail-page .dashboard-bg {
  position: fixed;
}

.property-detail-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.property-detail-topbar,
.property-detail-hero,
.property-detail-layout {
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 46px rgba(13, 13, 11, 0.07);
  backdrop-filter: blur(14px);
}

.property-detail-topbar {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
}

.property-detail-brand img {
  width: 138px;
  display: block;
}

.property-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  padding: 26px;
}

.property-detail-hero h1 {
  margin: 10px 0 8px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.96;
  letter-spacing: 0;
}

.property-detail-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 720;
}

.property-detail-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
}

.property-detail-tabs {
  display: grid;
  align-content: start;
  gap: 6px;
  border-right: 1px solid rgba(13, 13, 11, 0.08);
  padding: 14px;
}

.property-detail-tabs button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #5f5b52;
  padding: 0 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 820;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.property-detail-tabs button:hover,
.property-detail-tabs button.is-active {
  border-color: rgba(17, 100, 90, 0.16);
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
  transform: translateX(2px);
}

.property-detail-panel {
  min-height: 360px;
  padding: 20px;
}

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

.property-detail-grid > div,
.property-detail-stack > div,
.property-detail-note {
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  padding: 14px;
}

.property-detail-grid span,
.property-detail-stack span,
.property-detail-note span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 860;
  text-transform: uppercase;
}

.property-detail-grid strong,
.property-detail-stack strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.property-detail-note {
  margin-top: 12px;
}

.property-detail-note p {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.property-detail-stack {
  display: grid;
  gap: 12px;
}

.property-detail-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.property-detail-chip-list span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(17, 100, 90, 0.16);
  border-radius: 999px;
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
  padding: 0 13px;
  font-size: 13px;
  font-weight: 820;
}

@media (max-width: 1080px) {
  .owner-properties-view {
    grid-template-columns: 1fr;
  }

  .owner-property-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.property-detail-page {
    padding: 12px;
  }

  .property-detail-topbar,
  .property-detail-hero {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .property-detail-topbar {
    flex-direction: column;
  }

  .property-detail-layout {
    grid-template-columns: 1fr;
  }

  .property-detail-tabs {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(13, 13, 11, 0.08);
  }

  .property-detail-tabs button {
    flex: 0 0 auto;
    text-align: center;
  }

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

  .owner-properties-head,
  .owner-property-editor-head,
  .owner-property-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .owner-property-form-actions button,
  .owner-property-form-actions a,
  .owner-add-property-button,
  .owner-property-editor-head a {
    width: 100%;
  }
}

body.property-detail-page {
  display: block;
  place-items: unset;
  overflow: auto;
  padding: 24px;
}

@media (max-width: 760px) {
  body.property-detail-page {
    padding: 12px;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #efefed;
  color: var(--text);
  font-family: Inter, Geist, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

.infinite-grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-header,
main,
.footer {
  position: relative;
  z-index: 1;
}

.grid-layer,
.grid-fade {
  position: absolute;
  inset: 0;
}

.grid-layer {
  background-image:
    linear-gradient(rgba(13, 13, 11, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 13, 11, 0.22) 1px, transparent 1px);
  background-size: 18px 18px;
  animation: grid-drift 6s linear infinite;
  will-change: background-position;
}

.grid-layer-base {
  opacity: 0.1;
  mask-image: radial-gradient(ellipse at center, #000 0%, #000 36%, rgba(0, 0, 0, 0.42) 62%, transparent 86%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, #000 36%, rgba(0, 0, 0, 0.42) 62%, transparent 86%);
}

.grid-layer-reveal {
  opacity: 0.46;
  mask-image: radial-gradient(360px circle at var(--grid-x) var(--grid-y), #000 0%, rgba(0, 0, 0, 0.74) 34%, transparent 76%);
  -webkit-mask-image: radial-gradient(360px circle at var(--grid-x) var(--grid-y), #000 0%, rgba(0, 0, 0, 0.74) 34%, transparent 76%);
}

.grid-fade {
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.52) 62%, #fff 91%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.18) 28%, rgba(255, 255, 255, 0.12) 66%, #fff 100%);
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 18px 18px, 18px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .grid-layer,
  .hero::before {
    animation: none;
  }
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: 100%;
  pointer-events: none;
  transform: translateY(0);
  transition: transform 420ms ease, opacity 420ms ease;
  will-change: transform;
}

.nav {
  width: min(1040px, calc(100% - 28px));
  min-height: 70px;
  margin: 0 auto;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(18, 18, 17, 0.96);
  box-shadow: 0 18px 42px rgba(13, 13, 11, 0.24);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  transform: scale(1);
  transition: min-height 420ms ease, padding 420ms ease, border-color 420ms ease, background 420ms ease, box-shadow 420ms ease, transform 420ms ease;
}

.site-header.is-scrolled {
  transform: translateY(-6px);
}

.site-header.is-scrolled .nav {
  min-height: 58px;
  padding: 6px 8px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(10, 10, 9, 0.99);
  box-shadow: 0 24px 62px rgba(13, 13, 11, 0.36);
  transform: scale(0.965);
}

.site-header.is-scrolled .brand-logo {
  height: 38px !important;
  max-width: 156px !important;
}

.site-header.is-scrolled .brand-name {
  font-size: 13px;
}

.site-header.is-scrolled .nav-links {
  gap: 18px;
  font-size: 13px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  font-weight: 730;
  color: #fff;
  padding-left: 8px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 48px;
  max-width: 196px;
  object-fit: contain;
  transition: height 420ms ease, max-width 420ms ease;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  transition: width 420ms ease, height 420ms ease;
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  display: block;
  transition: width 420ms ease, height 420ms ease;
}

.brand-name {
  font-size: 15px;
  line-height: 1;
  transition: font-size 420ms ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  order: 0;
  color: #d7d4cd;
  font-size: 14px;
  font-weight: 560;
  line-height: 18px;
  letter-spacing: 0;
}

.nav-links a {
  opacity: 0.76;
  transition: color 160ms ease, opacity 160ms ease;
}

.nav-links a:hover {
  color: #fff;
  opacity: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  line-height: 20px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(13, 13, 11, 0.1), 0 10px 24px rgba(13, 13, 11, 0.08);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.button:hover {
  background: #1f1f1d;
  border-color: #1f1f1d;
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(13, 13, 11, 0.12), 0 14px 30px rgba(13, 13, 11, 0.12);
}

.button:focus-visible,
button:focus-visible,
.booking-submit:focus-visible {
  outline: 2px solid rgba(13, 13, 11, 0.38);
  outline-offset: 2px;
}

.site-header .button {
  min-height: 40px;
  border-color: #fff;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 12px 28px rgba(0, 0, 0, 0.24);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(13, 13, 11, 0.06);
}

.button.secondary:hover {
  background: rgba(13, 13, 11, 0.05);
  border-color: var(--ink);
  color: var(--ink);
}

.button.login-button {
  gap: 8px;
  border-color: #e9e7df;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(13, 13, 11, 0.08), 0 10px 28px rgba(13, 13, 11, 0.09);
}

.button.login-button::after {
  content: "→";
  font-size: 15px;
  line-height: 1;
}

.site-header .button.nav-login,
.site-header .button.nav-estimate {
  position: static;
  order: 0;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 680;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.site-header .button.nav-login {
  border-color: rgba(255, 255, 255, 0.1);
  background: #2b2a28;
  color: #fff;
}

.site-header .button.nav-login:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: #343330;
  color: #fff;
}

.site-header .button.nav-estimate {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
  white-space: nowrap;
}

.site-header .button.nav-estimate:hover,
.site-header .button:hover {
  background: #f7f7f4;
  border-color: #f7f7f4;
  color: var(--ink);
}

.site-header .button.nav-login::after,
.site-header .button.nav-estimate::after {
  content: none;
}

/* Header scale refinement */
.nav {
  width: min(1248px, calc(100% - 28px));
  min-height: 84px;
  padding: 10px 12px;
  gap: 19px;
}

.brand-logo {
  height: 58px;
  max-width: 235px;
}

.nav-links {
  gap: 24px;
  font-size: 15px;
}

.site-header .button.nav-login,
.site-header .button.nav-estimate {
  min-height: 48px;
  padding: 0 19px;
  font-size: 14px;
}

.site-header.is-scrolled .nav {
  min-height: 70px;
  padding: 8px 10px;
}

.site-header.is-scrolled .brand-logo {
  height: 46px !important;
  max-width: 188px !important;
}

.site-header.is-scrolled .nav-links {
  gap: 22px;
  font-size: 14px;
}

.button.light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.button.light:hover {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.button.login-button::after {
  content: "";
  width: 15px;
  height: 15px;
  background: currentColor;
  clip-path: path("M8.82 2.25 14 7.5l-5.18 5.25-1.17-1.16 3.12-3.17H1.5V6.58h9.27L7.65 3.41z");
}

.about-page {
  display: grid;
  gap: 34px;
}

.about-page h2 {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.about-page > div > p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.value-card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 50px rgba(13, 13, 11, 0.06);
}

.value-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.value-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.15;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
  scroll-margin-top: 132px;
}

.scroll-section {
  opacity: 0.78;
  transform: translateY(18px) scale(0.992);
  transform-origin: center top;
  transition: opacity 520ms ease, transform 520ms ease, filter 520ms ease;
  will-change: opacity, transform;
}

.scroll-section.is-scroll-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero {
  position: relative;
  width: min(960px, calc(100% - 28px));
  margin: 0 auto;
  margin-top: -10px;
  padding: 96px 58px 46px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  border: 1px solid #d7d7d2;
  border-radius: 10px;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.46) 76%, #fff 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.28) 20%, rgba(255, 255, 255, 0.2) 64%, rgba(255, 255, 255, 0.9) 100%),
    #fff;
  background-size: auto;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 84px 0 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(13, 13, 11, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 13, 11, 0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  animation: hero-grid-drift 6s linear infinite;
  mask-image: radial-gradient(ellipse at center, #000 0%, #000 46%, rgba(0, 0, 0, 0.44) 70%, transparent 91%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, #000 46%, rgba(0, 0, 0, 0.44) 70%, transparent 91%);
}

@keyframes hero-grid-drift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 18px 18px, 18px 18px;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0) 26%, rgba(255, 255, 255, 0.34) 72%, #fff 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 26%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.78) 100%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  margin: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.94;
  font-weight: 860;
  letter-spacing: 0;
  text-align: center;
}

.hero-strong {
  font-weight: 900;
}

.hero-copy,
.dashboard,
.mock-screen,
.form-card {
  min-width: 0;
}

.hero-copy p {
  max-width: 520px;
  margin: 22px auto 0;
  color: #57534b;
  font-size: 15px;
  line-height: 23px;
  text-align: center;
}

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

.hero-proof {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
  color: #47443d;
  font-size: 14px;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.dashboard {
  width: min(760px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 64px rgba(13, 13, 11, 0.12);
  overflow: hidden;
  position: relative;
}

.dashboard::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.dashboard-top {
  min-height: 58px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.dashboard-title {
  display: grid;
  gap: 2px;
}

.dashboard-title strong {
  color: var(--ink);
  font-size: 14px;
}

.dashboard-title span,
.tiny {
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #edf6f2;
  color: var(--green);
  font-size: 12px;
  font-weight: 650;
}

.dashboard-body {
  padding: 20px;
  display: grid;
  gap: 16px;
}

.dashboard-body,
.dashboard-panel,
.metric {
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.hero.is-scroll-active .dashboard:hover {
  border-color: var(--line-strong);
  box-shadow: 0 30px 82px rgba(13, 13, 11, 0.16);
}

.hero.is-scroll-active .dashboard:hover .dashboard-body {
  background: rgba(255, 255, 255, 0.36);
}

.hero.is-scroll-active .dashboard:hover .metric,
.hero.is-scroll-active .dashboard:hover .dashboard-panel {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.96);
}

.hero.is-scroll-active .dashboard:hover .metric:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(13, 13, 11, 0.1);
}

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

.metric {
  min-height: 116px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}

.metric strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 25px;
  line-height: 30px;
  font-weight: 720;
}

.metric small {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 12px;
  line-height: 16px;
}

.dashboard-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.panel-head {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.panel-head strong {
  color: var(--ink);
  font-size: 14px;
}

.rows {
  display: grid;
}

.row {
  min-height: 54px;
  padding: 12px 15px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid #eceae3;
}

.row:last-child {
  border-bottom: 0;
}

.row strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 19px;
}

.row span {
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}

.row-value {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.proof-item {
  min-height: 148px;
  padding: 22px;
  background: var(--paper);
}

.proof-item span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 720;
}

.proof-item strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 24px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.5fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2,
.article-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1;
  font-weight: 740;
}

.section-head p,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 28px;
}

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

.step {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(13, 13, 11, 0.04);
}

.service-step {
  min-height: 178px;
  position: relative;
  overflow: hidden;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.service-step::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 52%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.services-timeline.is-scroll-active .service-step {
  background: rgba(255, 255, 255, 0.78);
}

.services-timeline.is-scroll-active .service-step:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(13, 13, 11, 0.12);
}

.services-timeline.is-scroll-active .service-step:hover::after {
  opacity: 1;
}

.card-lift-section {
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.44);
  box-shadow: 0 18px 60px rgba(13, 13, 11, 0.045);
  padding: 54px;
  margin-top: 38px;
  margin-bottom: 38px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.card-lift-section:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 13, 11, 0.14);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 24px 70px rgba(13, 13, 11, 0.075);
}

.card-lift-section .stat,
.card-lift-section .faq,
.card-lift-section .article-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(13, 13, 11, 0.04);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.card-lift-section .stat::after,
.card-lift-section .faq::after,
.card-lift-section .article-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 52%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.card-lift-section.is-scroll-active .stat,
.card-lift-section.is-scroll-active .faq,
.card-lift-section.is-scroll-active .article-card {
  background: rgba(255, 255, 255, 0.78);
}

.card-lift-section.is-scroll-active .stat:hover,
.card-lift-section.is-scroll-active .faq:hover,
.card-lift-section.is-scroll-active .article-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(13, 13, 11, 0.12);
}

.card-lift-section.is-scroll-active .stat:hover::after,
.card-lift-section.is-scroll-active .faq:hover::after,
.card-lift-section.is-scroll-active .article-card:hover::after {
  opacity: 1;
}

.social-proof-section {
  overflow: hidden;
  padding-top: 92px;
  padding-bottom: 92px;
}

.social-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(460px, 0.92fr);
  gap: 58px;
  align-items: center;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.social-proof:hover {
  transform: translateY(-3px);
}

.social-proof-copy h2 {
  max-width: 600px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1;
  font-weight: 740;
}

.social-proof-copy p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 28px;
}

.social-proof-note {
  font-size: 13px !important;
  line-height: 21px !important;
}

.listing-proof-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.listing-proof-track {
  width: max-content;
  display: flex;
  gap: 14px;
  animation: listing-proof-marquee 34s linear infinite;
}

.listing-proof-marquee:hover .listing-proof-track,
.listing-proof-marquee:focus-within .listing-proof-track {
  animation-play-state: paused;
}

.listing-proof-group {
  display: flex;
  gap: 14px;
}

.listing-proof-card {
  position: relative;
  width: 276px;
  min-height: 324px;
  display: grid;
  grid-template-rows: 168px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 46px rgba(13, 13, 11, 0.055);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.listing-proof-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 52%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.social-proof-section.is-scroll-active .listing-proof-card {
  background: rgba(255, 255, 255, 0.78);
}

.social-proof-section.is-scroll-active .listing-proof-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(13, 13, 11, 0.12);
}

.social-proof-section.is-scroll-active .listing-proof-card:hover::after {
  opacity: 1;
}

.listing-proof-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.listing-proof-card > div {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
}

.listing-proof-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.listing-proof-card strong {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.15;
  font-weight: 760;
}

.listing-proof-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.listing-proof-card b {
  color: var(--ink);
  font-size: 22px;
  font-weight: 780;
}

@keyframes listing-proof-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 7px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .listing-proof-track {
    animation: none;
  }
}

.step span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.step h3,
.feature h3,
.article-card h3 {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 27px;
}

.step p,
.feature p,
.article-card p,
.about p,
.faq p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 24px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: center;
}

.framed-section {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(13, 13, 11, 0.08);
  padding: 54px;
  overflow: hidden;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.framed-section.is-scroll-active {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line-strong);
}

.framed-section.is-scroll-active:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 80px rgba(13, 13, 11, 0.12);
}

.framed-section .mock-screen {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.framed-section.is-scroll-active:hover .mock-screen {
  transform: rotate(0deg) translateY(-2px);
  border-color: #2f2f2c;
  box-shadow: 0 24px 70px rgba(13, 13, 11, 0.12);
}

.features {
  display: grid;
  gap: 20px;
}

.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 50px rgba(13, 13, 11, 0.04);
}

.feature:first-child {
  border-top: 1px solid var(--line);
}

.owner-controls {
  gap: 14px;
}

.owner-control {
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.owner-control::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.36), transparent 54%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.owner-control > span,
.owner-control small {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: #edf6f2;
  color: var(--green);
  font-size: 12px;
  line-height: 16px;
  font-weight: 720;
}

.owner-control h3 {
  margin-top: 0;
}

.owner-control small {
  margin-top: 18px;
  background: rgba(13, 13, 11, 0.05);
  color: #514f49;
}

.framed-section.is-scroll-active .owner-control:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(13, 13, 11, 0.1);
}

.framed-section.is-scroll-active .owner-control:hover::after {
  opacity: 1;
}

.mock-screen {
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 18px;
}

.screen-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.screen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.screen-tile {
  min-height: 126px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfaf7;
}

.screen-tile.full {
  grid-column: 1 / -1;
}

.screen-tile strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 26px;
}

.screen-tile span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}

.about {
  padding: 54px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.45fr);
  gap: 42px;
}

.about h2 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.about p {
  color: #d9d6cd;
  font-size: 17px;
  line-height: 29px;
}

.values {
  display: grid;
  gap: 12px;
}

.value {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--paper);
  font-weight: 650;
}

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

.stat {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.stat strong {
  display: block;
  color: var(--ink);
  font-size: 34px;
  line-height: 38px;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 21px;
}

.care-grid,
.article-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.section-action {
  display: flex;
  margin-top: 28px;
}

.section-action-right {
  justify-content: flex-end;
}

.care-card,
.article-card,
.faq,
.form-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.article-card {
  display: grid;
  min-height: 244px;
  align-content: start;
}

.category {
  color: var(--green);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.article-card a {
  width: fit-content;
  min-height: 40px;
  margin-top: 20px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
  line-height: 20px;
  box-shadow: 0 1px 2px rgba(13, 13, 11, 0.06);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.article-card a:hover {
  background: rgba(13, 13, 11, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(13, 13, 11, 0.08), 0 10px 24px rgba(13, 13, 11, 0.08);
}

.estimate {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.7fr);
  gap: 48px;
  align-items: start;
  padding: 54px;
  border-radius: 18px;
  background: #ece8dd;
}

.estimate h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.estimate p {
  color: #5f5a50;
  font-size: 17px;
  line-height: 28px;
}

.calendar-estimate {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(440px, 0.92fr);
  gap: 40px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(13, 13, 11, 0.08);
  overflow: hidden;
}

.calendar-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  padding-left: 18px;
}

.calendar-copy h2 {
  margin: 0;
  max-width: 440px;
  color: var(--ink);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1;
  font-weight: 760;
}

.calendar-copy p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 26px;
}

.calendar-card {
  position: relative;
  min-height: 350px;
  border: 1px solid #2f2f2c;
  border-radius: 22px;
  background: #151513;
  padding: 0;
  transform: translateX(4px) rotate(-1deg);
  transition: transform 180ms ease, border-color 180ms ease;
}

.calendar-estimate:hover .calendar-card {
  border-color: #4b4b47;
  transform: translateX(0) rotate(0deg);
}

.booking-widget {
  height: 100%;
  min-height: 350px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border-radius: 21px;
  color: #f4f4f1;
}

.booking-calendar {
  padding: 28px 26px 22px;
  border-right: 1px solid #30302d;
}

.booking-month {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  margin-bottom: 26px;
}

.booking-month strong {
  justify-self: center;
  font-size: 22px;
  line-height: 28px;
}

.booking-month span,
.month-control {
  color: #8d8c87;
  font-size: 30px;
  line-height: 1;
}

.month-control {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.month-control:hover {
  color: #fff;
  border-color: #33332f;
  background: #090908;
}

.booking-days {
  display: grid;
  grid-template-columns: repeat(7, 40px);
  gap: 8px 10px;
  justify-content: center;
}

.booking-days span,
.booking-days button,
.booking-days i {
  width: 40px;
  height: 40px;
}

.booking-days span {
  display: grid;
  place-items: center;
  color: #8d8c87;
  font-size: 13px;
  font-weight: 720;
}

.booking-days i {
  display: block;
}

.booking-days button {
  position: relative;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #f4f4f1;
  font-size: 20px;
  font-weight: 650;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.booking-days button:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.booking-days button.available {
  color: #fff;
}

.booking-days button.selected,
.booking-times button.selected {
  background: #f1f1ef;
  color: var(--ink);
}

.booking-days button.muted-day {
  color: #5b5a56;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.booking-times {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px 20px 22px;
  max-height: 292px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #4b4b47 #11110f;
}

.booking-times button {
  min-height: 50px;
  border: 1px solid #33332f;
  border-radius: 8px;
  background: #090908;
  color: #f4f4f1;
  font-size: 20px;
  font-weight: 720;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.booking-times button:hover {
  border-color: #4b4b47;
  background: #11110f;
  transform: translateY(-1px);
}

.booking-empty {
  margin: 0;
  padding: 18px 12px;
  color: #aaa8a0;
  font-size: 14px;
  line-height: 20px;
}

.booking-confirm {
  grid-column: 1 / -1;
  min-height: 74px;
  padding: 16px 20px;
  border-top: 1px solid #30302d;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.booking-confirm p {
  margin: 0;
  color: #f4f4f1;
  font-size: 17px;
  line-height: 24px;
  font-weight: 650;
}

.booking-confirm button {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid #33332f;
  border-radius: 8px;
  background: #090908;
  color: #fff;
  font-size: 15px;
  font-weight: 720;
}

.booking-submit {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid #f1f1ef;
  border-radius: 8px;
  background: #f1f1ef;
  color: var(--ink);
  font-size: 15px;
  font-weight: 780;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.booking-submit:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

.booking-submit.is-disabled {
  pointer-events: none;
  opacity: 0.48;
}

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

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: clamp(18px, 4vw, 44px);
  background: rgba(13, 13, 11, 0.36);
  backdrop-filter: blur(18px) saturate(110%);
  -webkit-backdrop-filter: blur(18px) saturate(110%);
  animation: bookingOverlayIn 220ms ease-out both;
}

.booking-modal-open {
  overflow: hidden;
}

body.booking-modal-open > .infinite-grid-bg,
body.booking-modal-open > .site-header,
body.booking-modal-open > main,
body.booking-modal-open > .site-footer {
  filter: blur(4px);
  transform: scale(1.004);
  transition: filter 220ms ease, transform 220ms ease;
}

.booking-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: min(720px, calc(100dvh - 48px));
  overflow-y: auto;
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 90px rgba(13, 13, 11, 0.22);
  animation: bookingDialogIn 280ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes bookingOverlayIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bookingDialogIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.booking-dialog h3 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
}

.booking-dialog p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 22px;
}

.booking-dialog p strong {
  color: var(--ink);
  font-weight: 760;
}

.booking-modal-time {
  color: var(--ink);
  font-weight: 760;
}

.booking-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.booking-form {
  display: grid;
  gap: 14px;
}

.booking-form label {
  display: grid;
  gap: 7px;
}

.booking-form label span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 720;
}

.booking-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 13px;
  font-size: 15px;
}

.booking-form input:focus {
  outline: 2px solid rgba(17, 100, 90, 0.2);
  border-color: rgba(17, 100, 90, 0.46);
}

.booking-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.booking-consent {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px !important;
  margin: 8px 0 0;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.booking-consent input {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--ink);
}

.booking-consent span {
  color: var(--muted) !important;
  font-size: 12px !important;
  line-height: 17px !important;
  font-weight: 520 !important;
}

.booking-call-type {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  border: 0;
}

.booking-call-type legend {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 720;
}

.booking-call-option {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px !important;
  min-height: 58px;
  padding: 12px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.booking-call-option:hover,
.booking-call-option:has(input:checked) {
  border-color: var(--ink);
  box-shadow: 0 10px 24px rgba(13, 13, 11, 0.08);
}

.booking-call-option:focus-within {
  outline: 2px solid rgba(17, 100, 90, 0.2);
}

.booking-call-option input {
  appearance: none;
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
}

.booking-call-option input:checked {
  border: 4px solid var(--ink);
  background: #fff;
}

.booking-call-option span {
  display: grid;
  gap: 2px;
}

.booking-call-option strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}

.booking-call-option small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.booking-form-error {
  padding: 12px 14px;
  border: 1px solid rgba(163, 61, 45, 0.2);
  border-radius: 8px;
  background: rgba(163, 61, 45, 0.08);
  color: #783326 !important;
  font-size: 13px !important;
  line-height: 19px !important;
}

.booking-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.booking-form-actions .button {
  width: auto;
}

.confirmation-hero {
  width: min(960px, calc(100% - 28px));
  margin: 0 auto;
  padding: 130px 0 90px;
}

.confirmation-card {
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(13, 13, 11, 0.08);
}

.confirmation-card h1 {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
}

.confirmation-card p {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 28px;
}

.confirmation-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 22px;
}

.confirmation-details div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.confirmation-details span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}

.confirmation-details strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 28px;
}

.form-card {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.field input,
.field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 0 12px;
  font-size: 14px;
}

.footer {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 12px auto 0;
  padding: 66px 0 92px;
  overflow: hidden;
}

.footer-card {
  position: relative;
  z-index: 2;
  width: min(1060px, calc(100% - 72px));
  margin: 0 auto;
  padding: 44px 52px 34px;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(360px, 1.35fr);
  gap: 54px;
  border: 1px solid rgba(13, 13, 11, 0.09);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 28px 90px rgba(13, 13, 11, 0.1);
  backdrop-filter: blur(14px);
}

.footer-brand-block {
  display: grid;
  align-content: start;
  gap: 20px;
}

.footer-brand-block p {
  max-width: 370px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 23px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
}

.footer-logo {
  display: block;
  width: auto;
  height: 62px;
  max-width: 240px;
  object-fit: contain;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 10px;
  font-weight: 760;
  transition: border-color 160ms ease, transform 160ms ease;
}

.footer-socials svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-socials a[aria-label="Facebook"] svg {
  fill: currentColor;
  stroke: none;
}

.footer-socials a:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

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

.footer-columns div {
  display: grid;
  align-content: start;
  gap: 13px;
}

.footer-columns strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 13px;
  line-height: 18px;
}

.footer-columns a,
.footer-bottom a {
  color: #5f5b53;
  font-size: 13px;
  line-height: 18px;
}

.footer-columns a:hover,
.footer-bottom a:hover {
  color: var(--ink);
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom div {
  display: flex;
  gap: 22px;
}

.footer-watermark {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -96px;
  z-index: 1;
  width: 104%;
  max-height: 320px;
  object-fit: contain;
  opacity: 0.11;
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, rgba(0, 0, 0, 0.82) 58%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, rgba(0, 0, 0, 0.82) 58%, transparent 100%);
  pointer-events: none;
}

.hub-hero,
.article-hero {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0 44px;
}

.article-prototype-page .article-hero-spaced {
  width: min(1120px, 100%);
  padding: 0 0 72px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.article-prototype-page .article-hero-spaced .category {
  margin-bottom: 34px;
}

.article-prototype-page .article-hero-spaced h1 {
  max-width: 980px;
  margin: 0 auto;
}

.article-prototype-page .article-hero-spaced .lead {
  max-width: 920px;
  margin-top: 34px;
}

.hub-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
}

.hub-hero p {
  max-width: 720px;
  margin: 22px 0 0;
}

.hub-tools {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.article-search {
  width: min(560px, 100%);
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 40px rgba(13, 13, 11, 0.05);
}

.article-search span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 720;
}

.article-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.article-search input::placeholder {
  color: #87827a;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}

.category-list span,
.category-list button {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: #514f49;
  font-size: 13px;
  font-family: inherit;
}

.category-list button {
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.category-list button:hover,
.category-list button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

.hub-results {
  padding-top: 54px;
}

.article-card.is-hidden {
  display: none;
}

.empty-results {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 16px;
}

.advice-hub-tools {
  justify-items: start;
  margin-top: 0;
}

.advice-search.dashboard-search {
  width: min(720px, 100%);
  min-height: 52px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 40px rgba(13, 13, 11, 0.05);
}

.advice-search.dashboard-search input {
  min-height: 52px;
  padding: 0 18px;
  color: var(--ink);
  font-size: 14px;
}

.advice-category-switch.period-switch-loose {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(100%, 1120px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.advice-category-switch.period-switch-loose button {
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #5b564e;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(13, 13, 11, 0.04);
}

.advice-category-switch.period-switch-loose button:hover {
  border-color: rgba(13, 13, 11, 0.16);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(13, 13, 11, 0.09);
  transform: translateY(-1px);
}

.advice-category-switch.period-switch-loose button.active,
.advice-category-switch.period-switch-loose button.is-active {
  border-color: #0d0d0b;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(13, 13, 11, 0.1), inset 0 0 0 1px rgba(13, 13, 11, 0.16);
}

.advice-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.advice-page-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(13, 13, 11, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(13, 13, 11, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.advice-page-button:hover:not(:disabled) {
  border-color: rgba(13, 13, 11, 0.2);
  box-shadow: 0 16px 32px rgba(13, 13, 11, 0.1);
  transform: translateY(-1px);
}

.advice-page-button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  box-shadow: none;
}

.article-layout {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 72px;
}

.article-cover {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 90px rgba(13, 13, 11, 0.12);
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  display: block;
  object-fit: cover;
}

.article-prototype-page .article-full-module {
  width: min(1640px, 96vw);
  max-width: min(1640px, 96vw);
  margin-left: auto;
  margin-right: auto;
  margin-top: -74px;
  padding: 158px min(74px, 5vw) 74px;
  opacity: 1;
  transform: none;
  filter: none;
  background: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.article-prototype-page .article-cover-in-module {
  width: min(1120px, 100%);
  margin: 0 auto 64px;
  border-radius: 18px;
  filter: none;
  opacity: 1;
  transform: none;
}

.article-prototype-page .article-cover-in-module img {
  filter: none;
  opacity: 1;
}

.article-prototype-page .article-layout-in-module {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding-bottom: 0;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
  text-align: center;
}

.article-prototype-page .scroll-section,
.article-prototype-page .scroll-section.is-scroll-active {
  opacity: 1;
  transform: none;
  filter: none;
}

.article-summary {
  margin: 0 0 46px;
  padding: 24px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(13, 13, 11, 0.06);
}

.article-prototype-page .article-summary-top {
  width: 100%;
  margin: 0;
  padding: 18px 34px 36px;
  justify-self: center;
  position: sticky;
  top: 118px;
  scroll-margin-top: 124px;
  text-align: center;
}

.article-prototype-page .article-summary-top h2 {
  margin: 0 0 34px;
}

.article-prototype-page .article-summary-top ol {
  padding-left: 0;
  list-style-position: inside;
}

.article-prototype-page .article-body {
  min-width: 0;
  text-align: center;
}

.article-prototype-page .article-layout-in-module h2 {
  scroll-margin-top: 124px;
}

.article-prototype-page .article-layout-in-module ul {
  width: fit-content;
  max-width: 760px;
  margin: 22px auto 0;
  padding-left: 0;
  list-style-position: inside;
  text-align: center;
}

.article-prototype-page .article-sources ul {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.article-prototype-page .article-brief,
.article-prototype-page .article-comparison {
  margin: 34px auto;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(13, 13, 11, 0.05);
}

.article-prototype-page .article-brief {
  max-width: 720px;
  padding: 26px;
}

.article-prototype-page .article-brief strong {
  display: block;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 18px;
  line-height: 24px;
}

.article-prototype-page .article-brief p {
  margin-bottom: 0;
}

.article-prototype-page .article-brief ul {
  width: auto;
  max-width: none;
  display: grid;
  gap: 10px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: center;
}

.article-prototype-page .article-brief li {
  color: #4f4b43;
}

.article-prototype-page .article-comparison {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  text-align: center;
}

.article-prototype-page .article-comparison div {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.article-prototype-page .article-comparison div + div {
  border-left: 1px solid rgba(13, 13, 11, 0.08);
}

.article-prototype-page .article-comparison strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 24px;
}

.article-prototype-page .article-comparison span {
  color: #5f5b53;
  font-size: 14px;
  line-height: 22px;
}

.article-summary h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 18px;
  line-height: 24px;
}

.article-summary ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.article-summary li {
  color: var(--muted);
  font-size: 15px;
  line-height: 23px;
}

.article-summary a {
  color: var(--ink);
  text-decoration: none;
}

.article-summary a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-layout h2 {
  margin: 44px 0 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 34px;
}

.article-layout p,
.article-layout li {
  color: #4f4b43;
  font-size: 17px;
  line-height: 30px;
}

.article-layout ul {
  padding-left: 22px;
}

.article-sources {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.article-sources h2 {
  margin-top: 0;
  font-size: 14px;
  line-height: 20px;
}

.article-sources a {
  color: var(--ink);
  text-underline-offset: 4px;
}

.article-sources li,
.article-sources a {
  font-size: 12px;
  line-height: 18px;
}

.article-cta {
  margin-top: 42px;
  padding: 28px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
}

.article-cta p {
  color: #dedbd2;
}

.login-page {
  min-height: 100vh;
  background: #efefed;
}

.login-page .site-header {
  position: relative;
  top: 14px;
}

.login-nav {
  width: min(860px, calc(100% - 28px));
  min-height: 66px;
  justify-content: space-between;
}

.login-nav .brand {
  padding-left: 6px;
}

.login-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.login-nav-actions > a:not(.button) {
  color: #d7d4cd;
  font-size: 13px;
  font-weight: 640;
  opacity: 0.78;
  transition: color 160ms ease, opacity 160ms ease;
}

.login-nav-actions > a:not(.button):hover {
  color: #fff;
  opacity: 1;
}

.login-main {
  min-height: calc(100vh - 94px);
  display: grid;
  place-items: center;
  padding: 58px 20px 72px;
}

.login-shell {
  width: min(760px, 100%);
  min-width: 0;
  display: grid;
  place-items: center;
}

.login-card {
  width: min(690px, 100%);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 28px 86px rgba(13, 13, 11, 0.13);
  backdrop-filter: blur(18px);
}

.login-card-top {
  min-height: 66px;
  padding: 0 26px 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(13, 13, 11, 0.09);
  color: var(--ink);
  font-size: 18px;
  font-weight: 760;
}

.login-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #8c887e;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.login-close:hover {
  background: rgba(13, 13, 11, 0.05);
  color: var(--ink);
  transform: translateY(-1px);
}

.login-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.login-form {
  padding: 56px min(72px, 9vw) 50px;
  display: grid;
  gap: 22px;
  min-width: 0;
}

.login-copy {
  margin-bottom: 4px;
}

.login-copy h1 {
  margin: 0;
  max-width: 520px;
  color: var(--ink);
  font-size: clamp(54px, 6vw, 72px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

.login-copy p {
  max-width: 480px;
  margin: 20px 0 0;
  color: #5f5b53;
  font-size: 17px;
  font-weight: 520;
  line-height: 25px;
}

.login-field {
  display: grid;
  gap: 9px;
}

.login-field label,
.login-label-row label {
  color: #555149;
  font-size: 14px;
  font-weight: 690;
  line-height: 19px;
}

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

.login-label-row a {
  color: var(--green);
  font-size: 14px;
  font-weight: 690;
  line-height: 19px;
}

.login-label-row a:hover {
  color: #093e32;
}

.login-field input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #d6d2c8;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  padding: 0 16px;
  font-size: 16px;
  line-height: 22px;
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.login-field input::placeholder {
  color: #8a857b;
}

.login-field input:focus {
  border-color: rgba(15, 91, 73, 0.55);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 91, 73, 0.12);
}

.login-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4f4b43;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

.login-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--green);
}

.login-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.login-actions .button {
  min-height: 52px;
  padding: 0 25px;
  font-size: 15px;
}

.login-actions .button.secondary {
  border-color: #d9d5cb;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.login-actions .button.secondary:hover {
  border-color: var(--ink);
  background: #fff;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .about,
  .estimate,
  .calendar-estimate,
  .social-proof,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .card-lift-section {
    padding: 42px;
  }

  .owner-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .owner-control {
    padding: 18px;
  }

  .owner-control h3 {
    margin-top: 0;
    font-size: 17px;
    line-height: 22px;
  }

  .owner-control p {
    font-size: 13px;
    line-height: 20px;
  }

  .owner-control small {
    margin-top: 14px;
  }

  .proof-strip,
  .steps,
  .care-grid,
  .article-grid,
  .faq-grid,
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .login-page .nav {
    padding: 8px 10px;
    align-items: center;
    flex-wrap: nowrap;
  }
}

@media (max-width: 640px) {
  .nav,
  .section,
  .hero,
  .footer,
  .hub-hero,
  .article-hero,
  .article-cover,
  .article-layout {
    width: min(100% - 28px, 560px);
  }

  .article-cover {
    margin-bottom: 30px;
    border-radius: 14px;
  }

  .article-cover img {
    aspect-ratio: 4 / 3;
  }

  .article-summary {
    padding: 20px;
  }

  .article-prototype-page .article-hero-spaced {
    width: min(100%, 560px);
    padding: 0 0 42px;
  }

  .article-prototype-page .article-full-module {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    margin-top: -62px;
    padding: 132px 18px 28px;
  }

  .article-prototype-page .article-cover-in-module {
    margin-bottom: 34px;
  }

  .article-prototype-page .article-summary-top {
    margin-bottom: 40px;
    padding: 18px 20px 28px;
    position: static;
  }

  .article-prototype-page .article-layout-in-module {
    display: block;
    width: min(100%, 560px);
  }

  .article-prototype-page .article-comparison {
    grid-template-columns: 1fr;
  }

  .article-prototype-page .article-comparison div + div {
    border-left: 0;
    border-top: 1px solid rgba(13, 13, 11, 0.08);
  }

  .site-header {
    top: 14px;
  }

  .nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
    overflow: visible;
    position: relative;
  }

  .login-page .nav {
    display: flex;
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    min-height: 62px;
    padding: 8px 10px;
    align-items: center;
    gap: 12px;
  }

  .login-page .brand-logo {
    height: 42px !important;
    max-width: 132px !important;
  }

  .login-nav-actions {
    gap: 8px;
  }

  .social-proof-section {
    padding: 34px 22px;
  }

  .social-proof {
    gap: 26px;
  }

  .social-proof-copy p {
    font-size: 15px;
    line-height: 24px;
  }

  .listing-proof-marquee {
    overflow: hidden;
    margin-right: -22px;
    padding-right: 22px;
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 88%, transparent 100%);
    scroll-snap-type: none;
  }

  .listing-proof-track {
    animation: listing-proof-marquee 28s linear infinite;
  }

  .listing-proof-group {
    gap: 12px;
  }

  .listing-proof-group[aria-hidden="true"] {
    display: flex;
  }

  .listing-proof-card {
    width: min(270px, 78vw);
    min-height: 304px;
    display: grid;
    grid-template-rows: 154px minmax(0, 1fr);
    scroll-snap-align: none;
  }

  .listing-proof-card img {
    grid-row: 1;
    position: static;
    width: 100%;
    height: 154px;
  }

  .listing-proof-card > div {
    grid-row: 2;
    position: relative;
    background: rgba(255, 255, 255, 0.92);
  }

  .listing-proof-card > div {
    padding: 16px;
  }

  .listing-proof-card strong {
    font-size: 18px;
  }

  .listing-proof-card b {
    font-size: 21px;
  }

  .login-nav-actions > a:not(.button) {
    display: none;
  }

  .login-page .site-header .button.nav-estimate {
    width: auto;
    max-width: none;
    min-height: 38px;
    margin: 0;
    padding: 0 10px;
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
  }

  .login-main {
    width: 100%;
    max-width: 100vw;
    min-height: calc(100vh - 82px);
    padding: 40px 14px 48px;
    place-items: start center;
    overflow-x: hidden;
  }

  .login-shell,
  .login-card {
    width: 100%;
    max-width: 100%;
  }

  .login-card {
    border-radius: 16px;
  }

  .login-card-top {
    min-height: 58px;
    padding: 0 16px 0 20px;
    font-size: 16px;
  }

  .login-form {
    padding: 34px 20px 24px;
    gap: 18px;
  }

  .login-copy h1 {
    max-width: 300px;
    font-size: 44px;
    line-height: 0.92;
  }

  .login-copy p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 23px;
  }

  .login-label-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .login-field input {
    min-height: 50px;
    font-size: 15px;
  }

  .login-actions {
    flex-direction: column;
    margin-top: 18px;
  }

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

  .brand {
    justify-self: center;
    min-width: 0;
    padding-left: 0;
  }

  .brand-logo {
    height: 40px !important;
    max-width: 158px !important;
  }

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    padding: 0 6px 6px;
    overflow-x: auto;
    scrollbar-width: none;
    color: #d7d4cd;
    font-size: 11px;
    text-align: center;
    white-space: nowrap;
  }

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

  .nav-links a {
    opacity: 0.82;
  }

  .hero {
    padding: 36px 18px 34px;
    margin-top: 20px;
  }

  .hero-copy h1 {
    max-width: 320px;
    font-size: 39px;
    line-height: 1;
  }

  .hero-copy p {
    max-width: 300px;
  }

  .hero-actions,
  .hero-actions .button {
    max-width: 286px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-proof {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav .button {
    margin-left: 0;
  }

  .site-header .button.nav-login,
  .site-header .button.nav-estimate {
    width: auto;
    min-height: 44px;
    padding: 0 14px;
  }

  .site-header .button.nav-login {
    display: none;
  }

  .site-header .button.nav-estimate {
    order: 2;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    width: calc(100% - 8px);
    margin: 0 auto;
  }

  .hero-copy p,
  .section-head p,
  .lead {
    font-size: 16px;
    line-height: 26px;
  }

  .dashboard-body,
  .estimate,
  .about,
  .calendar-estimate {
    padding: 18px;
  }

  .calendar-copy {
    padding-left: 0;
  }

  .calendar-card {
    min-height: auto;
    transform: none;
  }

  .calendar-estimate:hover .calendar-card {
    transform: none;
  }

  .booking-widget {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .booking-calendar {
    border-right: 0;
    border-bottom: 1px solid #30302d;
    padding: 22px 16px;
  }

  .booking-days {
    grid-template-columns: repeat(7, 44px);
    gap: 6px;
  }

  .booking-days span,
  .booking-days button,
  .booking-days i {
    width: 44px;
    height: 44px;
  }

  .booking-days button {
    font-size: 16px;
  }

  .booking-times {
    grid-template-columns: 1fr 1fr;
    max-height: 180px;
    padding: 16px;
  }

  .booking-times button {
    min-height: 44px;
    font-size: 16px;
  }

  .booking-confirm {
    align-items: stretch;
    flex-direction: column;
  }

  .booking-confirm p {
    font-size: 15px;
    line-height: 22px;
  }

  .booking-confirm button {
    width: 100%;
  }

  .booking-submit {
    width: 100%;
  }

  .booking-modal {
    place-items: center;
    padding: 16px;
  }

  .booking-dialog {
    width: min(100%, 480px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 26px 20px 20px;
    border-radius: 16px;
  }

  .booking-dialog h3 {
    max-width: 270px;
    font-size: 28px;
  }

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

  .booking-form-actions .button {
    width: 100%;
  }

  .confirmation-card {
    padding: 26px;
  }

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

  .calendar-card {
    overflow-x: auto;
  }

  .dashboard {
    border-radius: 14px;
  }

  .metric-grid,
  .proof-strip,
  .steps,
  .care-grid,
  .article-grid,
  .faq-grid,
  .owner-controls,
  .stats,
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .card-lift-section {
    padding: 30px 18px;
  }

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

  .button {
    width: 100%;
  }

  .site-header .button.nav-login {
    width: auto;
  }

  .site-header .button.nav-estimate {
    width: calc(100% - 8px);
  }

  .footer {
    padding-bottom: 42px;
  }

  .footer-card {
    width: 100%;
    padding: 22px 20px;
    grid-template-columns: 1fr;
    gap: 20px;
    border-radius: 18px;
  }

  .footer-brand-block {
    gap: 14px;
  }

  .footer-brand-block p {
    font-size: 13px;
    line-height: 21px;
  }

  .footer-logo {
    height: 46px;
    max-width: 190px;
  }

  .footer-socials a {
    width: 28px;
    height: 28px;
  }

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

  .footer-columns div {
    gap: 9px;
  }

  .footer-columns strong {
    margin-bottom: 0;
  }

  .footer-columns a,
  .footer-bottom a {
    font-size: 12px;
    line-height: 17px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
    padding-top: 16px;
    font-size: 11px;
  }

  .footer-bottom div {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .footer-watermark {
    width: 100%;
    left: 0;
    right: 0;
    bottom: -46px;
    max-height: 170px;
  }
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f4efe4;
  --text: #eee8dc;
  --muted: #aaa398;
  --soft: #11130f;
  --paper: #151812;
  --line: rgba(244, 239, 228, 0.14);
  --line-strong: rgba(244, 239, 228, 0.28);
  --green: #67cfab;
  --gold: #d2a75e;
  --brick: #d27868;
  --shadow: 0 28px 82px rgba(0, 0, 0, 0.36);
}

html[data-theme="dark"] body {
  background: #080a08;
  color: var(--text);
}

html[data-theme="dark"] .grid-layer {
  background-image:
    linear-gradient(rgba(244, 239, 228, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 228, 0.2) 1px, transparent 1px);
}

html[data-theme="dark"] .grid-layer-base {
  opacity: 0.14;
}

html[data-theme="dark"] .grid-layer-reveal {
  opacity: 0.34;
}

html[data-theme="dark"] .grid-fade {
  background:
    radial-gradient(ellipse at center, rgba(8, 10, 8, 0) 0%, rgba(8, 10, 8, 0.3) 58%, #080a08 91%),
    linear-gradient(180deg, rgba(8, 10, 8, 0.96) 0%, rgba(8, 10, 8, 0.42) 30%, rgba(8, 10, 8, 0.5) 66%, #080a08 100%);
}

html[data-theme="dark"] .nav {
  border-color: rgba(244, 239, 228, 0.14);
  background: rgba(14, 15, 12, 0.9);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .site-header.is-scrolled .nav {
  border-color: rgba(244, 239, 228, 0.2);
  background: rgba(9, 10, 8, 0.98);
}

html[data-theme="dark"] .brand,
html[data-theme="dark"] .nav-links,
html[data-theme="dark"] .nav-links a {
  color: #f4efe4;
}

html[data-theme="dark"] .button {
  border-color: #eee6d8;
  background: #eee6d8;
  color: #0d0f0c;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), 0 14px 32px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .button:hover,
html[data-theme="dark"] .site-header .button:hover,
html[data-theme="dark"] .site-header .button.nav-estimate:hover {
  border-color: #fff7ea;
  background: #fff7ea;
  color: #0d0f0c;
}

html[data-theme="dark"] .site-header .button.nav-estimate,
html[data-theme="dark"] .button.light {
  border-color: #eee6d8;
  background: #eee6d8;
  color: #0d0f0c;
}

html[data-theme="dark"] .button.secondary,
html[data-theme="dark"] .button.login-button {
  border-color: rgba(244, 239, 228, 0.28);
  background: rgba(244, 239, 228, 0.08);
  color: var(--ink);
}

html[data-theme="dark"] .site-header .button.nav-login {
  border-color: rgba(244, 239, 228, 0.2);
  background: rgba(244, 239, 228, 0.06);
  color: var(--ink);
}

html[data-theme="dark"] .hero-actions .button.login-button {
  border-color: rgba(244, 239, 228, 0.34);
  background: rgba(244, 239, 228, 0.1);
  color: #f4efe4;
}

html[data-theme="dark"] .button.secondary:hover,
html[data-theme="dark"] .button.login-button:hover {
  border-color: rgba(244, 239, 228, 0.38);
  background: rgba(244, 239, 228, 0.14);
  color: var(--ink);
}

html[data-theme="dark"] .site-header .button.nav-login:hover {
  border-color: rgba(244, 239, 228, 0.34);
  background: rgba(244, 239, 228, 0.12);
  color: var(--ink);
}

html[data-theme="dark"] .hero {
  border-color: rgba(244, 239, 228, 0.14);
  background:
    radial-gradient(ellipse at center, rgba(103, 207, 171, 0.08) 0%, rgba(21, 24, 18, 0.74) 72%, #0c0e0b 100%),
    linear-gradient(180deg, rgba(20, 22, 17, 0.92) 0%, rgba(13, 15, 12, 0.74) 54%, rgba(9, 10, 8, 0.96) 100%),
    #0c0e0b;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .hero::before {
  background:
    linear-gradient(rgba(244, 239, 228, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 228, 0.06) 1px, transparent 1px);
}

html[data-theme="dark"] .hero::after {
  background:
    radial-gradient(ellipse at center, rgba(12, 14, 11, 0) 28%, rgba(12, 14, 11, 0.28) 72%, #0c0e0b 100%),
    linear-gradient(180deg, rgba(12, 14, 11, 0.84) 0%, rgba(12, 14, 11, 0) 28%, rgba(12, 14, 11, 0.1) 68%, rgba(12, 14, 11, 0.88) 100%);
}

html[data-theme="dark"] .hero-copy p,
html[data-theme="dark"] .hero-proof,
html[data-theme="dark"] .estimate p,
html[data-theme="dark"] .footer-columns a,
html[data-theme="dark"] .footer-bottom a,
html[data-theme="dark"] .article-layout p,
html[data-theme="dark"] .article-layout li {
  color: var(--muted);
}

html[data-theme="dark"] .dashboard,
html[data-theme="dark"] .value-card,
html[data-theme="dark"] .step,
html[data-theme="dark"] .framed-section,
html[data-theme="dark"] .mock-screen,
html[data-theme="dark"] .listing-proof-card,
html[data-theme="dark"] .stat,
html[data-theme="dark"] .care-card,
html[data-theme="dark"] .article-card,
html[data-theme="dark"] .faq,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .confirmation-card,
html[data-theme="dark"] .calendar-estimate,
html[data-theme="dark"] .footer-card,
html[data-theme="dark"] .article-search,
html[data-theme="dark"] .empty-results,
html[data-theme="dark"] .card-lift-section {
  border-color: var(--line);
  background: rgba(20, 23, 17, 0.78);
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .dashboard::after {
  background: linear-gradient(180deg, rgba(20, 23, 17, 0), #151812);
}

html[data-theme="dark"] .metric,
html[data-theme="dark"] .dashboard-panel,
html[data-theme="dark"] .screen-tile,
html[data-theme="dark"] .confirmation-details div,
html[data-theme="dark"] .category-list span,
html[data-theme="dark"] .category-list button,
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select {
  border-color: var(--line);
  background: rgba(11, 13, 10, 0.74);
  color: var(--ink);
}

html[data-theme="dark"] .row {
  border-bottom-color: rgba(244, 239, 228, 0.1);
}

html[data-theme="dark"] .status-pill {
  background: rgba(103, 207, 171, 0.14);
  color: var(--green);
}

html[data-theme="dark"] .services-timeline.is-scroll-active .service-step,
html[data-theme="dark"] .social-proof-section.is-scroll-active .listing-proof-card,
html[data-theme="dark"] .card-lift-section.is-scroll-active .stat,
html[data-theme="dark"] .card-lift-section.is-scroll-active .faq,
html[data-theme="dark"] .card-lift-section.is-scroll-active .article-card,
html[data-theme="dark"] .framed-section.is-scroll-active {
  background: rgba(20, 23, 17, 0.88);
}

html[data-theme="dark"] .services-timeline.is-scroll-active .service-step:hover,
html[data-theme="dark"] .card-lift-section.is-scroll-active .stat:hover,
html[data-theme="dark"] .card-lift-section.is-scroll-active .faq:hover,
html[data-theme="dark"] .card-lift-section.is-scroll-active .article-card:hover,
html[data-theme="dark"] .framed-section.is-scroll-active:hover,
html[data-theme="dark"] .hero.is-scroll-active .dashboard:hover .metric,
html[data-theme="dark"] .hero.is-scroll-active .dashboard:hover .dashboard-panel {
  border-color: var(--line-strong);
  background: rgba(28, 32, 24, 0.94);
  box-shadow: 0 26px 76px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .service-step::after,
html[data-theme="dark"] .listing-proof-card::after,
html[data-theme="dark"] .card-lift-section .stat::after,
html[data-theme="dark"] .card-lift-section .faq::after,
html[data-theme="dark"] .card-lift-section .article-card::after {
  background: linear-gradient(135deg, rgba(244, 239, 228, 0.08), transparent 52%);
}

html[data-theme="dark"] .hero.is-scroll-active .dashboard:hover .dashboard-body {
  background: rgba(244, 239, 228, 0.04);
}

html[data-theme="dark"] .about,
html[data-theme="dark"] .article-cta {
  background: #11130f;
  color: var(--text);
}

html[data-theme="dark"] .estimate {
  background: linear-gradient(135deg, rgba(103, 207, 171, 0.08), rgba(210, 167, 94, 0.08)), #11130f;
}

html[data-theme="dark"] .calendar-card {
  border-color: rgba(244, 239, 228, 0.2);
  background: #0c0e0b;
}

html[data-theme="dark"] .booking-days button.selected,
html[data-theme="dark"] .booking-times button.selected,
html[data-theme="dark"] .booking-submit {
  color: #0d0f0c;
}

html[data-theme="dark"] .article-card a {
  border-color: rgba(244, 239, 228, 0.34);
  color: var(--ink);
}

html[data-theme="dark"] .article-card a:hover {
  background: rgba(244, 239, 228, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .footer-logo,
html[data-theme="dark"] .footer-watermark {
  filter: none;
}

html[data-theme="dark"] .footer-watermark {
  opacity: 0.08;
}

html[data-theme="dark"] .login-page {
  background: #080a08;
}

html[data-theme="dark"] .login-card {
  border-color: rgba(244, 239, 228, 0.16);
  background: rgba(20, 23, 17, 0.82);
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .login-card-top {
  border-bottom-color: rgba(244, 239, 228, 0.12);
  color: var(--ink);
}

html[data-theme="dark"] .login-close {
  color: #aaa398;
}

html[data-theme="dark"] .login-close:hover {
  background: rgba(244, 239, 228, 0.08);
  color: var(--ink);
}

html[data-theme="dark"] .login-copy p,
html[data-theme="dark"] .login-check,
html[data-theme="dark"] .login-field label,
html[data-theme="dark"] .login-label-row label {
  color: var(--muted);
}

html[data-theme="dark"] .login-label-row a {
  color: var(--green);
}

html[data-theme="dark"] .login-label-row a:hover {
  color: #95e2c8;
}

html[data-theme="dark"] .login-field input {
  border-color: rgba(244, 239, 228, 0.18);
  background: rgba(11, 13, 10, 0.76);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(244, 239, 228, 0.04);
}

html[data-theme="dark"] .login-field input::placeholder {
  color: #81796d;
}

html[data-theme="dark"] .login-field input:focus {
  border-color: rgba(103, 207, 171, 0.55);
  background: rgba(11, 13, 10, 0.94);
  box-shadow: 0 0 0 3px rgba(103, 207, 171, 0.13);
}

html[data-theme="dark"] .login-actions .button.secondary {
  border-color: rgba(244, 239, 228, 0.24);
  background: rgba(244, 239, 228, 0.08);
  color: var(--ink);
}

html[data-theme="dark"] .login-actions .button.secondary:hover {
  border-color: rgba(244, 239, 228, 0.38);
  background: rgba(244, 239, 228, 0.13);
}

.demo-access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 12px;
  background: rgba(246, 244, 238, 0.72);
}

.demo-access div {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  color: var(--ink);
}

.demo-access strong {
  font-size: 13px;
  font-weight: 760;
}

.demo-access span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.demo-access button {
  min-height: 34px;
  border: 1px solid #dedbd2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: #413f38;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.demo-access button:hover {
  border-color: rgba(15, 91, 73, 0.36);
  background: #fff;
  transform: translateY(-1px);
}

.dashboard-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 0;
  background: #fff;
  color: var(--text);
  overflow: hidden;
}

.dashboard-bg {
  display: none;
}

.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;
}

.app-frame {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

.app-sidebar {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: 22px 14px;
  border-right: 1px solid rgba(13, 13, 11, 0.08);
  background: rgba(239, 243, 235, 0.72);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sidebar-scrim,
.mobile-menu-button,
.mobile-dashboard-brand,
.mobile-header-spacer,
.mobile-bottom-nav {
  display: none;
}

.app-brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 10px 28px;
}

.app-brand img {
  width: 132px;
  max-height: 58px;
  height: auto;
  display: block;
  object-fit: contain;
}

.sidebar-label {
  margin: 0 10px 8px;
  color: #77736a;
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.role-nav {
  display: grid;
  gap: 5px;
}

.role-nav button {
  width: 100%;
  min-height: 39px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #5f5b52;
  padding: 0 10px 0 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.role-nav button:hover,
.role-nav button.is-active {
  border-color: rgba(13, 13, 11, 0.06);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(13, 13, 11, 0.06);
}

.role-nav button:hover {
  transform: translateY(-1px);
}

.nav-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--green);
}

.nav-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-icon-text {
  font-size: 13px;
  font-weight: 850;
}

.nav-count {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(17, 100, 90, 0.1);
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.sidebar-separator {
  height: 1px;
  margin: 18px 8px;
  background: rgba(13, 13, 11, 0.08);
}

.role-nav-secondary {
  margin-bottom: 18px;
}

.sidebar-profile {
  display: none;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
}

.sidebar-session {
  position: static;
  display: block;
  padding: 13px 12px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
}

.sidebar-logout {
  position: static;
  width: 100%;
  margin-top: auto;
  margin-bottom: 8px;
  min-height: 38px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #5f5b52;
  font-size: 12px;
  font-weight: 820;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.sidebar-logout:hover {
  border-color: rgba(13, 13, 11, 0.14);
  background: #fff;
  color: var(--ink);
  transform: translateY(-1px);
}

.sidebar-session strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 820;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.sidebar-profile strong,
.sidebar-profile span:last-child {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-profile strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.sidebar-profile span:last-child {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.app-workspace {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.62);
  overflow: hidden;
}

.app-topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 26px;
  border-bottom: 1px solid rgba(13, 13, 11, 0.07);
}

.dashboard-search {
  width: min(520px, 100%);
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  border: 1px solid rgba(13, 13, 11, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  color: #817d74;
}

.dashboard-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 650;
}

.dashboard-search input::placeholder {
  color: #8c887f;
}

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

.role-chip {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(17, 100, 90, 0.18);
  border-radius: 999px;
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.icon-button {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(13, 13, 11, 0.06);
}

.icon-button i {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--human);
}

.workspace-scroll {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 28px;
}

.workspace-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.workspace-heading span,
.summary-card span,
.panel-toolbar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.workspace-heading h1 {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

.workspace-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.compact-action {
  min-height: 42px;
  border-radius: 999px;
  padding: 0 17px;
  white-space: nowrap;
}

.secondary-action {
  border-color: rgba(17, 100, 90, 0.24);
  background: rgba(255, 255, 255, 0.82);
  color: var(--green);
}

.summary-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  margin-bottom: 16px;
  padding: 24px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(13, 13, 11, 0.08);
}

body[data-dashboard-role="staff"] .summary-card {
  display: none;
}

body[data-dashboard-role="staff"].dashboard-page {
  overflow: auto;
}

body[data-dashboard-role="staff"] .app-frame {
  min-height: 100vh;
  height: auto;
  overflow: visible;
}

body[data-dashboard-role="staff"] .app-workspace {
  min-height: 100vh;
}

body[data-dashboard-role="staff"] .workspace-scroll {
  overflow: visible;
}

body[data-dashboard-role="staff"] .dashboard-layout {
  grid-template-columns: minmax(0, 1fr);
}

body[data-dashboard-role="staff"].has-detail .dashboard-layout {
  grid-template-columns: minmax(0, 1fr) 286px;
}

body[data-dashboard-role="staff"] .detail-rail {
  display: none;
}

body[data-dashboard-role="staff"].has-detail .detail-rail {
  display: grid;
  animation: detail-rail-in 200ms ease both;
}

body[data-dashboard-role="owner"] .summary-card,
body[data-dashboard-role="owner"] #primary-action {
  display: none;
}

body[data-dashboard-role="owner"].dashboard-page {
  overflow: auto;
}

body[data-dashboard-role="owner"] .app-frame {
  min-height: 100vh;
  height: auto;
  overflow: visible;
}

body[data-dashboard-role="owner"] .workspace-scroll {
  overflow: visible;
}

body[data-dashboard-role="owner"] .dashboard-layout {
  grid-template-columns: minmax(0, 1fr);
}

body[data-dashboard-role="owner"].has-detail .dashboard-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
}

body[data-dashboard-role="owner"] .detail-rail {
  display: none;
}

body[data-dashboard-role="owner"].has-detail .detail-rail {
  display: grid;
  animation: detail-rail-in 200ms ease both;
}

body[data-dashboard-role="staff"] #dashboard-kicker {
  text-transform: none;
}

body[data-dashboard-role="owner"] #dashboard-kicker {
  text-transform: none;
}

.summary-card h2 {
  margin: 7px 0 8px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.summary-card p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

.summary-meta {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 190px;
}

.summary-meta span {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(13, 13, 11, 0.07);
  border-radius: 9px;
  background: var(--soft);
  color: #423f37;
  font-size: 12px;
  font-weight: 780;
  text-transform: none;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.absence-slot {
  width: 100%;
  margin: 28px 0 30px;
}

.absence-slot:empty {
  display: none;
}

.absence-slot .absence-notice {
  margin: 0;
}

body[data-dashboard-role="staff"] .kpi-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kpi-card,
.main-panel,
.detail-panel,
.side-card {
  border: 1px solid rgba(13, 13, 11, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(13, 13, 11, 0.06);
}

.kpi-card {
  min-width: 0;
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
  border-radius: 13px;
  transform: translateY(0);
  animation: dashboard-card-in 420ms ease both;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.kpi-card[data-kpi-nav] {
  cursor: pointer;
}

.kpi-card[data-kpi-nav]:focus-visible {
  border-color: rgba(13, 13, 11, 0.2);
  box-shadow: 0 0 0 3px rgba(13, 13, 11, 0.08), 0 18px 42px rgba(13, 13, 11, 0.1);
  outline: none;
}

.kpi-card:nth-child(2) {
  animation-delay: 45ms;
}

.kpi-card:nth-child(3) {
  animation-delay: 90ms;
}

.kpi-card:nth-child(4) {
  animation-delay: 135ms;
}

.kpi-card:hover {
  border-color: rgba(13, 13, 11, 0.16);
  background: #fff;
  box-shadow: 0 18px 42px rgba(13, 13, 11, 0.1);
  transform: translateY(-2px);
}

.kpi-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.kpi-card strong {
  color: var(--ink);
  font-size: 27px;
  font-weight: 850;
  line-height: 1;
}

.kpi-card small {
  color: var(--green);
  font-size: 12px;
  font-weight: 760;
}

.tone-human small,
.tone-human.side-card span {
  color: var(--human);
}

.tone-warning small,
.tone-warning.side-card span {
  color: var(--warning);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 16px;
}

.main-panel {
  min-width: 0;
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
}

.panel-toolbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(13, 13, 11, 0.07);
}

.panel-toolbar h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
}

.panel-toolbar .is-owner-properties-month-heading,
.panel-toolbar .is-owner-reservations-month-heading {
  display: flex;
  align-items: center;
}

.owner-properties-month-control {
  margin: 0;
}

.owner-reservations-heading-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.owner-reservations-month-control {
  gap: 6px;
  margin: 0;
}

.owner-reservations-month-control strong {
  min-width: auto;
  padding-inline: 2px;
  font-size: 16px;
}

.owner-reservations-month-control button {
  width: 28px;
  min-height: 28px;
}

.owner-reservations-month-control svg {
  width: 13px;
  height: 13px;
}

.panel-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(13, 13, 11, 0.07);
  border-radius: 999px;
  background: var(--soft);
}

.panel-tabs button {
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #68645b;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 780;
  white-space: nowrap;
  cursor: pointer;
}

.panel-tabs button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(13, 13, 11, 0.07);
}

.panel-tabs:empty {
  display: none;
}

.panel-tabs .absence-notice {
  width: min(100%, 520px);
  min-width: min(420px, 100%);
  margin: 0;
}

.panel-tabs .absence-notice-list {
  grid-template-columns: minmax(0, 1fr);
}

.panel-tabs .absence-notice-list button:nth-of-type(n + 2) {
  display: none;
}

.panel-tabs:has(.absence-notice) {
  flex: 1 1 420px;
  justify-content: flex-end;
  border: 0;
  background: transparent;
  padding: 0;
}

body[data-dashboard-role="admin"] .panel-tabs {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  gap: 14px;
  justify-content: flex-end;
}

body[data-dashboard-role="agency"].revenues-view-active .panel-toolbar {
  display: none;
}

body[data-dashboard-role="admin"].revenues-view-active .panel-toolbar {
  display: none;
}

body[data-dashboard-role="owner"].revenues-view-active .panel-toolbar {
  display: none;
}

body[data-dashboard-role="agency"].owners-view-active .panel-toolbar {
  display: none;
}

body[data-dashboard-role="agency"].reservations-view-active .panel-toolbar,
body[data-dashboard-role="admin"].reservations-view-active .panel-toolbar {
  display: none;
}

.month-control,
.period-switch {
  display: inline-flex;
  align-items: center;
}

.month-control {
  width: auto;
  height: auto;
  gap: 12px;
  margin-left: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #514d45;
  font-size: inherit;
  line-height: 1;
}

.month-control:hover {
  border-color: transparent;
  background: transparent;
  color: #514d45;
}

.month-control strong {
  min-width: 88px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.month-control button {
  width: 34px;
  min-height: 34px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #514d45;
  padding: 0;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(13, 13, 11, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.month-control button:hover {
  border-color: rgba(17, 100, 90, 0.24);
  box-shadow: 0 12px 24px rgba(13, 13, 11, 0.1);
  transform: translateY(-1px);
}

.month-control svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.owner-filter-toggle {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0 13px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(13, 13, 11, 0.05);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.owner-filter-toggle:hover,
.owner-filter-toggle.is-active {
  border-color: rgba(17, 100, 90, 0.28);
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
  box-shadow: 0 12px 24px rgba(13, 13, 11, 0.08);
  transform: translateY(-1px);
}

.owner-filter-toggle span {
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  padding: 0 6px;
  font-size: 11px;
  line-height: 1;
}

.owner-toolbar-block-trigger {
  margin-right: 12px;
}

body[data-dashboard-role="owner"] .panel-tabs .owner-toolbar-block-trigger,
.panel-tabs .revenue-toolbar-export-trigger,
.owners-toolbar-new-client {
  margin-left: auto;
  margin-right: 0;
  min-height: 38px;
  margin-top: -2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 820;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(13, 13, 11, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

body[data-dashboard-role="agency"] .panel-tabs:has(.owners-toolbar-new-client),
body[data-dashboard-role="admin"] .panel-tabs:has(.owners-toolbar-new-client) {
  width: 100%;
  justify-content: flex-end;
  border: 0;
  background: transparent;
  padding: 0;
}

body[data-dashboard-role="owner"] .panel-tabs .owner-toolbar-block-trigger:hover,
.panel-tabs .revenue-toolbar-export-trigger:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(13, 13, 11, 0.16);
}

.owners-toolbar-new-client:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(13, 13, 11, 0.16);
}

body[data-dashboard-role="owner"] .panel-tabs .owner-toolbar-block-trigger span,
.panel-tabs .revenue-toolbar-export-trigger span,
.owners-toolbar-new-client span {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
}

body[data-dashboard-role="owner"] .panel-tabs .owner-toolbar-block-trigger svg,
.panel-tabs .revenue-toolbar-export-trigger svg,
.owners-toolbar-new-client svg {
  width: 17px;
  height: 17px;
  fill: none;
  color: #fff;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-dashboard-role="owner"] .panel-tabs .owner-toolbar-block-trigger svg *,
.panel-tabs .revenue-toolbar-export-trigger svg *,
.owners-toolbar-new-client svg * {
  stroke: #fff;
}

.admin-agency-filter {
  min-width: 164px;
  min-height: 34px;
  display: inline-grid;
  grid-template-columns: auto minmax(112px, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 999px;
  background: #fff;
  padding: 0 10px 0 12px;
  box-shadow: 0 8px 18px rgba(13, 13, 11, 0.05);
}

.admin-agency-filter span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-agency-filter select {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 780;
  outline: 0;
}

.period-dropdown {
  position: relative;
  z-index: 8;
  min-width: 144px;
}

.period-dropdown.agency-dropdown {
  min-width: 188px;
}

.period-dropdown.owner-property-dropdown {
  width: min(100%, 360px);
  min-width: min(100%, 280px);
}

.period-dropdown-trigger {
  width: 100%;
  min-height: 34px;
  display: inline-grid;
  grid-template-columns: max-content minmax(0, 1fr) 16px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0 10px 0 12px;
  box-shadow: 0 8px 18px rgba(13, 13, 11, 0.05);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.period-dropdown-trigger:hover,
.period-dropdown.is-open .period-dropdown-trigger {
  border-color: rgba(13, 13, 11, 0.16);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 26px rgba(13, 13, 11, 0.09);
  transform: translateY(-1px);
}

.period-dropdown-trigger span {
  align-self: center;
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
  text-transform: uppercase;
}

.period-dropdown-trigger strong {
  align-self: center;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.period-dropdown-trigger svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  justify-self: end;
  transition: transform 160ms ease;
}

.period-dropdown.is-open .period-dropdown-trigger svg {
  transform: rotate(180deg);
}

.period-dropdown-menu {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  width: 100%;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(13, 13, 11, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  padding: 5px;
  box-shadow: 0 18px 42px rgba(13, 13, 11, 0.13);
  animation: dropdown-in 150ms ease both;
}

.agency-dropdown .period-dropdown-menu {
  min-width: 100%;
  width: max-content;
  max-width: 260px;
}

.owner-property-dropdown .period-dropdown-menu {
  width: 100%;
}

.period-dropdown-menu button {
  min-height: 31px;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #5f5b52;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}

.period-dropdown-menu .dropdown-check {
  width: 14px;
  height: 14px;
  display: inline-block;
  border: 1px solid rgba(13, 13, 11, 0.16);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.82);
}

.period-dropdown-menu button:hover,
.period-dropdown-menu button.is-active {
  background: rgba(13, 13, 11, 0.06);
  color: var(--ink);
}

.period-dropdown-menu button.is-active .dropdown-check {
  border-color: rgba(17, 100, 90, 0.34);
  background: var(--green);
  box-shadow: inset 0 0 0 3px #fff;
}

.planning-controls {
  position: relative;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin: -2px 0 8px;
}

.planning-controls.is-reservation-controls {
  justify-content: space-between;
  margin: 0;
}

.planning-controls.is-admin-dashboard-controls {
  justify-content: flex-start;
  margin: 0 0 10px;
}

.planning-controls.is-admin-dashboard-controls .month-control {
  margin-left: 0;
  margin-right: 6px;
  gap: 16px;
}

.planning-controls.is-admin-dashboard-controls .month-control strong {
  min-width: 132px;
  font-size: 17px;
}

.planning-controls.is-admin-dashboard-controls .month-control button {
  width: 40px;
  min-height: 40px;
}

.planning-controls.is-reservation-controls .period-dropdown {
  margin-left: auto;
}

@keyframes dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

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

.period-switch {
  gap: 5px;
  padding: 4px;
  border: 1px solid rgba(13, 13, 11, 0.07);
  border-radius: 999px;
  background: var(--soft);
}

body[data-dashboard-role="admin"] .period-switch-loose {
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body[data-dashboard-role="admin"] .period-switch-loose button {
  min-height: 34px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #5f5b52;
  padding: 0 13px;
  box-shadow: 0 8px 18px rgba(13, 13, 11, 0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

body[data-dashboard-role="admin"] .period-switch-loose button:hover {
  border-color: rgba(13, 13, 11, 0.16);
  box-shadow: 0 12px 24px rgba(13, 13, 11, 0.09);
  transform: translateY(-1px);
}

body[data-dashboard-role="admin"] .period-switch-loose button.is-active {
  border-color: rgba(13, 13, 11, 0.18);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(13, 13, 11, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

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

.settings-view article {
  min-height: 164px;
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid rgba(13, 13, 11, 0.07);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
}

.settings-view span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.settings-view strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.settings-view p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.settings-view button {
  width: fit-content;
  min-height: 36px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 820;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.settings-view button:hover {
  box-shadow: 0 14px 28px rgba(13, 13, 11, 0.14);
  transform: translateY(-1px);
}

.content-view {
  min-height: 0;
  padding: 18px;
}

.calendar-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(68px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.calendar-strip button {
  min-height: 68px;
  display: grid;
  place-items: center;
  gap: 4px;
  border: 1px solid rgba(13, 13, 11, 0.07);
  border-radius: 11px;
  background: #f8f8f6;
  color: #5c5850;
  cursor: pointer;
}

.calendar-strip button.is-today {
  border-color: rgba(17, 100, 90, 0.28);
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
}

.calendar-strip span {
  font-size: 11px;
  font-weight: 760;
}

.calendar-strip strong {
  font-size: 18px;
  font-weight: 850;
}

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

.data-row {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 10px minmax(190px, 1fr) minmax(120px, 0.75fr) 118px 102px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(13, 13, 11, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  padding: 0 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.data-row:hover,
.data-row.is-selected {
  border-color: rgba(17, 100, 90, 0.26);
  background: #fff;
  box-shadow: 0 12px 28px rgba(13, 13, 11, 0.07);
  transform: translateY(-1px);
}

.row-marker {
  width: 7px;
  height: 36px;
  border-radius: 999px;
  background: var(--muted);
}

.row-marker.tone-trust {
  background: var(--green);
  color: var(--green);
}

.status-badge.tone-trust {
  background: var(--green);
  color: #fff;
}

.row-marker.tone-warning,
.status-badge.tone-warning {
  background: rgba(216, 154, 43, 0.13);
  color: var(--warning);
}

.row-marker.tone-human,
.status-badge.tone-human {
  background: rgba(232, 93, 69, 0.13);
  color: var(--human);
}

.row-marker.tone-neutral,
.status-badge.tone-neutral {
  background: rgba(13, 13, 11, 0.07);
  color: #514d45;
}

.row-source-icon {
  width: 34px;
  height: 34px;
  align-self: center;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(13, 13, 11, 0.08);
}

body[data-dashboard-role="owner"] .owner-list-panel .data-row {
  grid-template-columns: 36px minmax(150px, 1fr) minmax(96px, 0.58fr) 108px 78px;
  gap: 10px;
}

body[data-dashboard-role="owner"] .owner-list-panel .row-source-icon {
  justify-self: start;
}

body[data-dashboard-role="owner"] .owner-list-panel .status-badge {
  width: 108px;
  justify-self: start;
}

body[data-dashboard-role="owner"] .owner-list-panel .row-amount {
  justify-self: start;
  text-align: left;
}

.row-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.row-main strong,
.row-main small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-main strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 820;
}

.row-main small,
.row-span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.status-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.row-amount {
  color: var(--ink);
  font-size: 13px;
  font-weight: 820;
  text-align: right;
  white-space: nowrap;
}

.detail-rail {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
}

.detail-panel,
.side-card {
  border-radius: 16px;
}

.detail-panel {
  overflow: hidden;
  padding: 16px;
}

body[data-dashboard-role="staff"] .workspace-scroll {
  padding-bottom: 96px;
}

body[data-dashboard-role="staff"] .dashboard-layout {
  align-items: start;
}

body[data-dashboard-role="staff"] .detail-rail {
  min-height: 0;
}

body[data-dashboard-role="staff"] .detail-panel {
  max-height: calc(100vh - 132px);
  overflow: auto;
  scrollbar-width: thin;
}

.detail-channel {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 999px;
  background: #fff;
  padding: 3px 9px 3px 5px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
}

.detail-channel img,
.detail-channel svg {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

.detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.detail-head span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.detail-head button {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
}

.detail-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
}

.detail-panel p {
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.calendar-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 10px;
}

.calendar-detail-tabs span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(17, 100, 90, 0.16);
  border-radius: 999px;
  background: rgba(17, 100, 90, 0.07);
  color: var(--green);
  padding: 0 10px;
  font-size: 11px;
  font-weight: 850;
}

.calendar-detail-form {
  min-width: 0;
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.74);
}

.calendar-detail-form strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.calendar-detail-form label {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.calendar-detail-form label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 820;
}

.calendar-detail-form input,
.calendar-detail-form select {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  min-height: 36px;
  border: 1px solid rgba(13, 13, 11, 0.12);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 720;
}

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

body[data-dashboard-role="owner"] .calendar-detail-form {
  padding: 14px;
}

body[data-dashboard-role="owner"] .calendar-detail-form input,
body[data-dashboard-role="owner"] .calendar-detail-form select {
  min-height: 40px;
  font-size: 13px;
}

.calendar-check-row {
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
}

.calendar-check-row input {
  min-height: 0;
}

.calendar-detail-form button,
.detail-actions a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 820;
  text-decoration: none;
  cursor: pointer;
}

.detail-person {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: var(--soft);
}

.detail-person > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.detail-person strong,
.detail-person small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-person strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 820;
}

.detail-person small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.detail-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.detail-list dt,
.detail-list dd {
  margin: 0;
  font-size: 12px;
  font-weight: 760;
}

.detail-list dt {
  color: var(--muted);
}

.detail-list dd {
  color: var(--ink);
  text-align: right;
}

.detail-actions {
  display: grid;
  gap: 8px;
}

.detail-actions button {
  min-height: 39px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.detail-actions button + button {
  border-color: rgba(13, 13, 11, 0.12);
  background: #fff;
  color: var(--ink);
}

.detail-actions .detail-delete-button,
.detail-actions button.detail-delete-button + button {
  border-color: rgba(232, 93, 69, 0.28);
  background: rgba(232, 93, 69, 0.09);
  color: var(--human);
}

.reservation-detail-actions {
  margin-top: 12px;
}

.reservation-detail-actions button {
  width: 100%;
  min-width: 0;
}

.reservation-detail-actions a {
  width: 100%;
  min-width: 0;
}

.incident-cancel-box {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(232, 93, 69, 0.18);
  border-radius: 12px;
  background: rgba(232, 93, 69, 0.07);
}

.incident-cancel-box strong {
  color: var(--human);
  font-size: 12px;
  font-weight: 850;
}

.incident-cancel-box p {
  margin: 0;
  color: #5b574f;
  font-size: 12px;
  line-height: 18px;
}

.incident-cancel-box div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.incident-cancel-box button {
  min-height: 36px;
  border: 1px solid rgba(13, 13, 11, 0.12);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
  cursor: pointer;
}

.incident-cancel-box button + button {
  border-color: var(--human);
  background: var(--human);
  color: #fff;
}

.property-switcher {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  overflow-x: auto;
}

.property-switcher button,
.status-control button {
  min-height: 32px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #5f5b52;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 780;
  white-space: nowrap;
  cursor: pointer;
}

.property-switcher button.is-active,
.status-control button.is-active {
  border-color: rgba(17, 100, 90, 0.28);
  background: rgba(17, 100, 90, 0.09);
  color: var(--green);
}

.status-control {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.checklist-block {
  display: grid;
  gap: 9px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 12px;
  background: var(--soft);
}

.checklist-block > strong,
.note-field span,
.select-field span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
}

.checklist-block label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5b574f;
  font-size: 12px;
  font-weight: 720;
}

.checklist-block input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--green);
}

.note-field,
.select-field {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.note-field textarea,
.select-field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 10px;
  font-size: 12px;
  font-weight: 650;
  line-height: 18px;
  outline: 0;
}

.note-field textarea {
  resize: vertical;
  min-height: 72px;
}

.note-field textarea:focus,
.select-field select:focus {
  border-color: rgba(17, 100, 90, 0.42);
  box-shadow: 0 0 0 3px rgba(17, 100, 90, 0.1);
}

.owner-detail-note {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 12px;
  background: var(--soft);
}

.owner-detail-note span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
}

.owner-detail-note p {
  margin: 0;
  color: #5b574f;
  font-size: 12px;
  font-weight: 650;
  line-height: 18px;
}

.empty-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(13, 13, 11, 0.16);
  border-radius: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.side-cards {
  display: grid;
  gap: 12px;
}

.side-card {
  padding: 16px;
}

.side-card span {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.side-card p {
  margin: 8px 0 0;
  color: #5b574f;
  font-size: 13px;
  line-height: 19px;
}

body[data-dashboard-role="owner"] .panel-toolbar {
  align-items: flex-start;
}

body[data-dashboard-role="owner"] .kpi-card,
body[data-dashboard-role="owner"] .owner-month,
body[data-dashboard-role="owner"] .detail-panel,
body[data-dashboard-role="owner"] .owner-list-panel,
body[data-dashboard-role="owner"] .owner-readable-list {
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

body[data-dashboard-role="owner"] .kpi-card:hover,
body[data-dashboard-role="owner"] .owner-month:hover,
body[data-dashboard-role="owner"].has-detail .detail-panel:hover,
body[data-dashboard-role="owner"] .owner-list-panel:hover,
body[data-dashboard-role="owner"] .owner-readable-list:hover {
  border-color: rgba(17, 100, 90, 0.18);
  background: #fff;
  box-shadow: 0 20px 48px rgba(13, 13, 11, 0.1);
  transform: translateY(-2px);
}

body[data-dashboard-role="owner"] .panel-tabs {
  border: 0;
  background: transparent;
  padding: 0;
}

.owner-workspace,
.owner-finance-view {
  display: grid;
  gap: 18px;
}

.owner-calendar-panel {
  display: grid;
  gap: 14px;
}

body[data-dashboard-role="staff"] .owner-calendar-panel {
  gap: 18px;
}

body[data-dashboard-role="staff"] .main-panel .panel-toolbar {
  display: none;
}

body[data-dashboard-role="staff"].staff-planning-view-active .main-panel .panel-toolbar {
  display: flex;
}

body[data-dashboard-role="staff"].staff-planning-view-active .panel-toolbar.is-staff-kanban-toolbar {
  min-height: 118px;
  align-items: stretch;
}

.panel-toolbar.is-staff-kanban-toolbar > div:first-child {
  display: none;
}

.panel-toolbar.is-staff-kanban-toolbar .panel-tabs {
  width: 100%;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.panel-toolbar.is-staff-kanban-toolbar .owner-filter-toggle {
  margin-left: auto;
}

.staff-kanban-toolbar-stack {
  width: 100%;
  display: grid;
  gap: 12px;
}

.staff-kanban-toolbar-stack .property-switcher {
  width: fit-content;
}

.staff-kanban-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.staff-kanban-toolbar-row .staff-planning-controls {
  margin-left: 0;
}

.owner-calendar-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.owner-calendar-summary span {
  min-height: 54px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 800;
}

.owner-calendar-summary strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

.agency-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  padding: 14px 16px;
  box-shadow: 0 12px 30px rgba(13, 13, 11, 0.05);
}

.agency-calendar-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px;
}

.agency-calendar-toolbar .month-control {
  margin: 0 6px 0 0;
  gap: 7px;
}

.agency-calendar-toolbar .month-control strong {
  min-width: 104px;
  font-size: 17px;
}

.agency-calendar-toolbar .month-control button {
  width: 32px;
  min-height: 32px;
}

.agency-calendar-toolbar-filters {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.agency-dashboard-property-dropdown.owner-property-dropdown {
  width: fit-content;
  min-width: min(100%, 230px);
  max-width: min(100%, 380px);
}

.agency-dashboard-property-dropdown.owner-property-dropdown .period-dropdown-trigger {
  grid-template-columns: max-content minmax(0, max-content) 16px;
}

.agency-dashboard-property-dropdown.owner-property-dropdown .period-dropdown-trigger strong {
  max-width: min(28vw, 240px);
}

.owner-calendar-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding-bottom: 0;
}

.staff-planning-head {
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.staff-planning-month-control {
  margin: 0;
  gap: 8px;
}

.staff-planning-month-control strong {
  min-width: 124px;
  font-size: 22px;
  line-height: 1;
  text-align: center;
}

.staff-planning-controls {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 9px;
  margin-left: 18px;
}

.staff-filter-dropdown {
  min-width: 172px;
}

.staff-filter-dropdown .period-dropdown-trigger {
  min-height: 38px;
  grid-template-columns: max-content minmax(84px, 1fr) 15px;
}

.staff-filter-dropdown .period-dropdown-menu {
  min-width: 100%;
  width: max-content;
  max-width: min(260px, 72vw);
}

.owner-calendar-month-control {
  margin-left: 0;
}

.owner-dashboard-property-dropdown {
  width: fit-content;
  min-width: 0;
}

.owner-dashboard-property-dropdown .period-dropdown-trigger {
  width: auto;
  grid-template-columns: auto auto 15px;
  gap: 7px;
  padding-inline: 12px 10px;
}

.owner-dashboard-property-dropdown .period-dropdown-trigger strong {
  max-width: 190px;
}

.owner-dashboard-property-dropdown .period-dropdown-menu {
  min-width: 100%;
  width: max-content;
  max-width: min(320px, calc(100vw - 40px));
}

.owner-block-trigger {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 820;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(13, 13, 11, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.owner-block-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(13, 13, 11, 0.16);
}

.owner-block-trigger span {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
}

.owner-block-trigger svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.owner-block-form {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) minmax(150px, 0.82fr) repeat(2, minmax(130px, 0.66fr)) minmax(160px, 0.9fr) auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(17, 100, 90, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(241, 249, 246, 0.96), rgba(255, 255, 255, 0.92));
  box-shadow: 0 18px 42px rgba(13, 13, 11, 0.08);
}

.owner-block-form > div:first-child {
  align-self: center;
}

.owner-block-form > div:first-child span {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.owner-block-form h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
}

.owner-block-form p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 17px;
}

.owner-block-form label {
  display: grid;
  gap: 6px;
}

.owner-block-form label span {
  color: #5f5b52;
  font-size: 11px;
  font-weight: 820;
}

.owner-block-form input,
.owner-block-form select {
  width: 100%;
  min-height: 39px;
  border: 1px solid rgba(13, 13, 11, 0.12);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 720;
  outline: 0;
}

.owner-block-form input:focus,
.owner-block-form select:focus {
  border-color: rgba(17, 100, 90, 0.42);
  box-shadow: 0 0 0 3px rgba(17, 100, 90, 0.1);
}

.owner-block-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.owner-block-actions button {
  min-height: 36px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 820;
  white-space: nowrap;
  cursor: pointer;
}

.owner-block-actions button + button {
  border-color: rgba(13, 13, 11, 0.12);
  background: #fff;
  color: var(--ink);
}

.owner-month {
  overflow: hidden;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 14px;
  background: #fff;
}

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

.owner-month-weekdays {
  border-bottom: 1px solid rgba(13, 13, 11, 0.08);
  background: #f8f8f5;
}

.owner-month-weekdays span {
  min-height: 34px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.owner-day {
  min-height: 112px;
  width: 100%;
  display: grid;
  align-content: start;
  gap: 8px;
  border-top: 0;
  border-left: 0;
  border-right: 1px solid rgba(13, 13, 11, 0.06);
  border-bottom: 1px solid rgba(13, 13, 11, 0.06);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  padding: 9px;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.owner-day:nth-child(7n) {
  border-right: 0;
}

.owner-day.is-muted {
  background: #fbfbf8;
  color: #aaa59b;
}

.owner-day.is-today {
  background: rgba(17, 100, 90, 0.055);
}

.owner-day:hover,
.owner-day:focus-visible {
  z-index: 1;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(17, 100, 90, 0.2), 0 12px 26px rgba(13, 13, 11, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.owner-day > strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.owner-day.is-muted > strong {
  color: #aaa59b;
}

.owner-day > div {
  display: grid;
  gap: 5px;
}

.owner-day-event {
  min-width: 0;
  min-height: 28px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(17, 100, 90, 0.16);
  border-radius: 8px;
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
  padding: 2px 6px 2px 4px;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.owner-day-event:hover,
.owner-day-event:focus-visible {
  border-color: rgba(17, 100, 90, 0.34);
  background: rgba(17, 100, 90, 0.13);
  box-shadow: 0 8px 18px rgba(13, 13, 11, 0.1);
  transform: translateY(-1px);
  outline: none;
}

.owner-day-event.tone-warning {
  border-color: rgba(216, 154, 43, 0.2);
  background: rgba(216, 154, 43, 0.11);
  color: var(--warning);
}

.owner-day-event.is-single-day {
  width: 30px;
  min-height: 30px;
  grid-template-columns: 1fr;
  justify-self: center;
  place-items: center;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.owner-day-event.is-single-day:hover,
.owner-day-event.is-single-day:focus-visible {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.owner-day-event.is-single-day em {
  display: none;
}

.owner-day-event.is-single-day .event-channel {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.owner-day-event em {
  min-width: 0;
  overflow: hidden;
  color: currentColor;
  font-size: 11px;
  font-style: normal;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-day small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.owner-stacked-calendar {
  display: grid;
  gap: 12px;
}

.owner-stacked-scroll {
  overflow: auto;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 14px;
  background: #fff;
  scrollbar-width: thin;
}

.owner-stacked-head,
.owner-stacked-row {
  min-width: 1040px;
  display: grid;
  grid-template-columns: 156px repeat(var(--owner-day-count), minmax(52px, 1fr));
}

.owner-stacked-head {
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid rgba(13, 13, 11, 0.08);
  background: #f8f8f5;
}

.owner-stacked-head > span,
.owner-stacked-head div {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(13, 13, 11, 0.06);
}

.owner-stacked-head > span {
  justify-content: start;
  padding-left: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.owner-stacked-head div {
  color: #625d54;
}

.owner-stacked-head div.is-today {
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
}

.owner-stacked-head small {
  font-size: 9px;
  font-weight: 780;
  text-transform: uppercase;
}

.owner-stacked-head strong {
  margin-top: -7px;
  font-size: 15px;
  font-weight: 860;
}

.owner-stacked-row {
  min-height: 74px;
  grid-auto-rows: minmax(74px, auto);
  border-bottom: 1px solid rgba(13, 13, 11, 0.06);
}

.owner-stacked-property {
  grid-row: 1;
  display: grid;
  align-content: center;
  gap: 4px;
  border-right: 1px solid rgba(13, 13, 11, 0.08);
  background: #fbfbf8;
  padding: 0 12px;
}

.owner-stacked-property strong,
.owner-stacked-property span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-stacked-property strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.owner-stacked-property span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 720;
}

.owner-stacked-day {
  grid-row: 1;
  min-width: 0;
  min-height: 74px;
  display: grid;
  place-items: center;
  border: 0;
  border-right: 1px solid rgba(13, 13, 11, 0.05);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  cursor: pointer;
  padding: 6px;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.owner-stacked-day:hover,
.owner-stacked-day:focus-visible {
  z-index: 1;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(17, 100, 90, 0.2), 0 12px 26px rgba(13, 13, 11, 0.08);
  outline: none;
}

.owner-stacked-day:not(.has-event) {
  background: #fff;
}

.owner-stacked-day.has-event {
  position: relative;
  z-index: 3;
  border-right: 0;
  background: transparent;
  overflow: clip;
}

.owner-stacked-day.has-event.is-multi-day {
  background:
    repeating-linear-gradient(
      to right,
      #fff 0,
      #fff calc((100% / var(--event-span, 1)) - 1px),
      rgba(13, 13, 11, 0.05) calc((100% / var(--event-span, 1)) - 1px),
      rgba(13, 13, 11, 0.05) calc(100% / var(--event-span, 1))
    );
}

.owner-stacked-day.has-event:hover,
.owner-stacked-day.has-event:focus-visible,
.owner-stacked-day.has-event.is-selected {
  z-index: 5;
}

.owner-stacked-day.has-event > span {
  position: relative;
  z-index: 2;
  width: calc(100% - 8px);
  max-width: calc(100% - 8px);
  justify-self: center;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(13, 13, 11, 0.08);
}

.owner-stacked-day strong {
  font-size: 13px;
  font-weight: 860;
}

.owner-stacked-day > span {
  min-height: 26px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(17, 100, 90, 0.18);
  border-radius: 999px;
  background: rgba(17, 100, 90, 0.1);
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
  padding: 2px 8px 2px 3px;
}

.owner-stacked-day > span .event-channel {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.owner-stacked-day > span em {
  min-width: 0;
  overflow: hidden;
  color: currentColor;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-stacked-day.tone-warning > span {
  border-color: rgba(216, 154, 43, 0.22);
  background: rgba(216, 154, 43, 0.12);
  color: var(--warning);
}

.owner-stacked-day.has-event.is-multi-day.channel-cleaning > span {
  border-color: rgba(17, 100, 90, 0.24);
  background: rgba(17, 100, 90, 0.11);
  color: var(--green);
}

.owner-stacked-day.has-event.is-multi-day.channel-technical > span {
  border-color: rgba(216, 154, 43, 0.26);
  background: rgba(216, 154, 43, 0.12);
  color: var(--warning);
}

.owner-stacked-day.has-event.is-multi-day.channel-block > span {
  border-color: rgba(95, 91, 82, 0.2);
  background: rgba(95, 91, 82, 0.1);
  color: #5f5b52;
}

.owner-stacked-day.has-event.is-single-day > span {
  width: auto;
  max-width: none;
  min-height: 0;
  gap: 0;
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.owner-stacked-day.has-event.is-single-day > span .event-channel {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}

.owner-stacked-day.has-event.is-single-day > span em {
  display: none;
}

.owner-list-panel,
.owner-readable-list {
  display: grid;
  gap: 10px;
}

.owner-list-panel {
  padding: 16px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(13, 13, 11, 0.05);
}

.owner-empty-state {
  min-height: 116px;
  display: grid;
  place-items: center;
  gap: 5px;
  border: 1px dashed rgba(17, 100, 90, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  padding: 22px;
  text-align: center;
}

.owner-empty-state strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
}

.owner-empty-state span {
  max-width: 340px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.owner-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.owner-list-title-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.owner-list-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.1;
}

.owner-head-chip {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(216, 154, 43, 0.24);
  border-radius: 999px;
  background: rgba(216, 154, 43, 0.1);
  color: var(--warning);
  padding: 0 9px;
  font-size: 11px;
  font-weight: 840;
}

.owner-list-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 740;
}

.owner-report-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px 0 4px;
}

.owner-report-switch button {
  min-height: 32px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #5f5b52;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 780;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.owner-report-switch button:hover,
.owner-report-switch button:focus-visible,
.owner-report-switch button.is-active {
  border-color: rgba(17, 100, 90, 0.28);
  background: rgba(17, 100, 90, 0.09);
  color: var(--green);
  box-shadow: 0 10px 24px rgba(13, 13, 11, 0.06);
  transform: translateY(-1px);
  outline: none;
}

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

.owner-readable-card {
  min-height: 148px;
  display: grid;
  align-content: start;
  gap: 9px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  padding: 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.owner-readable-card:hover {
  border-color: rgba(17, 100, 90, 0.24);
  box-shadow: 0 14px 32px rgba(13, 13, 11, 0.08);
  transform: translateY(-1px);
}

.owner-readable-card .status-badge {
  width: fit-content;
}

.owner-readable-card strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.15;
}

.owner-readable-card small,
.owner-readable-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  line-height: 18px;
}

.owner-readable-card b {
  color: var(--ink);
  font-size: 20px;
  font-weight: 860;
}

.owner-properties-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  gap: 14px;
  align-items: start;
}

.owner-properties-overview,
.owner-property-editor {
  min-width: 0;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(13, 13, 11, 0.05);
  padding: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.owner-properties-overview:hover,
.owner-property-editor:hover {
  border-color: rgba(17, 100, 90, 0.18);
  box-shadow: 0 18px 42px rgba(13, 13, 11, 0.07);
  transform: translateY(-1px);
}

.owner-properties-head,
.owner-property-editor-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.owner-properties-head h3,
.owner-property-editor-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.owner-properties-head p,
.owner-property-editor-head p,
.owner-property-editor-head span {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.owner-property-editor-head span {
  display: block;
  margin: 0 0 5px;
  color: var(--green);
  font-size: 11px;
  font-weight: 860;
  text-transform: uppercase;
}

.owner-add-property-button,
.owner-property-editor-head a,
.owner-property-form-actions button,
.owner-property-form-actions a,
.property-detail-back,
.property-detail-primary-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 0 15px;
  font-size: 12px;
  font-weight: 840;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(13, 13, 11, 0.14);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.owner-add-property-button:hover,
.owner-property-editor-head a:hover,
.owner-property-form-actions button:hover,
.owner-property-form-actions a:hover,
.property-detail-back:hover,
.property-detail-primary-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(13, 13, 11, 0.18);
}

.owner-property-delete-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 15px;
  font-size: 12px;
  font-weight: 840;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.owner-property-delete-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(232, 93, 69, 0.12);
}

.owner-property-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.owner-property-card {
  min-height: 178px;
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  padding: 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.owner-property-card:hover,
.owner-property-card.is-selected {
  border-color: rgba(17, 100, 90, 0.24);
  background: rgba(17, 100, 90, 0.05);
  box-shadow: 0 14px 32px rgba(13, 13, 11, 0.08);
  transform: translateY(-1px);
}

.owner-property-card strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.15;
}

.owner-property-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 18px;
}

.owner-property-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 0;
}

.owner-property-card dl div {
  min-width: 0;
  border-radius: 10px;
  background: rgba(13, 13, 11, 0.04);
  padding: 8px;
}

.owner-property-card dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 820;
  text-transform: uppercase;
}

.owner-property-card dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 860;
}

.owner-property-edit-form {
  display: grid;
  gap: 12px;
}

.owner-property-edit-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
}

.owner-property-edit-form input,
.owner-property-edit-form select,
.owner-property-edit-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 10px 11px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
}

.owner-property-edit-form textarea {
  resize: vertical;
}

.owner-property-edit-form input:focus,
.owner-property-edit-form select:focus,
.owner-property-edit-form textarea:focus {
  border-color: rgba(17, 100, 90, 0.42);
  outline: none;
  box-shadow: 0 0 0 3px rgba(17, 100, 90, 0.1);
}

.owner-property-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.owner-empty-state {
  min-height: 138px;
  display: grid;
  place-items: center;
  gap: 5px;
  border: 1px dashed rgba(13, 13, 11, 0.16);
  border-radius: 14px;
  color: var(--muted);
  padding: 18px;
  text-align: center;
}

.owner-empty-state strong {
  color: var(--ink);
  font-size: 16px;
}

.revenue-workspace {
  display: grid;
  gap: 14px;
}

.revenue-selection-card {
  min-width: 0;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  padding: 18px;
  box-shadow: 0 12px 30px rgba(13, 13, 11, 0.05);
}

.revenue-selection-head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.revenue-toolbar {
  position: relative;
  z-index: 6;
  display: block;
}

.revenue-controls {
  width: auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 22px;
}

.revenue-toolbar-right {
  min-width: 0;
  margin-left: 0;
}

.revenue-month-control {
  margin: 0;
}

.revenue-month-control strong {
  min-width: 116px;
  font-size: 17px;
}

.revenue-month-control button {
  width: 34px;
  min-height: 34px;
}

.revenue-title-month-control {
  margin-left: 0;
  gap: 14px;
}

.revenue-title-month-control strong {
  min-width: 132px;
  font-size: 21px;
}

.revenue-title-month-control button {
  width: 38px;
  min-height: 38px;
}

.revenue-property-switcher.period-switch-loose {
  max-width: min(520px, 48vw);
  margin: 0;
  gap: 8px;
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.revenue-property-dropdown.owner-property-dropdown {
  width: fit-content;
  min-width: 0;
  max-width: min(100%, 460px);
}

.revenue-property-dropdown.owner-property-dropdown .period-dropdown-trigger {
  width: max-content;
  max-width: min(100%, 460px);
  grid-template-columns: max-content minmax(0, max-content) 14px;
  gap: 6px;
}

.revenue-property-dropdown.owner-property-dropdown .period-dropdown-trigger strong {
  max-width: min(34vw, 260px);
}

.revenue-property-dropdown.owner-property-dropdown .period-dropdown-menu {
  min-width: 100%;
  width: max-content;
  max-width: min(360px, 86vw);
}

.revenue-agency-dropdown.agency-dropdown {
  width: fit-content;
  min-width: 0;
  max-width: min(100%, 420px);
}

.revenue-agency-dropdown.agency-dropdown .period-dropdown-trigger {
  width: max-content;
  max-width: min(100%, 420px);
  grid-template-columns: max-content minmax(0, max-content) 14px;
  gap: 6px;
}

.revenue-agency-dropdown.agency-dropdown .period-dropdown-trigger strong {
  max-width: min(28vw, 220px);
}

.revenue-agency-dropdown.agency-dropdown .period-dropdown-menu {
  min-width: 100%;
  width: max-content;
  max-width: min(320px, 86vw);
}

.revenue-property-switcher.period-switch-loose button {
  min-height: 34px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #5f5b52;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 780;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(13, 13, 11, 0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease, color 160ms ease;
}

.revenue-property-switcher.period-switch-loose button:hover {
  border-color: rgba(13, 13, 11, 0.16);
  box-shadow: 0 12px 24px rgba(13, 13, 11, 0.09);
  transform: translateY(-1px);
}

.revenue-property-switcher.period-switch-loose button.is-active {
  border-color: rgba(13, 13, 11, 0.18);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(13, 13, 11, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

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

.revenue-group-card {
  min-width: 0;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  padding: 14px;
  box-shadow: 0 12px 28px rgba(13, 13, 11, 0.045);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.revenue-group-card:hover,
.revenue-group-card:focus-visible,
.revenue-group-card.is-selected {
  transform: translateY(-2px);
  border-color: rgba(17, 100, 90, 0.14);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 38px rgba(13, 13, 11, 0.09);
  outline: none;
}

.revenue-group-card.is-selected {
  border-color: rgba(17, 100, 90, 0.12);
  box-shadow: 0 24px 54px rgba(13, 13, 11, 0.14), 0 0 0 6px rgba(17, 100, 90, 0.06);
}

.revenue-group-card strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  font-weight: 870;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.revenue-group-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.revenue-group-card dl {
  display: grid;
  gap: 6px;
  margin: 4px 0 0;
}

.revenue-group-card dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.revenue-group-card dt,
.revenue-group-card dd {
  margin: 0;
  font-size: 12px;
}

.revenue-group-card dt {
  color: var(--muted);
  font-weight: 720;
}

.revenue-group-card dd {
  color: var(--ink);
  font-weight: 850;
  text-align: right;
  white-space: nowrap;
}

.revenue-table-card {
  min-width: 0;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  padding: 18px;
  box-shadow: 0 12px 30px rgba(13, 13, 11, 0.05);
}

.revenue-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.revenue-table-export-trigger {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 820;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(13, 13, 11, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.revenue-table-export-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(13, 13, 11, 0.16);
}

.revenue-table-export-trigger span,
.revenue-table-export-trigger svg {
  width: 18px;
  height: 18px;
  color: #fff;
  stroke: #fff;
}

.revenue-table-export-trigger svg * {
  stroke: #fff;
}

.revenue-table-head h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.1;
}

.revenue-table-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.revenue-table-head strong {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(17, 100, 90, 0.18);
  border-radius: 999px;
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
  padding: 0 10px;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.revenue-table-scroll {
  min-width: 0;
  overflow-x: auto;
}

.revenue-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.revenue-table th,
.revenue-table td {
  border-bottom: 1px solid rgba(13, 13, 11, 0.07);
  padding: 12px 10px;
  color: #514d45;
  font-size: 12px;
  font-weight: 720;
  text-align: left;
  vertical-align: middle;
}

.revenue-table th {
  color: var(--muted);
  font-size: 10px;
  font-weight: 880;
  text-transform: uppercase;
  white-space: nowrap;
}

.revenue-table td strong,
.revenue-table td small {
  display: block;
}

.revenue-table td strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.revenue-table td small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
}

.revenue-table td b {
  color: var(--ink);
  font-size: 13px;
  font-weight: 880;
  white-space: nowrap;
}

.revenue-empty-state {
  min-height: 160px;
}

@keyframes dashboard-card-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

body[data-dashboard-role="admin"] .summary-card {
  display: none;
}

body[data-dashboard-role="admin"] .app-topbar {
  display: none;
}

body[data-dashboard-role="admin"] .workspace-scroll {
  padding: 22px 26px 24px;
}

body[data-dashboard-role="admin"] .workspace-heading {
  display: none;
}

body[data-dashboard-role="admin"] .workspace-heading h1 {
  font-size: clamp(34px, 4vw, 52px);
}

body[data-dashboard-role="admin"] .kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 12px;
}

body[data-dashboard-role="admin"] .kpi-card {
  min-height: 94px;
  padding: 14px 16px;
}

body[data-dashboard-role="admin"] .dashboard-layout {
  grid-template-columns: minmax(0, 1fr);
  transition: grid-template-columns 220ms ease;
}

body[data-dashboard-role="admin"].has-detail .dashboard-layout {
  grid-template-columns: minmax(0, 1fr) 286px;
}

body[data-dashboard-role="admin"] .detail-rail {
  display: none;
}

body[data-dashboard-role="admin"].has-detail .detail-rail {
  display: grid;
  animation: detail-rail-in 200ms ease both;
}

body[data-dashboard-role="admin"] .main-panel {
  min-height: 520px;
}

body[data-dashboard-role="admin"] .panel-toolbar {
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(540px, 0.95fr);
  padding: 14px 18px;
}

body[data-dashboard-role="admin"] .panel-toolbar.is-admin-agencies-toolbar {
  display: none;
}

body[data-dashboard-role="admin"] .panel-toolbar.is-admin-owners-toolbar {
  display: none;
}

body[data-dashboard-role="admin"] .panel-toolbar.is-reservations-toolbar {
  display: none;
}

body[data-dashboard-role="admin"] .panel-toolbar > div:first-child {
  min-width: 0;
}

body[data-dashboard-role="admin"] .dashboard-search.is-panel-search {
  width: 100%;
}

body[data-dashboard-role="admin"] .dashboard-search.is-panel-search[hidden] {
  display: none !important;
}

body[data-dashboard-role="admin"] .content-view {
  padding: 14px;
}

body[data-dashboard-role="agency"] .summary-card,
body[data-dashboard-role="agency"] .app-topbar,
body[data-dashboard-role="agency"] .workspace-heading {
  display: none;
}

body[data-dashboard-role="agency"] .workspace-scroll {
  padding: 22px 26px 24px;
}

body[data-dashboard-role="agency"] .kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 12px;
}

body[data-dashboard-role="agency"] .kpi-card {
  min-height: 94px;
  padding: 14px 16px;
}

body[data-dashboard-role="agency"] .dashboard-layout {
  grid-template-columns: minmax(0, 1fr);
  transition: grid-template-columns 220ms ease;
}

body[data-dashboard-role="agency"].has-detail .dashboard-layout {
  grid-template-columns: minmax(0, 1fr) 286px;
}

body[data-dashboard-role="agency"] .detail-rail {
  display: none;
}

body[data-dashboard-role="agency"].has-detail .detail-rail {
  display: grid;
  animation: detail-rail-in 200ms ease both;
}

body[data-dashboard-role="agency"] .main-panel {
  min-height: 520px;
}

body[data-dashboard-role="agency"] .panel-toolbar {
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(420px, 0.72fr);
  padding: 14px 18px;
}

body[data-dashboard-role="agency"] .panel-toolbar > div:first-child {
  min-width: 0;
}

body[data-dashboard-role="agency"] .dashboard-search.is-panel-search {
  width: 100%;
}

body[data-dashboard-role="agency"] .dashboard-search.is-panel-search[hidden] {
  display: none !important;
}

body[data-dashboard-role="agency"] .content-view {
  padding: 14px;
}

body.messages-view-active .dashboard-layout,
body[data-dashboard-role="admin"].messages-view-active.has-detail .dashboard-layout,
body[data-dashboard-role="agency"].messages-view-active.has-detail .dashboard-layout {
  grid-template-columns: minmax(0, 1fr);
}

body.messages-view-active .detail-rail,
body[data-dashboard-role="admin"].messages-view-active.has-detail .detail-rail,
body[data-dashboard-role="agency"].messages-view-active.has-detail .detail-rail {
  display: none;
}

body.messages-view-active .main-panel {
  min-height: 0;
}

body.messages-view-active .panel-toolbar {
  display: none;
}

body.collaborators-view-active .panel-toolbar {
  display: none;
}

body.collaborators-view-active .content-view {
  padding-top: 14px;
}

body.messages-view-active .content-view {
  padding: 0;
}

.messages-workspace {
  height: clamp(620px, calc(100vh - 158px), 820px);
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(360px, 1.55fr) minmax(260px, 0.84fr);
  border-top: 1px solid rgba(13, 13, 11, 0.07);
  background: #fff;
}

.message-list-pane,
.message-chat-pane,
.message-reservation-pane {
  min-width: 0;
  min-height: 0;
}

.message-list-pane {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-right: 1px solid rgba(13, 13, 11, 0.08);
  background: rgba(248, 248, 246, 0.68);
}

.message-list-toolbar {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid rgba(13, 13, 11, 0.08);
  background: rgba(255, 255, 255, 0.86);
}

.message-list-toolbar label,
.message-textarea {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.message-list-toolbar span,
.message-textarea span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.message-list-toolbar input,
.message-list-toolbar select,
.message-textarea textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 720;
  outline: 0;
}

.message-list-toolbar input,
.message-list-toolbar select {
  min-height: 38px;
  padding: 0 10px;
}

.message-list-toolbar input:focus,
.message-list-toolbar select:focus,
.message-textarea textarea:focus {
  border-color: rgba(17, 100, 90, 0.36);
  box-shadow: 0 0 0 3px rgba(17, 100, 90, 0.09);
}

.message-thread-list {
  min-height: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(13, 13, 11, 0.28) rgba(13, 13, 11, 0.06);
}

.message-thread-list::-webkit-scrollbar,
.message-bubble-list::-webkit-scrollbar {
  width: 8px;
}

.message-thread-list::-webkit-scrollbar-track,
.message-bubble-list::-webkit-scrollbar-track {
  background: rgba(13, 13, 11, 0.06);
}

.message-thread-list::-webkit-scrollbar-thumb,
.message-bubble-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(13, 13, 11, 0.28);
}

.message-thread-row {
  position: relative;
  width: 100%;
  min-height: 124px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  border: 0;
  border-bottom: 1px solid rgba(13, 13, 11, 0.07);
  background: transparent;
  color: var(--text);
  padding: 16px 14px;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.message-thread-row:hover,
.message-thread-row.is-selected {
  background: #fff;
  box-shadow: inset 3px 0 0 var(--green);
}

.message-thread-row.is-unread {
  background: rgba(232, 93, 69, 0.05);
}

.message-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(13, 13, 11, 0.1);
  color: #5c5850;
  font-size: 12px;
  font-weight: 850;
}

.message-thread-main,
.message-thread-head {
  min-width: 0;
  display: grid;
}

.message-thread-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px;
}

.message-thread-main {
  gap: 4px;
}

.message-thread-main strong,
.message-thread-main small,
.message-thread-main b,
.message-thread-main i,
.message-thread-main span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-thread-main strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.message-thread-main em,
.message-thread-main small,
.message-thread-main i,
.message-thread-main span {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 690;
}

.message-thread-main b {
  color: #514d45;
  font-size: 12px;
  font-weight: 790;
}

.message-thread-row mark,
.message-chat-head mark {
  width: fit-content;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
}

.message-thread-row mark {
  position: absolute;
  left: 14px;
  top: 64px;
}

.message-chat-pane {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #fff;
}

.message-chat-head {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(13, 13, 11, 0.07);
}

.message-chat-head span {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.message-chat-head h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.1;
}

.message-chat-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
}

.message-bubble-list {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 24px 20px;
  background:
    linear-gradient(180deg, rgba(248, 248, 246, 0.55), rgba(255, 255, 255, 0.96));
  scrollbar-width: thin;
  scrollbar-color: rgba(13, 13, 11, 0.28) rgba(13, 13, 11, 0.06);
}

.message-bubble {
  width: min(72%, 520px);
  display: grid;
  gap: 8px;
  border: 1px solid rgba(13, 13, 11, 0.07);
  border-radius: 14px;
  padding: 13px 15px;
  box-shadow: 0 12px 28px rgba(13, 13, 11, 0.05);
}

.message-bubble.is-guest {
  align-self: flex-start;
  background: rgba(232, 93, 69, 0.22);
}

.message-bubble.is-host {
  align-self: flex-end;
  background: rgba(246, 244, 238, 0.96);
}

.message-bubble p {
  margin: 0;
  color: #34312b;
  font-size: 13px;
  font-weight: 650;
  line-height: 19px;
}

.message-bubble footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
}

.message-bubble footer > span:last-child {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.message-channel-pill {
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(13, 13, 11, 0.07);
  color: #514d45;
  padding: 0 7px;
  font-size: 10px;
  font-weight: 850;
}

.message-composer {
  display: grid;
  gap: 12px;
  padding: 14px 20px 16px;
  border-top: 1px solid rgba(13, 13, 11, 0.08);
  background: #fff;
}

.message-channel-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.message-channel-option {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #5c5850;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.message-channel-option input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--green);
}

.message-channel-option:has(input:checked) {
  border-color: rgba(17, 100, 90, 0.28);
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
}

.message-textarea textarea {
  min-height: 76px;
  resize: none;
  padding: 10px 11px;
  line-height: 18px;
}

.message-send-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.message-send-row small {
  display: none;
}

.message-send-row button,
.message-reservation-pane > button {
  min-height: 38px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.message-send-row button:hover,
.message-reservation-pane > button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(13, 13, 11, 0.14);
}

.message-reservation-pane {
  display: grid;
  align-content: start;
  gap: 18px;
  border-left: 1px solid rgba(13, 13, 11, 0.08);
  background: rgba(248, 248, 246, 0.62);
  padding: 18px;
}

.message-reservation-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(13, 13, 11, 0.08);
}

.message-reservation-head span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(232, 93, 69, 0.12);
  color: var(--human);
}

.message-reservation-head svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.message-reservation-head strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 880;
}

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

.message-reservation-grid div,
.message-reservation-people div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.message-reservation-grid dt,
.message-reservation-people span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.message-reservation-grid dd {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
}

.message-reservation-people {
  display: grid;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(13, 13, 11, 0.08);
  border-bottom: 1px solid rgba(13, 13, 11, 0.08);
}

.message-reservation-people strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-empty {
  min-height: 120px;
  display: grid;
  place-items: center;
  color: var(--muted);
  padding: 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 760;
}

.admin-planning {
  min-width: 0;
  max-height: 524px;
  overflow: auto hidden;
  border: 1px solid rgba(13, 13, 11, 0.07);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #fbfbf8);
  scrollbar-width: thin;
  scrollbar-color: rgba(13, 13, 11, 0.2) transparent;
}

.admin-dashboard-stack {
  display: grid;
  gap: 12px;
}

.admin-planning-head,
.admin-planning-row {
  display: grid;
  grid-template-columns: 138px repeat(var(--day-count), minmax(28px, 1fr));
  min-width: var(--planning-min-width, 100%);
}

.admin-planning-head {
  position: sticky;
  top: 0;
  z-index: 2;
  min-width: 0;
  border-bottom: 1px solid rgba(13, 13, 11, 0.08);
  background: #fff;
}

.admin-planning-head > span,
.admin-planning-head div {
  min-height: 58px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(13, 13, 11, 0.06);
}

.admin-planning-head > span {
  justify-content: start;
  padding-left: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.admin-planning-head div {
  color: #5f5b52;
}

.admin-planning-head div.is-today {
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
}

.admin-planning-head small {
  font-size: 10px;
  font-weight: 760;
}

.admin-planning-head strong {
  margin-top: -8px;
  font-size: 16px;
  font-weight: 850;
}

.admin-planning-body {
  display: grid;
  min-width: var(--planning-min-width, 100%);
}

.admin-planning-row {
  position: relative;
  min-height: 66px;
  align-items: center;
  border-bottom: 1px solid rgba(13, 13, 11, 0.06);
  background-image: linear-gradient(90deg, transparent 137px, rgba(13, 13, 11, 0.055) 138px, transparent 139px);
  animation: planning-row-in 320ms ease both;
}

.admin-planning-row::after {
  content: "";
  position: absolute;
  inset: 0 0 0 138px;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(13, 13, 11, 0.055) 0 1px, transparent 1px calc(100% / var(--day-count)));
}

.admin-calendar-cell {
  position: relative;
  z-index: 0;
  grid-row: 1;
  width: 100%;
  height: 100%;
  align-self: stretch;
  justify-self: stretch;
  min-width: 0;
  min-height: 66px;
  border: 0;
  border-right: 1px solid rgba(13, 13, 11, 0.035);
  background: transparent;
  cursor: pointer;
}

.admin-calendar-cell:hover,
.admin-calendar-cell:focus-visible {
  background: rgba(17, 100, 90, 0.06);
  outline: none;
}

.planning-property {
  grid-row: 1;
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 0 10px;
  border-right: 1px solid rgba(13, 13, 11, 0.08);
}

.planning-property strong,
.planning-property span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.planning-property strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
}

.planning-property span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.planning-event {
  position: relative;
  z-index: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px;
  align-items: center;
  gap: 8px;
  margin: 0 3px;
  border: 1px solid rgba(17, 100, 90, 0.2);
  border-radius: 8px;
  background: rgba(17, 100, 90, 0.1);
  color: var(--green);
  padding: 0 6px 0 10px;
  text-align: left;
  cursor: pointer;
  animation: planning-event-in 360ms ease both;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.planning-event:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(13, 13, 11, 0.08);
}

.planning-event.is-selected {
  outline: 2px solid rgba(17, 100, 90, 0.2);
  box-shadow: 0 8px 18px rgba(13, 13, 11, 0.08);
}

.planning-event.tone-warning {
  border-color: rgba(216, 154, 43, 0.24);
  background: rgba(216, 154, 43, 0.1);
  color: var(--warning);
}

.planning-event.tone-human {
  border-color: rgba(232, 93, 69, 0.24);
  background: rgba(232, 93, 69, 0.1);
  color: var(--human);
}

.planning-event.tone-neutral {
  border-color: rgba(13, 13, 11, 0.11);
  background: rgba(13, 13, 11, 0.05);
  color: #514d45;
}

.planning-event:has(.event-brand.channel-booking) {
  border-color: rgba(55, 109, 246, 0.26);
  background: rgba(55, 109, 246, 0.11);
  color: #2659d9;
}

.planning-event:has(.event-brand.channel-direct) {
  border-color: rgba(17, 100, 90, 0.23);
  background: rgba(17, 100, 90, 0.12);
  color: var(--green);
}

.planning-event:has(.event-brand.channel-vrbo) {
  border-color: rgba(17, 100, 90, 0.2);
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
}

.event-copy {
  min-width: 0;
  display: block;
}

.event-copy strong {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 850;
}

.event-brand {
  justify-self: end;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(13, 13, 11, 0.08);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  overflow: hidden;
}

.event-brand svg,
.event-brand img {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}

.event-brand svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-brand.channel-airbnb {
  color: #e85d45;
}

.event-brand.channel-booking {
  background: rgba(255, 255, 255, 0.94);
  color: #376df6;
  box-shadow: inset 0 0 0 1px rgba(55, 109, 246, 0.18);
}

.event-brand.channel-direct {
  color: var(--green);
}

.event-brand.channel-vrbo,
.event-brand.channel-block,
.event-brand.channel-technical,
.event-brand.channel-cleaning,
.event-brand.channel-absence,
.event-brand.channel-owner,
.event-brand.channel-operation {
  color: #514d45;
}

.event-channel {
  width: 24px;
  height: 24px;
  display: inline-grid;
  flex: 0 0 24px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0;
  overflow: hidden;
  text-align: center;
}

.event-channel img,
.event-channel svg {
  width: 16px;
  height: 16px;
  display: block;
  justify-self: center;
  align-self: center;
  margin: auto;
  object-fit: contain;
  object-position: center;
}

.event-channel.channel-airbnb {
  color: #e85d45;
}

.event-channel.channel-booking {
  color: #376df6;
}

.event-channel.channel-direct {
  color: var(--green);
}

.event-channel.channel-vrbo,
.event-channel.channel-block,
.event-channel.channel-technical,
.event-channel.channel-cleaning,
.event-channel.channel-absence,
.event-channel.channel-owner,
.event-channel.channel-operation {
  color: #514d45;
}

.event-channel.channel-technical {
  color: var(--warning);
}

.event-channel.channel-cleaning {
  color: var(--green);
}

.event-channel.channel-block {
  color: #5f5b52;
}

.event-channel.channel-absence {
  color: var(--human);
}

.icon-preview-bare .event-channel.channel-direct,
.icon-preview-bare .event-channel.channel-block,
.icon-preview-bare .event-channel.channel-technical,
.icon-preview-bare .event-channel.channel-cleaning,
.icon-preview-bare .event-channel.channel-absence,
.icon-preview-bare .event-channel.channel-default,
.icon-preview-bare .event-channel.channel-owner,
.icon-preview-bare .event-channel.channel-operation {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.icon-preview-outline .event-channel.channel-direct,
.icon-preview-outline .event-channel.channel-block,
.icon-preview-outline .event-channel.channel-technical,
.icon-preview-outline .event-channel.channel-cleaning,
.icon-preview-outline .event-channel.channel-absence,
.icon-preview-outline .event-channel.channel-default,
.icon-preview-outline .event-channel.channel-owner,
.icon-preview-outline .event-channel.channel-operation {
  background: transparent;
  box-shadow: none;
}

.icon-preview-solid .event-channel.channel-direct,
.icon-preview-solid .event-channel.channel-block,
.icon-preview-solid .event-channel.channel-technical,
.icon-preview-solid .event-channel.channel-cleaning,
.icon-preview-solid .event-channel.channel-absence,
.icon-preview-solid .event-channel.channel-default,
.icon-preview-solid .event-channel.channel-owner,
.icon-preview-solid .event-channel.channel-operation {
  border-color: transparent;
  border-radius: 8px;
  box-shadow: none;
  color: #fff;
}

.icon-preview-solid .event-channel.channel-direct,
.icon-preview-solid .event-channel.channel-cleaning {
  background: var(--green);
}

.icon-preview-solid .event-channel.channel-technical {
  background: var(--warning);
}

.icon-preview-solid .event-channel.channel-absence {
  background: var(--human);
}

.icon-preview-solid .event-channel.channel-block,
.icon-preview-solid .event-channel.channel-default,
.icon-preview-solid .event-channel.channel-owner,
.icon-preview-solid .event-channel.channel-operation {
  background: #5f5b52;
}

.icon-preview-solid .event-channel.channel-direct img,
.icon-preview-solid .event-channel.channel-block img,
.icon-preview-solid .event-channel.channel-technical img,
.icon-preview-solid .event-channel.channel-cleaning img,
.icon-preview-solid .event-channel.channel-absence img,
.icon-preview-solid .event-channel.channel-default img,
.icon-preview-solid .event-channel.channel-owner img,
.icon-preview-solid .event-channel.channel-operation img {
  filter: brightness(0) invert(1);
}

.icon-preview-solid .event-channel.channel-direct svg,
.icon-preview-solid .event-channel.channel-block svg,
.icon-preview-solid .event-channel.channel-technical svg,
.icon-preview-solid .event-channel.channel-cleaning svg,
.icon-preview-solid .event-channel.channel-absence svg,
.icon-preview-solid .event-channel.channel-default svg,
.icon-preview-solid .event-channel.channel-owner svg,
.icon-preview-solid .event-channel.channel-operation svg {
  color: #fff;
  stroke: currentColor;
}

.icon-preview-solid .owner-stacked-day.is-single-day > span:has(.event-channel.channel-direct),
.icon-preview-solid .owner-stacked-day.is-single-day > span:has(.event-channel.channel-block),
.icon-preview-solid .owner-stacked-day.is-single-day > span:has(.event-channel.channel-technical),
.icon-preview-solid .owner-stacked-day.is-single-day > span:has(.event-channel.channel-cleaning),
.icon-preview-solid .owner-stacked-day.is-single-day > span:has(.event-channel.channel-absence),
.icon-preview-solid .owner-stacked-day.is-single-day > span:has(.event-channel.channel-default),
.icon-preview-solid .owner-stacked-day.is-single-day > span:has(.event-channel.channel-owner),
.icon-preview-solid .owner-stacked-day.is-single-day > span:has(.event-channel.channel-operation) {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  padding-left: 2px;
}

.icon-preview-solid .owner-stacked-day.is-single-day > span:has(.event-channel.channel-direct) .event-channel,
.icon-preview-solid .owner-stacked-day.is-single-day > span:has(.event-channel.channel-block) .event-channel,
.icon-preview-solid .owner-stacked-day.is-single-day > span:has(.event-channel.channel-technical) .event-channel,
.icon-preview-solid .owner-stacked-day.is-single-day > span:has(.event-channel.channel-cleaning) .event-channel,
.icon-preview-solid .owner-stacked-day.is-single-day > span:has(.event-channel.channel-absence) .event-channel,
.icon-preview-solid .owner-stacked-day.is-single-day > span:has(.event-channel.channel-default) .event-channel,
.icon-preview-solid .owner-stacked-day.is-single-day > span:has(.event-channel.channel-owner) .event-channel,
.icon-preview-solid .owner-stacked-day.is-single-day > span:has(.event-channel.channel-operation) .event-channel {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}

.admin-insights-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.8fr) minmax(220px, 0.75fr);
  gap: 10px;
}

.channel-sync-workspace {
  display: grid;
  gap: 14px;
}

.channel-sync-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.channel-sync-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 870;
}

.channel-sync-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 19px;
}

.channel-sync-head > span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
  padding: 0 11px;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

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

.channel-sync-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 15px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 14px 30px rgba(13, 13, 11, 0.045);
}

.channel-sync-card strong,
.channel-sync-card small {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.channel-sync-card strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 860;
}

.channel-sync-card small,
.channel-sync-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.channel-sync-card em {
  grid-column: 2 / -1;
}

.reservations-workspace {
  display: grid;
  gap: 10px;
}

.reservation-period-head {
  min-height: 76px;
  display: grid;
  align-items: center;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  padding: 14px 16px;
  box-shadow: 0 12px 30px rgba(13, 13, 11, 0.05);
}

.reservation-period-head .planning-controls.is-reservation-controls {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
}

.reservation-period-head .month-control {
  margin: 0;
  gap: 12px;
}

.reservation-period-head .month-control strong {
  min-width: 118px;
  font-size: 17px;
}

.reservation-period-head .month-control button {
  width: 34px;
  min-height: 34px;
}

.reservation-period-head .planning-controls.is-reservation-controls .period-dropdown {
  margin-left: 0;
}

.reservation-top-filters {
  display: grid;
  gap: 8px;
}

.reservation-filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(13, 13, 11, 0.07);
  border-radius: 14px;
  background: rgba(248, 248, 246, 0.72);
}

.reservation-search-field {
  display: grid;
  gap: 7px;
}

.reservation-search-field span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 820;
}

.reservation-search-field input {
  width: min(520px, 100%);
  min-height: 40px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 0 13px;
  font: inherit;
  font-size: 13px;
  font-weight: 720;
  outline: 0;
}

.reservation-search-field input:focus {
  border-color: rgba(17, 100, 90, 0.34);
  box-shadow: 0 0 0 3px rgba(17, 100, 90, 0.08);
}

.reservation-filter-bar label {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.reservation-filter-bar span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 820;
}

.reservation-filter-bar select {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 0 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 740;
  outline: 0;
}

.reservation-filter-bar select:focus {
  border-color: rgba(17, 100, 90, 0.34);
  box-shadow: 0 0 0 3px rgba(17, 100, 90, 0.08);
}

.owner-filter-panel {
  display: grid;
  gap: 15px;
  padding: 16px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 14px;
  background: rgba(248, 248, 246, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.owner-filter-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.owner-filter-panel-head strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 860;
}

.owner-filter-panel-head button {
  min-height: 30px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  padding: 0 11px;
  font-size: 11px;
  font-weight: 820;
  cursor: pointer;
}

.owner-filter-group {
  display: grid;
  gap: 8px;
}

.owner-filter-group > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.owner-filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.owner-filter-chip {
  min-height: 34px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #514d45;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 820;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.owner-filter-chip:hover,
.owner-filter-chip.is-active {
  border-color: rgba(17, 100, 90, 0.28);
  background: rgba(17, 100, 90, 0.09);
  color: var(--green);
  transform: translateY(-1px);
}

.reservation-result-head {
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reservation-result-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 860;
}

.reservation-result-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.reservation-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(230px, 1fr));
  gap: 10px;
}

.reservation-card {
  min-width: 0;
  display: grid;
  gap: 13px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  padding: 13px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(13, 13, 11, 0.045);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.reservation-card:hover,
.reservation-card.is-selected {
  transform: translateY(-1px);
  border-color: rgba(17, 100, 90, 0.22);
  background: #fff;
  box-shadow: 0 16px 34px rgba(13, 13, 11, 0.08);
}

.reservation-card.is-selected {
  box-shadow: 0 0 0 1px rgba(17, 100, 90, 0.16), 0 16px 34px rgba(13, 13, 11, 0.08);
}

.reservation-card-head {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
}

.reservation-card-head strong,
.reservation-card-property strong {
  min-width: 0;
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 860;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reservation-card-head small,
.reservation-card-property span {
  min-width: 0;
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reservation-card .status-badge {
  font-style: normal;
  white-space: nowrap;
}

.reservation-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
}

.reservation-card dl div {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(248, 248, 246, 0.78);
}

.reservation-card dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 820;
  text-transform: uppercase;
}

.reservation-card dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reservation-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
  line-height: 18px;
}

.insight-card {
  min-width: 0;
  border: 1px solid rgba(13, 13, 11, 0.07);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 12px 28px rgba(13, 13, 11, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.insight-card:hover {
  border-color: rgba(17, 100, 90, 0.16);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 38px rgba(13, 13, 11, 0.08);
  transform: translateY(-2px);
}

.insight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.insight-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.insight-head button {
  border: 0;
  background: transparent;
  color: var(--green);
  padding: 0;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.insight-list {
  display: grid;
  gap: 6px;
}

.insight-row,
.sync-row,
.alert-row {
  min-width: 0;
  min-height: 42px;
  display: grid;
  align-items: center;
  border: 1px solid rgba(13, 13, 11, 0.06);
  border-radius: 10px;
  background: rgba(248, 248, 246, 0.7);
}

.insight-row,
.alert-row {
  width: 100%;
  cursor: pointer;
  text-align: left;
}

.insight-row {
  grid-template-columns: 28px minmax(0, 1fr) auto auto;
  gap: 8px;
  padding: 6px 8px;
}

.insight-row span:nth-child(2),
.sync-row strong,
.alert-row strong,
.alert-row small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.insight-row strong,
.sync-row strong,
.alert-row strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
}

.insight-row small,
.sync-row small,
.alert-row small,
.insight-row em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 680;
}

.insight-row b {
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.sync-row {
  grid-template-columns: 28px minmax(0, 1fr) auto auto;
  gap: 8px;
  padding: 6px 8px;
}

.mini-status {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 8px;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.mini-status.tone-trust {
  background: rgba(17, 100, 90, 0.09);
  color: var(--green);
}

.mini-status.tone-warning {
  background: rgba(216, 154, 43, 0.12);
  color: var(--warning);
}

.mini-status.tone-human {
  background: rgba(232, 93, 69, 0.13);
  color: var(--human);
}

.alert-row {
  grid-template-columns: 28px minmax(0, 1fr) minmax(72px, 0.7fr);
  gap: 8px;
  padding: 8px;
}

.alert-row > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.alert-row.tone-human > span {
  background: rgba(232, 93, 69, 0.12);
  color: var(--human);
}

.alert-row.tone-warning > span {
  background: rgba(216, 154, 43, 0.13);
  color: var(--warning);
}

.staff-vision-card,
.staff-week,
.staff-admin-view > section,
.admin-agencies-view > section,
.owner-clients-view > section,
.absence-notice,
.staff-profile-form-card,
.staff-operational-block,
.proof-block {
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(13, 13, 11, 0.05);
}

.staff-workspace {
  display: grid;
  gap: 14px;
}

.staff-kanban-workspace {
  align-content: start;
}

.staff-kanban-board {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 14px;
  box-shadow: 0 12px 32px rgba(13, 13, 11, 0.05);
}

.staff-kanban-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.staff-kanban-day-nav {
  min-width: 0;
  margin: 0;
  gap: 6px;
}

.staff-kanban-day-nav > button:not(.staff-today-button) {
  width: 34px;
  min-height: 34px;
  border-radius: 999px;
  background: #fff;
  color: #514d45;
}

.staff-kanban-day-nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.staff-kanban-day-nav strong {
  min-width: 146px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  text-align: center;
}

.staff-today-button {
  min-height: 38px;
  border: 1px solid rgba(17, 100, 90, 0.16);
  border-radius: 999px;
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
  padding: 0 14px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.staff-today-button:disabled {
  opacity: 0.42;
  cursor: default;
}

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

.staff-kanban-column,
.staff-kanban-completed {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid rgba(13, 13, 11, 0.07);
  border-radius: 14px;
  background: #f8f8f5;
  padding: 12px;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.staff-kanban-column.is-drop-target,
.staff-kanban-completed.is-drop-target {
  border-color: rgba(17, 100, 90, 0.34);
  background: rgba(17, 100, 90, 0.07);
  box-shadow: inset 0 0 0 1px rgba(17, 100, 90, 0.1);
}

.staff-kanban-column h3,
.staff-kanban-completed h3 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.staff-kanban-column-body,
.staff-kanban-completed-list {
  display: grid;
  gap: 9px;
}

.staff-kanban-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 10px 22px rgba(13, 13, 11, 0.05);
  cursor: grab;
  touch-action: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.staff-kanban-card:hover,
.staff-kanban-card.is-selected {
  border-color: rgba(17, 100, 90, 0.26);
  box-shadow: 0 14px 30px rgba(13, 13, 11, 0.08);
  transform: translateY(-1px);
}

.staff-kanban-card.is-dragging {
  opacity: 0.56;
  cursor: grabbing;
}

.staff-kanban-card-main {
  min-width: 0;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.staff-kanban-card-main > span:last-child {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.staff-kanban-card-main strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 880;
}

.staff-kanban-card-main small,
.staff-kanban-card-main em {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-kanban-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.staff-kanban-card-foot button {
  min-height: 30px;
  border: 1px solid rgba(17, 100, 90, 0.16);
  border-radius: 999px;
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
  padding: 0 10px;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.staff-kanban-empty {
  min-height: 78px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(13, 13, 11, 0.12);
  border-radius: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.staff-vision-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px;
}

.staff-vision-card span,
.staff-admin-head span,
.staff-profile-form-card > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.staff-vision-card strong,
.staff-admin-head h3,
.staff-profile-form-card h3 {
  display: block;
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
}

.staff-vision-card p,
.staff-admin-head p {
  max-width: 620px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 19px;
}

.staff-vision-switch {
  display: inline-flex;
  gap: 7px;
  padding: 4px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 999px;
  background: var(--soft);
}

.staff-vision-switch button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5f5b52;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 820;
  cursor: pointer;
}

.staff-vision-switch button.is-active {
  background: #fff;
  color: var(--green);
  box-shadow: 0 6px 16px rgba(13, 13, 11, 0.08);
}

.staff-week {
  overflow: hidden;
}

.staff-week-days {
  display: grid;
  grid-template-columns: 38px repeat(7, minmax(72px, 1fr)) 38px;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid rgba(13, 13, 11, 0.07);
}

.staff-week-days button {
  min-height: 58px;
  display: grid;
  place-items: center;
  gap: 3px;
  border: 1px solid rgba(13, 13, 11, 0.07);
  border-radius: 12px;
  background: #f8f8f5;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.staff-week-days button:hover,
.staff-week-days button.is-active {
  border-color: rgba(17, 100, 90, 0.3);
  background: #fff;
  box-shadow: 0 10px 22px rgba(13, 13, 11, 0.07);
  transform: translateY(-1px);
}

.staff-week-days button.is-today {
  border-color: rgba(17, 100, 90, 0.28);
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
}

.staff-week-days button.is-active {
  background: rgba(17, 100, 90, 0.12);
  color: var(--green);
}

.staff-day-arrow {
  min-width: 0;
  color: var(--green);
}

.staff-day-arrow svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.staff-week-days span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
}

.staff-week-days strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 880;
}

.staff-mission-list {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.staff-month {
  overflow: hidden;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(13, 13, 11, 0.05);
}

.staff-month-head {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(13, 13, 11, 0.07);
}

.staff-month-control {
  margin: 0;
}

.staff-month-control strong {
  min-width: 106px;
  font-size: 18px;
}

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

.staff-month-weekdays {
  border-bottom: 1px solid rgba(13, 13, 11, 0.07);
  background: #f8f8f5;
}

.staff-month-weekdays span {
  min-height: 34px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.staff-month-day {
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 6px;
  border-right: 1px solid rgba(13, 13, 11, 0.06);
  border-bottom: 1px solid rgba(13, 13, 11, 0.06);
  background: rgba(255, 255, 255, 0.82);
  padding: 9px;
  cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.staff-month-day:hover,
.staff-month-day.is-active {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(17, 100, 90, 0.2);
}

.staff-month-day:nth-child(7n) {
  border-right: 0;
}

.staff-month-day.is-muted {
  background: #fbfbf8;
  color: #aaa59b;
}

.staff-month-day > strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.staff-month-day.is-muted > strong {
  color: #aaa59b;
}

.staff-month-day button {
  min-width: 0;
  min-height: 28px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(17, 100, 90, 0.16);
  border-radius: 8px;
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
  padding: 2px 7px 2px 3px;
  overflow: hidden;
  font-size: 11px;
  font-weight: 820;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.staff-month-day button em {
  min-width: 0;
  overflow: hidden;
  color: currentColor;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-day-detail-list {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.staff-day-detail-list button {
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.staff-day-detail-list button > span:not(.event-channel) {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.staff-day-detail-list strong {
  font-size: 13px;
  font-weight: 850;
}

.staff-day-detail-list small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.staff-mission-card {
  width: 100%;
  min-height: 92px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) minmax(160px, auto);
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  padding: 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.staff-mission-card:hover,
.staff-mission-card.is-selected {
  border-color: rgba(17, 100, 90, 0.28);
  background: #fff;
  box-shadow: 0 14px 32px rgba(13, 13, 11, 0.08);
  transform: translateY(-1px);
}

.staff-mission-main,
.staff-mission-side {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.staff-mission-main strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
}

.staff-mission-main small,
.staff-mission-main em,
.staff-mission-side span,
.staff-mission-side small {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-mission-type {
  width: fit-content;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
  padding: 0 9px;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.staff-mission-side {
  justify-items: end;
  text-align: right;
}

.staff-operational-block,
.proof-block {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  padding: 12px;
  background: var(--soft);
  box-shadow: none;
}

.staff-operational-block > strong,
.proof-block > strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.staff-operational-block div {
  display: grid;
  gap: 3px;
}

.staff-operational-block span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.staff-operational-block p {
  margin: 0;
  color: #514d45;
  font-size: 12px;
  line-height: 18px;
}

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

.proof-grid span {
  min-height: 68px;
  display: grid;
  place-items: center;
  gap: 4px;
  border: 1px dashed rgba(13, 13, 11, 0.18);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.62);
  color: #5f5b52;
  padding: 8px;
  font-size: 11px;
  font-weight: 780;
  text-align: center;
}

.proof-grid b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(17, 100, 90, 0.1);
  color: var(--green);
  font-size: 16px;
  line-height: 1;
}

.incident-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.incident-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(13, 13, 11, 0.42);
  cursor: pointer;
}

.incident-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  gap: 12px;
  overflow: auto;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 18px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 28px 80px rgba(13, 13, 11, 0.24);
}

.incident-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.incident-head span,
.incident-dialog label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.incident-head button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
}

.incident-dialog h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.incident-dialog p {
  margin: -4px 0 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}

.incident-dialog label {
  display: grid;
  gap: 7px;
}

.incident-dialog select,
.incident-dialog textarea,
.incident-dialog input[type="date"],
.incident-dialog input[type="file"] {
  width: 100%;
  border: 1px solid rgba(13, 13, 11, 0.12);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  padding: 10px 11px;
  font-size: 13px;
  font-weight: 680;
  outline: 0;
}

.incident-dialog select {
  min-height: 42px;
}

.incident-dialog input[type="date"] {
  min-height: 42px;
}

.incident-dialog textarea {
  min-height: 106px;
  resize: vertical;
  line-height: 19px;
}

.incident-dialog select:focus,
.incident-dialog textarea:focus,
.incident-dialog input[type="date"]:focus,
.incident-dialog input[type="file"]:focus {
  border-color: rgba(17, 100, 90, 0.42);
  box-shadow: 0 0 0 3px rgba(17, 100, 90, 0.1);
}

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

.incident-photo-field em {
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(17, 100, 90, 0.26);
  border-radius: 11px;
  background: rgba(17, 100, 90, 0.06);
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 820;
  text-align: center;
}

.incident-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 4px;
}

.incident-actions button {
  min-height: 40px;
  border: 1px solid rgba(13, 13, 11, 0.12);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.incident-actions button[type="submit"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.admin-staff-view {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 14px;
}

.admin-staff-view > section,
.admin-agencies-view > section,
.owner-clients-view > section {
  min-width: 0;
  padding: 18px;
}

.staff-absence-panel {
  grid-column: 1;
}

.staff-profile-form-card {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.admin-agencies-view {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.owner-clients-view {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  margin-top: 18px;
}

.owner-clients-view > .owner-directory {
  grid-column: 1;
  grid-row: 1;
}

.owner-clients-view > .owner-detail-card {
  display: contents;
}

.admin-agencies-view.owner-clients-view > .owner-detail-card,
.admin-agencies-view.owner-clients-view > .owner-property-detail-column {
  display: contents;
  min-height: 0;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.owner-client-selected-card {
  grid-column: 2;
  grid-row: 1;
}

.owner-property-create-card {
  grid-column: 1;
  grid-row: 2;
}

.owner-property-detail-column {
  grid-column: 2;
  grid-row: 2;
  display: contents;
}

.owner-properties-card {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  align-self: stretch;
}

.owner-directory,
.owner-client-selected-card,
.owner-property-create-card,
.owner-properties-card {
  height: 100%;
}

.admin-agencies-view > .agency-detail-card,
.admin-agencies-view > .agency-users-card,
.admin-agencies-view > .agency-properties-card,
.owner-clients-view > .owner-detail-card {
  display: grid;
  grid-template-rows: 1fr;
  align-content: start;
  gap: 14px;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.admin-agencies-view > section {
  min-height: 430px;
}

.admin-agencies-view .agency-panel-card,
.owner-clients-view .agency-panel-card {
  min-height: 100%;
  height: 100%;
  align-content: start;
}

.owner-clients-view > section {
  min-height: 430px;
}

.owner-clients-view > .owner-detail-card {
  display: contents;
}

.agency-panel-card {
  min-width: 0;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  padding: 18px;
  box-shadow: 0 16px 36px rgba(13, 13, 11, 0.05);
}

.absence-notice {
  display: grid;
  grid-template-columns: minmax(180px, 0.24fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 4px;
  min-height: 55px;
  padding: 9px 10px 9px 18px;
  border-color: rgba(122, 75, 47, 0.16);
  background: rgba(255, 251, 246, 0.94);
}

.absence-notice > div:first-child span {
  font-size: 12.5px;
}

.absence-notice span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.absence-notice strong {
  display: block;
  margin-top: 1px;
  color: #7a4b2f;
  font-size: 12px;
  font-weight: 880;
}

.absence-notice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.absence-notice-list button {
  min-width: 0;
  min-height: 31px;
  display: grid;
  align-content: center;
  gap: 1px;
  border: 1px solid rgba(122, 75, 47, 0.14);
  border-radius: 9px;
  background: #fff;
  padding: 4px 8px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.absence-notice-list .empty-state {
  width: fit-content;
  max-width: 100%;
  min-height: 34px;
  border-radius: 9px;
  background: #fff;
  padding: 7px 11px;
  font-size: 11px;
  place-items: center;
}

.absence-notice-list .absence-empty-state {
  justify-self: start;
}

.absence-notice-list b,
.absence-notice-list small,
.absence-notice-list em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.absence-notice-list b {
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
}

.absence-notice-list small,
.absence-notice-list em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

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

.staff-admin-head strong,
.agency-head-actions button,
.agency-users-head button,
.property-detail-link {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.staff-admin-head strong {
  background: rgba(17, 100, 90, 0.09);
  color: var(--green);
}

.agency-head-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.agency-head-actions button,
.agency-users-head button,
.property-detail-link {
  border: 1px solid rgba(13, 13, 11, 0.1);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.agency-head-actions button:hover,
.agency-users-head button:hover,
.property-detail-link:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 100, 90, 0.26);
  box-shadow: 0 10px 22px rgba(13, 13, 11, 0.08);
}

.staff-profile-list,
.staff-absence-list,
.agency-profile-list,
.agency-user-list,
.agency-property-list,
.owner-property-list {
  display: grid;
  gap: 8px;
}

.agency-profile-list,
.agency-user-list,
.agency-property-list,
.owner-property-list {
  max-height: 330px;
  overflow: auto;
  padding-right: 3px;
  scrollbar-width: thin;
}

.agency-users-card .agency-user-list,
.agency-properties-card .agency-property-list,
.owner-properties-card .owner-property-list {
  max-height: 240px;
}

.owner-directory .agency-profile-list {
  max-height: 330px;
}

.agency-profile-row,
.agency-user-row,
.agency-property-row,
.owner-property-row {
  min-height: 62px;
  display: grid;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 13px;
  background: rgba(248, 248, 246, 0.78);
  color: var(--text);
  padding: 10px;
  text-align: left;
  cursor: pointer;
}

.agency-property-row {
  width: 100%;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  text-align: left;
}

.agency-property-row > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  grid-row: 1 / span 3;
  border-radius: 11px;
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
}

.agency-property-row svg {
  width: 18px;
  height: 18px;
}

.agency-property-row strong,
.agency-property-row em,
.agency-property-row b,
.agency-property-row small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agency-property-row strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 860;
}

.agency-property-row em,
.agency-property-row b {
  grid-column: 2;
}

.agency-property-row em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.agency-property-row b {
  color: var(--ink);
  font-size: 11px;
  font-weight: 760;
}

.agency-property-row small {
  grid-column: 3;
  grid-row: 1 / span 3;
  justify-self: end;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}

.staff-profile-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 13px;
  background: rgba(248, 248, 246, 0.78);
  color: var(--text);
  padding: 8px;
}

.staff-absence-row {
  width: 100%;
  min-height: 64px;
  display: grid;
  grid-template-columns: 8px minmax(120px, 0.8fr) minmax(110px, 0.45fr) minmax(160px, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(122, 75, 47, 0.16);
  border-radius: 13px;
  background: rgba(248, 248, 246, 0.78);
  color: var(--text);
  padding: 10px;
  text-align: left;
  cursor: pointer;
}

.staff-absence-row:hover {
  transform: translateY(-1px);
  border-color: rgba(122, 75, 47, 0.26);
  background: #fff;
  box-shadow: 0 12px 24px rgba(13, 13, 11, 0.06);
}

.staff-absence-row strong,
.staff-absence-row em,
.staff-absence-row small,
.staff-absence-row b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-absence-row strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.staff-absence-row em,
.staff-absence-row small {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.staff-absence-row b {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(122, 75, 47, 0.1);
  color: #7a4b2f;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.agency-profile-row {
  grid-template-columns: 38px minmax(140px, 0.9fr) minmax(170px, 1fr) auto auto auto;
}

.agency-user-row {
  min-height: 58px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 8px;
}

.owner-property-row {
  min-height: 66px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 8px;
}

.directory-select {
  min-width: 0;
  min-height: 42px;
  display: grid;
  grid-template-columns: 36px minmax(110px, 0.8fr) minmax(130px, 1fr) auto auto;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.staff-profile-row .directory-select {
  grid-template-columns: 38px minmax(120px, 0.9fr) minmax(150px, 1fr) auto auto;
}

.contact-button {
  min-height: 32px;
  border: 1px solid rgba(17, 100, 90, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  padding: 0 10px;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.contact-button:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 100, 90, 0.32);
  box-shadow: 0 8px 18px rgba(13, 13, 11, 0.07);
}

.collaborator-phone {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 999px;
  background: rgba(248, 248, 246, 0.86);
  color: #514d45;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 820;
  white-space: nowrap;
}

.staff-profile-row:hover,
.agency-profile-row:hover,
.agency-user-row:hover,
.owner-property-row:hover,
.agency-profile-row.is-selected,
.agency-user-row.is-selected,
.owner-property-row.is-selected {
  transform: translateY(-1px);
  border-color: rgba(17, 100, 90, 0.2);
  background: #fff;
  box-shadow: 0 12px 24px rgba(13, 13, 11, 0.06);
}

.agency-profile-row.is-selected,
.agency-user-row.is-selected,
.owner-property-row.is-selected {
  box-shadow: 0 0 0 1px rgba(17, 100, 90, 0.15), 0 14px 26px rgba(13, 13, 11, 0.07);
}

.staff-profile-row .directory-select > span,
.agency-profile-row > span,
.agency-user-row .directory-select > span,
.owner-property-select > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.agency-user-row .directory-select > span {
  width: 36px;
  height: 36px;
  background: rgba(17, 100, 90, 0.1);
  color: var(--green);
}

.owner-property-select > span {
  background: rgba(17, 100, 90, 0.1);
  color: var(--green);
}

.owner-property-select > span svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.staff-profile-row .directory-select strong,
.staff-profile-row .directory-select em,
.agency-profile-row strong,
.agency-profile-row em,
.agency-user-row .directory-select strong,
.agency-user-row .directory-select em,
.owner-property-select strong,
.owner-property-select em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-profile-row .directory-select strong,
.agency-profile-row strong,
.agency-user-row .directory-select strong,
.owner-property-select strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.staff-profile-row .directory-select em,
.agency-profile-row em,
.agency-user-row .directory-select em,
.owner-property-select em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.staff-profile-row .directory-select b,
.staff-profile-row .directory-select small,
.agency-profile-row b,
.agency-profile-row small,
.agency-user-row .directory-select b,
.agency-user-row .directory-select small,
.owner-property-select b,
.owner-property-select small {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.staff-profile-row .directory-select b,
.agency-profile-row b,
.agency-user-row .directory-select b,
.owner-property-select b {
  background: rgba(17, 100, 90, 0.09);
  color: var(--green);
}

.staff-profile-row .directory-select small,
.agency-profile-row small,
.agency-user-row .directory-select small,
.owner-property-select small {
  background: rgba(13, 13, 11, 0.06);
  color: #5f5b52;
}

.staff-profile-form-card form,
.staff-profile-form-card label,
.agency-form,
.agency-user-form,
.agency-form label,
.agency-user-form label,
.agency-search-field,
.owner-readonly-field {
  display: grid;
  gap: 8px;
}

.staff-profile-form-card form,
.agency-form,
.agency-user-form {
  margin-top: 16px;
  gap: 12px;
}

.staff-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.staff-profile-form-card label span,
.agency-form label span,
.agency-user-form label span,
.agency-search-field span,
.agency-detail-head span,
.agency-users-head span,
.owner-readonly-field span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
}

.staff-profile-form-card input,
.staff-profile-form-card select,
.staff-profile-form-card textarea,
.agency-form input,
.agency-form select,
.agency-user-form input,
.agency-user-form select,
.agency-user-form textarea,
.agency-search-field input {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(13, 13, 11, 0.11);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 0 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  outline: 0;
}

.agency-search-field {
  margin-bottom: 12px;
}

.agency-search-field input:focus,
.agency-form input:focus,
.agency-form select:focus,
.agency-form textarea:focus,
.agency-user-form input:focus,
.agency-user-form select:focus,
.agency-user-form textarea:focus {
  border-color: rgba(17, 100, 90, 0.35);
  box-shadow: 0 0 0 3px rgba(17, 100, 90, 0.08);
}

.staff-profile-form-card textarea {
  min-height: 78px;
  padding-top: 10px;
  resize: vertical;
}

.agency-form textarea,
.agency-user-form textarea {
  min-height: 82px;
  padding-top: 10px;
  resize: vertical;
}

.property-detail-link {
  align-self: center;
  color: var(--green);
  text-decoration: none;
}

.owner-client-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.owner-clients-view .staff-admin-head h3,
.owner-property-create-card > span,
.owner-client-selected-card .agency-detail-head > div:first-child > span,
.owner-section-title {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.12;
  text-transform: uppercase;
}

.owner-clients-view .staff-admin-head h3 {
  margin: 0;
}

.agency-users-card .agency-users-head span {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.agency-users-card .agency-users-head {
  align-items: flex-start;
  margin: 0 0 12px;
}

.owner-section-title {
  display: block;
  margin-bottom: 10px;
}

.owner-directory .agency-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.owner-clients-view .owner-property-dropdown {
  width: max-content;
  min-width: 0;
  max-width: 100%;
}

.owner-clients-view .owner-property-dropdown .period-dropdown-trigger {
  width: auto;
  min-height: 38px;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  padding: 0 13px 0 16px;
}

.owner-clients-view .owner-property-dropdown .period-dropdown-trigger strong {
  max-width: min(34vw, 270px);
  line-height: 1;
}

.owner-clients-view .owner-property-dropdown .period-dropdown-trigger span {
  line-height: 1;
}

.owner-clients-view .owner-property-dropdown .period-dropdown-trigger svg {
  flex: 0 0 auto;
  align-self: center;
  margin-left: 2px;
}

.owner-property-create-card,
.owner-properties-card {
  grid-template-rows: auto minmax(0, 1fr);
}

.owner-properties-card {
  grid-template-rows: auto auto minmax(0, 1fr);
}

.owner-property-create-card .agency-form,
.owner-properties-card .agency-form {
  height: 100%;
  align-content: start;
}

.owner-property-create-card .agency-form-actions,
.owner-properties-card .agency-form-actions {
  align-self: end;
  margin-top: auto;
}

.owner-property-create-card .agency-form-actions {
  grid-template-columns: 1fr 1fr;
}

.owner-property-create-card .agency-form-actions button {
  grid-column: 2;
}

.owners-inline-new-client {
  margin: 0;
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
}

.owner-contact-client {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0 11px;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.owner-contact-client:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 100, 90, 0.26);
  box-shadow: 0 10px 22px rgba(13, 13, 11, 0.08);
}

.owner-property-picker {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 0;
}

.owner-properties-card > .agency-users-head {
  align-items: flex-start;
  margin: 0 0 2px;
}

.owner-readonly-field {
  min-height: 48px;
  align-content: center;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 10px;
  background: rgba(248, 248, 246, 0.78);
  padding: 8px 11px;
}

.owner-readonly-field strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.staff-profile-form-card button,
.agency-form button,
.agency-user-form button {
  min-height: 40px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.agency-form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.staff-profile-form-card button.agency-delete-button,
.agency-form button.agency-delete-button,
.agency-user-form button.agency-delete-button,
.agency-delete-button {
  border-color: rgba(232, 93, 69, 0.22);
  background: rgba(232, 93, 69, 0.08);
  color: var(--human);
}

.staff-profile-form-card button.agency-delete-button:hover,
.agency-form button.agency-delete-button:hover,
.agency-user-form button.agency-delete-button:hover,
.agency-delete-button:hover {
  border-color: rgba(232, 93, 69, 0.36);
  background: rgba(232, 93, 69, 0.12);
  color: var(--human);
}

.staff-profile-form-card button.agency-delete-button:disabled,
.agency-form button.agency-delete-button:disabled,
.agency-user-form button.agency-delete-button:disabled,
.agency-delete-button:disabled {
  border-color: rgba(13, 13, 11, 0.08);
  background: rgba(13, 13, 11, 0.04);
  color: #9b968d;
  cursor: not-allowed;
}

.agency-detail-head,
.agency-users-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.agency-detail-head {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(13, 13, 11, 0.07);
}

.agency-detail-head h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.1;
}

.agency-detail-head p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.agency-users-head {
  align-items: center;
  margin: 18px 0 10px;
}

.agency-users-head strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.agency-user-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(13, 13, 11, 0.07);
}

.panel-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
}

.agency-collaborator-workspace {
  display: grid;
  gap: 14px;
}

.agency-collaborator-board {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  grid-template-rows: minmax(510px, auto) minmax(510px, auto);
  gap: 18px;
  align-items: stretch;
}

.agency-collaborator-lists,
.agency-collaborator-forms {
  min-width: 0;
  display: contents;
}

.agency-collaborator-lists .collaborator-list-module:nth-of-type(1) {
  grid-column: 1;
  grid-row: 1;
}

.agency-collaborator-lists .collaborator-list-module:nth-of-type(2) {
  grid-column: 1;
  grid-row: 2;
}

.agency-collaborator-forms .collaborator-user-form {
  grid-column: 2;
  grid-row: 1;
}

.agency-collaborator-forms .collaborator-staff-form {
  grid-column: 2;
  grid-row: 2;
}

.collaborator-list-module {
  align-content: start;
  height: 100%;
}

.collaborator-list-module .agency-users-head {
  align-items: flex-start;
  margin: 0 0 16px;
  min-height: 28px;
}

.collaborator-scroll-list {
  max-height: 310px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
}

.collaborator-scroll-list::-webkit-scrollbar {
  width: 7px;
}

.collaborator-scroll-list::-webkit-scrollbar-track {
  background: rgba(13, 13, 11, 0.04);
  border-radius: 999px;
}

.collaborator-scroll-list::-webkit-scrollbar-thumb {
  background: rgba(13, 13, 11, 0.18);
  border-radius: 999px;
}

.collaborator-user-form,
.collaborator-staff-form {
  min-height: 510px;
  height: 100%;
  align-content: start;
  overflow: visible;
}

.agency-collaborator-board .agency-user-row .directory-select,
.agency-collaborator-board .staff-profile-row .directory-select {
  min-height: 56px;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  gap: 3px 10px;
  align-items: center;
}

.agency-collaborator-board .agency-user-row,
.agency-collaborator-board .staff-profile-row {
  min-height: 74px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 13px;
  background: transparent;
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.agency-collaborator-board .agency-user-row .directory-select > span,
.agency-collaborator-board .staff-profile-row .directory-select > span {
  grid-row: 1 / span 3;
  align-self: center;
}

.agency-collaborator-board .agency-user-row .directory-select strong,
.agency-collaborator-board .agency-user-row .directory-select em,
.agency-collaborator-board .staff-profile-row .directory-select strong,
.agency-collaborator-board .staff-profile-row .directory-select em {
  grid-column: 2;
  width: auto;
  max-width: 100%;
}

.agency-collaborator-board .agency-user-row .directory-select b,
.agency-collaborator-board .staff-profile-row .directory-select b,
.agency-collaborator-board .agency-user-row .directory-select small,
.agency-collaborator-board .staff-profile-row .directory-select small {
  width: fit-content;
  max-width: 100%;
}

.agency-collaborator-board .agency-user-row .directory-select b,
.agency-collaborator-board .staff-profile-row .directory-select b {
  grid-column: auto;
  grid-row: auto;
}

.collaborator-badges {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-style: normal;
}

.collaborator-badges b,
.collaborator-badges small {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}

.agency-collaborator-board .agency-user-row.is-selected,
.agency-collaborator-board .staff-profile-row.is-selected {
  transform: none;
  border-color: rgba(13, 13, 11, 0.38);
  background: transparent;
  box-shadow: 0 0 0 1px rgba(13, 13, 11, 0.18);
}

.agency-collaborator-board .agency-user-row:hover,
.agency-collaborator-board .staff-profile-row:hover {
  transform: none;
  border-color: rgba(13, 13, 11, 0.14);
  background: transparent;
  box-shadow: none;
}

.collaborator-list-module .agency-users-head span,
.collaborator-user-form > span,
.collaborator-staff-form > span {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.collaborator-user-form .agency-user-form {
  padding-top: 0;
  border-top: 0;
}

.collaborator-staff-form form {
  margin-top: 16px;
}

.collaborator-staff-form .full-width-action {
  width: 100%;
}

.collaborator-tabs {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(13, 13, 11, 0.09);
  border-radius: 999px;
  background: rgba(248, 248, 246, 0.78);
  padding: 4px;
}

.collaborator-tabs button {
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0 13px;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.collaborator-tabs button:hover,
.collaborator-tabs button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(13, 13, 11, 0.08);
}

.collaborator-search-field {
  display: grid;
  gap: 7px;
}

.collaborator-search-field span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 820;
}

.collaborator-search-field input {
  width: min(420px, 100%);
  min-height: 40px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 0 13px;
  font: inherit;
  font-size: 13px;
  font-weight: 720;
  outline: 0;
}

.collaborator-search-field input:focus {
  border-color: rgba(17, 100, 90, 0.34);
  box-shadow: 0 0 0 3px rgba(17, 100, 90, 0.08);
}

@keyframes planning-row-in {
  from {
    opacity: 1;
    transform: translateY(6px);
  }

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

@keyframes planning-event-in {
  from {
    opacity: 1;
    transform: scale(0.98);
  }

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

@keyframes detail-rail-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }

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

@media (prefers-reduced-motion: reduce) {
  .kpi-card,
  .admin-planning-row,
  .planning-event,
  .detail-rail,
  .owner-month,
  .owner-day,
  .owner-day-event,
  .owner-stacked-day,
  .admin-calendar-cell,
  .owner-list-panel,
  .owner-readable-list,
  .owner-report-switch button,
  .detail-panel {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1180px) {
  .dashboard-page {
    padding: 18px;
  }

  .app-frame {
    grid-template-columns: 198px minmax(0, 1fr);
  }

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

  .detail-rail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .messages-workspace {
    grid-template-columns: minmax(240px, 0.78fr) minmax(360px, 1.22fr);
  }

  .message-reservation-pane {
    grid-column: 1 / -1;
    grid-template-columns: minmax(180px, 0.6fr) minmax(260px, 1fr) auto;
    align-items: start;
  }

  .message-reservation-head,
  .message-reservation-people {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .message-reservation-people {
    border-top: 0;
    padding-top: 0;
  }

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

  .staff-absence-panel,
  .staff-profile-form-card {
    grid-column: 1;
    grid-row: auto;
  }

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

  .owner-clients-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agency-profile-row,
  .agency-user-row,
  .owner-property-row {
    align-items: start;
  }

  .directory-select {
    grid-template-columns: 36px minmax(0, 1fr) auto;
  }

  .staff-profile-row .directory-select {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .staff-absence-row {
    grid-template-columns: 8px minmax(0, 1fr) auto;
    align-items: start;
  }

  .staff-absence-row em,
  .staff-absence-row small {
    grid-column: 2 / -1;
  }

  .staff-absence-row b {
    grid-column: 3;
    grid-row: 1;
  }

  .staff-profile-row .directory-select em,
  .agency-profile-row em,
  .agency-user-row .directory-select em,
  .owner-property-select em {
    grid-column: 2 / -1;
  }

  .staff-profile-row .directory-select b,
  .staff-profile-row .directory-select small,
  .agency-profile-row b,
  .agency-profile-row small,
  .agency-profile-row i,
  .agency-user-row .directory-select b,
  .agency-user-row .directory-select small,
  .owner-property-select b,
  .owner-property-select small {
    grid-column: 2;
    justify-self: start;
  }

  .admin-agencies-view .staff-admin-head,
  .owner-clients-view .staff-admin-head {
    display: grid;
    gap: 10px;
  }

  .admin-agencies-view .agency-head-actions,
  .owner-clients-view .agency-head-actions {
    justify-content: flex-start;
  }

  .admin-agencies-view .staff-admin-head p,
  .owner-clients-view .staff-admin-head p {
    display: none;
  }
}

@media (max-width: 1320px) {
  .reservation-card-grid {
    grid-template-columns: repeat(2, minmax(230px, 1fr));
  }

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

  .revenue-toolbar {
    justify-content: flex-start;
  }

  .revenue-controls {
    justify-content: flex-start;
  }

  .reservation-filter-bar {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .agency-profile-row {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .owner-property-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .owner-property-picker,
  .owner-client-actions {
    align-items: stretch;
    justify-items: start;
  }

  .owner-property-picker {
    display: grid;
  }

  .property-detail-link {
    justify-self: start;
  }

  .agency-profile-row em,
  .agency-profile-row b {
    grid-column: 2;
    justify-self: start;
  }

  .agency-profile-row small {
    display: none;
  }

  .agency-profile-row i {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
}

@media (max-width: 820px) {
  .dashboard-page {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    display: block;
    padding: 0;
    overflow: hidden;
  }

  .app-frame {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    border-radius: 0;
  }

  .app-workspace {
    min-height: 0;
    height: 100vh;
    height: 100dvh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
  }

  body[data-dashboard-role="admin"].dashboard-page,
  body[data-dashboard-role="agency"].dashboard-page,
  body[data-dashboard-role="owner"].dashboard-page,
  body[data-dashboard-role="staff"].dashboard-page {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
  }

  body[data-dashboard-role="admin"] .app-frame,
  body[data-dashboard-role="agency"] .app-frame,
  body[data-dashboard-role="owner"] .app-frame,
  body[data-dashboard-role="staff"] .app-frame {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
  }

  .app-sidebar {
    position: fixed;
    z-index: 80;
    inset: 0 auto 0 0;
    width: min(82vw, 318px);
    display: flex;
    padding: 18px 14px 118px;
    border-right: 1px solid rgba(13, 13, 11, 0.1);
    background: rgba(247, 247, 244, 0.98);
    box-shadow: 22px 0 46px rgba(13, 13, 11, 0.18);
    transform: translateX(-104%);
    transition: transform 220ms ease;
  }

  .dashboard-page.is-sidebar-open .app-sidebar {
    transform: translateX(0);
  }

  .sidebar-scrim {
    position: fixed;
    z-index: 70;
    inset: 0;
    display: block;
    border: 0;
    background: rgba(13, 13, 11, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  .dashboard-page.is-sidebar-open .sidebar-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .dashboard-page.is-sidebar-open {
    overflow: hidden;
  }

  .app-brand {
    margin-bottom: 22px;
  }

  .app-topbar {
    position: relative;
    z-index: 40;
    min-height: 72px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(13, 13, 11, 0.08);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
  }

  .mobile-menu-button {
    width: 44px;
    height: 44px;
    min-height: 44px;
    display: grid;
    place-items: center;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(13, 13, 11, 0.1);
    border-radius: 14px;
    background: var(--ink);
    color: #fff;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(13, 13, 11, 0.13);
  }

  .mobile-menu-icon {
    width: 22px;
    height: 22px;
    display: block;
    background: currentColor;
    -webkit-mask: url("assets/brand/filter-menu.svg") center / contain no-repeat;
    mask: url("assets/brand/filter-menu.svg") center / contain no-repeat;
  }

  .mobile-dashboard-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    justify-self: center;
  }

  .mobile-dashboard-brand img {
    width: min(142px, 42vw);
    max-height: 46px;
    display: block;
    object-fit: contain;
  }

  .mobile-header-spacer {
    width: 44px;
    height: 44px;
    display: block;
  }

  .dashboard-search {
    grid-column: 1 / -1;
    min-height: 42px;
    width: 100%;
    margin-top: 4px;
    border-radius: 999px;
  }

  .dashboard-search input {
    padding: 0 14px;
    font-size: 12px;
  }

  body[data-dashboard-role="admin"] .app-topbar,
  body[data-dashboard-role="agency"] .app-topbar {
    display: grid;
  }

  .mobile-bottom-nav {
    min-height: 72px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(13, 13, 11, 0.08);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 -16px 32px rgba(13, 13, 11, 0.08);
  }

  .mobile-bottom-nav button {
    min-width: 0;
    min-height: 56px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #6a665e;
    padding: 6px 4px;
    font-size: 10px;
    font-weight: 820;
    line-height: 1.1;
    cursor: pointer;
  }

  .mobile-bottom-nav button.is-active {
    background: rgba(17, 100, 90, 0.1);
    color: var(--green);
  }

  .mobile-bottom-icon,
  .mobile-bottom-icon svg {
    width: 20px;
    height: 20px;
    display: block;
  }

  .mobile-bottom-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body[data-dashboard-role="admin"] .workspace-scroll,
  body[data-dashboard-role="agency"] .workspace-scroll {
    padding: 14px 14px 24px;
  }

  body[data-dashboard-role="admin"] .kpi-grid,
  body[data-dashboard-role="agency"] .kpi-grid {
    grid-template-columns: 1fr;
    margin-bottom: 12px;
  }

  body[data-dashboard-role="admin"] .kpi-card,
  body[data-dashboard-role="agency"] .kpi-card {
    min-height: 86px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 14px;
  }

  body[data-dashboard-role="admin"] .dashboard-layout,
  body[data-dashboard-role="agency"] .dashboard-layout,
  body[data-dashboard-role="agency"].has-detail .dashboard-layout,
  body[data-dashboard-role="admin"].has-detail .dashboard-layout {
    grid-template-columns: 1fr;
  }

  body[data-dashboard-role="admin"] .panel-toolbar {
    min-height: 58px;
    grid-template-columns: 1fr;
    padding: 12px;
  }

  body[data-dashboard-role="agency"] .panel-toolbar {
    min-height: 58px;
    grid-template-columns: 1fr;
    padding: 12px;
  }

  body[data-dashboard-role="admin"] .panel-tabs,
  body[data-dashboard-role="agency"] .panel-tabs,
  body[data-dashboard-role="admin"] .period-switch,
  body[data-dashboard-role="agency"] .period-switch {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .messages-workspace {
    height: auto;
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .message-list-pane,
  .message-reservation-pane {
    border-right: 0;
    border-left: 0;
  }

  .message-thread-list {
    max-height: 380px;
  }

  .message-chat-pane {
    min-height: 560px;
    border-top: 1px solid rgba(13, 13, 11, 0.08);
  }

  .message-bubble {
    width: min(100%, 520px);
  }

  .message-reservation-pane {
    grid-template-columns: 1fr;
    border-top: 1px solid rgba(13, 13, 11, 0.08);
  }

  .workspace-heading,
  .summary-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .absence-notice {
    grid-template-columns: 1fr;
  }

  .absence-notice-list {
    grid-template-columns: 1fr;
  }

  .workspace-actions {
    justify-content: stretch;
  }

  .workspace-actions .compact-action {
    flex: 1 1 180px;
  }

  .workspace-scroll {
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 18px 14px 24px;
  }

  body[data-dashboard-role="admin"] .workspace-scroll,
  body[data-dashboard-role="agency"] .workspace-scroll,
  body[data-dashboard-role="owner"] .workspace-scroll,
  body[data-dashboard-role="staff"] .workspace-scroll {
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .kpi-card {
    min-height: 86px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: center;
    align-items: center;
    gap: 5px 12px;
    padding: 14px;
    border-radius: 12px;
  }

  .kpi-card span,
  .kpi-card small {
    min-width: 0;
  }

  .kpi-card strong {
    grid-row: 1 / span 2;
    grid-column: 2;
    font-size: 24px;
    text-align: right;
    white-space: nowrap;
  }

  .owner-message-mobile-view {
    display: grid;
    gap: 10px;
  }

  body.owner-mobile-messages-active .kpi-grid {
    display: none;
  }

  .owner-message-card {
    display: grid;
    gap: 8px;
    border: 1px solid rgba(13, 13, 11, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    padding: 16px;
    box-shadow: 0 12px 28px rgba(13, 13, 11, 0.06);
  }

  .owner-message-card.is-unread {
    border-color: rgba(17, 100, 90, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 244, 0.82));
  }

  .owner-message-card span {
    color: var(--green);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
  }

  .owner-message-card strong {
    color: var(--ink);
    font-size: 17px;
    line-height: 1.15;
  }

  .owner-message-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
  }

  .owner-message-card small {
    color: #7a756d;
    font-size: 12px;
    font-weight: 720;
  }

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

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

  .reservation-card-grid,
  .reservation-filter-bar {
    grid-template-columns: 1fr;
  }

  .revenue-table-card {
    padding: 14px;
    border-radius: 12px;
  }

  .revenue-controls {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .revenue-controls .month-control,
  .revenue-controls .period-dropdown {
    width: 100%;
  }

  .revenue-property-dropdown.owner-property-dropdown,
  .revenue-property-dropdown.owner-property-dropdown .period-dropdown-trigger,
  .revenue-agency-dropdown.agency-dropdown,
  .revenue-agency-dropdown.agency-dropdown .period-dropdown-trigger {
    width: 100%;
    max-width: 100%;
  }

  .revenue-property-switcher {
    max-width: 100%;
  }

  .revenue-group-grid {
    grid-template-columns: 1fr;
  }

  .revenue-table-head {
    align-items: start;
    flex-direction: column;
  }

  .revenue-table-export-trigger {
    width: 100%;
    justify-content: center;
  }

  .revenue-table {
    min-width: 760px;
  }

  .calendar-strip {
    grid-template-columns: repeat(4, minmax(64px, 1fr));
  }

  body[data-dashboard-role="staff"] .workspace-scroll {
    padding: 16px 14px 24px;
  }

  body[data-dashboard-role="staff"] .summary-card {
    display: none;
  }

  body[data-dashboard-role="staff"] .workspace-heading {
    margin-bottom: 14px;
  }

  body[data-dashboard-role="staff"] .workspace-heading h1 {
    font-size: 34px;
  }

  body[data-dashboard-role="staff"] .dashboard-layout {
    gap: 12px;
  }

  body[data-dashboard-role="staff"] .main-panel,
  body[data-dashboard-role="staff"] .detail-panel,
  body[data-dashboard-role="staff"] .side-card {
    border-radius: 14px;
  }

  body[data-dashboard-role="staff"] .detail-panel {
    max-height: none;
    overflow: visible;
  }

  body[data-dashboard-role="staff"] .kpi-grid {
    grid-template-columns: 1fr;
  }

  .incident-modal {
    align-items: end;
    padding: 12px;
  }

  .incident-dialog {
    max-height: calc(100vh - 24px);
    border-radius: 16px;
    padding: 18px;
  }

  .absence-date-grid {
    grid-template-columns: 1fr;
  }

  .incident-actions {
    grid-template-columns: 1fr;
  }

  .staff-vision-card {
    grid-template-columns: 1fr;
  }

  .staff-vision-switch {
    width: 100%;
    overflow-x: auto;
  }

  .staff-vision-switch button {
    flex: 1 0 auto;
  }

  .staff-kanban-board {
    padding: 12px;
    border-radius: 14px;
  }

  .staff-kanban-toolbar-stack .property-switcher {
    width: 100%;
    overflow-x: auto;
  }

  .staff-kanban-toolbar-row {
    align-items: stretch;
    flex-direction: column;
  }

  .staff-kanban-toolbar-row .staff-planning-controls {
    width: 100%;
    margin-left: 0;
  }

  .staff-kanban-toolbar-row .staff-filter-dropdown {
    flex: 1 1 160px;
  }

  .staff-kanban-head {
    align-items: stretch;
    flex-direction: column;
  }

  .staff-kanban-day-nav {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }

  .staff-kanban-day-nav strong {
    min-width: 0;
    text-align: center;
  }

  .staff-today-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .staff-kanban-columns {
    grid-template-columns: 1fr;
  }

  .staff-kanban-card-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .staff-kanban-card-foot .status-badge,
  .staff-kanban-card-foot button {
    width: 100%;
    justify-content: center;
  }

  .staff-week-days {
    grid-template-columns: 38px repeat(7, 68px) 38px;
    overflow-x: auto;
  }

  .staff-month {
    overflow-x: auto;
  }

  .staff-month-weekdays,
  .staff-month-grid {
    min-width: 720px;
  }

  .staff-mission-card {
    grid-template-columns: 8px minmax(0, 1fr);
    align-items: start;
  }

  .staff-mission-side {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }

  .proof-grid,
  .staff-form-grid {
    grid-template-columns: 1fr;
  }

  .staff-profile-row .directory-select {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .staff-profile-row .directory-select em,
  .staff-profile-row .directory-select b,
  .staff-profile-row .directory-select small {
    grid-column: 2;
    justify-self: start;
  }

  .owner-calendar-head {
    align-items: stretch;
    flex-direction: column;
  }

  .staff-planning-controls {
    justify-content: flex-start;
  }

  .staff-filter-dropdown {
    width: 100%;
  }

  .owner-block-trigger {
    justify-content: center;
  }

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

  .owner-block-actions {
    grid-template-columns: 1fr 1fr;
  }

  .owner-month {
    overflow-x: auto;
  }

  .owner-month-weekdays,
  .owner-month-grid {
    min-width: 720px;
  }

  .owner-readable-grid {
    grid-template-columns: 1fr;
  }

  .data-row {
    grid-template-columns: 8px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .row-span,
  .status-badge,
  .row-amount {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .demo-access {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .owner-properties-view {
    grid-template-columns: 1fr;
  }

  .owner-property-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.property-detail-page {
    padding: 12px;
    overflow: auto;
  }

  .property-detail-topbar,
  .property-detail-hero {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .property-detail-topbar {
    flex-direction: column;
  }

  .property-detail-layout {
    grid-template-columns: 1fr;
  }

  .property-detail-tabs {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(13, 13, 11, 0.08);
  }

  .property-detail-tabs button {
    flex: 0 0 auto;
    text-align: center;
  }

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

  .owner-properties-head,
  .owner-property-editor-head,
  .owner-property-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .owner-property-form-actions button,
  .owner-property-form-actions a,
  .owner-add-property-button,
  .owner-property-editor-head a {
    width: 100%;
  }
}


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

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

.intent-card,
.qualification-card,
.trust-proof-card {
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(13, 13, 11, 0.06);
}

.intent-card {
  min-height: 220px;
  padding: 22px;
}

.intent-card span {
  display: block;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.intent-card h3,
.qualification-card strong {
  display: block;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.15;
}

.intent-card p,
.qualification-card span,
.trust-proof-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.trust-proof-card {
  margin-top: 14px;
  padding: 24px;
}

.trust-proof-card blockquote {
  margin: 12px 0 10px;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: 0;
}

.section-link {
  margin: 24px 0 0;
}

.qualification-card {
  min-height: 160px;
  padding: 20px;
}

@media (max-width: 980px) {
  .intent-grid,
  .qualification-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* Home pricing + journey redesign */
.nav,
.home-hero-compact,
.pricing-path-section,
.pricing-section,
.owner-road-section {
  width: min(1440px, 90vw);
}

.home-hero-compact {
  margin-top: -10px;
  padding: 104px 58px 78px;
}

.home-hero-compact .hero-copy p {
  max-width: 620px;
}

.pricing-path-section,
.pricing-section,
.owner-road-section {
  padding-top: 38px;
}

.pricing-path-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.2fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.pricing-path-head h2 {
  grid-column: 1;
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.96;
  letter-spacing: 0;
}

.pricing-path-head p {
  grid-column: 2;
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.pricing-path-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(360px, 0.78fr);
  gap: 18px;
  align-items: stretch;
}

.pricing-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.pricing-card {
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(13, 13, 11, 0.06);
}

.pricing-card {
  min-height: 430px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
}

.pricing-card-featured {
  background: var(--ink);
  color: #fff;
  transform: translateY(-12px);
  box-shadow: 0 30px 70px rgba(13, 13, 11, 0.2);
}

.pricing-label {
  width: max-content;
  max-width: 100%;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 999px;
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
  padding: 0 11px;
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.pricing-card-featured .pricing-label {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.pricing-card h3 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.05;
}

.pricing-card-featured h3,
.pricing-card-featured .pricing-price,
.pricing-card-featured p,
.pricing-card-featured li {
  color: #fff;
}

.pricing-price {
  color: var(--ink);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  font-weight: 860;
  letter-spacing: 0;
}

.pricing-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.pricing-card-featured p {
  color: rgba(255, 255, 255, 0.78);
}

.pricing-card-featured li {
  color: rgba(255, 255, 255, 0.82);
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 6px 0 4px;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.pricing-card-featured li::before {
  background: #fff;
}

.pricing-card .button {
  width: 100%;
  align-self: end;
  margin-top: auto;
}

@media (max-width: 1180px) {
  .pricing-path-layout,
  .pricing-path-head {
    grid-template-columns: 1fr;
  }

  .pricing-path-head p {
    grid-column: 1;
  }

  .pricing-column {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    overflow-x: auto;
    padding: 12px 2px 22px;
  }
}

@media (max-width: 760px) {
  .nav,
  .home-hero-compact,
  .pricing-path-section,
  .pricing-section,
  .owner-road-section {
    width: min(100% - 24px, 100%);
  }

  .home-hero-compact {
    padding: 86px 24px 54px;
  }

  .pricing-path-section,
  .pricing-section,
  .owner-road-section {
    padding-top: 24px;
  }

  .pricing-column {
    grid-template-columns: 1fr;
    overflow: visible;
    padding: 0;
  }

  .pricing-card-featured {
    transform: none;
  }

  .pricing-card {
    min-height: auto;
  }
}
/* Home hero floating text experiment */
.nav,
.home-hero-compact,
.pricing-path-section,
.pricing-section,
.owner-road-section {
  width: min(1640px, 96vw);
}

.home-hero-compact {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 118px 32px 64px;
  overflow: visible;
}

.home-hero-compact::before,
.home-hero-compact::after {
  content: none;
}

.home-hero-compact .hero-copy h1 {
  max-width: 980px;
  font-size: clamp(48px, 7vw, 96px);
}

.home-hero-compact .hero-copy p {
  max-width: 700px;
  font-size: 17px;
  line-height: 1.62;
}

.pricing-path-section,
.pricing-section {
  margin-top: 0;
}

.owner-road-section {
  margin-top: 20px;
}

.pricing-path-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(390px, 0.72fr);
}

@media (max-width: 1180px) {
  .pricing-path-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav,
  .home-hero-compact,
  .pricing-path-section,
  .pricing-section,
  .owner-road-section {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .home-hero-compact {
    padding: 74px 10px 42px;
  }

  .home-hero-compact .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(36px, 12vw, 48px);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .home-hero-compact .hero-copy p,
  .pricing-path-head p,
  .owner-road-head p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .pricing-column,
  .pricing-card,
  .owner-road-map,
  .road-step,
  .road-step div {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .pricing-card .button {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
  }
}

.owner-road-head h2 {
  max-width: 840px;
}

.owner-road-map {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 18%, rgba(17, 100, 90, 0.11), transparent 24%),
    radial-gradient(circle at 86% 82%, rgba(184, 135, 45, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 244, 238, 0.86));
  box-shadow: 0 26px 70px rgba(13, 13, 11, 0.08);
}

.owner-road-map::before,
.owner-road-map::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
}

.owner-road-map::before {
  opacity: 0.22;
  background-image:
    linear-gradient(30deg, transparent 0 47%, rgba(13, 13, 11, 0.16) 47.5% 48.2%, transparent 49% 100%),
    linear-gradient(150deg, transparent 0 49%, rgba(17, 100, 90, 0.13) 49.5% 50.2%, transparent 51% 100%);
  background-size: 180px 92px, 220px 120px;
}

.owner-road-map::after {
  opacity: 0.24;
  background:
    repeating-radial-gradient(ellipse at 18% 35%, transparent 0 31px, rgba(13, 13, 11, 0.12) 32px, transparent 34px),
    repeating-radial-gradient(ellipse at 76% 58%, transparent 0 38px, rgba(17, 100, 90, 0.1) 39px, transparent 41px);
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.map-label {
  position: absolute;
  z-index: 1;
  color: rgba(13, 13, 11, 0.28);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.map-label-north {
  top: 42px;
  left: 9%;
}

.map-label-east {
  right: 8%;
  top: 90px;
}

.map-label-south {
  left: 18%;
  bottom: 44px;
}

.owner-road-svg {
  position: absolute;
  z-index: 2;
  inset: 44px 38px 34px;
  width: calc(100% - 76px);
  height: calc(100% - 78px);
}

.map-line {
  fill: none;
  stroke: rgba(13, 13, 11, 0.12);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 14;
}

.map-line-b {
  stroke: rgba(17, 100, 90, 0.16);
}

.map-line-c {
  stroke: rgba(184, 135, 45, 0.14);
}

.road-base,
.road-dash {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.road-base {
  stroke: var(--ink);
  stroke-width: 46;
}

.road-dash {
  stroke: rgba(255, 255, 255, 0.76);
  stroke-width: 3;
  stroke-dasharray: 7 17;
}

.owner-road-steps {
  position: absolute;
  z-index: 3;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.road-step {
  position: absolute;
  width: min(244px, 21vw);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.road-step > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 30px rgba(13, 13, 11, 0.2);
  font-size: 14px;
  font-weight: 860;
}

.road-step div {
  border: 1px solid rgba(13, 13, 11, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 36px rgba(13, 13, 11, 0.08);
  padding: 13px 14px;
  backdrop-filter: blur(10px);
}

.road-step strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.18;
}

.road-step p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
}

.step-one {
  left: 5%;
  top: 46%;
}

.step-two {
  left: 22%;
  bottom: 7%;
}

.step-three {
  left: 42%;
  top: 45%;
}

.step-four {
  right: 22%;
  top: 13%;
}

.step-five {
  right: 3.5%;
  top: 31%;
  width: min(276px, 23vw);
}

.step-five > span {
  background: var(--green);
  box-shadow: 0 14px 36px rgba(17, 100, 90, 0.28);
}

.step-five div {
  border-color: rgba(17, 100, 90, 0.22);
  background: rgba(255, 255, 255, 0.94);
}

.step-five strong {
  color: var(--green);
}

@media (max-width: 1180px) {
  .owner-road-map {
    min-height: 700px;
  }

  .owner-road-svg {
    inset: 64px 22px 80px;
    width: calc(100% - 44px);
    height: calc(100% - 144px);
  }

  .road-step {
    width: min(300px, 38vw);
  }

  .step-one {
    left: 4%;
    top: 37%;
  }

  .step-two {
    left: 16%;
    bottom: 8%;
  }

  .step-three {
    left: 39%;
    top: 50%;
  }

  .step-four {
    right: 12%;
    top: 9%;
  }

  .step-five {
    right: 4%;
    top: 32%;
    width: min(320px, 40vw);
  }
}

@media (max-width: 760px) {
  .owner-road-map {
    min-height: auto;
    padding: 22px;
  }

  .owner-road-map::before,
  .owner-road-map::after,
  .owner-road-svg,
  .map-label {
    display: none;
  }

  .owner-road-steps {
    position: relative;
    display: grid;
    gap: 14px;
  }

  .owner-road-steps::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 22px;
    bottom: 22px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--ink), var(--ink) 70%, var(--green));
  }

  .road-step,
  .step-one,
  .step-two,
  .step-three,
  .step-four,
  .step-five {
    position: relative;
    inset: auto;
    width: 100%;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .road-step div {
    min-height: auto;
  }
}

/* Owner journey: full local map treatment */
.owner-road-section {
  padding: 0;
}

.owner-road-section.card-lift-section {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.owner-road-map {
  min-height: 680px;
  padding: 0;
  border: 1px solid rgba(13, 13, 11, 0.14);
  border-radius: 18px;
  background: #f8f7f1;
  box-shadow: 0 28px 74px rgba(13, 13, 11, 0.09);
  isolation: isolate;
}

.owner-road-map::before,
.owner-road-map::after {
  content: none;
}

.owner-road-copy {
  position: absolute;
  z-index: 4;
  top: 38px;
  left: 42px;
  width: min(520px, 43%);
  padding: 0;
  color: var(--ink);
}

.owner-road-copy .category {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 840;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.owner-road-copy h2 {
  margin: 0;
  max-width: 12ch;
  color: var(--ink);
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 0.98;
  letter-spacing: 0;
}

.owner-road-copy p {
  margin: 14px 0 0;
  max-width: 520px;
  color: rgba(13, 13, 11, 0.66);
  font-size: 16px;
  line-height: 1.58;
}

.owner-road-svg {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.map-paper {
  fill: #f3efe4;
}

.map-forest {
  fill: rgba(108, 169, 99, 0.48);
}

.map-field {
  fill: rgba(232, 211, 170, 0.42);
}

.map-contours path {
  fill: none;
  stroke: rgba(82, 104, 72, 0.12);
  stroke-width: 1.4;
  stroke-linecap: round;
}

.map-rivers path {
  fill: none;
  stroke: rgba(86, 161, 190, 0.3);
  stroke-width: 8;
  stroke-linecap: round;
}

.map-streets path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 5;
  stroke-linecap: round;
}

.map-roads path {
  fill: none;
  stroke: rgba(218, 173, 74, 0.72);
  stroke-width: 8;
  stroke-linecap: round;
}

.map-road-labels text {
  fill: rgba(84, 73, 54, 0.62);
  font-size: 13px;
  font-weight: 780;
}

.map-towns circle {
  r: 4.5px;
  fill: var(--green);
  opacity: 0.58;
}

.map-towns text {
  transform: translate(10px, 5px);
  fill: rgba(13, 13, 11, 0.42);
  font-size: 15px;
  font-weight: 820;
  letter-spacing: 0.02em;
}

.map-towns g:first-child text {
  fill: rgba(13, 13, 11, 0.58);
  font-size: 20px;
  letter-spacing: 0.08em;
}

.journey-path-shadow,
.journey-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.journey-path-shadow {
  stroke: rgba(13, 13, 11, 0.12);
  stroke-width: 26;
}

.journey-path {
  stroke: var(--ink);
  stroke-width: 16;
}

.owner-road-steps {
  z-index: 3;
}

.road-step {
  width: min(252px, 19vw);
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
}

.road-step > span {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.road-step div {
  position: relative;
  overflow: hidden;
  border-color: rgba(13, 13, 11, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(13, 13, 11, 0.08);
}

.step-one {
  left: 2.5%;
  top: 71%;
}

.step-two {
  left: 24%;
  bottom: 3%;
}

.step-three {
  left: 44%;
  top: 52%;
}

.step-four {
  right: 20%;
  top: 26%;
}

.step-five {
  right: 1.5%;
  top: 41%;
  width: min(286px, 22vw);
  grid-template-columns: minmax(0, 1fr) 40px;
}

.step-five > span {
  order: 2;
}

.step-five div {
  order: 1;
}

@media (max-width: 1180px) {
  .owner-road-map {
    min-height: 760px;
  }

  .owner-road-copy {
    width: min(560px, calc(100% - 64px));
    top: 34px;
    left: 32px;
  }

  .owner-road-copy h2 {
    max-width: 14ch;
  }

  .road-step {
    width: min(300px, 34vw);
  }

  .step-one {
    left: 3%;
    top: 54%;
  }

  .step-two {
    left: 12%;
    bottom: 4%;
  }

  .step-three {
    left: 38%;
    top: 56%;
  }

  .step-four {
    right: 9%;
    top: 28%;
  }

  .step-five {
    right: 2%;
    top: 48%;
    width: min(320px, 38vw);
  }
}

@media (max-width: 760px) {
  .owner-road-section {
    padding: 0;
  }

  .owner-road-map {
    min-height: auto;
    padding: 22px;
  }

  .owner-road-svg {
    display: block;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.36;
  }

  .journey-path,
  .journey-path-shadow {
    display: none;
  }

  .map-towns text {
    font-size: 13px;
  }

  .owner-road-copy {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-bottom: 22px;
  }

  .owner-road-copy .category {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .owner-road-copy h2 {
    max-width: 12ch;
    font-size: clamp(34px, 10vw, 44px);
  }

  .owner-road-copy p {
    max-width: 34ch;
    font-size: 14px;
  }

  .owner-road-steps {
    position: relative;
    display: grid;
    gap: 14px;
  }

  .road-step,
  .step-one,
  .step-two,
  .step-three,
  .step-four,
  .step-five {
    position: relative;
    inset: auto;
    width: 100%;
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .step-five > span,
  .step-five div {
    order: initial;
  }
}

/* Owner journey: real OpenStreetMap background */
.owner-road-map {
  background:
    linear-gradient(135deg, rgba(240, 238, 229, 0.9), rgba(221, 229, 213, 0.82)),
    #ece8dc;
  filter: grayscale(0.18) saturate(0.9);
  transition: filter 520ms ease, box-shadow 520ms ease, transform 520ms ease;
}

.owner-road-section.is-scroll-active .owner-road-map {
  filter: grayscale(0) saturate(1);
  box-shadow: 0 30px 82px rgba(13, 13, 11, 0.12);
}

.owner-map-canvas,
.owner-map-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.owner-map-canvas {
  opacity: 0;
  transition: opacity 420ms ease;
  pointer-events: none;
}

.owner-road-map.is-map-ready .owner-map-canvas {
  opacity: 1;
}

.owner-map-canvas img {
  position: absolute;
  width: 256px;
  height: 256px;
  user-select: none;
  -webkit-user-drag: none;
}

.owner-map-fallback {
  display: grid;
  place-items: end start;
  padding: 0 0 18px 22px;
  color: rgba(13, 13, 11, 0.34);
  font-size: 13px;
  font-weight: 760;
  background:
    linear-gradient(30deg, transparent 0 47%, rgba(255, 255, 255, 0.72) 47.5% 49%, transparent 49.5% 100%),
    linear-gradient(135deg, rgba(112, 174, 101, 0.24), transparent 34%),
    linear-gradient(315deg, rgba(86, 161, 190, 0.2), transparent 42%),
    #eee9dc;
}

.owner-road-map.is-map-ready .owner-map-fallback {
  opacity: 0;
}

.owner-road-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(247, 246, 240, 0.78) 0%, rgba(247, 246, 240, 0.45) 34%, rgba(247, 246, 240, 0.24) 74%, rgba(247, 246, 240, 0.48) 100%),
    linear-gradient(180deg, rgba(247, 246, 240, 0.54) 0%, rgba(247, 246, 240, 0.1) 44%, rgba(247, 246, 240, 0.28) 100%);
  transition: background 520ms ease, opacity 520ms ease;
}

.owner-road-section.is-scroll-active .owner-road-map::before {
  background:
    linear-gradient(90deg, rgba(247, 246, 240, 0.58) 0%, rgba(247, 246, 240, 0.32) 34%, rgba(247, 246, 240, 0.14) 74%, rgba(247, 246, 240, 0.32) 100%),
    linear-gradient(180deg, rgba(247, 246, 240, 0.38) 0%, rgba(247, 246, 240, 0.08) 44%, rgba(247, 246, 240, 0.22) 100%);
}

.owner-map-attribution {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 6;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.84);
  color: rgba(13, 13, 11, 0.62);
  font-size: 11px;
  line-height: 1;
  text-decoration: none;
}

.owner-road-svg {
  z-index: 3;
  pointer-events: none;
}

.journey-path-shadow {
  stroke: rgba(13, 13, 11, 0.14);
  stroke-width: 22;
}

.journey-path {
  stroke-width: 12;
}

.owner-road-copy {
  z-index: 5;
}

.owner-road-copy {
  top: 34px;
  left: 50%;
  width: min(820px, calc(100% - 64px));
  transform: translateX(-50%);
  text-align: center;
}

.owner-road-copy .category,
.owner-road-copy p {
  display: none;
}

.owner-road-copy h2 {
  max-width: none;
  margin: 0 auto;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 0.96;
}

.owner-road-steps {
  z-index: 4;
}

.road-step div {
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(8px);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.road-step div::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 52%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.owner-road-section.is-scroll-active .road-step div {
  background: rgba(255, 255, 255, 0.88);
}

.owner-road-section.is-scroll-active .road-step:hover div {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(13, 13, 11, 0.14);
}

.owner-road-section.is-scroll-active .road-step:hover div::after {
  opacity: 1;
}

.owner-road-section.is-scroll-active .road-step:hover > span {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(13, 13, 11, 0.24);
}

.step-one {
  left: 2.3%;
  top: 73%;
}

.step-two {
  left: 24%;
  bottom: 2.5%;
}

.step-three {
  left: 45%;
  top: 54%;
}

.step-four {
  right: 19%;
  top: 28%;
}

.step-five {
  right: 1.2%;
  top: 42%;
}

@media (max-width: 1180px) {
  .owner-road-map::before {
    background:
      linear-gradient(180deg, rgba(247, 246, 240, 0.72) 0%, rgba(247, 246, 240, 0.18) 52%, rgba(247, 246, 240, 0.34) 100%);
  }

  .owner-road-copy {
    top: 30px;
    width: min(720px, calc(100% - 48px));
  }

  .step-one {
    left: 3%;
    top: 56%;
  }

  .step-two {
    left: 12%;
    bottom: 3.5%;
  }

  .step-three {
    left: 39%;
    top: 57%;
  }

  .step-four {
    right: 8%;
    top: 30%;
  }

  .step-five {
    right: 2%;
    top: 49%;
  }
}

@media (max-width: 760px) {
  .owner-map-canvas {
    opacity: 0.3;
  }

  .owner-road-map.is-map-ready .owner-map-canvas {
    opacity: 0.34;
  }

  .owner-road-map::before {
    background: rgba(247, 246, 240, 0.72);
  }

  .owner-map-attribution {
    right: 8px;
    bottom: 7px;
    font-size: 10px;
  }

  .owner-road-map {
    padding: 20px 16px 30px;
  }

  .owner-road-copy {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    transform: none;
    margin-bottom: 18px;
  }

  .owner-road-copy h2 {
    max-width: 10ch;
    font-size: clamp(34px, 10vw, 44px);
    text-align: left;
  }

  .owner-road-steps {
    gap: 10px;
  }

  .owner-road-steps::before {
    left: 16px;
  }

  .road-step,
  .step-one,
  .step-two,
  .step-three,
  .step-four,
  .step-five {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
  }

  .road-step > span {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 12px;
  }

  .road-step div {
    min-width: 0;
    padding: 10px 11px;
  }

  .road-step strong {
    font-size: 13px;
  }

  .road-step p {
    font-size: 11px;
    line-height: 1.36;
  }
}

/* Pricing cards centered review adjustment */
.pricing-card {
  text-align: center;
  justify-items: center;
}

.pricing-card .pricing-label {
  justify-self: center;
}

.pricing-card p {
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card ul {
  width: 100%;
  max-width: 280px;
  justify-self: center;
  justify-items: stretch;
  margin-top: 10px;
}

.pricing-card li {
  min-height: 36px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding-left: 0;
  text-align: left;
}

.pricing-card li::before {
  position: static;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  content: "✓";
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.pricing-card-soft li::before {
  background: var(--green);
  box-shadow: 0 8px 18px rgba(15, 91, 73, 0.16);
}

.pricing-card-featured li::before {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(255, 255, 255, 0.12);
}

.pricing-card-featured li {
  color: rgba(255, 255, 255, 0.82);
}

.pricing-card .button {
  max-width: 280px;
  justify-self: center;
}

/* Owner visibility follow-up module */
.owner-visibility-section {
  display: grid;
  gap: 34px;
}

.owner-visibility-hero {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.owner-visibility-hero h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.96;
  font-weight: 840;
  letter-spacing: 0;
}

.owner-visibility-hero p {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

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

.owner-visibility-card {
  min-height: 290px;
  display: grid;
  align-content: start;
  gap: 16px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 50px rgba(13, 13, 11, 0.045);
  padding: 24px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.owner-visibility-card:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 13, 11, 0.18);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 70px rgba(13, 13, 11, 0.1);
}

.owner-visibility-card-featured {
  background:
    radial-gradient(circle at 78% 12%, rgba(17, 100, 90, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.92);
  border-color: rgba(17, 100, 90, 0.18);
  box-shadow: 0 26px 70px rgba(17, 100, 90, 0.1);
}

.visibility-marker {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 860;
}

.owner-visibility-card-featured .visibility-marker {
  background: var(--green);
}

.owner-visibility-card h3 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.02;
  font-weight: 820;
  letter-spacing: 0;
}

.owner-visibility-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

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

  .owner-visibility-card {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .owner-visibility-section {
    overflow-x: hidden;
  }

  .owner-visibility-hero h2 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .owner-visibility-hero p {
    max-width: 100%;
    font-size: 15px;
  }

  .owner-visibility-card {
    padding: 22px;
  }
}

/* Pricing card overlap + selection interaction */
.pricing-column {
  gap: 0;
  isolation: isolate;
  padding: 18px 18px 34px;
}

.pricing-card {
  position: relative;
  cursor: pointer;
  margin-left: -18px;
  z-index: 1;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease, opacity 220ms ease;
}

.pricing-card:first-child {
  margin-left: 0;
}

.pricing-card:hover,
.pricing-card:focus-visible {
  z-index: 4;
  transform: translateY(-10px) scale(1.012);
  border-color: rgba(13, 13, 11, 0.18);
  box-shadow: 0 28px 70px rgba(13, 13, 11, 0.12);
}

.pricing-card:focus-visible {
  outline: 2px solid rgba(13, 13, 11, 0.4);
  outline-offset: 4px;
}

.pricing-card-featured,
.pricing-card-featured:not(.is-selected) {
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  transform: none;
  box-shadow: 0 18px 50px rgba(13, 13, 11, 0.06);
}

.pricing-card-featured:not(.is-selected) h3,
.pricing-card-featured:not(.is-selected) .pricing-price {
  color: var(--ink);
}

.pricing-card-featured:not(.is-selected) p,
.pricing-card-featured:not(.is-selected) li {
  color: var(--muted);
}

.pricing-card-featured:not(.is-selected) .pricing-label {
  border-color: rgba(13, 13, 11, 0.1);
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
}

.pricing-card.is-selected {
  z-index: 6;
  background: var(--ink);
  color: #fff;
  border-color: rgba(13, 13, 11, 0.92);
  transform: translateY(-18px) scale(1.035);
  box-shadow: 0 34px 86px rgba(13, 13, 11, 0.26);
}

.pricing-card.is-selected h3,
.pricing-card.is-selected .pricing-price {
  color: #fff;
}

.pricing-card.is-selected p,
.pricing-card.is-selected li {
  color: rgba(255, 255, 255, 0.84);
}

.pricing-card.is-selected p strong {
  color: #fff;
}

.pricing-card.is-selected .pricing-label {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.pricing-card.is-selected li::before {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.12);
}

.pricing-card.is-selected .button,
.pricing-card.is-selected .button.secondary,
.pricing-card.is-selected .button.light {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.pricing-card.is-selected::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  pointer-events: none;
}

.pricing-card.is-selecting {
  animation: pricing-select-pulse 360ms ease;
}

@keyframes pricing-select-pulse {
  0% { transform: translateY(-10px) scale(1.012); }
  55% { transform: translateY(-22px) scale(1.048); }
  100% { transform: translateY(-18px) scale(1.035); }
}

@media (max-width: 1180px) {
  .pricing-column {
    gap: 12px;
    padding: 12px 2px 22px;
  }

  .pricing-card {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .pricing-column {
    gap: 14px;
    padding: 0;
  }

  .pricing-card.is-selected,
  .pricing-card:hover,
  .pricing-card:focus-visible {
    transform: translateY(-6px) scale(1.01);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-card,
  .pricing-card.is-selecting {
    animation: none;
    transition: none;
  }
}
/* Pricing module heading simplification */
.pricing-section {
  padding-top: 64px;
}

.pricing-path-head.pricing-path-head-centered {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  min-height: 150px;
  margin-bottom: 10px;
  text-align: center;
}

.pricing-path-head.pricing-path-head-centered h2 {
  grid-column: 1;
  margin: 0;
  max-width: 900px;
  font-size: clamp(44px, 6vw, 86px);
  line-height: 0.94;
}

@media (max-width: 760px) {
  .pricing-section {
    padding-top: 42px;
  }

  .pricing-path-head.pricing-path-head-centered {
    min-height: 110px;
  }
}

/* Pricing overlap refinement after visual QA */
.pricing-section,
.pricing-column {
  overflow: visible;
}

.pricing-column {
  padding: 22px 34px 38px;
}

.pricing-card {
  margin-left: -10px;
}

.pricing-card.is-selected {
  transform: translateY(-14px) scale(1.024);
}

.pricing-card:hover,
.pricing-card:focus-visible {
  transform: translateY(-8px) scale(1.01);
}

@keyframes pricing-select-pulse {
  0% { transform: translateY(-8px) scale(1.01); }
  55% { transform: translateY(-18px) scale(1.035); }
  100% { transform: translateY(-14px) scale(1.024); }
}

@media (max-width: 1180px) {
  .pricing-column {
    overflow-x: auto;
    overflow-y: visible;
    padding: 18px 16px 30px;
  }

  .pricing-card {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .pricing-column {
    overflow: visible;
    padding: 0;
  }
}
/* Keep unselected pricing checks consistent */
.pricing-card:not(.is-selected) li::before,
.pricing-card-featured:not(.is-selected) li::before {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 91, 73, 0.16);
}
/* Pricing selection v2: no native overlap, active card expands only */
.pricing-column {
  gap: 18px;
  padding: 22px 22px 42px;
  overflow: visible;
}

.pricing-card,
.pricing-card:first-child {
  margin-left: 0;
}

.pricing-card:hover {
  z-index: 3;
  transform: translateY(-6px) scale(1.008);
  border-color: rgba(13, 13, 11, 0.14);
  box-shadow: 0 22px 58px rgba(13, 13, 11, 0.1);
}

.pricing-card:focus-visible {
  z-index: 3;
  transform: translateY(-6px) scale(1.008);
  border-color: rgba(13, 13, 11, 0.14);
  box-shadow: 0 22px 58px rgba(13, 13, 11, 0.1);
  outline: 2px solid rgba(15, 91, 73, 0.42);
  outline-offset: 5px;
}

.pricing-card.is-selected {
  z-index: 7;
  transform: translateY(-12px) scale(1.055);
  border-color: var(--ink);
  box-shadow: 0 36px 88px rgba(13, 13, 11, 0.24);
}

.pricing-card.is-selected:hover,
.pricing-card.is-selected:focus-visible {
  transform: translateY(-12px) scale(1.055);
}

.pricing-card.is-selected::after {
  content: none;
}

@keyframes pricing-select-pulse {
  0% { transform: translateY(-4px) scale(1.01); }
  55% { transform: translateY(-14px) scale(1.07); }
  100% { transform: translateY(-12px) scale(1.055); }
}

@media (max-width: 1180px) {
  .pricing-column {
    gap: 16px;
    overflow: visible;
    padding: 18px 12px 34px;
  }

  .pricing-card,
  .pricing-card:first-child {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .pricing-column {
    gap: 14px;
    padding: 0;
  }

  .pricing-card.is-selected,
  .pricing-card.is-selected:hover,
  .pricing-card.is-selected:focus-visible {
    transform: translateY(-6px) scale(1.018);
  }
}

/* Pricing cards without redundant plan pills */
.pricing-card {
  align-content: center;
  gap: 16px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.pricing-card h3 {
  margin-top: 0;
  max-width: 14ch;
}

.pricing-card p {
  max-width: 30ch;
}

.pricing-card ul {
  margin-top: 2px;
}

.pricing-card.is-selected h3 {
  color: #fff;
}

@media (max-width: 760px) {
  .pricing-card {
    align-content: start;
  }
}
/* Pricing titles breathe on one line when possible */
.pricing-card h3 {
  max-width: none;
  text-wrap: balance;
}

@media (min-width: 1120px) {
  .pricing-card h3 {
    white-space: nowrap;
  }
}
/* Shared pricing CTA */
.pricing-card .button {
  display: none;
}

.pricing-common-action {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.pricing-common-action .button {
  min-width: min(100%, 280px);
}

/* Pricing spacing and CTA polish */
.pricing-path-head.pricing-path-head-centered {
  margin-bottom: 34px;
}

.pricing-common-action {
  margin-top: 22px;
}

.pricing-common-action .button {
  min-height: 52px;
  min-width: min(100%, 340px);
  padding: 0 26px;
  font-size: 16px;
  font-weight: 760;
}

@media (max-width: 760px) {
  .pricing-path-head.pricing-path-head-centered {
    margin-bottom: 22px;
  }

  .pricing-common-action .button {
    width: 100%;
  }
}
/* Bring estimation closer after removing services module */
#estimation {
  padding-top: 44px;
}

@media (max-width: 760px) {
  #estimation {
    padding-top: 32px;
  }
}

/* Estimation module: calmer invitation moment */
.calendar-estimate {
  min-height: 390px;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.88fr);
  gap: 34px;
  padding: 38px;
}

.calendar-copy {
  gap: 20px;
}

.calendar-copy h2 {
  max-width: 560px;
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 0.96;
}

.calendar-copy p {
  max-width: 500px;
  font-size: 17px;
  line-height: 1.62;
}

.estimation-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.estimation-reassurance li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(15, 91, 73, 0.16);
  border-radius: 999px;
  background: rgba(17, 100, 90, 0.08);
  color: var(--green);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 820;
}

.calendar-card {
  min-height: 326px;
  transform: none;
  box-shadow: 0 22px 64px rgba(13, 13, 11, 0.14);
}

.calendar-estimate:hover .calendar-card {
  transform: translateY(-3px);
}

.booking-widget {
  min-height: 326px;
}

.booking-submit {
  min-height: 48px;
}

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

@media (max-width: 760px) {
  .calendar-estimate {
    min-height: auto;
    gap: 24px;
    padding: 22px;
  }

  .calendar-copy h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .estimation-reassurance {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .estimation-reassurance li {
    justify-content: center;
    padding: 0 8px;
    text-align: center;
  }

  .calendar-estimate:hover .calendar-card {
    transform: none;
  }
}

/* Owner process: staggered premium cards */
.owner-process-section {
  width: min(1640px, 96vw);
  margin-top: 20px;
  padding: 0;
}

.owner-process-section.card-lift-section {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.owner-process-panel {
  --process-grid-x: 50%;
  --process-grid-y: 42%;
  position: relative;
  overflow: hidden;
  min-height: 730px;
  padding: 54px 58px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(420px circle at var(--process-grid-x) var(--process-grid-y), rgba(255, 255, 255, 0.62), transparent 72%),
    linear-gradient(rgba(13, 13, 11, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 13, 11, 0.11) 1px, transparent 1px),
    linear-gradient(135deg, rgba(247, 246, 240, 0.96), rgba(239, 239, 237, 0.96));
  background-size:
    auto,
    18px 18px,
    18px 18px,
    auto;
  animation: grid-drift 6s linear infinite;
  box-shadow: 0 28px 74px rgba(13, 13, 11, 0.09);
}

.owner-process-panel::before {
  content: none;
  position: absolute;
  inset: 238px 5% auto;
  height: 420px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 36%, transparent 0 158px, rgba(13, 13, 11, 0.24) 159px 160px, transparent 162px),
    radial-gradient(ellipse at 44% 42%, transparent 0 172px, rgba(13, 13, 11, 0.2) 173px 174px, transparent 176px),
    radial-gradient(ellipse at 72% 56%, transparent 0 176px, rgba(13, 13, 11, 0.2) 177px 178px, transparent 180px);
  background-size: 38% 190px, 40% 220px, 42% 230px;
  background-position: 0 4px, 34% 82px, 68% 20px;
  background-repeat: no-repeat;
  opacity: 0.78;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.owner-process-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(248, 246, 238, 0.06), rgba(248, 246, 238, 0.64)),
    linear-gradient(90deg, rgba(248, 246, 238, 0.8), transparent 15%, transparent 85%, rgba(248, 246, 238, 0.72));
}

.owner-process-copy {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.owner-process-copy .category {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 840;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.owner-process-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 4.7vw, 70px);
  line-height: 0.96;
  letter-spacing: 0;
}

.owner-process-steps {
  position: relative;
  z-index: 2;
  min-height: 500px;
  margin: 54px 0 0;
  padding: 0;
  list-style: none;
}

.process-connectors {
  position: absolute;
  z-index: 1;
  left: 58px;
  right: 58px;
  bottom: 56px;
  width: calc(100% - 116px);
  height: 520px;
  pointer-events: none;
}

.process-connectors path {
  fill: none;
  stroke: rgba(13, 13, 11, 0.24);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 9 14;
}

.process-card {
  --accent: var(--green);
  --soft-card: rgba(17, 100, 90, 0.08);
  --rotate: 0deg;
  position: absolute;
  width: min(294px, 20.6vw);
  min-height: 226px;
  padding: 18px;
  border: 1px solid rgba(13, 13, 11, 0.06);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 28px 70px rgba(13, 13, 11, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  transform: rotate(var(--rotate));
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.process-card::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 10px 18px color-mix(in srgb, var(--accent) 34%, transparent),
    inset 0 -5px 8px rgba(13, 13, 11, 0.18),
    inset 0 5px 8px rgba(255, 255, 255, 0.35);
  transform: translateX(-50%);
}

.process-card:hover {
  transform: rotate(var(--rotate)) translateY(-8px);
  box-shadow: 0 34px 82px rgba(13, 13, 11, 0.16);
}

.process-number {
  color: var(--accent);
  font-size: clamp(31px, 2.7vw, 42px);
  font-weight: 560;
  line-height: 1;
  letter-spacing: 0;
}

.process-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  min-width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #fff;
  padding: 0 8px;
  font-size: 0;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow:
    0 14px 28px color-mix(in srgb, var(--accent) 26%, transparent),
    inset 0 -5px 8px rgba(13, 13, 11, 0.14),
    inset 0 5px 8px rgba(255, 255, 255, 0.6);
}

.process-card > div {
  min-height: 176px;
  display: grid;
  align-content: start;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 18px;
  background: var(--soft-card);
}

.process-card strong {
  display: block;
  color: var(--ink);
  margin-top: 18px;
  font-size: clamp(21px, 1.55vw, 28px);
  line-height: 1.05;
}

.process-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.process-card-one {
  --accent: var(--green);
  --soft-card: rgba(17, 100, 90, 0.08);
  --rotate: -4deg;
  left: 1.4%;
  top: 14px;
}

.process-card-two {
  --accent: var(--gold);
  --soft-card: rgba(184, 135, 45, 0.12);
  --rotate: 5deg;
  left: 25.6%;
  top: 142px;
}

.process-card-three {
  --accent: var(--green);
  --soft-card: rgba(17, 100, 90, 0.09);
  --rotate: -3deg;
  left: 48.8%;
  top: 24px;
}

.process-card-four {
  --accent: var(--brick);
  --soft-card: rgba(169, 78, 63, 0.09);
  --rotate: 4deg;
  right: 1.2%;
  top: 174px;
}

.process-card-five {
  --accent: var(--green);
  --soft-card: rgba(17, 100, 90, 0.08);
  --rotate: -2deg;
  left: 35%;
  top: 338px;
}

.process-card-five .process-number,
.process-card-five strong {
  color: var(--accent);
}

@media (max-width: 1180px) {
  .owner-process-panel {
    min-height: auto;
    padding: 34px 26px 36px;
  }

  .owner-process-steps {
    min-height: 560px;
  }

  .process-card {
    width: min(236px, 27vw);
    min-height: 178px;
    padding: 12px;
  }

  .process-card > div {
    min-height: 132px;
    padding: 18px;
  }

  .process-card strong {
    margin-top: 10px;
    font-size: 19px;
  }

  .process-card p {
    margin-top: 8px;
    font-size: 12px;
  }

  .process-connectors {
    left: 30px;
    right: 30px;
    bottom: 34px;
    width: calc(100% - 60px);
    height: 540px;
  }

  .process-card-one {
    left: 2%;
    top: 12px;
  }

  .process-card-two {
    left: 33%;
    top: 112px;
  }

  .process-card-three {
    right: 2%;
    left: auto;
    top: 22px;
  }

  .process-card-four {
    left: 11%;
    right: auto;
    top: 296px;
  }

  .process-card-five {
    right: 12%;
    left: auto;
    top: 310px;
  }
}

@media (max-width: 760px) {
  .owner-process-section {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .owner-process-panel {
    padding: 26px 16px 30px;
    border-radius: 16px;
    background-size:
      auto,
      18px 18px,
      18px 18px,
      auto;
  }

  .owner-process-panel::before {
    content: "";
    left: 50%;
    top: 202px;
    bottom: 54px;
    width: 0;
    height: auto;
    border-top: 0;
    border-left: 2px dashed rgba(13, 13, 11, 0.16);
    border-radius: 0;
    transform: none;
  }

  .process-connectors {
    display: none;
  }

  .owner-process-copy {
    text-align: left;
  }

  .owner-process-copy .category {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .owner-process-copy h2 {
    max-width: 11ch;
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.02;
  }

  .owner-process-steps {
    display: grid;
    gap: 28px;
    min-height: 0;
    margin-top: 32px;
  }

  .process-card,
  .process-card-one,
  .process-card-two,
  .process-card-three,
  .process-card-four,
  .process-card-five {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    padding: 14px;
    transform: none;
  }

  .process-card:nth-child(even) {
    transform: translateX(12px);
    width: calc(100% - 12px);
  }

  .process-card:hover {
    transform: none;
  }

  .process-card:nth-child(even):hover {
    transform: translateX(12px);
  }

  .process-card::before {
    top: -14px;
    left: 50%;
    width: 22px;
    height: 22px;
    transform: translateX(-50%);
  }

  .process-icon {
    top: 20px;
    right: 20px;
    min-width: 30px;
    height: 30px;
    border-radius: 999px;
    font-size: 0;
  }

  .process-number {
    font-size: 26px;
  }

  .process-card > div {
    min-height: auto;
    padding: 22px;
  }

  .process-card strong {
    margin-top: 12px;
    font-size: 21px;
  }

  .process-card p {
    font-size: 13px;
  }
}

/* Owner process mobile containment */
@media (max-width: 760px) {
  .pricing-section,
  .owner-process-section {
    overflow-x: hidden;
  }
}

/* Owner services: staggered clear cards */
.owner-services-section {
  --services-grid-x: 50%;
  --services-grid-y: 42%;
  scroll-margin-top: 118px;
  width: min(1640px, 96vw);
  margin-top: 20px;
  padding: 210px 58px 68px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(480px circle at var(--services-grid-x) var(--services-grid-y), rgba(17, 100, 90, 0.08), transparent 58%),
    linear-gradient(rgba(13, 13, 11, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 13, 11, 0.055) 1px, transparent 1px),
    rgba(239, 239, 237, 0.86);
  background-size: auto, 18px 18px, 18px 18px, auto;
  animation: grid-drift 6s linear infinite;
  box-shadow: 0 22px 64px rgba(13, 13, 11, 0.07);
}

.owner-services-head {
  display: flex;
  justify-content: center;
  text-align: center;
}

.owner-services-head h2 {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(48px, 5.8vw, 86px);
  line-height: 0.92;
  letter-spacing: 0;
  text-align: center;
}

.owner-services-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(72px, auto);
  gap: 16px 18px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.owner-service-card {
  min-height: 184px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(13, 13, 11, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 46px rgba(13, 13, 11, 0.08);
  backdrop-filter: blur(12px);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.owner-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(17, 100, 90, 0.24);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 68px rgba(13, 13, 11, 0.12);
}

.owner-service-card span {
  color: rgba(13, 13, 11, 0.54);
  font-size: 14px;
  font-weight: 860;
  line-height: 1;
}

.owner-service-card strong {
  display: block;
  color: var(--ink);
  font-size: clamp(21px, 1.7vw, 28px);
  line-height: 1.08;
}

.owner-service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.52;
}

.owner-service-one {
  grid-column: 1 / span 4;
  grid-row: 1 / span 2;
}

.owner-service-two {
  grid-column: 3 / span 4;
  grid-row: 3 / span 2;
}

.owner-service-three {
  grid-column: 7 / span 4;
  grid-row: 1 / span 2;
}

.owner-service-four {
  grid-column: 9 / span 4;
  grid-row: 3 / span 2;
}

.owner-service-five {
  grid-column: 5 / span 4;
  grid-row: 5 / span 2;
}

@media (max-width: 1180px) {
  .owner-services-section {
    padding: 188px 30px 48px;
  }

  .owner-services-head {
    justify-content: center;
    text-align: center;
  }

  .owner-services-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-auto-rows: minmax(82px, auto);
  }

  .owner-service-one {
    grid-column: 1 / span 3;
    grid-row: 1 / span 2;
  }

  .owner-service-two {
    grid-column: 2 / span 3;
    grid-row: 3 / span 2;
  }

  .owner-service-three {
    grid-column: 5 / span 3;
    grid-row: 1 / span 2;
  }

  .owner-service-four {
    grid-column: 6 / span 3;
    grid-row: 3 / span 2;
  }

  .owner-service-five {
    grid-column: 2 / span 3;
    grid-row: 5 / span 2;
  }
}

@media (max-width: 760px) {
  .owner-services-section {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    box-sizing: border-box;
    overflow-x: hidden;
    padding: 126px 16px 30px;
    background-size: auto, 18px 18px, 18px 18px, auto;
  }

  .owner-services-head h2 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .owner-services-grid {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) 18px;
    grid-auto-rows: auto;
    gap: 14px 0;
    margin-top: 24px;
  }

  .owner-service-card,
  .owner-service-one,
  .owner-service-two,
  .owner-service-three,
  .owner-service-four,
  .owner-service-five {
    grid-column: 1 / span 2;
    grid-row: auto;
    min-height: auto;
    padding: 18px;
  }

  .owner-service-card:nth-child(even) {
    grid-column: 2 / span 2;
  }

  .owner-service-card:hover {
    transform: none;
  }

  .owner-service-card strong {
    font-size: 21px;
  }

  .owner-service-card p {
    font-size: 14px;
  }
}

/* Owner services hover parity with pricing module */
.owner-services-section.card-lift-section {
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.owner-services-section.card-lift-section:hover,
.owner-services-section.card-lift-section.is-scroll-active:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 13, 11, 0.14);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 24px 70px rgba(13, 13, 11, 0.08);
}

@media (max-width: 760px) {
  .owner-services-section.card-lift-section:hover,
  .owner-services-section.card-lift-section.is-scroll-active:hover {
    transform: none;
  }
}

/* Owner services calmer resting shadow */
.owner-services-section.card-lift-section {
  box-shadow: 0 14px 42px rgba(13, 13, 11, 0.035);
}

.owner-services-section.card-lift-section:hover,
.owner-services-section.card-lift-section.is-scroll-active:hover {
  box-shadow: 0 22px 58px rgba(13, 13, 11, 0.075);
}

/* Owner services exact parity with pricing hover behavior */
.owner-services-section.card-lift-section,
.owner-services-section.card-lift-section:hover,
.owner-services-section.card-lift-section.is-scroll-active:hover {
  transform: none;
  border-color: rgba(13, 13, 11, 0.08);
  background: rgba(255, 255, 255, 0.44);
  box-shadow: 0 18px 60px rgba(13, 13, 11, 0.045);
}

.owner-service-card {
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease, opacity 220ms ease;
}

.owner-service-card:hover,
.owner-service-card:focus-visible {
  z-index: 3;
  transform: translateY(-6px) scale(1.008);
  border-color: rgba(13, 13, 11, 0.14);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 58px rgba(13, 13, 11, 0.1);
}

.owner-service-card:focus-visible {
  outline: 2px solid rgba(15, 91, 73, 0.42);
  outline-offset: 5px;
}

@media (max-width: 760px) {
  .owner-service-card:hover,
  .owner-service-card:focus-visible {
    transform: translateY(-6px) scale(1.01);
  }
}

/* Owner services: compact horizontal timeline */
.owner-services-section,
.owner-services-section.card-lift-section,
.owner-services-section.card-lift-section:hover,
.owner-services-section.card-lift-section.is-scroll-active:hover {
  --services-grid-x: 50%;
  --services-grid-y: 48%;
  scroll-margin-top: 118px;
  width: min(1640px, 96vw);
  margin-top: 20px;
  padding: 68px 40px 72px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(440px circle at var(--services-grid-x) var(--services-grid-y), rgba(17, 100, 90, 0.075), transparent 60%),
    linear-gradient(rgba(13, 13, 11, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 13, 11, 0.055) 1px, transparent 1px),
    rgba(239, 239, 237, 0.86);
  background-size: auto, 18px 18px, 18px 18px, auto;
  animation: grid-drift 6s linear infinite;
  box-shadow: 0 16px 54px rgba(13, 13, 11, 0.055);
  transform: none;
}

.owner-services-head {
  display: flex;
  justify-content: center;
  text-align: center;
}

.owner-services-head h2 {
  width: auto;
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 4.8vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
  text-align: center;
}

.owner-services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: auto;
  align-items: start;
  gap: 28px;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
}

.owner-service-card,
.owner-service-one,
.owner-service-two,
.owner-service-three,
.owner-service-four,
.owner-service-five {
  position: relative;
  grid-column: auto;
  grid-row: auto;
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px 20px 22px 32px;
  border: 1px solid rgba(13, 13, 11, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 38px rgba(13, 13, 11, 0.045);
  backdrop-filter: blur(10px);
  cursor: default;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.owner-service-two,
.owner-service-four {
  transform: translateY(34px);
}

.owner-service-three,
.owner-service-five {
  transform: translateY(8px);
}

.owner-service-card:hover,
.owner-service-card:focus-visible {
  z-index: 3;
  border-color: rgba(17, 100, 90, 0.18);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(13, 13, 11, 0.07);
}

.owner-service-one:hover,
.owner-service-one:focus-visible {
  transform: translateY(-2px);
}

.owner-service-two:hover,
.owner-service-two:focus-visible,
.owner-service-four:hover,
.owner-service-four:focus-visible {
  transform: translateY(32px);
}

.owner-service-three:hover,
.owner-service-three:focus-visible,
.owner-service-five:hover,
.owner-service-five:focus-visible {
  transform: translateY(6px);
}

.owner-service-card span {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 840;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(15, 91, 73, 0.22);
}

.owner-service-card strong {
  display: block;
  color: var(--ink);
  font-size: clamp(19px, 1.35vw, 24px);
  line-height: 1.12;
}

.owner-service-card p {
  margin: 0;
  color: rgba(15, 91, 73, 0.78);
  font-size: 15px;
  line-height: 1.38;
}

@media (max-width: 1180px) {
  .owner-services-section,
  .owner-services-section.card-lift-section,
  .owner-services-section.card-lift-section:hover,
  .owner-services-section.card-lift-section.is-scroll-active:hover {
    padding: 54px 26px 64px;
  }

  .owner-services-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }

  .owner-service-card,
  .owner-service-one,
  .owner-service-two,
  .owner-service-three,
  .owner-service-four,
  .owner-service-five {
    min-height: 148px;
    padding: 22px 16px 18px 28px;
  }

  .owner-service-two,
  .owner-service-four {
    transform: translateY(28px);
  }

  .owner-service-three,
  .owner-service-five {
    transform: translateY(6px);
  }

  .owner-service-card strong {
    font-size: clamp(17px, 2.1vw, 21px);
  }

  .owner-service-card p {
    font-size: 14px;
  }

  .owner-service-two:hover,
  .owner-service-two:focus-visible,
  .owner-service-four:hover,
  .owner-service-four:focus-visible {
    transform: translateY(26px);
  }

  .owner-service-three:hover,
  .owner-service-three:focus-visible,
  .owner-service-five:hover,
  .owner-service-five:focus-visible {
    transform: translateY(4px);
  }
}

@media (max-width: 760px) {
  .owner-services-section,
  .owner-services-section.card-lift-section,
  .owner-services-section.card-lift-section:hover,
  .owner-services-section.card-lift-section.is-scroll-active:hover {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    box-sizing: border-box;
    overflow-x: hidden;
    padding: 42px 16px 34px;
    background-size: auto, 18px 18px, 18px 18px, auto;
  }

  .owner-services-head h2 {
    font-size: clamp(40px, 13vw, 56px);
  }

  .owner-services-grid {
    grid-template-columns: 18px minmax(0, 1fr) 18px;
    gap: 14px 0;
    margin-top: 34px;
  }

  .owner-service-card,
  .owner-service-one,
  .owner-service-two,
  .owner-service-three,
  .owner-service-four,
  .owner-service-five,
  .owner-service-card:nth-child(even),
  .owner-service-card:hover,
  .owner-service-card:focus-visible,
  .owner-service-card:nth-child(even):hover,
  .owner-service-card:nth-child(even):focus-visible {
    grid-column: 1 / span 2;
    min-height: auto;
    padding: 20px 18px 18px 32px;
    transform: none;
  }

  .owner-service-card:nth-child(even) {
    grid-column: 2 / span 2;
  }

  .owner-service-card strong {
    font-size: 21px;
  }

  .owner-service-card p {
    font-size: 14px;
  }
}

/* Owner services active hover mirrors pricing selected card */
.owner-service-card:hover,
.owner-service-card:focus-visible {
  z-index: 7;
  border-color: rgba(13, 13, 11, 0.82);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 42px rgba(13, 13, 11, 0.12);
}

.owner-service-card:hover strong,
.owner-service-card:focus-visible strong {
  color: #fff;
}

.owner-service-card:hover p,
.owner-service-card:focus-visible p {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 760px) {
  .owner-service-card:hover,
  .owner-service-card:focus-visible {
    transform: none;
  }
}

/* Owner services final module hover: same lifted module feel as pricing */
.owner-services-section.card-lift-section {
  transform-origin: center center;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.owner-services-section.card-lift-section:hover,
.owner-services-section.card-lift-section.is-scroll-active:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 13, 11, 0.14);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 46px rgba(13, 13, 11, 0.07);
}

@media (max-width: 760px) {
  .owner-services-section.card-lift-section:hover,
  .owner-services-section.card-lift-section.is-scroll-active:hover {
    transform: none;
  }
}

/* Owner services exact pricing module surface color */
.owner-services-section.card-lift-section,
.owner-services-section.card-lift-section:hover,
.owner-services-section.card-lift-section.is-scroll-active:hover {
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.44);
  background-image: none;
  background-size: auto;
  animation: none;
}

.owner-services-section.card-lift-section:hover,
.owner-services-section.card-lift-section.is-scroll-active:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(13, 13, 11, 0.07);
}

.owner-services-section .owner-service-card:hover,
.owner-services-section .owner-service-card:focus-visible {
  border-color: #0d0d0b;
  background: #0d0d0b;
  color: #fff;
}

/* Pricing module compacted after removing mini heading */
.pricing-section.card-lift-section {
  padding-top: 34px;
  padding-bottom: 42px;
}

.pricing-section .pricing-column {
  padding-top: 0;
}

.pricing-path-head.pricing-path-head-centered {
  display: none;
  min-height: 0;
  margin: 0;
}

@media (max-width: 760px) {
  .pricing-section.card-lift-section {
    padding-top: 28px;
    padding-bottom: 32px;
  }
}

/* Pricing module breathing room after compact heading removal */
.pricing-section.card-lift-section {
  padding-top: 56px;
}

.pricing-section .pricing-column {
  padding-top: 14px;
}

@media (max-width: 760px) {
  .pricing-section.card-lift-section {
    padding-top: 42px;
  }

  .pricing-section .pricing-column {
    padding-top: 6px;
  }
}

/* Combined hero + pricing opening module */
.pricing-section.pricing-hero-module.card-lift-section {
  width: min(1640px, 96vw);
  margin-top: -10px;
  padding: 96px 58px 58px;
}

.pricing-hero {
  display: grid;
  justify-items: center;
  gap: 20px;
  margin: 0 auto 46px;
  text-align: center;
}

.pricing-hero h1 {
  margin: 0;
  max-width: 980px;
  color: var(--ink);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.94;
  letter-spacing: 0;
}

.pricing-hero p {
  margin: 0;
  max-width: 700px;
  color: #57534b;
  font-size: 17px;
  font-weight: 560;
  line-height: 1.62;
}

.pricing-hero-module .pricing-column {
  padding-top: 10px;
}

.pricing-hero-module + .owner-services-section {
  margin-top: 26px;
}

/* Owner services: roomier cards for the fuller handover copy */
.pricing-hero-module + .owner-services-section,
.owner-services-section.card-lift-section,
.owner-services-section.card-lift-section:hover,
.owner-services-section.card-lift-section.is-scroll-active:hover {
  padding-top: 78px;
  padding-bottom: 86px;
}

.owner-services-grid {
  gap: 30px;
  margin-top: 54px;
}

.owner-service-card,
.owner-service-one,
.owner-service-two,
.owner-service-three,
.owner-service-four,
.owner-service-five {
  min-height: 210px;
  padding: 30px 24px 28px 34px;
  gap: 16px;
}

.owner-service-card strong {
  font-size: clamp(20px, 1.45vw, 25px);
  line-height: 1.1;
}

.owner-service-card p {
  color: rgba(15, 91, 73, 0.82);
  font-size: 15.5px;
  line-height: 1.52;
}

@media (max-width: 1180px) {
  .pricing-hero-module + .owner-services-section,
  .owner-services-section.card-lift-section,
  .owner-services-section.card-lift-section:hover,
  .owner-services-section.card-lift-section.is-scroll-active:hover {
    padding-top: 64px;
    padding-bottom: 74px;
  }

  .owner-services-grid {
    gap: 18px;
  }

  .owner-service-card,
  .owner-service-one,
  .owner-service-two,
  .owner-service-three,
  .owner-service-four,
  .owner-service-five {
    min-height: 220px;
    padding: 26px 18px 24px 30px;
  }
}

@media (max-width: 980px) {
  .owner-services-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    margin-top: 42px;
  }

  .owner-service-card,
  .owner-service-one,
  .owner-service-two,
  .owner-service-three,
  .owner-service-four,
  .owner-service-five,
  .owner-service-card:hover,
  .owner-service-card:focus-visible {
    min-height: 178px;
    padding: 26px 22px 24px 34px;
    transform: none;
  }

  .owner-service-five {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .owner-service-card strong {
    font-size: clamp(20px, 4vw, 25px);
  }

  .owner-service-card p {
    max-width: 44ch;
    font-size: 15px;
  }
}

@media (max-width: 980px) {
  .pricing-section.pricing-hero-module.card-lift-section {
    padding: 82px 32px 48px;
  }

  .pricing-hero {
    margin-bottom: 36px;
  }
}

@media (max-width: 760px) {
  .pricing-section.pricing-hero-module.card-lift-section {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    padding: 72px 18px 34px;
  }

  .pricing-hero {
    align-items: center;
    margin-bottom: 30px;
  }

  .pricing-hero h1 {
    max-width: 100%;
    font-size: clamp(36px, 12vw, 48px);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .pricing-hero p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.56;
    overflow-wrap: anywhere;
  }

  .pricing-hero-module + .owner-services-section,
  .owner-services-section.card-lift-section,
  .owner-services-section.card-lift-section:hover,
  .owner-services-section.card-lift-section.is-scroll-active:hover {
    padding: 48px 16px 42px;
  }

  .owner-services-grid {
    gap: 16px 0;
    margin-top: 36px;
  }

  .owner-service-card,
  .owner-service-one,
  .owner-service-two,
  .owner-service-three,
  .owner-service-four,
  .owner-service-five,
  .owner-service-card:nth-child(even),
  .owner-service-card:hover,
  .owner-service-card:focus-visible,
  .owner-service-card:nth-child(even):hover,
  .owner-service-card:nth-child(even):focus-visible {
    min-height: auto;
    padding: 22px 18px 22px 34px;
  }

  .owner-service-card p {
    font-size: 14.5px;
    line-height: 1.52;
  }
}

/* Estimation module width and fuller calendar usage */
#estimation {
  width: min(1640px, 96vw);
}

#estimation .calendar-estimate {
  min-height: 520px;
  grid-template-columns: minmax(0, 0.74fr) minmax(520px, 1fr);
  align-items: stretch;
  padding: 54px;
}

#estimation .calendar-copy {
  align-self: center;
}

#estimation .calendar-card,
#estimation .booking-widget {
  min-height: 430px;
  height: 100%;
}

#estimation .booking-widget {
  grid-template-rows: 1fr auto;
}

#estimation .booking-calendar,
#estimation .booking-times {
  padding-top: 34px;
  padding-bottom: 28px;
}

#estimation .booking-times {
  max-height: none;
  align-content: stretch;
}

#estimation .booking-times button {
  min-height: 54px;
}

@media (max-width: 980px) {
  #estimation .calendar-estimate {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  #estimation {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
  }

  #estimation .calendar-estimate {
    min-height: auto;
    padding: 24px;
  }

  #estimation .calendar-card,
  #estimation .booking-widget {
    min-height: auto;
  }
}

/* Estimation module: wide surface, original calmer height */
#estimation {
  width: min(1640px, 96vw);
}

#estimation .calendar-estimate {
  min-height: 390px;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.88fr);
  align-items: center;
  padding: 38px;
}

#estimation .calendar-card,
#estimation .booking-widget {
  min-height: 326px;
}

#estimation .calendar-card {
  width: 100%;
  max-width: 520px;
  justify-self: end;
}

#estimation .booking-calendar {
  padding: 28px 26px 22px;
}

#estimation .booking-times {
  max-height: 292px;
  align-content: start;
  padding: 28px 20px 22px;
}

#estimation .booking-times button {
  min-height: 50px;
}

@media (max-width: 980px) {
  #estimation .calendar-estimate {
    grid-template-columns: 1fr;
  }

  #estimation .calendar-card {
    justify-self: center;
  }
}

@media (max-width: 760px) {
  #estimation {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
  }

  #estimation .calendar-estimate {
    min-height: auto;
    padding: 22px;
  }

  #estimation .calendar-card,
  #estimation .booking-widget {
    min-height: auto;
  }

  #estimation .calendar-card {
    max-width: 100%;
  }
}

/* Estimation calendar month controls */
#estimation .booking-month {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

#estimation .booking-month strong {
  min-width: auto;
  color: #f4f4f1;
  font-size: 22px;
  line-height: 28px;
  text-align: center;
}

#estimation .booking-month .month-control {
  width: 38px;
  height: 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(244, 244, 241, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #f4f4f1;
  font-size: 34px;
  font-weight: 520;
  line-height: 0.78;
}

#estimation .booking-month .month-control:hover {
  border-color: rgba(244, 244, 241, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-1px);
}

/* Estimation calendar month controls: borderless refinement */
#estimation .booking-month {
  gap: 14px;
}

#estimation .booking-month .month-control {
  width: 44px;
  height: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#estimation .booking-month .month-control:hover {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: #fff;
  transform: translateY(-1px);
}

/* Owner services: true stacked mobile reading */
@media (max-width: 760px) {
  .owner-services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .owner-service-card,
  .owner-service-one,
  .owner-service-two,
  .owner-service-three,
  .owner-service-four,
  .owner-service-five,
  .owner-service-card:nth-child(even),
  .owner-service-card:hover,
  .owner-service-card:focus-visible,
  .owner-service-card:nth-child(even):hover,
  .owner-service-card:nth-child(even):focus-visible {
    grid-column: auto;
    width: 100%;
    min-height: auto;
    padding: 22px 18px 22px 34px;
    transform: none;
  }

  .owner-service-card p {
    max-width: none;
  }
}

/* Shared width alignment with estimation module */
.owner-visibility-section.card-lift-section,
.faq-section.card-lift-section,
.advice-section.card-lift-section,
.footer.rich-footer {
  width: min(1640px, 96vw);
  max-width: min(1640px, 96vw);
}

.footer.rich-footer {
  margin-inline: auto;
}

.footer.rich-footer .footer-card {
  width: 100%;
}

@media (max-width: 760px) {
  .owner-visibility-section.card-lift-section,
  .faq-section.card-lift-section,
  .advice-section.card-lift-section,
  .footer.rich-footer {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
  }
}

/* Owner visibility polish */
.owner-visibility-card.owner-visibility-card-featured {
  background: rgba(255, 255, 255, 0.78);
  background-image: none;
}

.owner-visibility-card.owner-visibility-card-featured::before,
.owner-visibility-card.owner-visibility-card-featured::after {
  content: none;
}

.owner-visibility-card.owner-visibility-card-featured .visibility-marker {
  background: var(--green);
  color: #fff;
  border-color: transparent;
}

.calendar-copy strong em,
.calendar-copy em strong {
  font-weight: 820;
}

/* Owner visibility featured marker matches the other numbers */
.owner-visibility-card.owner-visibility-card-featured .visibility-marker {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}

/* Header page system */
.page-hero.header-page-hero,
.page-section.card-lift-section,
.page-cta.card-lift-section,
.hub-tools-section.card-lift-section,
.hub-results.card-lift-section {
  width: min(1640px, 96vw);
  margin-left: auto;
  margin-right: auto;
}

.page-hero.header-page-hero {
  padding: 82px 74px 72px;
  display: grid;
  gap: 22px;
  background: rgba(255, 255, 255, 0.76);
}

.page-hero.header-page-hero h1 {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.95;
  color: var(--ink);
}

.page-hero.header-page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
}

.page-hero.header-page-hero .button {
  width: fit-content;
  margin-top: 10px;
}

.page-section.card-lift-section,
.hub-tools-section.card-lift-section,
.hub-results.card-lift-section {
  padding: 64px;
}

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

.page-feature-card {
  position: relative;
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.page-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 13, 11, 0.14);
  box-shadow: 0 18px 46px rgba(13, 13, 11, 0.07);
}

.page-feature-card span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.page-feature-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.05;
}

.page-feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.service-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-timeline li {
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.service-timeline li:nth-child(even) {
  transform: translateY(28px);
}

.service-timeline span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.service-timeline strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
}

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

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

.faq-page-section.scroll-section {
  opacity: 1;
  transform: none;
}

.faq-page-section.scroll-section.is-scroll-active {
  opacity: 1;
  transform: none;
}

.faq-page-section .faq-page-grid .faq {
  background: #fff;
  color: var(--text);
}

.faq-page-section .faq-page-grid .faq h3 {
  color: var(--text);
}

.faq-page-section .faq-page-grid .faq p {
  color: var(--muted);
}

.faq-page-grid .faq:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(13, 13, 11, 0.12);
}

.faq-page-grid .faq:hover::after {
  opacity: 1;
}

.page-cta.card-lift-section {
  padding: 58px 64px;
  text-align: center;
}

.page-cta h2 {
  max-width: 900px;
  margin: 0 auto 16px;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.98;
}

.page-cta p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hub-tools-section.card-lift-section {
  padding-top: 38px;
  padding-bottom: 38px;
}

.hub-results.card-lift-section {
  padding-top: 54px;
}

.nav-links a[aria-current="page"] {
  color: #fff;
  opacity: 1;
}

@media (max-width: 980px) {
  .page-card-grid,
  .service-timeline,
  .faq-page-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-timeline li:nth-child(even) {
    transform: none;
  }
}

@media (max-width: 760px) {
  .page-hero.header-page-hero,
  .page-section.card-lift-section,
  .page-cta.card-lift-section,
  .hub-tools-section.card-lift-section,
  .hub-results.card-lift-section {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
  }

  .page-hero.header-page-hero {
    padding: 56px 18px 46px;
  }

  .page-hero.header-page-hero h1 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .page-section.card-lift-section,
  .hub-tools-section.card-lift-section,
  .hub-results.card-lift-section {
    padding: 30px 18px;
  }

  .page-card-grid,
  .service-timeline,
  .faq-page-grid {
    grid-template-columns: 1fr;
  }

  .service-timeline li,
  .page-feature-card {
    min-height: auto;
  }

  .page-cta.card-lift-section {
    padding: 42px 18px;
  }
}

/* Unified header override */
.login-page .site-header {
  position: sticky;
  top: 14px;
}

.login-page .site-header .nav {
  width: min(1640px, 96vw);
  min-height: 74px;
}

.login-page .site-header .button.nav-estimate {
  min-height: 48px;
  padding: 0 19px;
}

@media (max-width: 760px) {
  .login-page .site-header .button.nav-estimate {
    width: calc(100% - 8px);
    max-width: none;
    min-height: 44px;
    padding: 0 14px;
  }

  .login-page .site-header .nav {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .login-page .brand {
    justify-self: center;
    padding-left: 0;
  }

  .login-page .brand-logo {
    height: 40px !important;
    max-width: 158px !important;
  }

  .login-page .nav-links {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    justify-content: center;
    gap: 12px;
    padding: 0 6px 2px;
    overflow: hidden;
    font-size: 11px;
    text-align: center;
    white-space: nowrap;
  }
}

/* Services page redesign */
.services-page-hero,
.services-catalog-section,
.owner-control-section,
.services-process-section {
  width: min(1640px, 96vw);
  margin-left: auto;
  margin-right: auto;
}

.services-page-hero {
  min-height: clamp(560px, 72vh, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: end;
  gap: 42px;
  padding: 96px 74px 72px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.54)),
    radial-gradient(circle at 78% 24%, rgba(13, 13, 11, 0.08), transparent 32%),
    rgba(255, 255, 255, 0.46);
}

.services-page-copy {
  display: grid;
  gap: 22px;
  align-content: end;
}

.services-page-copy h1 {
  max-width: 980px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(56px, 7vw, 112px);
  line-height: 0.92;
}

.services-page-copy p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.55;
}

.services-page-copy .button {
  width: fit-content;
  margin-top: 10px;
}

.services-page-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 390px;
  padding: 34px;
  border: 1px solid rgba(13, 13, 11, 0.1);
  border-radius: 22px;
  background: #0d0d0b;
  color: #fff;
  box-shadow: 0 28px 70px rgba(13, 13, 11, 0.16);
}

.services-page-panel span {
  width: fit-content;
  margin-bottom: auto;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.services-page-panel strong {
  display: block;
  max-width: 420px;
  font-size: clamp(32px, 3.2vw, 54px);
  line-height: 0.98;
}

.services-page-panel p {
  max-width: 360px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.services-catalog-section,
.owner-control-section,
.services-process-section {
  padding: 72px 64px;
}

.services-catalog-head {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.services-catalog-head h2,
.owner-control-copy h2,
.services-process-section .section-head h2 {
  max-width: 920px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 5.5vw, 84px);
  line-height: 0.96;
}

.services-catalog-head p {
  max-width: 760px;
}

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

.service-catalog-card {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.service-catalog-card::before {
  content: none;
}

.service-catalog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(13, 13, 11, 0.16);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 58px rgba(13, 13, 11, 0.08);
}

.service-icon {
  position: relative;
  flex: 0 0 auto;
  display: block;
  width: auto;
  height: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.service-catalog-card h3 {
  position: relative;
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.02;
}

.service-catalog-card p {
  position: relative;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.owner-control-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: 34px;
  align-items: start;
}

.owner-control-copy {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 16px;
}

.owner-control-list {
  display: grid;
  gap: 14px;
}

.owner-control-list article {
  padding: 28px 32px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.owner-control-list strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.1;
}

.owner-control-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.services-process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 42px 0 0;
}

.services-process-list li {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(13, 13, 11, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.services-process-list li:nth-child(even) {
  transform: translateY(28px);
}

.services-process-list span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: #0d0d0b;
  color: #fff;
  font-weight: 800;
}

.services-process-list strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
}

.services-process-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 1080px) {
  .services-page-hero,
  .owner-control-section {
    grid-template-columns: 1fr;
  }

  .services-page-panel {
    min-height: 320px;
  }

  .services-catalog-grid,
  .services-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-process-list li:nth-child(even) {
    transform: none;
  }

  .owner-control-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .services-page-hero,
  .services-catalog-section,
  .owner-control-section,
  .services-process-section {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
  }

  .services-page-hero {
    min-height: auto;
    padding: 56px 18px 28px;
    gap: 26px;
  }

  .services-page-copy h1 {
    font-size: clamp(39px, 12vw, 56px);
  }

  .services-page-panel {
    min-height: 260px;
    padding: 24px;
  }

  .services-catalog-section,
  .owner-control-section,
  .services-process-section {
    padding: 34px 18px;
  }

  .services-catalog-grid,
  .services-process-list {
    grid-template-columns: 1fr;
  }

  .service-catalog-card,
  .services-process-list li {
    min-height: auto;
  }

  .service-catalog-card {
    padding-top: 104px;
  }
}

/* Services hero catalog fusion */
.services-hero-catalog.card-lift-section {
  width: min(1640px, 96vw);
  margin: -10px auto 0;
  padding: 76px 58px 58px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.54)),
    linear-gradient(90deg, rgba(13, 13, 11, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(13, 13, 11, 0.045) 1px, transparent 1px),
    rgba(255, 255, 255, 0.46);
  background-size: auto, 18px 18px, 18px 18px, auto;
}

.services-hero-copy {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto 48px;
  text-align: center;
}

.services-hero-copy h1 {
  max-width: 980px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(52px, 6.5vw, 104px);
  line-height: 0.92;
}

.services-hero-copy p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.55;
}

.services-hero-catalog .services-catalog-grid {
  margin-top: 0;
}

.services-hero-catalog .service-catalog-card {
  min-height: 252px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 18px 14px;
  justify-content: initial;
}

.services-hero-catalog .service-catalog-card p {
  grid-column: 1 / -1;
}

.services-process-section .section-head {
  display: grid;
  justify-items: center;
  text-align: center;
}

.services-process-section .section-head h2 {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1080px) {
  .services-hero-catalog .services-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .services-hero-catalog.card-lift-section {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    padding: 56px 18px 34px;
  }

  .services-hero-copy {
    margin-bottom: 32px;
  }

  .services-hero-copy h1 {
    font-size: clamp(39px, 12vw, 56px);
  }

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

  .services-hero-catalog .service-catalog-card {
    min-height: auto;
  }
}

/* FAQ page hero refinement */
.faq-page-hero.header-page-hero {
  margin-top: -10px;
  padding: 70px 36px 54px;
  justify-items: center;
  text-align: center;
}

.faq-page-hero.header-page-hero h1 {
  max-width: 1180px;
  font-size: clamp(44px, 5vw, 84px);
}

.faq-page-hero.header-page-hero p {
  margin: 0 auto;
}

@media (max-width: 760px) {
  .faq-page-hero.header-page-hero {
    padding: 50px 18px 38px;
  }
}

/* Advice hub hero refinement */
.advice-hub-hero.header-page-hero {
  margin-top: -74px;
  padding: 158px 58px 68px;
  justify-items: center;
  text-align: center;
}

.advice-hub-hero.header-page-hero,
.advice-hub-hero.header-page-hero.scroll-section,
.advice-hub-hero.header-page-hero.is-scroll-active,
.advice-hub-hero.header-page-hero:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.76);
}

.advice-hub-hero.header-page-hero h1,
.advice-hub-hero.header-page-hero:hover h1 {
  max-width: 1180px;
  color: var(--ink);
}

.advice-hub-hero.header-page-hero p,
.advice-hub-hero.header-page-hero:hover p {
  max-width: 1040px;
  margin: 0 auto;
  color: var(--muted);
}

@media (max-width: 760px) {
  .advice-hub-hero.header-page-hero {
    margin-top: -62px;
    padding: 132px 18px 46px;
  }
}

/* About page: more personal centered editorial layout */
.about-site-page .page-hero.header-page-hero {
  margin-top: -74px;
  padding-top: 162px;
  place-items: center;
  text-align: center;
}

.about-site-page .page-hero.header-page-hero h1,
.about-site-page .page-hero.header-page-hero p {
  margin-left: auto;
  margin-right: auto;
}

.about-site-page .about-page > div:first-child {
  display: grid;
  justify-items: center;
  text-align: center;
}

.about-site-page .about-page h2,
.about-site-page .about-page > div > p {
  margin-left: auto;
  margin-right: auto;
}

.about-site-page .about-page > div:first-child > p {
  max-width: min(1120px, 100%);
}

.about-site-page .page-section .section-head {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.about-site-page .page-section .section-head h2 {
  margin-left: auto;
  margin-right: auto;
}

.about-site-page .value-card {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.about-site-page .value-card:hover,
.about-site-page .value-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(17, 100, 90, 0.18);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(13, 13, 11, 0.08);
}

.about-site-page .page-feature-card {
  display: grid;
  align-content: start;
  justify-items: center;
  text-align: center;
}

@media (max-width: 760px) {
  .about-site-page .page-hero.header-page-hero {
    margin-top: -62px;
    padding-top: 132px;
  }

  .about-site-page .values-grid {
    grid-template-columns: 1fr;
  }

  .about-site-page .value-card {
    min-height: auto;
    padding: 22px 20px;
  }

  .about-site-page .value-card span {
    margin-bottom: 20px;
  }

  .about-site-page .value-card:hover,
  .about-site-page .value-card:focus-within {
    transform: none;
  }
}

/* Services cards left-aligned editorial layout */
.services-hero-catalog .service-catalog-card {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr;
  justify-items: start;
  text-align: left;
  gap: 20px;
}

.services-hero-catalog .service-catalog-card h3,
.services-hero-catalog .service-catalog-card p {
  grid-column: 1;
}

.services-hero-catalog .service-catalog-card p {
  align-self: start;
}

/* Services lower cards interactions */
.owner-control-list article,
.services-process-list li {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.owner-control-list article:hover,
.owner-control-list article:focus-within,
.services-process-list li:hover,
.services-process-list li:focus-within {
  transform: translateY(-5px);
  border-color: rgba(13, 13, 11, 0.16);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 58px rgba(13, 13, 11, 0.08);
}

.services-process-list span {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 22px;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

@media (prefers-reduced-motion: reduce) {
  .owner-control-list article:hover,
  .owner-control-list article:focus-within,
  .services-process-list li:hover,
  .services-process-list li:focus-within {
    transform: none;
  }
}

/* Services process cards match service catalog numbers */
.services-process-list li {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr;
  justify-items: start;
  align-content: start;
  gap: 20px;
  text-align: left;
}

.services-process-list span {
  margin-bottom: 0;
}

.services-process-list strong {
  margin-bottom: 0;
}

/* Softer hover for service process cards */
.services-process-list li:hover,
.services-process-list li:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(13, 13, 11, 0.055);
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 2500;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.cookie-consent.is-hidden {
  opacity: 0;
  transform: translateY(12px);
}

.cookie-consent-card {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.96);
  color: #fff;
  box-shadow: 0 22px 70px rgba(13, 13, 11, 0.28);
  pointer-events: auto;
}

.cookie-consent-copy {
  display: grid;
  gap: 7px;
}

.cookie-consent-copy strong {
  font-size: 15px;
  line-height: 1.2;
}

.cookie-consent-copy p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-consent-copy a {
  width: max-content;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.cookie-consent-actions .button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
}

.cookie-consent-actions .cookie-refuse {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: #fff;
}

.cookie-consent-actions .cookie-accept {
  border: 1px solid #fff;
  background: #fff;
  color: #111;
}

@media (max-width: 680px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .cookie-consent-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
  }

  .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-consent-actions .button {
    width: 100%;
  }
}
