/* renthouseincincinnati.com — main site stylesheet.
   Order: foundation, owner dashboard, rental layouts, site components and refinements.
   Keep this order when editing: later component rules refine the foundation. */

/* ===== Foundation: typography, controls, navigation and shared components ===== */
:root {
  --paper: #f4f6f9;
  --ink: #172131;
  --muted: #667387;
  --line: #d9dee7;
  --blue: #78a7ff;
  --blue-soft: #e8efff;
  --control-silver-top: #92999f;
  --control-silver-bottom: #626970;
  --control-silver-border: #85858e;
  --control-silver-text: #252a2f;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}

.narrow {
  max-width: 780px;
  text-align: center;
}

.section {
  padding: 104px 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: #9aa9bd;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

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

h1,
h2 {
  letter-spacing: -2.4px;
  line-height: 1.08;
}

h1 em,
h2 em {
  color: var(--blue);
  font-style: normal;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 750;
  transition: 0.2s ease;
}

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

.button-primary {
  color: #0d1724;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(49, 92, 170, 0.2);
}

.button-primary:hover {
  background: #8bb4ff;
}

.button-secondary {
  color: #e2e9f2;
  border-color: #3d4b5e;
  background: rgba(255, 255, 255, 0.03);
}

.button-outline {
  color: var(--ink);
  border-color: #bfc8d5;
  background: transparent;
}

.button-row {
  display: flex;
  gap: 12px;
  margin-top: 31px;
}

.text-link {
  color: #4777cd;
  font-size: 13px;
  font-weight: 800;
}

.site-header {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: white;
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.7px;
}

.brand > span:last-child > span {
  color: var(--blue);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 33px;
  color: #b3bfce;
  font-size: 13px;
  font-weight: 600;
}

.site-nav a:hover {
  color: white;
}

.site-nav .nav-quiet {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px;
  background: white;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 78% 22%, #273955 0, transparent 35%),
    linear-gradient(135deg, #0c131c, #121d29 65%, #162231);
}

.page-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 76px;
  align-items: center;
}

.hero-copy > p {
  max-width: 610px;
  color: #aebac9;
  font-size: 18px;
}

.hero-proof {
  display: flex;
  gap: 24px;
  margin-top: 39px;
  color: #8190a3;
  font-size: 11px;
}

.hero-proof span:before {
  content: "•";
  margin-right: 8px;
  color: var(--blue);
}

.light-section {
  background: var(--paper);
}

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

.section-heading h2 {
  margin: 13px 0;
  font-size: 48px;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  gap: 18px;
}

.feature-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  min-height: 290px;
  padding: 33px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  box-shadow: 0 8px 28px rgba(22, 33, 49, 0.035);
}

.feature-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 35px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #3f67ae;
  background: var(--blue-soft);
  font: 10px var(--mono);
}

.feature-card h3 {
  font-size: 23px;
  letter-spacing: -0.8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
}

.feature-card > a {
  display: inline-block;
  margin-top: 24px;
}

.page-hero {
  padding: 158px 0 92px;
}

.page-hero h1 {
  position: relative;
  margin: 18px 0 25px;
  font-size: 60px;
}

.page-hero p {
  position: relative;
  color: #adb9c8;
  font-size: 18px;
}

.product-hero .two-col {
  position: relative;
}

.product-hero .two-col > div:first-child > p {
  max-width: 600px;
}

.product-list > article {
  display: grid;
  grid-template-columns: 120px 1fr 0.9fr;
  gap: 45px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.product-list > article:first-child {
  padding-top: 0;
}

.product-list h2 {
  font-size: 37px;
}

.product-list p {
  color: var(--muted);
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  margin: 9px 0;
  color: #46556a;
  font-size: 13px;
}

.check-list li:before {
  content: "✓";
  margin-right: 9px;
  color: #557fc9;
  font-weight: 900;
}

.product-visual {
  min-height: 230px;
  padding: 28px;
  border: 1px solid #ccd4df;
  border-radius: 12px;
  background: #e9edf3;
}

.code-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #162231;
}

.code-visual code {
  color: #c5d4ed;
  font: 11px var(--mono);
}

.code-visual span {
  margin-top: 20px;
  padding: 5px 9px;
  border-radius: 4px;
  color: #94b7f6;
  background: #263d5d;
  font: 9px var(--mono);
}

.site-visual {
  background: #dfe5ee;
}

.site-visual > span {
  display: block;
  font-size: 21px;
  font-weight: 750;
}

.site-visual i {
  display: block;
  width: 70%;
  height: 7px;
  margin-top: 17px;
  border-radius: 4px;
  background: #bdc8d7;
}

.site-visual i:nth-of-type(2) {
  width: 50%;
}

.site-visual button {
  margin-top: 34px;
  padding: 9px 13px;
  border: 0;
  border-radius: 5px;
  color: white;
  background: #3e639d;
  font-size: 9px;
}

.docs-page {
  background: #f6f8fb;
}

.docs-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  gap: 72px;
  justify-content: center;
}

.docs-sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
  padding: 48px 0;
}

.docs-sidebar strong {
  display: block;
  margin: 22px 12px 7px;
  color: #98a3b2;
  font-size: 9px;
  letter-spacing: 1.2px;
}

.docs-sidebar a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: #68778c;
  font-size: 12px;
}

.docs-sidebar a:hover {
  color: #315caa;
  background: #e7edf7;
}

.docs-sidebar a span {
  margin-right: 6px;
  color: #537dc4;
  font: 8px var(--mono);
}

.docs-article {
  padding: 64px 0 100px;
}

.form-step {
  color: #567cbf;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 1.5px;
}

.docs-article h2 {
  margin: 8px 0 16px;
  font-size: 40px;
}

.docs-article h3 {
  margin: 45px 0 13px;
  font-size: 23px;
}

.docs-article > p {
  color: #59687c;
}

.docs-article code {
  font-family: var(--mono);
}

.doc-callout {
  margin: 26px 0;
  padding: 20px;
  border-left: 3px solid #7399dc;
  background: #e9eff9;
}

.doc-callout p {
  margin: 5px 0 0;
  color: #637188;
  font-size: 12px;
}

.code-block {
  margin: 27px 0;
  border: 1px solid #334156;
  border-radius: 10px;
  overflow: hidden;
  background: #101822;
  box-shadow: 0 15px 35px rgba(20, 30, 44, 0.13);
}

.code-tabs {
  height: 48px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid #2a3647;
}

.code-tabs button {
  align-self: stretch;
  padding: 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #7e8ca0;
  background: none;
  font-size: 10px;
}

.code-tabs button.active {
  border-color: var(--blue);
  color: white;
}

.code-tabs .copy {
  height: 27px;
  align-self: center;
  margin-left: auto;
  border: 1px solid #3b4b61;
  border-radius: 5px;
}

.code-block pre {
  min-height: 210px;
  margin: 0;
  padding: 26px;
  overflow: auto;
  color: #c3cfde;
  font: 11px/1.9 var(--mono);
  white-space: pre-wrap;
}

.code-block.simple pre {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 14px 18px;
}

.endpoint-list {
  border-top: 1px solid var(--line);
}

.endpoint-list > div {
  padding: 16px 5px;
  display: grid;
  grid-template-columns: 55px 1fr 1fr;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.usage-headers-list > div {
  grid-template-columns: 180px 1fr;
}

.endpoint-list b {
  color: #3e6ab6;
}

.endpoint-list code {
  color: #26364d;
}

.endpoint-list span {
  color: #718096;
}

.next-doc {
  margin-top: 55px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.next-doc span {
  display: block;
  color: #98a4b4;
  font-size: 9px;
}

.anatomy {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.anatomy span {
  flex: 1;
  padding: 20px;
  border-right: 1px solid var(--line);
  background: white;
}

.anatomy span:last-child {
  border: 0;
}

.anatomy b,
.anatomy small {
  display: block;
}

.anatomy b {
  font: 13px var(--mono);
}

.anatomy small {
  margin-top: 4px;
  color: #8490a1;
  font-size: 9px;
}

.status-table {
  border-top: 1px solid var(--line);
}

.status-table div {
  padding: 15px;
  display: grid;
  grid-template-columns: 55px 1fr;
  border-bottom: 1px solid var(--line);
}

.status-table b {
  color: #3e68b1;
}

.status-table span {
  color: #657388;
  font-size: 13px;
}

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

.price-card {
  position: relative;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
}

.price-card.featured-price {
  border: 2px solid #7297d6;
  transform: translateY(-10px);
  box-shadow: 0 25px 55px rgba(41, 67, 108, 0.14);
}

.plan-name {
  color: #617492;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.5px;
}

.price-card h2 {
  margin: 14px 0 7px;
  font-size: 39px;
}

.price-card h2 small {
  font-size: 13px;
  color: #77859a;
  letter-spacing: 0;
}

.price-card p {
  min-height: 53px;
  color: var(--muted);
  font-size: 13px;
}

.price-card > strong {
  font-size: 13px;
}

.price-card ul {
  min-height: 145px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.price-card .button {
  width: 100%;
}

.popular-label {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 20px;
  color: #111b29;
  background: #8eacdf;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1px;
}

.account-page .site-header,
.account-page .site-footer {
  display: none;
}

.form-card,
.success-card {
  padding: 40px;
  border: 1px solid #d8dee7;
  border-radius: 15px;
  color: var(--ink);
  background: white;
  box-shadow: 0 35px 75px rgba(0, 0, 0, 0.3);
}

.form-card h2 {
  margin: 5px 0;
  font-size: 29px;
}

.form-card > p {
  color: #7c899b;
  font-size: 12px;
}

.form-card > p a {
  color: #4773c0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

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

.form-field label {
  display: block;
  margin-bottom: 5px;
  color: #4c5b70;
  font-size: 10px;
  font-weight: 800;
}

.form-field input,
.form-field select {
  width: 100%;
  max-width: none;
  height: 45px;
  padding: 0 12px;
  border: 1px solid #d4dae3;
  border-radius: 7px;
  outline: 0;
  background: #fafbfc;
  font-size: 12px;
}

.form-field input:focus,
.form-field select:focus {
  border-color: #6b92d4;
  box-shadow: 0 0 0 3px rgba(83, 126, 198, 0.13);
}

.check-field {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: #657287;
  font-size: 11px;
}

.check-field input {
  accent-color: #547fc8;
}

.submit-button {
  width: 100%;
  margin-top: 18px;
  border: 0;
}

.form-secure {
  display: block;
  margin-top: 12px;
  text-align: center;
  color: #8a96a7;
  font-size: 9px;
}

.field-validation-error,
.validation-summary {
  display: block;
  color: #b84545;
  font-size: 10px;
}

.input-validation-error {
  border-color: #bd5757 !important;
}

.success-page {
  display: grid;
  place-items: center;
}

.success-page > .shell {
  max-width: 780px;
}

.success-card {
  text-align: center;
}

.success-mark {
  width: 57px;
  height: 57px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #315b9e;
  background: #dfe9fa;
  font-size: 24px;
}

.success-card h1 {
  margin: 12px 0 15px;
  font-size: 39px;
}

.success-card > p {
  color: #657388;
}

.success-card > label {
  display: block;
  margin-top: 31px;
  color: #68778d;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 1.2px;
}

.delivery-note {
  font-size: 11px;
}

.centered-row {
  justify-content: center;
}

.site-footer {
  padding: 30px 0 14px;
  color: #8392a5;
  background: #0b1119;
}

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

.footer-grid p {
  max-width: 280px;
  margin: 7px 0 0;
  font-size: 11px;
  line-height: 1.45;
}

.footer-grid strong,
.footer-grid a {
  display: block;
}

.footer-grid strong {
  margin-bottom: 7px;
  color: #536175;
  font-size: 9px;
  letter-spacing: 1.4px;
}

.footer-grid > div > a:not(.brand) {
  margin: 3px 0;
  font-size: 10px;
  line-height: 1.45;
}

.footer-bottom {
  margin-top: 23px;
  padding-top: 11px;
  border-top: 1px solid #202a37;
  display: flex;
  justify-content: space-between;
  color: #485668;
  font-size: 9px;
}

@media (max-width: 980px) {
  .hero-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy > p {
    margin-inline: auto;
  }

  .button-row,
  .hero-proof {
    justify-content: center;
  }

  .product-list > article {
    grid-template-columns: 90px 1fr;
  }

  .product-visual {
    grid-column: 2;
  }

  .docs-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 35px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 30px, 1180px);
  }

  .section {
    padding: 75px 0;
  }

  .site-header {
    height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 15px;
    right: 15px;
    top: 64px;
    padding: 17px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid #40506a;
    border-radius: 10px;
    background: #141f2c;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 8px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 43px;
  }

  .hero-proof {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .feature-grid.three,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 36px;
  }

  .page-hero {
    padding: 130px 0 70px;
  }

  .product-list > article {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-visual {
    grid-column: auto;
  }

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

  .docs-sidebar {
    position: static;
    padding: 25px 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .docs-sidebar strong {
    grid-column: span 2;
  }

  .docs-article {
    padding-top: 35px;
  }

  .endpoint-list > div {
    grid-template-columns: 50px 1fr;
  }

  .endpoint-list > div span {
    grid-column: 2;
  }

  .usage-headers-list > div {
    grid-template-columns: 180px 1fr;
  }

  .price-card.featured-price {
    transform: none;
  }

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

  .form-card,
  .success-card {
    padding: 27px 20px;
  }

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

  .footer-grid > div:first-child {
    grid-column: span 2;
  }

  .footer-bottom {
    gap: 20px;
  }

  .anatomy {
    flex-direction: column;
  }

  .anatomy span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* API and managed dealer website pricing. */
.pricing-hero .hero-copy {
  max-width: 850px;
}

.pricing-services-section {
  padding-top: 42px;
}

.pricing-page-shell {
  width: min(1240px, calc(100% - 36px));
}

.pricing-service-tabs {
  margin: 0 auto 54px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid rgba(74, 84, 93, 0.24);
  border-radius: 16px;
  background: linear-gradient(145deg, #d8dde1, #abb2b8);
  box-shadow:
    0 16px 34px rgba(26, 32, 37, 0.16),
    inset 0 1px rgba(255, 255, 255, 0.82);
}

.pricing-service-tabs button {
  min-width: 0;
  min-height: 72px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #49535b;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.pricing-service-tabs button span,
.pricing-service-tabs button small {
  display: block;
}

.pricing-service-tabs button span {
  margin-bottom: 4px;
  color: inherit;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -0.2px;
}

.pricing-service-tabs button small {
  color: inherit;
  font-size: 11px;
  font-weight: 650;
  opacity: 0.78;
}

.pricing-service-tabs button.active {
  color: #f4f6f7;
  border-color: #3f474e;
  background:
    radial-gradient(circle at 95% 0, rgba(255, 255, 255, 0.12), transparent 38%),
    linear-gradient(145deg, #4f575f, #2f353a);
  box-shadow:
    0 8px 18px rgba(25, 30, 35, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.16);
}

.pricing-service-tabs button:focus-visible {
  outline: 3px solid rgba(57, 127, 209, 0.26);
  outline-offset: 2px;
}

#api-services-tab,
#dealer-website-tab {
  text-align: center;
}

.pricing-tab-content > .tab-pane {
  display: none;
}

.pricing-tab-content > .tab-pane.active {
  display: block;
}

.pricing-tab-intro,
.pricing-explanation-heading {
  max-width: 850px;
  margin: 0 auto 36px;
  text-align: center;
}

.pricing-tab-intro h2,
.pricing-explanation-heading h2,
.dealer-pricing-final-cta h2 {
  margin: 14px 0 12px;
  color: #1e252a;
  font-size: clamp(28px, 4vw, 43px);
  letter-spacing: -1.7px;
  line-height: 1.08;
}

.pricing-tab-intro p,
.pricing-explanation-heading p,
.dealer-pricing-final-cta p {
  margin: 0;
  color: #707b84;
  font-size: 15px;
  line-height: 1.75;
}

.pricing-tab-content .pricing-plans-grid {
  margin-right: auto;
  margin-left: auto;
}

.dealer-pricing-intro {
  max-width: 940px;
}

.pricing-tab-intro.dealer-pricing-intro h2 {
  color: #fff;
}

.dealer-price-card .plan-metrics strong {
  font-size: 17px;
  letter-spacing: -0.35px;
}

.dealer-plan-features {
  margin: -2px 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
  border: 0 !important;
  list-style: none;
}

.dealer-plan-features li {
  position: relative;
  padding-left: 20px;
  color: #374149;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.dealer-plan-features li:before {
  content: "\2713";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--plan-accent);
  font-weight: 900;
}

.dealer-pricing-final-cta {
  width: min(1120px, calc(100% - 48px));
  margin: 28px auto 0;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid rgba(69, 78, 86, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(circle at 94% 4%, rgba(111, 157, 210, 0.18), transparent 34%),
    linear-gradient(145deg, #eef1f3, #b9c0c6);
  box-shadow:
    0 22px 42px rgba(16, 21, 25, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.92);
}

.dealer-pricing-final-cta .button {
  flex: 0 0 auto;
}

.dealer-cost-section,
.hosting-growth-section,
.dealer-commercial-section {
  width: min(1120px, calc(100% - 48px));
  margin: 82px auto 0;
}

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

.dealer-expense-grid article,
.dealer-commercial-grid article {
  min-width: 0;
  padding: 25px;
  border: 1px solid rgba(74, 84, 93, 0.23);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(190, 197, 203, 0.7));
  box-shadow:
    0 14px 27px rgba(27, 33, 38, 0.12),
    inset 0 1px rgba(255, 255, 255, 0.92);
}

.dealer-expense-grid strong,
.dealer-expense-grid span,
.dealer-expense-grid small {
  display: block;
}

.dealer-expense-grid strong {
  margin-bottom: 9px;
  color: #222a30;
  font-size: 17px;
}

.dealer-expense-grid span {
  min-height: 70px;
  color: #4e5962;
  font-size: 13px;
  line-height: 1.6;
}

.dealer-expense-grid small {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid rgba(74, 84, 93, 0.18);
  color: #354049;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.45;
  text-transform: uppercase;
}

.pricing-cost-note {
  margin: 20px 0 0;
  padding: 20px 22px 20px 68px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(57, 127, 209, 0.28);
  border-radius: 14px;
  color: #59656f;
  background:
    radial-gradient(circle at 100% 0, rgba(57, 127, 209, 0.13), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(205, 212, 218, 0.78));
  box-shadow:
    0 12px 25px rgba(27, 33, 38, 0.1),
    inset 0 1px rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1.65;
}

.pricing-cost-note:before {
  content: "\2713";
  position: absolute;
  top: 20px;
  left: 22px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #5598eb, #397fd1);
  box-shadow: 0 7px 16px rgba(57, 127, 209, 0.28);
  font-size: 14px;
  font-weight: 900;
}

.pricing-cost-note strong,
.pricing-cost-note span {
  display: block;
}

.pricing-cost-note strong {
  margin-bottom: 4px;
  color: #25313a;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -0.15px;
}

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(74, 84, 93, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 34px rgba(27, 33, 38, 0.13);
}

.pricing-explanation-table {
  width: 100%;
  border-collapse: collapse;
  color: #343e46;
}

.pricing-explanation-table th,
.pricing-explanation-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(74, 84, 93, 0.16);
  text-align: left;
  vertical-align: top;
}

.pricing-explanation-table th {
  color: #f3f5f6;
  background: #3b434a;
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.pricing-explanation-table td {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.pricing-explanation-table td:first-child,
.pricing-explanation-table td:nth-child(3) {
  color: #1f272d;
  font-weight: 850;
  white-space: nowrap;
}

.pricing-explanation-table tbody tr:last-child td {
  border-bottom: 0;
}

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

.dealer-commercial-grid h3 {
  margin: 0 0 20px;
  color: #222a30;
  font-size: 23px;
}

.dealer-commercial-grid dl {
  margin: 0;
}

.dealer-commercial-grid dl div {
  padding: 11px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(74, 84, 93, 0.17);
}

.dealer-commercial-grid dt,
.dealer-commercial-grid dd {
  margin: 0;
  color: #3f4a53;
  font-size: 13px;
}

.dealer-commercial-grid dd {
  color: #1f272d;
  font-weight: 850;
}

.dealer-commercial-grid article > p,
.dealer-commercial-grid article > span {
  color: #68747d;
  font-size: 13px;
  line-height: 1.65;
}

.dealer-commercial-grid article > strong {
  margin: 22px 0 9px;
  display: block;
  color: #1c242a;
  font-size: 36px;
  letter-spacing: -1.4px;
}

.dealer-commercial-grid article > strong small {
  margin-left: 4px;
  font-size: 13px;
  letter-spacing: 0;
}

.dealer-pricing-final-cta {
  margin-top: 82px;
  border-color: rgba(74, 84, 93, 0.28);
  background: transparent;
  box-shadow: none;
}

.dealer-pricing-final-cta > div {
  max-width: 760px;
}

.dealer-pricing-final-cta h2 {
  font-size: clamp(27px, 3vw, 37px);
}

@media (max-width: 980px) {
  .dealer-expense-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dealer-pricing-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .pricing-page-shell {
    width: min(100% - 20px, 600px);
  }

  .pricing-service-tabs {
    margin-bottom: 40px;
  }

  .pricing-service-tabs button {
    min-height: 66px;
    padding: 10px 12px;
  }

  .pricing-service-tabs button span {
    font-size: 14px;
  }

  .pricing-service-tabs button small {
    font-size: 9px;
  }

  .dealer-pricing-final-cta,
  .dealer-cost-section,
  .hosting-growth-section,
  .dealer-commercial-section {
    width: min(100% - 10px, 560px);
  }

  .dealer-expense-grid,
  .dealer-commercial-grid {
    grid-template-columns: 1fr;
  }

  .dealer-expense-grid span {
    min-height: 0;
  }

  .pricing-explanation-table,
  .pricing-explanation-table tbody,
  .pricing-explanation-table tr,
  .pricing-explanation-table td {
    display: block;
    width: 100%;
  }

  .pricing-explanation-table thead {
    display: none;
  }

  .pricing-explanation-table tr {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(74, 84, 93, 0.2);
  }

  .pricing-explanation-table tr:last-child {
    border-bottom: 0;
  }

  .pricing-explanation-table td,
  .pricing-explanation-table td:first-child,
  .pricing-explanation-table td:nth-child(3) {
    padding: 8px 0 8px 42%;
    position: relative;
    border: 0;
    white-space: normal;
  }

  .pricing-explanation-table td:before {
    content: attr(data-label);
    position: absolute;
    top: 8px;
    left: 0;
    width: 38%;
    color: #69747d;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.6px;
    text-transform: uppercase;
  }
}

@media (max-width: 460px) {
  .pricing-service-tabs button small {
    display: none;
  }

  .pricing-explanation-table td,
  .pricing-explanation-table td:first-child,
  .pricing-explanation-table td:nth-child(3) {
    padding-left: 0;
  }

  .pricing-explanation-table td:before {
    margin-bottom: 4px;
    display: block;
    position: static;
    width: auto;
  }
}

/* Compact viewport: keep primary content above the fold. */
.section {
  padding: 72px 0;
}

.page-hero {
  padding: 110px 0 42px;
}

.page-hero h1 {
  margin: 10px 0 14px;
  font-size: 48px;
}

.page-hero p {
  margin-bottom: 8px;
  font-size: 16px;
}

.section-heading {
  margin-bottom: 35px;
}

.section-heading h2 {
  font-size: 41px;
}

.feature-card {
  min-height: 225px;
  padding: 27px;
}

.product-list > article {
  padding: 44px 0;
}

.check-list li:before {
  content: "\2713";
}

@media (max-width: 760px) {
  .section {
    padding: 56px 0;
  }

  .page-hero {
    padding: 96px 0 34px;
  }

  .page-hero h1 {
    font-size: 37px;
  }

  .feature-card {
    min-height: 0;
  }

  .product-list > article {
    padding: 34px 0;
  }
}

/* Dealer website product previews. */
.feature-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.storefront-section {
  background: #edf1f6;
}

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

/* Interactive VIN response playground. */
.vin-playground-section {
  background: #edf1f6;
}

.playground-heading {
  max-width: 820px;
}

.vin-playground {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #cbd4e0;
  border-radius: 14px;
  background: white;
  box-shadow: 0 25px 60px rgba(31, 46, 68, 0.12);
}

.vin-demo-form {
  padding: 26px;
  border-right: 1px solid #d5dce6;
  background: #f8fafc;
}

.vin-format-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 7px;
  background: #e7ebf1;
}

.vin-format-tabs button {
  height: 36px;
  border: 0;
  border-radius: 5px;
  color: #65748a;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
}

.vin-format-tabs button.active {
  color: #234a89;
  background: white;
  box-shadow: 0 3px 9px rgba(34, 53, 80, 0.1);
}

.vin-demo-fields {
  margin-top: 20px;
}

.vin-demo-fields label {
  display: block;
  margin-bottom: 14px;
}

.vin-demo-fields label > span {
  display: block;
  margin-bottom: 5px;
  color: #536278;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 1px;
}

.vin-demo-fields label small {
  color: #929dac;
  font-size: 7px;
}

.vin-demo-fields input {
  width: 100%;
  height: 44px;
  padding: 0 11px;
  border: 1px solid #cdd6e1;
  border-radius: 6px;
  outline: 0;
  background: white;
  font: 11px var(--mono);
}

.vin-demo-fields input:focus {
  border-color: #6e94d4;
  box-shadow: 0 0 0 3px rgba(85, 127, 197, 0.12);
}

.vin-demo-fields .button {
  width: 100%;
  border: 0;
}

.vin-endpoint {
  margin-top: 18px;
  padding: 11px;
  border: 1px solid #d7dee8;
  border-radius: 6px;
  background: #eef2f7;
  overflow: auto;
  white-space: nowrap;
}

.vin-endpoint b {
  margin-right: 8px;
  color: #426eb8;
  font: 9px var(--mono);
}

.vin-endpoint code {
  color: #536278;
  font: 8px var(--mono);
}

.vin-demo-response {
  min-width: 0;
  background: #101822;
}

.vin-response-head {
  height: 50px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #2b3748;
  color: #b8c5d5;
}

.vin-response-head > span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.vin-response-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #789bd5;
}

.vin-response-head b {
  font: 10px var(--mono);
}

.vin-response-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vin-response-head em {
  color: #8392a7;
  font: 8px var(--mono);
  font-style: normal;
}

.vin-response-head em.success {
  color: #91addd;
}

.vin-response-head em.error {
  color: #d99090;
}

.vin-response-head button {
  padding: 5px 8px;
  border: 1px solid #3a4960;
  border-radius: 4px;
  color: #9aa9bc;
  background: transparent;
  font-size: 8px;
}

.vin-source-panel {
  height: 420px;
  margin: 0;
  padding: 25px;
  overflow: auto;
  color: #c5d0de;
  background: #101822;
  font: 11px/1.8 var(--mono);
  white-space: pre-wrap;
}

.vin-html-panel {
  height: 420px;
  padding: 18px;
  overflow: auto;
  color: #172131;
  background: white;
}

.html-sample-card {
  padding: 30px;
  border: 1px solid #d9e0e9;
  border-radius: 8px;
  background: #f5f7fa;
}

.html-sample-card span {
  color: #6384bb;
  font-size: 8px;
  letter-spacing: 1px;
}

.html-sample-card h3 {
  margin: 6px 0;
}

.html-sample-card p {
  color: #68768a;
  font-size: 12px;
}

.vin-token-key,
.vin-token-tag {
  color: #8eb1ee;
}

.vin-token-string {
  color: #c0b7f4;
}

.vin-token-number {
  color: #e5b17e;
}

.vin-token-literal {
  color: #d49ab7;
}

/* Live dealer website campaign imagery. */
.digital-showroom-hero {
  background:
    radial-gradient(circle at 78% 22%, #4b4e52 0, transparent 35%),
    linear-gradient(135deg, #17191c, #24272b 65%, #30343a);
}

.digital-showroom-hero h1 em {
  color: #c9cdd2;
}

.digital-showroom-hero .button-primary {
  color: #16181b;
  background: #c7cacf;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.digital-showroom-hero .button-primary:hover {
  background: #dde0e3;
}

.showroom-ad-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid #575b61;
  border-radius: 14px;
  background: #151719;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
  transform: rotate(0.35deg);
}

.showroom-ad-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.live-storefront-capture {
  margin: 0;
  overflow: hidden;
  border: 1px solid #cbd0d6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 25px 60px rgba(40, 42, 45, 0.15);
}

.capture-browser {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #d5d8dc;
  color: #70757b;
  background: #f7f7f8;
  font: 9px var(--mono);
}

.capture-browser > span {
  display: flex;
  gap: 5px;
}

.capture-browser i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #85898e;
}

.capture-browser b {
  margin-left: 8px;
  color: #4d5258;
  font-weight: 500;
}

.capture-browser a {
  margin-left: auto;
  color: #4c5157;
  font-weight: 800;
}

.live-storefront-capture > img {
  display: block;
  width: 100%;
  height: auto;
}

.storefront-rotator {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 9px 9px;
  background: #090a0b;
}

.storefront-slides {
  aspect-ratio: 2.04/1;
}

.storefront-slides img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: storefront-fade 0.45s ease;
}

.storefront-slides img[hidden] {
  display: none;
}

@keyframes storefront-fade {
  from {
    opacity: 0.35;
  }

  to {
    opacity: 1;
  }
}

.storefront-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  color: #fff;
  background: rgba(9, 10, 11, 0.78);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.storefront-control span {
  display: block;
  width: 11px;
  height: 11px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.storefront-control:hover,
.storefront-control:focus-visible {
  color: #111;
  background: #fff;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.storefront-previous {
  left: 16px;
}

.storefront-previous span {
  transform: translateX(2px) rotate(-135deg);
}

.storefront-next {
  right: 16px;
}

.storefront-next span {
  transform: translateX(-2px) rotate(45deg);
}

.storefront-indicators {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 14px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.storefront-indicators button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(9, 10, 11, 0.65);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.storefront-indicators button.active {
  background: #fff;
  transform: scale(1.25);
}

@media (max-width: 600px) {
  .storefront-control {
    width: 34px;
    height: 34px;
  }

  .storefront-control span {
    width: 9px;
    height: 9px;
    border-width: 2px;
  }

  .storefront-previous {
    left: 8px;
  }

  .storefront-next {
    right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .storefront-slides img {
    animation: none;
  }
}

@media (max-width: 760px) {
  .showroom-ad-visual {
    margin-top: 8px;
  }

  .capture-browser b {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

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

  .vin-demo-form {
    border-right: 0;
    border-bottom: 1px solid #d5dce6;
  }

  .vin-demo-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .vin-demo-fields .button {
    grid-column: span 2;
  }

  .vin-demo-fields label {
    margin: 0;
  }
}

@media (max-width: 600px) {
  .vin-demo-fields {
    grid-template-columns: 1fr;
  }

  .vin-demo-fields .button {
    grid-column: auto;
  }

  .vin-source-panel,
  .vin-html-panel {
    height: 340px;
  }

  .vin-response-head b {
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Site-wide graphite scheme derived from the Digital Showroom. */
:root {
  --navy: #111315;
  --navy-2: #191c1f;
  --navy-3: #24282c;
  --slate: #363b40;
  --paper: #f1f2f3;
  --ink: #24272b;
  --muted: #70757b;
  --line: #d6d9dc;
  --blue: #c9cdd2;
  --blue-strong: #73787e;
  --blue-soft: #eceeef;
  --violet: #b9bdc2;
}

body {
  color: var(--ink);
  background: var(--paper);
}

.page-hero {
  background:
    radial-gradient(circle at 78% 22%, #4a4e52 0, transparent 35%),
    linear-gradient(135deg, #151719, #23262a 65%, #30343a);
}

h1 em,
h2 em {
  color: #c9cdd2;
}

.button-primary {
  color: #17191c;
  background: #c7cacf;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.button-primary:hover {
  background: #dfe1e4;
}

.button-outline {
  border-color: #aeb2b7;
}

.text-link,
.form-step,
.endpoint-list b,
.status-table b {
  color: #555b61;
}

.feature-icon {
  color: #4f555b;
  background: #e6e8ea;
}

.check-list li:before {
  color: #666c72;
}

.site-visual button {
  background: #555b61;
}

.docs-sidebar a:hover {
  color: #33373b;
  background: #e4e6e8;
}

.doc-callout {
  border-left-color: #858a90;
  background: #e7e9eb;
}

.code-tabs button.active {
  border-color: #b9bdc2;
}

.popular-label {
  color: #181a1d;
  background: #c7cacf;
}

.price-card.featured-price {
  border-color: #898e94;
  box-shadow: 0 25px 55px rgba(40, 42, 45, 0.14);
}

.success-mark {
  color: #454a50;
  background: #e2e4e6;
}

.form-field input:focus,
.form-field select:focus,
.vin-demo-fields input:focus {
  border-color: #8a8f95;
  box-shadow: 0 0 0 3px rgba(90, 94, 99, 0.12);
}

.vin-playground-section,
.storefront-section {
  background: #eceeef;
}

.vin-format-tabs button.active {
  color: #363b40;
}

.vin-endpoint b {
  color: #555b61;
}

.vin-response-head i {
  background: #969ba1;
}

.vin-response-head em.success {
  color: #bdc1c6;
}

.html-api-visual {
  padding: 0;
  overflow: hidden;
  background: #f5f7fa;
  box-shadow: 0 18px 38px rgba(34, 37, 40, 0.14);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.html-api-visual:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(34, 37, 40, 0.2);
}

.html-api-visual img {
  display: block;
  width: 100%;
  min-height: 230px;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center top;
}

/* Product cards no longer use numbered label columns. */
.product-list > article {
  grid-template-columns: 1fr 0.9fr;
}

@media (max-width: 980px) {
  .product-list > article {
    grid-template-columns: 1fr;
  }

  .product-visual {
    grid-column: auto;
  }
}

/* Site chrome uses the silver avd-panel toggle treatment without hover effects. */
.site-header,
.site-footer {
  color: #172033;
  border-color: #111827;
  background: linear-gradient(180deg, #fff, #aaaab3);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.site-header .brand,
.site-footer .brand,
.site-header .site-nav,
.site-footer a {
  color: #172033;
}

.site-header .brand > span:last-child > span,
.site-footer .brand > span:last-child > span {
  color: #4a525c;
}

.site-header .site-nav a:hover,
.site-footer a:hover {
  color: #172033;
}

.site-header .button-primary,
.site-header .button-primary:hover {
  color: #fff;
  background: #30343a;
  box-shadow: none;
  transform: none;
}

.site-footer .footer-grid strong {
  color: #4b535d;
}

.site-footer .footer-bottom {
  color: #525a64;
  border-top-color: #858b92;
}

.site-header .nav-toggle span {
  background: #172033;
}

@media (max-width: 760px) {
  .site-header .site-nav.open {
    border-color: #111827;
    background: linear-gradient(180deg, #fff, #aaaab3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
}

/* Footer uses the page-hero graphite surface while retaining compact spacing. */
.site-footer {
  position: relative;
  overflow: hidden;
  color: #aeb8c4;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 78% 22%, #4a4e52 0, transparent 35%),
    linear-gradient(135deg, #151719, #23262a 65%, #30343a);
  box-shadow: none;
}

.site-footer:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent);
  pointer-events: none;
}

.site-footer .footer-grid,
.site-footer .footer-bottom {
  position: relative;
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand > span:last-child > span {
  color: #c9cdd2;
}

.site-footer a,
.site-footer a:hover {
  color: #aeb8c4;
}

.site-footer .footer-grid strong {
  color: #7f8a96;
}

.site-footer .footer-bottom {
  color: #707b87;
  border-top-color: #41464c;
}

/* Keep footer typography legible and balanced with the site's 14px supporting copy. */
.site-footer .footer-grid strong {
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.4;
}

.site-footer .footer-grid > div > a:not(.brand) {
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.5;
}

.site-footer .footer-bottom {
  font-size: 12px;
  line-height: 1.5;
}

/* Landing-page rotating dealer platform gallery. */
.landing-showcase {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid #415169;
  border-radius: 14px;
  background: #151719;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
}

.landing-showcase-slides,
.landing-showcase-slide {
  position: absolute;
  inset: 0;
}

.landing-showcase-slide {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.65s ease,
    visibility 0.65s ease;
}

.landing-showcase-slide.active {
  opacity: 1;
  visibility: visible;
}

.landing-showcase-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.landing-showcase-slide:after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(9, 11, 13, 0.86));
}

.landing-showcase-slide > span {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 22px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  color: #fff;
  background: rgba(18, 20, 23, 0.72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.landing-showcase-dots {
  position: absolute;
  z-index: 4;
  right: 19px;
  bottom: 22px;
  display: flex;
  gap: 6px;
}

.landing-showcase-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: rgba(15, 17, 19, 0.55);
}

.landing-showcase-dots button.active {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
}

@media (max-width: 760px) {
  .landing-showcase-slide > span {
    left: 14px;
    bottom: 15px;
  }

  .landing-showcase-dots {
    right: 14px;
    bottom: 17px;
  }
}

/* Composed landing-page presentation using the existing hero content. */
.home-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #151719;
}

.home-page > main {
  min-height: 0;
  display: flex;
  flex: 1;
}

.home-page .hero-grid {
  z-index: 1;
  width: min(1240px, calc(100% - 56px));
  grid-template-columns: 0.82fr 1.18fr;
  gap: 58px;
}

.home-page .hero-copy {
  position: relative;
  padding: 10px 0 12px;
}

.home-page .hero-copy:before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: -28px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    transparent,
    #aeb3b8 18%,
    #fff 48%,
    #787d83 82%,
    transparent
  );
}

.home-page .hero-copy h1 {
  max-width: 570px;
  margin: 22px 0 22px;
  font-size: clamp(46px, 4.45vw, 67px);
  letter-spacing: -3.4px;
  line-height: 0.99;
}

.home-page .hero-copy h1 em {
  display: inline-block;
  color: #c9cdd2;
}

.home-page .hero-copy > p {
  max-width: 555px;
  margin-bottom: 0;
  color: #c0c7d0;
  font-size: 17px;
  line-height: 1.75;
}

.home-page .hero-proof {
  margin-top: 30px;
  gap: 9px;
  flex-wrap: wrap;
}

.home-page .hero-proof span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #c1c8d0;
  background: rgba(12, 14, 16, 0.28);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25px;
}

.home-page .hero-proof span:before {
  content: "\2713";
  margin-right: 7px;
  color: #f0f2f4;
  font-weight: 900;
}

.home-page .landing-showcase {
  border: 7px solid #202327;
  border-radius: 18px;
  outline: 1px solid #5b6168;
  background: #090a0b;
  box-shadow:
    0 38px 85px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px rgba(255, 255, 255, 0.1);
  transform: perspective(1200px) rotateY(-1.5deg);
  transform-origin: center right;
}

.home-page .landing-showcase:before {
  content: "LIVE PLATFORM";
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 14px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  color: #fff;
  background: rgba(12, 14, 16, 0.76);
  font: 8px var(--mono);
  letter-spacing: 1px;
  backdrop-filter: blur(7px);
}

.home-page .landing-showcase-slide > span {
  left: 17px;
  bottom: 17px;
}

.home-page .landing-showcase-dots {
  right: 17px;
  bottom: 19px;
}

.home-page .site-footer {
  margin-top: auto;
}

@media (max-width: 980px) {
  .home-page .hero-grid {
    width: min(760px, calc(100% - 44px));
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .home-page .hero-copy {
    text-align: center;
  }

  .home-page .hero-copy:before {
    display: none;
  }

  .home-page .hero-copy h1,
  .home-page .hero-copy > p {
    margin-inline: auto;
  }

  .home-page .hero-proof {
    justify-content: center;
  }

  .home-page .landing-showcase {
    transform: none;
  }
}

@media (max-width: 600px) {
  .home-page .hero-grid {
    width: min(100% - 28px, 760px);
    gap: 32px;
  }

  .home-page .hero-copy h1 {
    margin: 18px 0;
    font-size: 42px;
    letter-spacing: -2.4px;
  }

  .home-page .hero-copy > p {
    font-size: 15px;
    line-height: 1.65;
  }

  .home-page .hero-proof {
    margin-top: 23px;
  }

  .home-page .landing-showcase {
    border-width: 4px;
    border-radius: 13px;
  }

  .home-page .landing-showcase:before {
    top: 8px;
    left: 9px;
  }

  .home-page .landing-showcase-slide > span {
    max-width: 58%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 8px;
  }
}

/* Inner pages inherit the landing page's graphite, silver, and glass-panel language. */
body:not(.home-page):not(.account-page) {
  background: #151719;
  color: #e7e9eb;
}

body:not(.home-page):not(.account-page) main {
  background:
    radial-gradient(
      circle at 85% 12%,
      rgba(101, 106, 112, 0.16),
      transparent 25%
    ),
    #151719;
}

.page-hero {
  background:
    radial-gradient(
      circle at 80% 24%,
      rgba(119, 124, 130, 0.44) 0,
      transparent 30%
    ),
    radial-gradient(
      circle at 12% 78%,
      rgba(78, 82, 87, 0.23) 0,
      transparent 28%
    ),
    linear-gradient(128deg, #111315 0%, #202327 56%, #353a40 100%);
}

.page-hero > .shell {
  z-index: 1;
}

.page-hero > .shell:not(.two-col) {
  position: relative;
  padding-left: 28px;
}

.page-hero > .shell:not(.two-col):after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    transparent,
    #aeb3b8 18%,
    #fff 48%,
    #787d83 82%,
    transparent
  );
}

.page-hero .eyebrow {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #d5d9dd;
  background: rgba(255, 255, 255, 0.055);
  font-size: 9px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.page-hero h1 {
  letter-spacing: -3px;
}

.page-hero p {
  color: #c0c7d0;
  line-height: 1.75;
}

.light-section,
.storefront-section,
.vin-playground-section,
.docs-page,
.content-section {
  color: #dfe2e5;
  background: transparent;
}

.section-heading p,
.product-list p,
.feature-card p,
.docs-article > p,
.editorial-copy p {
  color: #9fa6ae;
}

.plan-name,
.form-step {
  color: #aeb4ba;
}

.product-list > article {
  border-color: #3b3f44;
}

.product-list h2,
.section-heading h2,
.docs-article h2,
.docs-article h3 {
  color: #f1f2f3;
}

.product-visual,
.feature-card,
.price-card,
.anatomy span {
  border-color: #454a4f;
  color: #e4e6e8;
  background: linear-gradient(
    145deg,
    rgba(53, 57, 62, 0.92),
    rgba(27, 30, 33, 0.96)
  );
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.06);
}

.product-visual {
  padding: 7px;
  border-width: 1px;
}

.product-visual img {
  border-radius: 8px;
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card:after,
.price-card:after,
.contact-card:after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.34),
    transparent
  );
}

.feature-icon {
  color: #eef0f2;
  background: #3d4247;
  border: 1px solid #5b6066;
}

.check-list li {
  color: #b8bec5;
}

.check-list li:before {
  color: #eceeef;
}

.text-link {
  color: #d9dde1;
}

.pricing-section {
  background: transparent;
}

.price-card {
  overflow: visible;
}

.price-card.featured-price {
  border-color: #aeb3b8;
  background: linear-gradient(145deg, #454a4f, #222528);
  box-shadow:
    0 28px 65px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.price-card h2,
.price-card > strong {
  color: #f3f4f5;
}

.price-card h2 small,
.price-card p {
  color: #a1a8b0;
}

.price-card ul {
  border-color: #4a4f54;
}

.popular-label {
  z-index: 2;
  color: #17191c;
  background: #d7dadd;
}

.price-card .button-outline {
  color: #eef0f2;
  border-color: #6d7278;
}

.docs-layout {
  grid-template-columns: 210px minmax(0, 780px);
}

.docs-sidebar strong {
  color: #717981;
}

.docs-sidebar a {
  color: #a1a8b0;
}

.docs-sidebar a:hover {
  color: #f2f3f4;
  background: #292d31;
}

.docs-sidebar a span {
  color: #c5c9cd;
}

.doc-callout {
  color: #dfe2e4;
  border-color: #a9aeb3;
  background: #292d31;
}

.doc-callout p {
  color: #aab0b7;
}

.endpoint-list,
.status-table,
.next-doc {
  border-color: #41464b;
}

.endpoint-list > div,
.status-table div {
  border-color: #41464b;
}

.endpoint-list code,
.endpoint-list b,
.status-table b {
  color: #e1e4e6;
}

.endpoint-list span,
.status-table span,
.next-doc span {
  color: #999fa6;
}

.anatomy {
  border-color: #454a4f;
}

.anatomy span {
  box-shadow: none;
}

.anatomy b {
  color: #f0f2f3;
}

.anatomy small {
  color: #92999f;
}

.code-block,
.vin-playground {
  border-color: #555b61;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
}

.form-card,
.success-card {
  border-color: #575c62;
  color: #e8eaec;
  background: linear-gradient(
    145deg,
    rgba(57, 61, 66, 0.96),
    rgba(26, 29, 32, 0.98)
  );
  box-shadow:
    0 35px 75px rgba(0, 0, 0, 0.45),
    inset 0 1px rgba(255, 255, 255, 0.08);
}

.form-card > p,
.success-card > p,
.delivery-note {
  color: #aab1b8;
}

.form-card > p a {
  color: #e2e5e7;
}

.form-field label,
.check-field,
.success-card > label {
  color: #b8bec5;
}

.form-field input,
.form-field select {
  color: #ecedef;
  border-color: #555b61;
  background: #202327;
}

.form-field input::placeholder {
  color: #747b82;
}

.form-field select option {
  background: #202327;
}

.form-secure {
  color: #8e959c;
}

.success-mark {
  color: #17191c;
  background: #d7dadd;
}

.success-card .button-outline {
  color: #eef0f2;
  border-color: #73787e;
}

.page-hero > .shell.narrow:after {
  display: none;
}

.content-hero {
  padding-bottom: 70px;
}

.content-hero > .shell {
  max-width: 1180px;
}

.content-hero p {
  max-width: 650px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.editorial-grid h2 {
  margin: 14px 0;
  font-size: 44px;
  color: #f1f2f3;
}

.editorial-copy {
  padding: 34px;
  border: 1px solid #44494e;
  border-radius: 14px;
  background: linear-gradient(
    145deg,
    rgba(53, 57, 62, 0.88),
    rgba(27, 30, 33, 0.94)
  );
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.25);
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 30px;
  border: 1px solid #484d52;
  background: #484d52;
}

.value-strip span {
  padding: 17px;
  color: #c6cbd0;
  background: #24272a;
  font-size: 10px;
}

.value-strip b {
  display: block;
  margin-bottom: 8px;
  color: #f2f3f4;
  font: 9px var(--mono);
}

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

.contact-card {
  position: relative;
  overflow: hidden;
  min-height: 315px;
  padding: 38px;
  border: 1px solid #484d52;
  border-radius: 14px;
  background: linear-gradient(
    145deg,
    rgba(58, 62, 67, 0.9),
    rgba(25, 28, 31, 0.96)
  );
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.25);
  transition: 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: #747a80;
}

.contact-index {
  color: #aeb4ba;
  font: 9px var(--mono);
  letter-spacing: 1.3px;
}

.contact-card h2 {
  max-width: 380px;
  margin: 55px 0 14px;
  color: #f2f3f4;
  font-size: 34px;
}

.contact-card p {
  max-width: 460px;
  color: #9fa6ae;
  font-size: 14px;
}

.contact-card strong {
  position: absolute;
  left: 38px;
  bottom: 34px;
  color: #e0e3e5;
  font-size: 12px;
}

.contact-card i {
  margin-left: 8px;
  font-style: normal;
}

.error-hero {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
}

.error-hero > .shell:after {
  display: none;
}

.error-hero p {
  margin-inline: auto;
}

.error-page .site-footer {
  display: none;
}

@media (max-width: 980px) {
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

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

  .page-hero > .shell:not(.two-col) {
    padding-left: 22px;
  }
}

@media (max-width: 760px) {
  .page-hero > .shell:not(.two-col) {
    padding-left: 18px;
  }

  .page-hero > .shell:not(.two-col):after {
    left: 0;
  }

  .content-hero {
    padding-bottom: 45px;
  }

  .editorial-grid h2 {
    font-size: 36px;
  }

  .editorial-copy {
    padding: 24px;
  }

  .value-strip {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: 285px;
    padding: 27px;
  }

  .contact-card h2 {
    margin-top: 40px;
    font-size: 29px;
  }

  .contact-card strong {
    left: 27px;
    bottom: 26px;
  }

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

/* Account authentication and workspace. */
.nav-logout {
  margin: 0;
}

.nav-logout button {
  padding: 8px;
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
  font-weight: 600;
}

.nav-logout button:hover {
  color: #172033;
}

.login-card {
  max-width: 560px;
  width: 100%;
  justify-self: end;
}

.remember-field {
  margin-top: 22px;
}

.validation-summary ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-page main {
  background: #151719;
}

.dashboard-hero {
  padding-bottom: 64px;
}

.dashboard-hero p {
  font: 12px var(--mono);
  letter-spacing: 0.4px;
}

.dashboard-section {
  color: #e5e7e9;
  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(101, 106, 112, 0.16),
      transparent 28%
    ),
    #151719;
}

.status-badge {
  padding: 7px 12px;
  border: 1px solid #666c72;
  border-radius: 999px;
  color: #dde0e3;
  background: #303438;
  font: 9px var(--mono);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

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

.dashboard-grid article {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 28px;
  border: 1px solid #484d52;
  border-radius: 13px;
  background: linear-gradient(
    145deg,
    rgba(58, 62, 67, 0.92),
    rgba(25, 28, 31, 0.97)
  );
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.06);
}

.dashboard-grid article:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.34),
    transparent
  );
}

.dashboard-grid span,
.dashboard-footer span {
  display: block;
  color: #9ca3aa;
  font: 9px var(--mono);
  letter-spacing: 1.25px;
}

.dashboard-grid strong {
  display: block;
  margin: 44px 0 5px;
  color: #f3f4f5;
  font-size: 32px;
  line-height: 1.1;
}

.dashboard-grid small {
  color: #949ba2;
  font-size: 10px;
}

.dashboard-footer {
  margin-top: 18px;
  padding: 25px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border: 1px solid #44494e;
  border-radius: 12px;
  background: #202326;
}

.dashboard-footer strong {
  display: block;
  margin-top: 5px;
  color: #e5e7e9;
  font-size: 13px;
}

@media (max-width: 980px) {
  .login-card {
    justify-self: center;
  }

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

@media (max-width: 760px) {
  .nav-logout button {
    width: 100%;
    padding: 8px;
    text-align: left;
  }

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

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

  .dashboard-grid article {
    min-height: 165px;
  }

  .dashboard-grid strong {
    margin-top: 28px;
  }

  .dashboard-footer .button {
    width: 100%;
  }
}

.admin-hero p {
  font: 12px var(--mono);
  letter-spacing: 0.4px;
}

.admin-customer-panel {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid #44494e;
  border-radius: 13px;
  background: #202326;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

.admin-table-heading {
  padding: 25px 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid #44494e;
}

.admin-table-heading h2 {
  margin: 8px 0 0;
  color: #f1f2f3;
  font-size: 27px;
  letter-spacing: -1px;
}

.admin-table-heading > span {
  color: #9ca3aa;
  font: 10px var(--mono);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.admin-dashboard-page .site-footer {
  border-top-color: #363a3e;
}

@media (max-width: 760px) {
  .admin-table-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

/* Unified hero + light-content structure for public and workspace pages. */
:root {
  --paper: #f8fafc;
  --paper-light: #fbfcfe;
  --light-line: #dfe5ed;
}

.home-page > main {
  display: flex;
  flex-direction: column;
}

.home-platform-section {
  width: 100%;
}

.light-section,
.storefront-section,
.vin-playground-section,
.docs-page,
.content-section,
.dashboard-section {
  color: var(--ink);
  background: var(--paper-light);
}

.light-section .section-heading h2,
.light-section .product-list h2,
.light-section h2,
.docs-page .docs-article h2,
.docs-page .docs-article h3 {
  color: var(--ink);
}

.light-section .section-heading p,
.light-section .product-list p,
.light-section .feature-card p,
.light-section .editorial-copy p,
.docs-page .docs-article > p {
  color: var(--muted);
}

.docs-page .docs-sidebar strong {
  color: #60718a;
}

.light-section .feature-card,
.light-section .price-card,
.light-section .product-visual,
.light-section .anatomy span {
  color: var(--ink);
  border-color: var(--light-line);
  background: #fff;
  box-shadow: 0 14px 36px rgba(26, 39, 58, 0.07);
}

.light-section .feature-card:after,
.light-section .price-card:after,
.light-section .contact-card:after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(84, 111, 151, 0.22),
    transparent
  );
}

.light-section .feature-icon {
  color: #3f67ae;
  border-color: #d9e4f5;
  background: #edf3ff;
}

.light-section .check-list li {
  color: #46556a;
}

.light-section .check-list li:before {
  color: #557fc9;
}

.light-section .text-link {
  color: #4777cd;
}

.light-section .product-list > article {
  border-color: var(--light-line);
}

.pricing-section.light-section {
  background: var(--paper-light);
}

.light-section .price-card.featured-price {
  border-color: #7297d6;
  background: #fff;
  box-shadow: 0 25px 55px rgba(41, 67, 108, 0.14);
}

.light-section .price-card h2,
.light-section .price-card > strong {
  color: var(--ink);
}

.light-section .price-card h2 small,
.light-section .price-card p {
  color: var(--muted);
}

.light-section .price-card ul {
  border-color: var(--light-line);
}

.light-section .price-card .button-outline {
  color: var(--ink);
  border-color: #bfc8d5;
}

.light-section .popular-label {
  color: #111b29;
  background: #8eacdf;
}

.docs-page {
  background: var(--paper-light);
}

.docs-page .docs-sidebar a {
  color: #68778c;
}

.docs-page .docs-sidebar a:hover {
  color: #315caa;
  background: #e7edf7;
}

.docs-page .docs-sidebar a span {
  color: #537dc4;
}

.docs-page .doc-callout {
  color: var(--ink);
  border-color: #7399dc;
  background: #e9eff9;
}

.docs-page .doc-callout p {
  color: #637188;
}

.docs-page .endpoint-list,
.docs-page .status-table,
.docs-page .next-doc {
  border-color: var(--light-line);
}

.docs-page .endpoint-list > div,
.docs-page .status-table div {
  border-color: var(--light-line);
}

.docs-page .endpoint-list code {
  color: #26364d;
}

.docs-page .endpoint-list b,
.docs-page .status-table b,
.docs-page {
  color: #3e68b1;
}

.docs-page .endpoint-list span,
.docs-page .status-table span,
.docs-page .next-doc span {
  color: #718096;
}

.docs-page .anatomy b {
  color: var(--ink);
}

.docs-page .anatomy small {
  color: #8490a1;
}

.content-section .editorial-grid h2 {
  color: var(--ink);
}

.content-section .editorial-copy,
.content-section .contact-card {
  color: var(--ink);
  border-color: var(--light-line);
  background: #fff;
  box-shadow: 0 18px 44px rgba(26, 39, 58, 0.08);
}

.content-section .contact-card:hover {
  border-color: #a9b7c9;
}

.content-section .contact-card h2 {
  color: var(--ink);
}

.content-section .contact-card p {
  color: var(--muted);
}

.content-section .contact-card strong {
  color: #365f9f;
}

.content-section .contact-index {
  color: #60718a;
}

.content-section .value-strip {
  border-color: #dfe5ed;
  background: #dfe5ed;
}

.content-section .value-strip span {
  color: #46556a;
  background: #f2f5f9;
}

.content-section .value-strip b {
  color: #365f9f;
}

.dashboard-page main {
  background: var(--paper-light);
}

.dashboard-section {
  color: var(--ink);
  background: var(--paper-light);
}

.dashboard-section .status-badge {
  color: #40526b;
  border-color: #c9d2de;
  background: #eef2f7;
}

.dashboard-section .dashboard-grid article {
  border-color: var(--light-line);
  background: #fff;
  box-shadow: 0 16px 38px rgba(26, 39, 58, 0.08);
}

.dashboard-section .dashboard-grid article:before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(84, 111, 151, 0.24),
    transparent
  );
}

.dashboard-section .dashboard-grid span,
.dashboard-section .dashboard-footer span {
  color: #718096;
}

.dashboard-section .dashboard-grid strong {
  color: var(--ink);
}

.dashboard-section .dashboard-grid small {
  color: #7d8998;
}

.dashboard-section .dashboard-grid article.payment-required-card {
  border: 2px solid #d52f2f;
  background: linear-gradient(145deg, #fff5f5, #ffe2e2);
  box-shadow:
    0 16px 38px rgba(166, 28, 28, 0.2),
    0 0 0 4px rgba(213, 47, 47, 0.08);
}

.dashboard-section
  .dashboard-grid
  article.payment-required-card
  > span:not(.metric-icon),
.dashboard-section .dashboard-grid article.payment-required-card small {
  color: #982727;
}

.dashboard-section .dashboard-grid article.payment-required-card strong {
  margin-top: 28px;
  color: #7c1717;
}

.dashboard-section .dashboard-grid article.payment-required-card .metric-icon {
  color: #b42323;
  background: rgba(180, 35, 35, 0.13);
}

.dashboard-section .status-badge.payment-required-status {
  color: #8f2020;
  border-color: #e2a0a0;
  background: #fff0f0;
}

.payment-information-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 16px;
  padding: 9px 14px;
  border: 1px solid #7e1717;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(180deg, #bd3030, #991f1f);
  box-shadow: 0 7px 16px rgba(126, 23, 23, 0.22);
  cursor: pointer;
  font: 600 12px var(--sans);
  text-decoration: none;
}

.payment-information-button:hover,
.payment-information-button:focus-visible {
  color: #fff;
  background: linear-gradient(180deg, #a92424, #7e1717);
  outline: 2px solid rgba(165, 35, 35, 0.25);
  outline-offset: 2px;
}

.payment-information-button:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.dashboard-section .dashboard-footer {
  border-color: var(--light-line);
  background: #fff;
}

.dashboard-section .dashboard-footer strong {
  color: var(--ink);
}

.dashboard-section .admin-customer-panel {
  border-color: var(--light-line);
  background: #fff;
  box-shadow: 0 16px 38px rgba(26, 39, 58, 0.08);
}

.dashboard-section .admin-table-heading {
  border-color: var(--light-line);
}

.dashboard-section .admin-table-heading h2 {
  color: var(--ink);
}

.dashboard-section .admin-table-heading > span {
  color: #718096;
}

.account-page .site-header,
.account-page .site-footer {
  display: block;
}

.account-content-section {
  min-height: 0;
}

.account-form-shell {
  max-width: 620px;
}

.wide-form-shell {
  max-width: 860px;
}

.account-content-section .form-card,
.account-content-section .success-card {
  color: var(--ink);
  border-color: var(--light-line);
  background: #fff;
  box-shadow: 0 22px 55px rgba(26, 39, 58, 0.11);
}

.account-content-section .form-card > p,
.account-content-section .success-card > p,
.account-content-section .delivery-note {
  color: var(--muted);
}

.account-content-section .form-card > p a {
  color: #4773c0;
}

.account-content-section .form-field label,
.account-content-section .check-field,
.account-content-section .success-card > label {
  color: #4c5b70;
}

.account-content-section .form-field input,
.account-content-section .form-field select {
  color: var(--ink);
  border-color: #d4dae3;
  background: #fafbfc;
}

.account-content-section .form-field input::placeholder {
  color: #8a96a7;
}

.account-content-section .form-field select option {
  color: var(--ink);
  background: #fff;
}

.account-content-section .form-secure {
  color: #8a96a7;
}

.account-content-section .success-mark {
  color: #315b9e;
  background: #dfe9fa;
}

.account-content-section .success-card .button-outline {
  color: var(--ink);
  border-color: #bfc8d5;
}

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

.error-page .error-hero {
  min-height: 0;
}

.error-page .site-footer {
  display: block;
}

/* Light sections remain in the hero's graphite family instead of white. */
:root {
  --paper: #30343a;
  --paper-light: #30343a;
  --light-line: #555b62;
  --graphite-card: #3b4046;
  --graphite-card-soft: #353a40;
  --graphite-text: #eef0f2;
  --graphite-muted: #b4bbc3;
}

body:not(.home-page):not(.account-page),
body:not(.home-page):not(.account-page) main,
.dashboard-page main {
  background: #30343a;
  color: var(--graphite-text);
}

.light-section,
.storefront-section,
.vin-playground-section,
.docs-page,
.content-section,
.dashboard-section {
  color: var(--graphite-text);
  background: #30343a;
}

.light-section .section-heading h2,
.light-section .product-list h2,
.light-section h2,
.docs-page .docs-article h2,
.docs-page .docs-article h3,
.content-section .editorial-grid h2 {
  color: var(--graphite-text);
}

.light-section .section-heading p,
.light-section .product-list p,
.light-section .feature-card p,
.light-section .editorial-copy p,
.docs-page .docs-article > p,
.content-section .contact-card p {
  color: var(--graphite-muted);
}

.docs-page .docs-sidebar strong,
.content-section .contact-index {
  color: #c5cbd1;
}

.light-section .feature-card,
.light-section .price-card,
.light-section .product-visual,
.light-section .anatomy span,
.content-section .editorial-copy,
.content-section .contact-card,
.dashboard-section .dashboard-grid article,
.dashboard-section .dashboard-footer,
.dashboard-section .admin-customer-panel,
.account-content-section .form-card,
.account-content-section .success-card {
  color: var(--graphite-text);
  border-color: var(--light-line);
  background: var(--graphite-card);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.045);
}

.light-section .feature-icon {
  color: #f0f2f4;
  border-color: #656c74;
  background: #4a5057;
}

.light-section .check-list li {
  color: #d0d5da;
}

.light-section .check-list li:before {
  color: #f0f2f4;
}

.light-section .text-link,
.content-section .contact-card strong {
  color: #e1e5e9;
}

.light-section .product-list > article,
.light-section .price-card ul {
  border-color: var(--light-line);
}

.pricing-section.light-section,
.docs-page {
  background: #30343a;
}

.light-section .price-card.featured-price {
  border-color: #858c94;
  background: #454a50;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.3);
}

.light-section .price-card h2,
.light-section .price-card > strong {
  color: var(--graphite-text);
}

.light-section .price-card h2 small,
.light-section .price-card p {
  color: var(--graphite-muted);
}

.light-section .price-card .button-outline {
  color: var(--graphite-text);
  border-color: #747b83;
}

.docs-page .docs-sidebar a {
  color: #b8bec5;
}

.docs-page .docs-sidebar a:hover {
  color: #fff;
  background: #41464c;
}

.docs-page .docs-sidebar a span {
  color: #e0e4e8;
}

.docs-page .doc-callout {
  color: var(--graphite-text);
  border-color: #a4abb2;
  background: #3c4147;
}

.docs-page .doc-callout p {
  color: var(--graphite-muted);
}

.docs-page .endpoint-list,
.docs-page .status-table,
.docs-page .next-doc,
.docs-page .endpoint-list > div,
.docs-page .status-table div {
  border-color: var(--light-line);
}

.docs-page .endpoint-list code,
.docs-page .endpoint-list b,
.docs-page .status-table b,
.docs-page,
.docs-page .anatomy b {
  color: #e8ebee;
}

.docs-page .endpoint-list span,
.docs-page .status-table span,
.docs-page .next-doc span,
.docs-page .anatomy small {
  color: #aeb5bd;
}

.content-section .contact-card h2 {
  color: var(--graphite-text);
}

.content-section .value-strip {
  border-color: #555b62;
  background: #555b62;
}

.content-section .value-strip span {
  color: #d1d6db;
  background: #353a40;
}

.content-section .value-strip b {
  color: #f0f2f4;
}

.dashboard-section .status-badge {
  color: #edf0f2;
  border-color: #6a7179;
  background: #464b51;
}

.dashboard-section .dashboard-grid span,
.dashboard-section .dashboard-footer span,
.dashboard-section .dashboard-grid small,
.dashboard-section .admin-table-heading > span {
  color: #adb5bd;
}

.dashboard-section .dashboard-grid strong,
.dashboard-section .dashboard-footer strong,
.dashboard-section .admin-table-heading h2 {
  color: var(--graphite-text);
}

.account-content-section .form-card > p,
.account-content-section .success-card > p,
.account-content-section .delivery-note {
  color: var(--graphite-muted);
}

.account-content-section .form-card > p a {
  color: #e2e6ea;
}

.account-content-section .form-field label,
.account-content-section .check-field,
.account-content-section .success-card > label {
  color: #d0d5da;
}

.account-content-section .form-field input,
.account-content-section .form-field select {
  color: #f1f3f5;
  border-color: #60676f;
  background: #30343a;
}

.account-content-section .form-field input::placeholder {
  color: #8f979f;
}

.account-content-section .form-field select option {
  color: #f1f3f5;
  background: #30343a;
}

.account-content-section .form-secure {
  color: #a4acb4;
}

.account-content-section .success-mark {
  color: #20242a;
  background: #d7dadd;
}

.account-content-section .success-card .button-outline {
  color: var(--graphite-text);
  border-color: #747b83;
}

/* Fifty-percent lighter graphite content surfaces and consistent media frames. */
:root {
  --paper: #484e57;
  --paper-light: #484e57;
  --light-line: #737a82;
  --graphite-card: #565d65;
  --graphite-card-soft: #50575f;
  --graphite-muted: #d0d5da;
}

body:not(.home-page):not(.account-page),
body:not(.home-page):not(.account-page) main,
.dashboard-page main,
.light-section,
.storefront-section,
.vin-playground-section,
.docs-page,
.content-section,
.dashboard-section {
  background: #484e57;
}

.light-section .feature-card,
.light-section .price-card,
.light-section .product-visual,
.light-section .anatomy span,
.content-section .editorial-copy,
.content-section .contact-card,
.dashboard-section .dashboard-grid article,
.dashboard-section .dashboard-footer,
.dashboard-section .admin-customer-panel,
.account-content-section .form-card,
.account-content-section .success-card {
  border-color: #737a82;
  background: #565d65;
}

.light-section .price-card.featured-price {
  border-color: #a0a7ae;
  background: #60676f;
}

.docs-page .docs-sidebar a:hover {
  background: #59616a;
}

.docs-page .doc-callout {
  border-color: #b7bdc3;
  background: #565d65;
}

.content-section .value-strip {
  border-color: #737a82;
  background: #737a82;
}

.content-section .value-strip span {
  background: #50575f;
}

.account-content-section .form-field input,
.account-content-section .form-field select,
.account-content-section .form-field select option {
  background: #41474f;
}

.product-visual,
.showroom-ad-visual,
.live-storefront-capture {
  position: relative;
  overflow: hidden;
  border: 7px solid #202327;
  outline: 1px solid #727980;
  border-radius: 17px;
  background: #202327;
  box-shadow:
    0 28px 65px rgba(0, 0, 0, 0.34),
    inset 0 1px rgba(255, 255, 255, 0.08);
}

.product-visual img,
.showroom-ad-visual img,
.live-storefront-capture > img {
  display: block;
  width: 100%;
  border-radius: 9px;
}

.product-visual {
  padding: 0;
}

.html-api-visual {
  background: #202327;
}

.live-storefront-capture .capture-browser {
  border-radius: 9px 9px 0 0;
}

.live-storefront-capture > img {
  border-radius: 0 0 9px 9px;
}

.landing-showcase {
  border: 7px solid #202327;
  outline: 1px solid #727980;
  border-radius: 18px;
  background: #090a0b;
  box-shadow:
    0 38px 85px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.055),
    inset 0 1px rgba(255, 255, 255, 0.09);
}

@media (max-width: 600px) {
  .product-visual,
  .showroom-ad-visual,
  .live-storefront-capture,
  .landing-showcase {
    border-width: 4px;
    border-radius: 13px;
  }
}

/* Compact hero scale shared by every page. */
.page-hero h1 {
  font-size: clamp(34px, 3.5vw, 48px);
  letter-spacing: -2.2px;
  line-height: 1.04;
}

.page-hero h1 em {
  font-size: 0.9em;
}

.home-page .hero-copy h1 {
  max-width: 520px;
  margin: 16px 0 17px;
  font-size: clamp(36px, 3.7vw, 52px);
  letter-spacing: -2.5px;
  line-height: 1.02;
}

.page-hero {
  padding: 92px 0 34px;
}

.content-hero,
.dashboard-hero {
  padding-bottom: 42px;
}

.hero-copy > p,
.page-hero p {
  font-size: 15px;
}

.hero-proof {
  margin-top: 25px;
}

.button-row {
  margin-top: 24px;
}

@media (max-width: 980px) {
  .home-page .hero-grid {
    gap: 34px;
  }
}

@media (max-width: 600px) {
  .page-hero h1,
  .home-page .hero-copy h1 {
    font-size: 32px;
    letter-spacing: -1.8px;
  }

  .page-hero {
    padding-top: 84px;
    padding-bottom: 30px;
  }
}

.text-link {
  font-weight: 500;
}

/* Use the landing-page hero artwork on every hero. */
.page-hero {
  background:
    radial-gradient(
      circle at 80% 24%,
      rgba(119, 124, 130, 0.48) 0,
      transparent 30%
    ),
    radial-gradient(
      circle at 12% 78%,
      rgba(78, 82, 87, 0.28) 0,
      transparent 28%
    ),
    linear-gradient(128deg, #111315 0%, #202327 56%, #353a40 100%);
}

.page-hero:after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.025),
    0 0 0 140px rgba(255, 255, 255, 0.018);
  pointer-events: none;
}

/* Documentation-style hero alignment on every page. */
.page-hero > .shell.narrow {
  max-width: 1180px;
  text-align: left;
}

.page-hero > .shell.narrow:after {
  display: block;
}

.page-hero > .shell.two-col > div:first-child {
  position: relative;
  padding-left: 28px;
}

.page-hero > .shell.two-col > div:first-child:after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    transparent,
    #aeb3b8 18%,
    #fff 48%,
    #787d83 82%,
    transparent
  );
}

.home-page .hero-copy {
  text-align: left;
}

.home-page .hero-copy {
  padding-left: 28px;
}

.home-page .hero-copy:before {
  left: 0;
  display: block;
}

.home-page .hero-copy h1,
.home-page .hero-copy > p {
  margin-left: 0;
  margin-right: 0;
}

.home-page .hero-proof,
.page-hero .centered-row {
  justify-content: flex-start;
}

@media (max-width: 760px) {
  .page-hero > .shell.two-col > div:first-child,
  .home-page .hero-copy {
    padding-left: 18px;
  }
}

/* One consistent hero footprint across the site. */
.page-hero {
  height: 480px;
  min-height: 480px;
  padding: 76px 0 24px;
  display: flex;
  align-items: center;
}

@media (max-width: 980px) {
  .page-hero {
    height: auto;
    min-height: 360px;
    padding: 84px 0 30px;
  }
}

.form-field label,
.account-content-section .form-field label {
  color: #f7f8f9;
  font-size: 14px;
  font-weight: 500;
}

.field-validation-error,
.validation-summary {
  color: #ffb8b8;
  font-weight: 500;
}

.form-step {
  font-size: 14px;
  font-weight: 500;
}

.form-field input,
.account-content-section .form-field input {
  font-size: 14px;
}

h2 {
  letter-spacing: normal !important;
}

h3 {
  letter-spacing: normal !important;
}

h2,
h3 {
  font-weight: 500 !important;
}

/* Inner-page heroes use a compact footprint. */
.page-hero {
  height: auto;
  min-height: 221px;
  padding: 61px 0 16px;
}

.product-hero .showroom-ad-visual {
  max-height: 230px;
}

.product-hero .showroom-ad-visual img {
  height: 100%;
  object-fit: cover;
}

@media (max-width: 980px) {
  .page-hero {
    height: auto;
    min-height: 166px;
    padding: 68px 0 17px;
  }

  .product-hero .showroom-ad-visual {
    max-height: none;
  }
}

.code-tabs button {
  font-size: 14px;
}

.pricing-empty {
  grid-column: 1/-1;
  padding: 45px;
  border: 1px solid var(--light-line);
  border-radius: 13px;
  color: var(--graphite-text);
  background: var(--graphite-card);
  text-align: center;
}

.home-page .section-heading {
  max-width: none;
}

/* Product heroes use their matching solution artwork at landing-hero scale. */
.page-hero.product-hero {
  height: 315px;
  min-height: 315px;
  padding: 15px 0 20px;
}

.product-hero .showroom-ad-visual {
  max-height: 284px;
}

@media (max-width: 980px) {
  .page-hero.product-hero {
    height: auto;
    min-height: 237px;
    padding: 68px 0 24px;
  }

  .product-hero .showroom-ad-visual {
    max-height: none;
  }
}

/* Readable, consistent code typography in documentation and VIN responses. */
.code-block pre,
.vin-source-panel {
  font-size: 14px;
  line-height: 1.9;
}

.vin-response-head b,
.vin-response-head em,
.vin-response-head button {
  font-size: 14px;
}

.vin-html-panel,
.vin-html-panel p {
  font-size: 14px;
}

/* Dealer demo request. */
.hero-proof span:before {
  content: "\2022";
}

.check-list li:before {
  content: "\2713";
}

.demo-request-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 55px;
  align-items: start;
}

.demo-brief {
  padding: 22px 0;
  color: var(--graphite-text);
}

.demo-brief h2 {
  margin: 0 0 16px;
  font-size: 38px;
}

.demo-brief > p {
  color: var(--graphite-muted);
}

.demo-steps {
  margin-top: 34px;
  border-top: 1px solid var(--light-line);
}

.demo-steps article {
  padding: 8px 12px;
  display: block;
  border-bottom: 1px solid var(--light-line);
}

.demo-steps strong,
.demo-steps span {
  display: block;
}

.demo-steps strong {
  font-size: 14px;
  font-weight: 500;
}

.demo-steps span {
  margin-top: 4px;
  color: var(--graphite-muted);
  font-size: 14px;
}

.demo-request-card {
  padding: 38px;
}

.form-field textarea {
  width: 100%;
  max-width: none;
  padding: 12px;
  border: 1px solid #60676f;
  border-radius: 7px;
  outline: 0;
  resize: vertical;
  color: #f1f3f5;
  background: #41474f;
  font: 14px/1.6 var(--sans);
}

.form-field textarea:focus {
  border-color: #aeb4ba;
  box-shadow: 0 0 0 3px rgba(220, 224, 228, 0.12);
}

.form-field select {
  font-size: 14px;
}

.demo-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 980px) {
  .demo-request-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .demo-brief {
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .demo-request-card {
    padding: 25px 20px;
  }

  .demo-brief h2 {
    font-size: 31px;
  }
}

.contact-card {
  min-height: 400px;
}

.contact-card .contact-index {
  font-size: 12px;
  line-height: 1.4;
}

.contact-card p {
  font-size: 16px;
  line-height: 1.65;
}

.contact-card strong {
  font-size: 14px;
}

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

  .contact-card {
    min-height: 380px;
  }
}

/* About page editorial story and audience cards. */
.about-editorial-copy > p {
  font-size: 16px;
  line-height: 1.75;
}

.about-values span {
  font-size: 14px;
  line-height: 1.55;
}

.about-values b {
  font-size: 12px;
  line-height: 1.4;
}

.about-capabilities-section {
  padding-top: 0;
}

.about-section-heading {
  max-width: 800px;
}

.about-section-heading > p {
  font-size: 16px;
  line-height: 1.7;
}

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

.about-card {
  min-height: 330px;
  padding: 38px;
  border: 1px solid var(--light-line);
  border-radius: 14px;
  background: var(--graphite-card);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.045);
}

.about-card h2 {
  margin: 30px 0 14px;
  color: var(--graphite-text);
  font-size: 34px;
  letter-spacing: -1.4px;
}

.about-card p {
  color: var(--graphite-muted);
  font-size: 16px;
  line-height: 1.7;
}

.about-contact {
  margin-top: 18px;
  padding: 25px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--light-line);
  border-radius: 12px;
  background: var(--graphite-card-soft);
}

.about-contact p {
  margin: 0;
  color: var(--graphite-text);
  font-size: 16px;
}

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

  .about-card {
    min-height: 0;
    padding: 27px;
  }

  .about-card h2 {
    font-size: 29px;
  }

  .about-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-contact .site-cta {
    width: 100%;
  }
}

/* Reusable colorful interface icons. */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.color-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  border: 1px solid currentColor;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.color-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-blue {
  color: #8fc0ff;
  background: rgba(63, 134, 238, 0.14);
}

.icon-teal {
  color: #79e2d2;
  background: rgba(85, 214, 194, 0.12);
}

.icon-violet {
  color: #c3b9ff;
  background: rgba(169, 156, 255, 0.13);
}

.title-with-icon {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 17px;
}

.title-with-icon h2 {
  margin: 0;
}

.contact-icon {
  position: absolute;
  top: 32px;
  right: 34px;
}

.contact-card:hover .contact-icon,
.price-card:hover .plan-icon {
  transform: translateY(-3px) rotate(-2deg);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.price-card .plan-icon {
  position: absolute;
  top: 31px;
  right: 28px;
  width: 42px;
  height: 42px;
  flex-basis: 42px;
}

.price-card:nth-of-type(3n + 1) .plan-icon {
  color: #8fc0ff;
  background: rgba(63, 134, 238, 0.14);
}

.price-card:nth-of-type(3n + 2) .plan-icon {
  color: #79e2d2;
  background: rgba(85, 214, 194, 0.13);
}

.price-card:nth-of-type(3n + 3) .plan-icon {
  color: #ffd091;
  background: rgba(255, 189, 105, 0.13);
}

.dashboard-grid .metric-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  flex: 0 0 40px;
  border-radius: 11px;
}

.dashboard-grid .metric-icon svg {
  width: 21px;
  height: 21px;
}

.dashboard-grid article:nth-child(4n + 1) .metric-icon {
  color: #8fc0ff;
  background: rgba(63, 134, 238, 0.14);
}

.dashboard-grid article:nth-child(4n + 2) .metric-icon {
  color: #79e2d2;
  background: rgba(85, 214, 194, 0.13);
}

.dashboard-grid article:nth-child(4n + 3) .metric-icon {
  color: #ffd091;
  background: rgba(255, 189, 105, 0.13);
}

.dashboard-grid article:nth-child(4n + 4) .metric-icon {
  color: #c3b9ff;
  background: rgba(169, 156, 255, 0.13);
}

.landing-feature-icon {
  margin-bottom: 30px;
  box-shadow: 0 12px 28px rgba(20, 24, 29, 0.18);
}

.feature-card:hover .landing-feature-icon {
  transform: translateY(-3px) rotate(-2deg);
  box-shadow: 0 16px 32px rgba(20, 24, 29, 0.24);
}

/* Landing-page feature cards share the silver dashboard treatment. */
.home-page .feature-card {
  border-color: #aeb4ba;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.32);
}

.home-page .feature-card h3 {
  color: #111518;
}

.home-page .feature-card p {
  color: #293037;
}

.home-page .feature-card .text-link {
  color: #171c20;
}

/* Dealer-demo form card shares the silver surface treatment. */
.account-content-section .form-card.demo-request-card {
  color: #111518;
  border-color: #aeb4ba;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.32);
}

.demo-request-card h2,
.demo-request-card .form-step {
  color: #111518;
}

.demo-request-card .form-field label {
  color: #252b31;
}

.demo-request-card .form-secure {
  color: #293037;
}

.demo-request-card .field-validation-error,
.demo-request-card .validation-summary {
  color: #5f1717;
  font-weight: 700;
}

@media (max-width: 600px) {
  .title-with-icon {
    align-items: flex-start;
  }

  .color-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .contact-icon {
    top: 25px;
    right: 24px;
  }
}

/* Documentation shortcuts mirror the numbered brief on the dealer demo page. */
.docs-article > h2:first-child {
  margin-top: 0;
}

.docs-sample-actions {
  margin: -4px 0 10px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.docs-sample-actions .text-link {
  margin: 0;
}

.html-widget-render-panel {
  max-height: 720px;
  min-height: 240px;
  overflow: auto;
  color: #617086;
  background: #fff;
}

.html-widget-render-panel > [data-state="loading"],
.html-widget-render-panel > [data-state="error"] {
  min-height: 240px;
  padding: 30px;
  display: grid;
  place-items: center;
}

.html-widget-render-panel > [data-state="error"] {
  color: #b42318;
  background: #fff2f0;
}

.docs-header-actions {
  margin-top: 26px;
}

.vin-html-docs .text-link {
  display: inline-block;
  margin-top: 12px;
}

.docs-code-tall pre {
  max-height: 580px;
}

.docs-event-list > div {
  grid-template-columns: 55px minmax(180px, 1fr) 1fr;
}

.vin-widget-demo {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--light-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(17, 25, 35, 0.1);
}

.vin-widget-live-heading {
  margin-top: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.vin-widget-live-heading span {
  color: #4777c7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.vin-widget-live-heading h3 {
  margin: 7px 0 5px;
}

.vin-widget-live-heading p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.vin-widget-live-heading .button {
  flex: 0 0 auto;
}

.vin-widget-live-status {
  min-height: 18px;
  margin: 13px 0 -10px;
  color: #64748b;
  font-size: 12px;
}

.vin-widget-live-status.success {
  color: #18734a;
}
.vin-widget-live-status.error {
  color: #b42318;
}

.vin-widget-report {
  min-height: 210px;
  padding: 22px;
  color: #64748b;
}

.vin-widget-report[data-state="loading"] {
  display: grid;
  place-items: center;
  background: linear-gradient(110deg, #f4f7fb 20%, #e9eef6 40%, #f4f7fb 60%);
  background-size: 220% 100%;
  animation: vin-widget-loading 1.4s linear infinite;
}

.vin-widget-report[data-state="error"] {
  min-height: 90px;
  color: #b42318;
  background: #fff2f0;
}

.vin-widget-report[data-state="ready"] {
  padding: 0;
  color: inherit;
}

@keyframes vin-widget-loading {
  to {
    background-position-x: -220%;
  }
}

@media (max-width: 600px) {
  .vin-widget-live-heading {
    align-items: stretch;
    flex-direction: column;
  }
}

.docs-layout {
  grid-template-columns: 340px minmax(0, 780px);
  gap: 50px;
  align-items: start;
}

.docs-sidebar.docs-brief {
  position: sticky;
  top: 94px;
  z-index: 2;
  align-self: start;
  padding: 48px 0 70px;
  color: var(--graphite-text);
}

.docs-brief > p {
  color: var(--graphite-muted);
}

.docs-steps {
  margin-top: 34px;
  border-top: 1px solid var(--light-line);
}

.docs-page .docs-sidebar .docs-steps a {
  display: block;
  border-bottom: 1px solid var(--light-line);
  color: var(--graphite-text);
  transition:
    padding-left 0.2s ease,
    color 0.2s ease;
}

.docs-page .docs-sidebar .docs-steps a:hover,
.docs-page .docs-sidebar .docs-steps a.active {
  padding-left: 6px;
  color: #fff;
}

.docs-steps a.active {
  box-shadow: inset 2px 0 #8fc0ff;
}

.docs-page .docs-sidebar .docs-steps a > span {
  margin: 0;
  display: block;
  color: inherit;
  font: inherit;
}

.docs-page .docs-sidebar .docs-steps strong,
.docs-page .docs-sidebar .docs-steps small {
  display: block;
}

.docs-page .docs-sidebar .docs-steps strong {
  margin: 0;
  color: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
}

.docs-page .docs-sidebar .docs-steps small {
  margin-top: 4px;
  color: var(--graphite-muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .docs-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 30px;
  }
}

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

  .docs-sidebar.docs-brief {
    position: static;
    padding: 28px 0 0;
  }

  .docs-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .docs-page .docs-sidebar .docs-steps a:hover,
  .docs-page .docs-sidebar .docs-steps a.active {
    padding-left: 6px;
  }
}

@media (max-width: 540px) {
  .docs-steps {
    grid-template-columns: 1fr;
  }
}

/* Shared page-level action buttons. */
.button.site-cta {
  min-height: 46px;
  padding: 0 16px 0 19px;
  border: 1px solid #707983;
  border-radius: 9px;
  color: #f4f6f8;
  background: linear-gradient(135deg, #4f575f, #30363c);
  box-shadow:
    0 10px 24px rgba(16, 19, 23, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.13);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button.site-cta span {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.button.site-cta i {
  margin-left: 3px;
  color: #cbd2d9;
  font-size: 18px;
  font-style: normal;
  line-height: 1;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.button.site-cta:hover {
  border-color: #9099a2;
  color: #fff;
  background: linear-gradient(135deg, #5c656e, #383f46);
  box-shadow:
    0 14px 29px rgba(16, 19, 23, 0.27),
    inset 0 1px rgba(255, 255, 255, 0.17);
  transform: translateY(-2px);
}

.button.site-cta:hover i {
  color: #fff;
  transform: translateX(3px);
}

.product-list .site-cta {
  margin-top: 17px;
}

.next-doc .site-cta {
  margin-top: 10px;
}

/* Keep the two primary solutions together as a balanced product pair. */
.solutions-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: stretch;
}

.solutions-product-grid > article,
.solutions-product-grid > article:first-child {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-bottom: 0;
}

.solutions-product-grid > article > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.solutions-product-grid > article .site-cta {
  margin-top: auto;
}

.light-section .solutions-product-grid .check-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.light-section .solutions-product-grid .check-list li:before {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0;
  color: #fff;
  border: 1px solid #163d78;
  border-radius: 50%;
  background: #2459a9;
  box-shadow:
    0 3px 9px rgba(25, 67, 130, 0.3),
    inset 0 1px rgba(255, 255, 255, 0.32);
  font-size: 14px;
  line-height: 1;
}

.light-section
  .solutions-product-grid
  > article:nth-child(2)
  .check-list
  li:before {
  border-color: #713600;
  background: #9a4d00;
  box-shadow:
    0 3px 9px rgba(113, 54, 0, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.3);
}

.solutions-product-grid .product-visual {
  width: 100%;
  max-width: 440px;
  min-height: 0;
  margin-inline: 0;
  align-self: flex-start;
}

.solutions-product-grid .solutions-product-image {
  width: 100%;
  max-width: none;
  height: auto;
  max-height: none;
  min-height: 0;
  margin: 0;
  aspect-ratio: 3/2;
  object-fit: cover;
}

@media (max-width: 820px) {
  .solutions-product-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }
}

.site-header .site-nav .site-cta:hover {
  border-color: #707983;
  color: #f4f6f8;
  background: linear-gradient(135deg, #4f575f, #30363c);
  box-shadow:
    0 10px 24px rgba(16, 19, 23, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.13);
  transform: none;
}

.site-header .site-nav .site-cta:hover i {
  color: #cbd2d9;
  transform: none;
}

/* Standalone pricing cards. */
.pricing-plans-grid {
  width: min(1120px, calc(100% - 48px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.pricing-plans-grid .price-card {
  --plan-accent: #5598eb;
  --plan-accent-soft: rgba(85, 152, 235, 0.18);
  min-width: 0;
  min-height: 430px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  overflow: visible;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  color: #f5f7f9;
  background:
    radial-gradient(circle at 100% 0, var(--plan-accent-soft), transparent 36%),
    linear-gradient(155deg, #2d3339 0%, #181c20 100%);
  box-shadow:
    0 24px 52px rgba(8, 11, 14, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.08);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.pricing-plans-grid .price-card:nth-child(3n + 2) {
  --plan-accent: #20a58f;
  --plan-accent-soft: rgba(32, 165, 143, 0.17);
}

.pricing-plans-grid .price-card:nth-child(3n + 3) {
  --plan-accent: #d48925;
  --plan-accent-soft: rgba(212, 137, 37, 0.18);
}

.pricing-plans-grid .price-card:hover {
  z-index: 2;
  transform: translateY(-7px);
  border-color: var(--plan-accent);
  box-shadow:
    0 32px 70px rgba(8, 11, 14, 0.4),
    0 0 0 4px var(--plan-accent-soft),
    inset 0 1px rgba(255, 255, 255, 0.1);
}

.pricing-plans-grid .price-card:after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 28px;
  right: 28px;
  top: 0;
  height: 5px;
  border-radius: 0 0 8px 8px;
  background: var(--plan-accent);
  box-shadow: 0 5px 18px var(--plan-accent-soft);
}

.pricing-plans-grid .price-card h2 {
  margin: 46px 0 10px;
  color: #fff;
  font-size: clamp(42px, 4vw, 54px);
  letter-spacing: -2.8px;
  line-height: 0.98;
}

.pricing-plans-grid .price-card h2 small {
  margin-left: 4px;
  color: #aeb7c0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.pricing-plans-grid .price-card > p {
  min-height: 64px;
  margin: 0 0 22px;
  color: #b8c0c8;
  font-size: 14px;
  line-height: 1.6;
}

.pricing-plans-grid .plan-metrics {
  margin-bottom: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055);
}

.pricing-plans-grid .plan-metrics > div {
  min-width: 0;
  padding: 17px 16px;
}

.pricing-plans-grid .plan-metrics > div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.pricing-plans-grid .plan-metrics span {
  display: block;
  margin-bottom: 7px;
  overflow: hidden;
  color: #a6afb8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.15px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-plans-grid .plan-metrics strong {
  display: block;
  color: #fff;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.7px;
}

.pricing-plans-grid .price-card .plan-icon {
  color: var(--plan-accent);
  border: 1px solid var(--plan-accent-soft);
  background: var(--plan-accent-soft);
}

.pricing-plans-grid .price-card .button {
  margin-top: auto;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 850;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.pricing-plans-grid .price-card .button-outline {
  color: #f4f6f8;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.055);
}

.pricing-plans-grid .price-card .button-outline:hover {
  color: #101418;
  border-color: var(--plan-accent);
  background: var(--plan-accent);
}

.pricing-plans-grid .price-card .button-primary {
  color: #101418;
  border-color: var(--plan-accent);
  background: var(--plan-accent);
}

@media (max-width: 980px) {
  .pricing-plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .pricing-plans-grid {
    width: min(100% - 30px, 560px);
    grid-template-columns: 1fr;
  }

  .pricing-plans-grid .price-card {
    min-height: 0;
  }
}

/* Signed-in customers can identify the plan attached to their subscription. */
.light-section .price-card.current-plan {
  z-index: 2;
  border: 2px solid var(--plan-accent);
  box-shadow:
    0 28px 65px rgba(8, 11, 14, 0.38),
    0 0 0 5px var(--plan-accent-soft),
    inset 0 1px rgba(255, 255, 255, 0.1);
}

.price-card.current-plan .plan-icon {
  color: var(--plan-accent);
  background: var(--plan-accent-soft);
}

.current-plan-label {
  color: #172131;
  background: #9bc6fb;
}

.pricing-plans-grid .popular-label {
  padding: 7px 15px;
  color: #101418;
  background: var(--plan-accent);
  box-shadow: 0 8px 20px var(--plan-accent-soft);
  letter-spacing: 1.25px;
}

.light-section .price-card .current-plan-button {
  color: #172131;
  background: #a9ceff;
  box-shadow: 0 12px 28px rgba(36, 76, 130, 0.25);
}

.light-section .price-card .current-plan-button:hover {
  background: #bddbff;
}

.pricing-plans-grid .price-card.featured-price {
  z-index: 1;
  border-color: var(--plan-accent);
  box-shadow:
    0 28px 58px rgba(8, 11, 14, 0.38),
    0 0 0 4px var(--plan-accent-soft),
    inset 0 1px rgba(255, 255, 255, 0.1);
  transform: none;
}

@media (max-width: 760px) {
  .pricing-plans-grid .price-card.featured-price {
    transform: none;
  }
}

.pricing-plans-grid .plan-name {
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #eef2f5;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1px;
  line-height: 1;
}

.pricing-plans-grid .plan-name:before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--plan-accent);
  box-shadow: 0 0 0 3px var(--plan-accent-soft);
}

/* Keep pricing text legible if later light-section rules are extended. */
.pricing-section.light-section .pricing-plans-grid .price-card,
.pricing-section.light-section .pricing-plans-grid .price-card.featured-price,
.pricing-section.light-section .pricing-plans-grid .price-card.current-plan {
  color: #f5f7f9;
  background:
    radial-gradient(circle at 100% 0, var(--plan-accent-soft), transparent 36%),
    linear-gradient(155deg, #2d3339 0%, #181c20 100%);
}

.pricing-section .pricing-plans-grid .price-card h2 {
  color: #fff;
}

.pricing-section .pricing-plans-grid .plan-name {
  color: #eef2f5;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.075);
}

/* Dashboard-inspired pricing panels. */
.pricing-section.light-section .pricing-plans-grid .price-card {
  --plan-accent-rgb: 57, 127, 209;
  border: 1px solid rgba(224, 229, 233, 0.78);
  border-radius: 16px;
  color: #20272d;
  background:
    radial-gradient(circle at 92% 8%, rgba(var(--plan-accent-rgb), 0.2), transparent 34%),
    linear-gradient(145deg, #eef1f3 0%, #c9ced2 48%, #a6adb3 100%);
  box-shadow:
    0 22px 42px rgba(16, 21, 25, 0.23),
    0 3px 8px rgba(16, 21, 25, 0.12),
    inset 0 1px rgba(255, 255, 255, 0.95),
    inset 0 -1px rgba(55, 62, 68, 0.14);
  transition: none;
}

.pricing-section.light-section .pricing-plans-grid .price-card:nth-child(3n + 2) {
  --plan-accent-rgb: 20, 129, 111;
}

.pricing-section.light-section .pricing-plans-grid .price-card:nth-child(3n + 3) {
  --plan-accent-rgb: 182, 106, 23;
}

.pricing-section.light-section .pricing-plans-grid .price-card:hover {
  z-index: auto;
  border-color: rgba(224, 229, 233, 0.78);
  box-shadow:
    0 22px 42px rgba(16, 21, 25, 0.23),
    0 3px 8px rgba(16, 21, 25, 0.12),
    inset 0 1px rgba(255, 255, 255, 0.95),
    inset 0 -1px rgba(55, 62, 68, 0.14);
  transform: none;
}

.pricing-section.light-section .pricing-plans-grid .price-card:after {
  right: 20px;
  left: 20px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--plan-accent), transparent);
  box-shadow: 0 1px 8px rgba(var(--plan-accent-rgb), 0.4);
}

.pricing-section.light-section .pricing-plans-grid .price-card h2,
.pricing-section.light-section .pricing-plans-grid .price-card > strong,
.pricing-section.light-section .pricing-plans-grid .plan-metrics strong {
  color: #111619;
  text-shadow: 0 1px rgba(255, 255, 255, 0.7);
}

.pricing-section.light-section .pricing-plans-grid .price-card h2 small,
.pricing-section.light-section .pricing-plans-grid .price-card > p,
.pricing-section.light-section .pricing-plans-grid .plan-metrics span {
  color: #5f6b75;
}

.pricing-section.light-section .pricing-plans-grid .plan-name {
  color: #303940;
  border-color: rgba(74, 84, 93, 0.24);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.72);
}

.pricing-section.light-section .pricing-plans-grid .plan-metrics {
  border-color: rgba(74, 84, 93, 0.22);
  background: rgba(255, 255, 255, 0.3);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.72),
    0 1px 2px rgba(35, 42, 48, 0.08);
}

.pricing-section.light-section .pricing-plans-grid .plan-metrics > div + div {
  border-top-color: rgba(74, 84, 93, 0.22);
}

.pricing-section.light-section .pricing-plans-grid .price-card .plan-icon {
  color: var(--plan-accent);
  border-color: rgba(var(--plan-accent-rgb), 0.3);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.74),
    rgba(var(--plan-accent-rgb), 0.11)
  );
  box-shadow:
    0 9px 20px rgba(var(--plan-accent-rgb), 0.18),
    inset 0 1px rgba(255, 255, 255, 0.9);
  transition: none;
}

.pricing-section.light-section .pricing-plans-grid .price-card:hover .plan-icon {
  box-shadow:
    0 9px 20px rgba(var(--plan-accent-rgb), 0.18),
    inset 0 1px rgba(255, 255, 255, 0.9);
  transform: none;
}

.pricing-section.light-section .pricing-plans-grid .price-card.featured-price,
.pricing-section.light-section .pricing-plans-grid .price-card.current-plan {
  border-color: rgba(var(--plan-accent-rgb), 0.65);
  background:
    radial-gradient(circle at 92% 8%, rgba(var(--plan-accent-rgb), 0.25), transparent 36%),
    linear-gradient(145deg, #f4f6f7 0%, #d0d5d9 48%, #adb4ba 100%);
  box-shadow:
    0 28px 58px rgba(16, 21, 25, 0.3),
    0 0 0 3px rgba(var(--plan-accent-rgb), 0.14),
    inset 0 1px rgba(255, 255, 255, 0.98),
    inset 0 -1px rgba(55, 62, 68, 0.14);
  transform: none;
}

.pricing-section.light-section .pricing-plans-grid .price-card.featured-price:hover,
.pricing-section.light-section .pricing-plans-grid .price-card.current-plan:hover {
  border-color: rgba(var(--plan-accent-rgb), 0.65);
  box-shadow:
    0 28px 58px rgba(16, 21, 25, 0.3),
    0 0 0 3px rgba(var(--plan-accent-rgb), 0.14),
    inset 0 1px rgba(255, 255, 255, 0.98),
    inset 0 -1px rgba(55, 62, 68, 0.14);
}

.pricing-section.light-section .pricing-plans-grid .price-card.featured-price:hover {
  z-index: 1;
  transform: none;
}

.pricing-section.light-section .pricing-plans-grid .price-card.current-plan:hover {
  z-index: 2;
}

@media (max-width: 760px) {
  .pricing-section.light-section .pricing-plans-grid .price-card.featured-price:hover {
    transform: none;
  }
}

.pricing-section.light-section .pricing-plans-grid .popular-label {
  color: #fff;
  background: var(--plan-accent);
  box-shadow: 0 8px 18px rgba(var(--plan-accent-rgb), 0.28);
}

/* Section eyebrows use a compact silver pill. */
.eyebrow,
.page-hero .eyebrow {
  padding: 7px 11px;
  border: 1px solid #b7bdc3;
  border-radius: 999px;
  color: #20262b;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.34);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.admin-table-heading .eyebrow {
  background: #858c93;
}

/* Hero labels use an instrument-panel treatment distinct from section eyebrows. */
.site-hero .hero-copy > .eyebrow {
  display: inline-flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  min-height: 40px;
  padding: 10px 48px 10px 48px;
  overflow: hidden;
  border: 1px solid rgba(224, 228, 231, 0.42);
  border-radius: 8px;
  color: #f2f4f5;
  background:
    linear-gradient(90deg, transparent, rgba(229, 233, 236, 0.52), transparent)
      bottom/100% 1px no-repeat,
    linear-gradient(105deg, rgba(255, 255, 255, 0.14), transparent 45%),
    repeating-linear-gradient(
      0deg,
      transparent 0 6px,
      rgba(255, 255, 255, 0.025) 6px 7px
    ),
    rgba(24, 28, 32, 0.76);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.24),
    inset 0 0 0 3px rgba(255, 255, 255, 0.025),
    inset 0 1px rgba(255, 255, 255, 0.15);
  font: 800 10px/1.3 var(--mono);
  letter-spacing: 1.85px;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.site-hero .hero-copy > .eyebrow:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 15px;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(238, 241, 243, 0.7);
  border-radius: 5px;
  background: linear-gradient(135deg, #dfe3e6 0 42%, #747b82 43% 100%);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.045),
    0 0 15px rgba(224, 229, 233, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.65);
  transform: translateY(-50%);
}

.site-hero .hero-copy > .eyebrow:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 19px;
  height: 13px;
  background: repeating-linear-gradient(
    90deg,
    #d9dde0 0 3px,
    transparent 3px 7px
  );
  filter: drop-shadow(0 0 5px rgba(224, 229, 233, 0.28));
  opacity: 0.8;
  transform: translateY(-50%);
}

@media (max-width: 600px) {
  .site-hero .hero-copy > .eyebrow {
    min-height: 34px;
    max-width: 100%;
    padding: 8px 38px 8px 40px;
    font-size: 8px;
    letter-spacing: 1.25px;
  }

  .site-hero .hero-copy > .eyebrow:before {
    left: 12px;
    width: 15px;
    height: 15px;
  }

  .site-hero .hero-copy > .eyebrow:after {
    right: 12px;
    width: 15px;
  }
}

/* Every page hero shares one content structure and alignment system. */
.site-hero > .site-hero-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 44px));
  padding-left: 0;
}

.site-hero > .site-hero-shell:not(.two-col) {
  display: flex;
  align-items: center;
}

.site-hero .hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 780px;
  padding-left: 28px;
  text-align: left;
}

.site-hero .hero-copy:before {
  content: "";
  display: block;
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    transparent,
    #aeb3b8 18%,
    #fff 48%,
    #787d83 82%,
    transparent
  );
}

.site-hero .hero-copy h1 {
  width: max-content;
  max-width: 100%;
  margin: 16px 0 17px;
  overflow: hidden;
  font-size: clamp(24px, 2.4vw, 38px);
  letter-spacing: -1.8px;
  line-height: 1.04;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-hero .site-hero-shell.two-col .hero-copy h1 {
  font-size: clamp(24px, 2.2vw, 34px);
}

.site-hero .hero-copy > .eyebrow {
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-hero .hero-copy > p {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 9px 14px;
  overflow: hidden;
  border: 1px solid rgba(218, 223, 227, 0.18);
  border-radius: 8px;
  color: #d7dce0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.09),
    rgba(255, 255, 255, 0.025)
  );
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.08),
    0 8px 22px rgba(0, 0, 0, 0.12);
  font-size: clamp(12px, 1.15vw, 14px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.1px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-hero.page-hero > .site-hero-shell:not(.two-col):after,
.site-hero.page-hero > .site-hero-shell.two-col > .hero-copy:after {
  display: none;
}

@media (max-width: 760px) {
  .site-hero > .site-hero-shell {
    width: min(1180px, calc(100% - 30px));
  }

  .site-hero .hero-copy {
    padding-left: 18px;
  }

  .site-hero .hero-copy h1,
  .site-hero .site-hero-shell.two-col .hero-copy h1 {
    font-size: clamp(19px, 5.2vw, 25px);
    letter-spacing: -1px;
  }

  .site-hero .hero-copy > p {
    width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }
}

/* Section labels use a rounded telemetry plaque distinct from hero labels. */
.section-heading > .eyebrow {
  display: inline-flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  min-height: 38px;
  max-width: 100%;
  padding: 9px 48px 9px 44px;
  overflow: hidden;
  border: 1px solid rgba(224, 229, 233, 0.48);
  border-radius: 11px;
  color: #f4f6f7;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.44), transparent)
      bottom/100% 1px no-repeat,
    radial-gradient(
      circle at 18% 0,
      rgba(255, 255, 255, 0.16),
      transparent 36%
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 5px,
      rgba(255, 255, 255, 0.022) 5px 6px
    ),
    linear-gradient(105deg, #171b1f 0%, #363c42 52%, #181c20 100%);
  box-shadow:
    0 13px 28px rgba(0, 0, 0, 0.25),
    inset 0 0 0 3px rgba(255, 255, 255, 0.025),
    inset 0 1px rgba(255, 255, 255, 0.14);
  font: 800 9px/1.3 var(--mono);
  letter-spacing: 1.7px;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.16);
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.section-heading > .eyebrow:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(236, 240, 242, 0.76);
  border-radius: 50%;
  background:
    radial-gradient(circle, #f2f4f5 0 18%, #899198 20% 38%, transparent 40%),
    conic-gradient(from 45deg, #dfe3e6, #636b72, #eef0f1, #737b82, #dfe3e6);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.04),
    0 0 14px rgba(229, 233, 236, 0.24);
  transform: translateY(-50%);
}

.section-heading > .eyebrow:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 19px;
  height: 14px;
  background:
    linear-gradient(90deg, #e2e5e7 0 65%, transparent 65%) 0 1px/100% 2px
      no-repeat,
    linear-gradient(90deg, #aeb5ba 0 42%, transparent 42%) 0 6px/100% 2px
      no-repeat,
    linear-gradient(90deg, #e2e5e7 0 82%, transparent 82%) 0 11px/100% 2px
      no-repeat;
  filter: drop-shadow(0 0 4px rgba(230, 234, 236, 0.25));
  opacity: 0.85;
  transform: translateY(-50%);
}

@media (max-width: 600px) {
  .section-heading > .eyebrow {
    min-height: 34px;
    padding: 8px 40px;
    font-size: 8px;
    letter-spacing: 1.25px;
  }

  .section-heading > .eyebrow:before {
    left: 12px;
    width: 15px;
    height: 15px;
  }

  .section-heading > .eyebrow:after {
    right: 12px;
    width: 15px;
  }
}

.check-list {
  font-weight: 700;
}

.check-list li:before,
.light-section .check-list li:before {
  color: #17633a;
  font-weight: 900;
}

/* Site CTAs share the silver surface treatment. */
.button.site-cta,
.button.site-cta:hover,
.site-header .site-nav .site-cta:hover {
  color: #171c20;
  border-color: #b7bdc3;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
  box-shadow:
    0 10px 24px rgba(16, 19, 23, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.34);
}

.button.site-cta i,
.button.site-cta:hover i,
.site-header .site-nav .site-cta:hover i {
  color: #20262b;
}

/* Solution artwork uses the same framed presentation as the landing showcase. */
.product-visual,
.showroom-ad-visual,
.live-storefront-capture {
  border: 7px solid #202327;
  outline: 1px solid #5b6168;
  border-radius: 18px;
  background: #090a0b;
  box-shadow:
    0 38px 85px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
  .product-visual,
  .showroom-ad-visual,
  .live-storefront-capture {
    border-width: 4px;
    border-radius: 13px;
  }
}

.home-page .landing-showcase {
  border-color: var(--light-line);
}

/* Account and administrator login cards share the silver surface treatment. */
.account-content-section .form-card.login-card {
  color: #111518;
  border-color: #aeb4ba;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.32);
}

.login-card h2,
.login-card .form-step {
  color: #111518;
}

.account-content-section .login-card > p,
.account-content-section .login-card > p a,
.login-card .form-field label,
.account-content-section .login-card .check-field,
.account-content-section .login-card .form-secure {
  color: #252b31;
}

.login-card .field-validation-error,
.login-card .validation-summary {
  color: #5f1717;
  font-weight: 700;
}

/* All content form cards use the shared silver surface. */
.account-content-section .form-card {
  color: #111518;
  border-color: #aeb4ba;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.32);
}

.account-content-section .form-card h2,
.account-content-section .form-card .form-step {
  color: #111518;
}

.account-content-section .form-card > p,
.account-content-section .form-card > p a,
.account-content-section .form-card .form-field label,
.account-content-section .form-card .check-field,
.account-content-section .form-card .form-secure {
  color: #252b31;
}

.account-content-section .form-card .field-validation-error,
.account-content-section .form-card .validation-summary {
  color: #5f1717;
  font-weight: 700;
}

/* One login-style field treatment across every form card. */
.form-card .form-field input,
.form-card .form-field select,
.form-card .form-field textarea {
  width: 100%;
  max-width: none;
  border: 1px solid #9ea5ab;
  border-radius: 7px;
  outline: 0;
  color: #20262b;
  background: #d2d6d9;
  font: 14px/1.5 var(--sans);
}

.form-card .form-field input,
.form-card .form-field select {
  height: 45px;
  padding: 0 12px;
}

/* Shared password field with an accessible visibility control. */
.password-input-shell {
  position: relative;
  width: 100%;
}

.password-input-shell > input {
  width: 100%;
  padding-right: 50px !important;
}

.password-visibility-toggle {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 6px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid #858c92;
  border-radius: 7px;
  color: #343b41;
  background: linear-gradient(180deg, #c7ccd0, #92999f);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.13);
  transform: translateY(-50%);
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.password-visibility-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-visibility-toggle:hover {
  color: #9b551c;
  border-color: #b66b2a;
}

.password-visibility-toggle.is-visible {
  color: #fff;
  border-color: #8b4d18;
  background: linear-gradient(145deg, #e3a255, #a95f22);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.4),
    0 0 0 3px rgba(211, 127, 48, 0.14);
}

.password-visibility-toggle:focus-visible {
  outline: 3px solid rgba(196, 112, 35, 0.3);
  outline-offset: 2px;
}

.form-card .form-field textarea {
  min-height: 92px;
  padding: 11px 12px;
  resize: vertical;
}

.form-card .form-field input::placeholder,
.form-card .form-field textarea::placeholder {
  color: #747d85;
  opacity: 1;
}

.form-card .form-field select option {
  color: #20262b;
  background: #d2d6d9;
}

.form-card .form-field input:focus,
.form-card .form-field select:focus,
.form-card .form-field textarea:focus {
  border-color: #737b83;
  box-shadow: 0 0 0 3px rgba(70, 78, 86, 0.14);
}

.form-card .form-field input:-webkit-autofill,
.form-card .form-field input:-webkit-autofill:hover,
.form-card .form-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #20262b;
  -webkit-box-shadow: 0 0 0 1000px #d2d6d9 inset;
  caret-color: #20262b;
}

/* Form submit actions use a stronger eyebrow-inspired silver treatment. */
.form-card .button-primary.submit-button {
  min-height: 50px;
  border: 1px solid #606870;
  border-radius: 9px;
  color: #151a1e;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
  box-shadow:
    0 12px 26px rgba(25, 30, 34, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.35px;
}

.form-card .button-primary.submit-button:hover,
.form-card .button-primary.submit-button:focus-visible {
  border-color: #454d54;
  color: #0d1114;
  background:
    radial-gradient(
      circle at 88% 2%,
      rgba(255, 255, 255, 0.38),
      transparent 30%
    ),
    linear-gradient(145deg, #abb0b5 0%, #92989e 48%, #777e85);
  box-shadow:
    0 15px 30px rgba(25, 30, 34, 0.3),
    inset 0 1px rgba(255, 255, 255, 0.48);
  outline: 0;
}

/* Validation messages are consistent and immediately visible. */
.field-validation-error,
.validation-summary,
.validation-summary-errors,
.account-content-section .form-card .field-validation-error,
.account-content-section .form-card .validation-summary,
.account-content-section .form-card .validation-summary-errors {
  color: #a3121b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.validation-summary ul,
.validation-summary-errors ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* About editorial card shares the silver surface treatment. */
.content-section .editorial-copy.about-editorial-copy {
  color: #111518;
  border-color: #aeb4ba;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.32);
}

.content-section .about-editorial-copy > p {
  color: #20262b;
}

.content-section .about-card {
  color: #111518;
  border-color: #aeb4ba;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.32);
}

.content-section .about-card h2 {
  color: #111518;
}

.content-section .about-card p {
  color: #20262b;
}

.content-section .about-contact {
  color: #111518;
  border-color: #aeb4ba;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.32);
}

.content-section .about-contact p {
  color: #20262b;
}

.content-section .contact-card {
  color: #111518;
  border-color: #aeb4ba;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.32);
}

.content-section .contact-card:hover {
  border-color: #c9cdd1;
}

.content-section .contact-card h2 {
  color: #111518;
}

.content-section .contact-card p,
.content-section .contact-card .contact-index,
.content-section .contact-card strong {
  color: #20262b;
}

.content-section .contact-card .contact-index {
  font-size: 14px;
  font-weight: 800;
}

.content-section .contact-card .button.site-cta.contact-email-button {
  position: relative;
  z-index: 2;
  left: auto;
  bottom: auto;
  margin-top: 18px;
  border: 2px solid #434b52;
  outline: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 14px 28px rgba(20, 24, 28, 0.34),
    inset 0 1px rgba(255, 255, 255, 0.42);
}

.content-section .contact-card .button.site-cta.contact-email-button:hover,
.content-section
  .contact-card
  .button.site-cta.contact-email-button:focus-visible {
  border-color: #242b30;
  box-shadow:
    0 17px 34px rgba(20, 24, 28, 0.42),
    inset 0 1px rgba(255, 255, 255, 0.48);
  outline: 1px solid rgba(255, 255, 255, 0.34);
}

/* One reusable Contact inquiry modal, visually matched to the dashboard modal. */
.contact-page.modal-open {
  overflow: hidden;
}

.contact-page .modal {
  position: fixed;
  inset: 0;
  z-index: 1055;
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.contact-page .modal.fade {
  opacity: 0;
  transition: opacity 0.18s ease;
}

.contact-page .modal.show {
  opacity: 1;
}

.contact-page .modal-dialog {
  position: relative;
  width: 75%;
  max-width: 760px;
  margin: 14px auto;
  pointer-events: none;
  transform: translateY(14px) scale(0.99);
  transition: transform 0.22s ease;
}

.contact-page .modal.show .modal-dialog {
  transform: none;
}

.contact-page .modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 28px);
}

.contact-page .modal-dialog-scrollable {
  height: calc(100% - 28px);
}

.contact-page .modal-dialog-scrollable .modal-content {
  max-height: 100%;
  overflow: hidden;
}

.contact-page .modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

.contact-page .modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid #858c93;
  border-radius: 16px;
  color: #edf0f2;
  background: #484e56;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.48),
    inset 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: auto;
}

.contact-page .modal-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 24px 16px;
  border-bottom: 1px solid #697078;
  background: linear-gradient(130deg, #596068, #41474f);
}

.contact-page .contact-modal-header:after {
  content: "";
  position: absolute;
  right: 92px;
  bottom: 0;
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d8dce0, transparent);
}

.contact-page .contact-modal-kicker {
  display: block;
  color: #bac1c7;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.14em;
}

.contact-page .modal-title {
  margin: 5px 0 3px;
  color: #fff;
  font-size: 28px;
  line-height: 1.15;
}

.contact-page .contact-modal-header p {
  margin: 0;
  color: #c5cbd0;
  font-size: 14px;
}

.contact-page .contact-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  padding: 0;
  border: 1px solid #85858e;
  border-radius: 7px;
  color: #252a2f;
  background: linear-gradient(180deg, #92999f, #626970) !important;
  cursor: pointer;
  line-height: 1;
}

.contact-page .contact-modal-close:hover,
.contact-page .contact-modal-close:focus-visible {
  border-color: #85858e;
  color: #fff;
  background: linear-gradient(180deg, #92999f, #626970) !important;
  box-shadow: none;
  filter: none;
  outline: 0;
  transform: none;
}

.contact-page .modal-body {
  padding: 18px 24px 20px;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
}

.contact-page .contact-modal-form {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-page .contact-modal-form .form-field {
  margin-top: 11px;
}

.contact-page .contact-modal-form .form-row {
  align-items: start;
}

.contact-page .contact-modal-form .form-field label {
  color: #20262b;
  font-size: 13px;
  font-weight: 700;
}

.contact-page .contact-modal-form .form-field textarea {
  min-height: 105px;
}

.contact-page .contact-modal-submit {
  display: flex;
  width: 230px;
  max-width: 100%;
  min-width: 0;
  margin: 15px auto 0;
  padding-left: 28px;
  padding-right: 28px;
}

.contact-page .contact-modal-submit:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.contact-page .contact-modal-form .form-secure {
  color: #293037;
  font-size: 11px;
  font-weight: 600;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-page .contact-modal-success {
  padding: 32px 24px;
  text-align: center;
  color: #171c20;
}

.contact-page .contact-success-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border: 1px solid #596169;
  border-radius: 50%;
  color: #f4f6f7;
  background: linear-gradient(145deg, #596169, #3f464d);
  font-size: 25px;
  box-shadow: 0 12px 26px rgba(20, 24, 28, 0.25);
}

.contact-page .contact-modal-success > span:nth-child(2) {
  display: block;
  color: #343b41;
  font: 10px/1.4 var(--mono);
  font-weight: 800;
  letter-spacing: 0.14em;
}

.contact-page .contact-modal-success h3 {
  margin: 9px 0 8px;
  color: #111518;
  font-size: 28px;
}

.contact-page .contact-modal-success p {
  max-width: 560px;
  margin: 0 auto 20px;
  color: #293037;
  font-size: 15px;
  line-height: 1.7;
}

.contact-page .modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: #101214;
}

.contact-page .modal-backdrop.fade {
  opacity: 0;
}

.contact-page .modal-backdrop.show {
  opacity: 0.72;
}

@media (max-width: 760px) {
  .contact-page .modal-dialog,
  .contact-page .modal-dialog-scrollable {
    width: auto;
    height: calc(100% - 24px);
    min-height: calc(100% - 24px);
    margin: 12px;
  }

  .contact-page .modal-content {
    border-radius: 12px;
  }

  .contact-page .modal-header,
  .contact-page .modal-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .contact-page .modal-title {
    font-size: 24px;
  }

  .contact-page .contact-modal-form .form-row {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-modal-success {
    padding: 24px 4px;
  }
}

/* Account forms share the Contact form's narrower proportions. */
.account-page .account-content-section .form-card {
  width: 75%;
  margin-left: auto;
  margin-right: auto;
}

.account-page .account-content-section .form-card .submit-button {
  display: flex;
  width: 230px;
  max-width: 100%;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

@media (max-width: 760px) {
  .account-page .account-content-section .form-card {
    width: 100%;
  }
}

/* Success cards share the silver surface treatment. */
.account-content-section .success-card {
  color: #111518;
  border-color: #aeb4ba;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.32);
}

.account-content-section .success-card h1,
.account-content-section .success-card h2 {
  color: #111518;
}

.account-content-section .success-card > p,
.account-content-section .success-card > label,
.account-content-section .success-card .delivery-note {
  color: #252b31;
}

.verification-mail-mark {
  font-family: Arial, sans-serif;
  font-size: 34px;
}

/* Shared result shown after both public workspace and admin customer creation. */
.verification-pending-card {
  position: relative;
  width: 100%;
  max-width: 760px;
  padding: 34px;
  border-color: #aeb4ba;
  color: #111518;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.42),
    inset 0 1px rgba(255, 255, 255, 0.32);
}

.workspace-confirmation-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 39px;
  height: 39px;
  padding: 0;
  place-items: center;
  border: 1px solid #85858e;
  border-radius: 7px;
  color: #252a2f;
  background: linear-gradient(180deg, #92999f, #626970);
}

.workspace-confirmation-close:hover,
.workspace-confirmation-close:focus-visible {
  color: #fff;
  outline: 0;
}

.workspace-confirmation-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.workspace-confirmation-panel {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  padding: 4px 46px 4px 0;
  border: 0;
  color: #20262b;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.workspace-confirmation-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #50575f;
}

.workspace-confirmation-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.workspace-confirmation-copy {
  min-width: 0;
}

.workspace-confirmation-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #343b41;
  font: 800 10px/1.4 var(--mono);
  letter-spacing: 0.13em;
}

.workspace-confirmation-copy h2 {
  margin: 0 0 10px;
  color: #111518;
  font-size: 20px;
}

.workspace-confirmation-copy p,
.workspace-confirmation-next span {
  color: #30373d;
  font-size: 14px;
  line-height: 1.65;
}

.workspace-confirmation-primary,
.workspace-confirmation-note {
  margin: 0;
}

.workspace-confirmation-next {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid rgba(38, 44, 49, 0.28);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.2);
}

.workspace-confirmation-next[hidden] {
  display: none;
}

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

.workspace-confirmation-next strong {
  margin-bottom: 4px;
  color: #252b31;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.verification-pending-card[data-verification-sent="false"]
  .workspace-confirmation-icon {
  background: #7e3434;
}

.verification-pending-card[data-verification-sent="false"]
  .workspace-confirmation-next {
  display: none;
}

.workspace-confirmation-actions {
  margin-top: 24px;
}

.workspace-confirmation-modal {
  position: fixed;
  inset: 0;
  z-index: 1065;
  display: none;
  width: 100%;
  height: 100%;
  overflow: auto;
  outline: 0;
}

.workspace-confirmation-modal.fade {
  opacity: 0;
  transition: opacity 0.18s ease;
}

.workspace-confirmation-modal.show {
  opacity: 1;
}

.workspace-confirmation-modal .modal-dialog {
  display: flex;
  align-items: center;
  width: min(760px, calc(100% - 28px));
  min-height: calc(100% - 28px);
  margin: 14px auto;
  pointer-events: none;
  transform: translateY(14px) scale(0.99);
  transition: transform 0.22s ease;
}

.workspace-confirmation-modal.show .modal-dialog {
  transform: none;
}

.workspace-confirmation-modal .modal-content {
  width: 100%;
  background: transparent;
  pointer-events: auto;
}

@media (max-width: 600px) {
  .workspace-confirmation-panel {
    display: block;
    padding: 42px 0 0;
  }

  .workspace-confirmation-icon {
    margin-bottom: 14px;
  }

  .verification-pending-card {
    padding: 22px;
  }
}

/* Shared Service Terms and Privacy Policy. */
.legal-page-shell {
  max-width: 980px;
}

.legal-document {
  color: #20262b;
}

.legal-document-intro {
  margin-bottom: 16px;
  padding: 22px 24px;
  border: 1px solid #aeb4ba;
  border-radius: 12px;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.32);
}

.legal-document-intro span,
.legal-section-number,
.legal-contact-panel > span {
  display: block;
  color: #343b41;
  font: 10px/1.4 var(--mono);
  font-weight: 800;
  letter-spacing: 0.13em;
}

.legal-document-intro p {
  margin: 8px 0 0;
  color: #20262b;
  font-size: 15px;
  line-height: 1.7;
}

.legal-section {
  position: relative;
  margin-top: 16px;
  padding: 30px 34px;
  border: 1px solid #aeb4ba;
  border-radius: 14px;
  background: #d2d6d9;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.5);
  scroll-margin-top: 100px;
}

.legal-section > h2 {
  margin: 7px 0 24px;
  color: #111518;
  font-size: 34px;
}

.legal-section h3 {
  margin: 23px 0 7px;
  color: #171c20;
  font-size: 17px;
  font-weight: 700;
}

.legal-section p {
  margin: 0;
  color: #30373d;
  font-size: 14px;
  line-height: 1.75;
}

.legal-contact-panel {
  margin-top: 16px;
  padding: 26px 30px;
  border: 1px solid #858c93;
  border-radius: 13px;
  color: #edf0f2;
  background: linear-gradient(130deg, #596068, #41474f);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.legal-contact-panel > span {
  color: #c5cbd0;
}

.legal-contact-panel h2 {
  margin: 7px 0;
  color: #fff;
  font-size: 25px;
}

.legal-contact-panel p {
  margin: 0;
  color: #d2d6da;
  font-size: 14px;
}

.legal-contact-panel a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-consent-field span a,
.legal-form-note a {
  color: #171c20;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #626a71;
  text-underline-offset: 3px;
}

.legal-form-note {
  line-height: 1.6;
}

/* One global legal modal reuses the legal partial on every form page. */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 1065;
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.legal-modal.fade {
  opacity: 0;
  transition: opacity 0.18s ease;
}

.legal-modal.show {
  opacity: 1;
}

.legal-modal .modal-dialog {
  position: relative;
  display: flex;
  align-items: center;
  width: 82%;
  max-width: 1050px;
  height: calc(100% - 28px);
  min-height: calc(100% - 28px);
  margin: 14px auto;
  pointer-events: none;
  transform: translateY(14px) scale(0.99);
  transition: transform 0.22s ease;
}

.legal-modal.show .modal-dialog {
  transform: none;
}

.legal-modal .modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  border: 1px solid #858c93;
  border-radius: 16px;
  color: #edf0f2;
  background: #484e56;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.5),
    inset 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: auto;
}

.legal-modal .modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 24px 16px;
  border-bottom: 1px solid #697078;
  background: linear-gradient(130deg, #596068, #41474f);
}

.legal-modal-header > div > span {
  display: block;
  color: #bac1c7;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.14em;
}

.legal-modal .modal-title {
  margin: 5px 0 3px;
  color: #fff;
  font-size: 28px;
}

.legal-modal-header p {
  margin: 0;
  color: #c5cbd0;
  font-size: 14px;
}

.legal-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  padding: 0;
  border: 1px solid #85858e;
  border-radius: 7px;
  color: #252a2f;
  background: linear-gradient(180deg, #92999f, #626970) !important;
  line-height: 1;
}

.legal-modal-close:hover,
.legal-modal-close:focus-visible {
  border-color: #85858e;
  color: #fff;
  background: linear-gradient(180deg, #92999f, #626970) !important;
  box-shadow: none;
  filter: none;
  outline: 0;
  transform: none;
}

.contact-page .contact-modal-close svg,
.legal-modal-close svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-modal-body {
  padding: 18px 22px;
  overflow-y: auto;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
  scroll-behavior: smooth;
}

.legal-modal .legal-document-intro {
  box-shadow: none;
}

.legal-modal .legal-section {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.legal-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 22px;
  border-top: 1px solid #697078;
  background: #41474f;
}

.legal-modal-footer a {
  color: #d8dde1;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-modal-footer button {
  min-height: 34px;
  padding: 0 15px;
  border: 1px solid #939aa1;
  border-radius: 7px;
  color: #f5f6f7;
  background: #596068;
  font-size: 13px;
  font-weight: 700;
}

.legal-modal-footer button:hover {
  border-color: #c1c6cb;
  background: #676e76;
}

body .modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: #101214;
}

body .modal-backdrop.fade {
  opacity: 0;
}

body .modal-backdrop.show {
  opacity: 0.72;
}

@media (max-width: 760px) {
  .legal-modal .modal-dialog {
    width: auto;
    height: calc(100% - 24px);
    min-height: calc(100% - 24px);
    margin: 12px;
  }

  .legal-modal .modal-content {
    border-radius: 12px;
  }

  .legal-modal .modal-header,
  .legal-modal-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .legal-modal .modal-title {
    font-size: 23px;
  }

  .legal-modal-header p {
    display: none;
  }

  .legal-section {
    padding: 24px 20px;
  }

  .legal-section > h2 {
    font-size: 29px;
  }

  .legal-modal-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .legal-modal-footer a {
    text-align: center;
  }

  .legal-modal-footer button {
    width: 100%;
  }
}

/* Compact site footer. */
.site-footer {
  padding: 18px 0 10px;
}

.site-footer .footer-grid {
  gap: 24px;
}

.site-footer .footer-grid .brand {
  display: inline-flex;
  white-space: nowrap;
}

.site-header .header-brand-logo {
  line-height: 0;
}

.site-header .brand-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 100%;
}

.site-footer .footer-brand-logo {
  line-height: 0;
}

.site-footer .brand-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 100%;
}

@media (max-width: 760px) {
  .site-header .brand-logo {
    height: 42px;
    max-width: 185px;
  }
}

body .form-card .button.button-primary.submit-button {
  display: flex;
  width: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
  white-space: nowrap;
}

.site-footer .footer-grid strong {
  margin-bottom: 6px;
}

.site-footer .footer-grid > div > a:not(.brand) {
  margin: 2px 0;
  line-height: 1.4;
}

.site-footer .footer-bottom {
  margin-top: 14px;
  padding-top: 8px;
}

/* Hero proof points share the eyebrow pill treatment. */
.hero-proof span,
.home-page .hero-proof span {
  padding: 7px 11px;
  border: 1px solid #b7bdc3;
  border-radius: 999px;
  color: #20262b;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.34);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.hero-proof span:before,
.home-page .hero-proof span:before {
  color: #20262b;
}

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

.workspace-fields[hidden] {
  display: none;
}

.workspace-fields > .form-field {
  min-width: 0;
  margin: 0;
}

.workspace-fields > .workspace-field-wide,
.workspace-fields > .field-validation-error {
  grid-column: 1/-1;
}

.workspace-fields .password-policy-panel {
  margin: 0;
}

.workspace-fields .legal-consent-field {
  margin-top: 0;
}

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

  .workspace-fields > .workspace-field-wide,
  .workspace-fields > .field-validation-error {
    grid-column: auto;
  }
}

.password-policy-panel {
  position: relative;
  margin: 0 0 16px;
  padding: 11px 12px 12px;
  overflow: hidden;
  border: 1px solid #c4cbd1;
  border-radius: 11px;
  color: #4e5963;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.72),
    rgba(232, 236, 239, 0.58)
  );
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.8),
    0 6px 16px rgba(44, 52, 58, 0.07);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.password-policy-panel:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #9ca5ad, #d9dde0 48%, #9ca5ad);
  opacity: 0.72;
}

.password-policy-panel.is-active {
  border-color: #9aa4ad;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.8),
    0 7px 18px rgba(44, 52, 58, 0.1);
}

.password-policy-panel.is-complete {
  border-color: #5b9c75;
  background: linear-gradient(
    145deg,
    rgba(240, 250, 244, 0.88),
    rgba(220, 239, 228, 0.65)
  );
}

.password-policy-panel.is-complete:after {
  background: linear-gradient(90deg, #4b976a, #87c39f 50%, #4b976a);
  opacity: 1;
}

.password-policy-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.password-policy-heading span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #303840;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.password-policy-heading span:before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid #aab2b9;
  border-radius: 7px 7px 9px 9px;
  color: #69747d;
  background: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.75);
}

.password-policy-panel.is-complete .password-policy-heading span:before {
  border-color: #38835a;
  color: #fff;
  background: #38835a;
}

.password-policy-heading small {
  color: #6b7680;
  font: 700 10px/1.2 var(--mono);
  letter-spacing: 0.035em;
}

.password-policy-panel.is-complete .password-policy-heading small {
  color: #267148;
}

.password-policy-checklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.password-policy-checklist li {
  position: relative;
  min-height: 29px;
  padding: 6px 7px 6px 29px;
  border: 1px solid rgba(137, 147, 156, 0.35);
  border-radius: 7px;
  color: #616c75;
  background: rgba(255, 255, 255, 0.32);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
  transition:
    color 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}

.password-policy-checklist li:before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 1px solid #a7b0b8;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.4);
  font-weight: 900;
  line-height: 12px;
  text-align: center;
  transform: translateY(-50%);
}

.password-policy-checklist li.is-valid {
  border-color: rgba(41, 143, 84, 0.38);
  color: #176c3c;
  background: rgba(70, 170, 111, 0.11);
}

.password-policy-checklist li.is-valid:before {
  content: "\2713";
  border-color: #298f54;
  color: #fff;
  background: #298f54;
  font-size: 9px;
}

.password-policy-checklist li.is-invalid {
  border-color: rgba(174, 57, 67, 0.3);
  color: #91303a;
  background: rgba(192, 62, 73, 0.08);
}

.password-policy-checklist li.is-invalid:before {
  content: "\00d7";
  border-color: #b43b46;
  color: #fff;
  background: #b43b46;
  font-size: 12px;
  line-height: 11px;
}

.email-availability-status,
.password-confirmation-status {
  display: block;
  min-height: 17px;
  margin-top: 4px;
  color: #697681;
  font-size: 11px;
  line-height: 1.4;
}

.email-availability-status.is-valid,
.password-confirmation-status.is-valid {
  color: #16723d;
}

.email-availability-status.is-valid:before,
.password-confirmation-status.is-valid:before {
  content: "\2713\00a0";
  font-weight: 900;
}

.email-availability-status.is-invalid,
.password-confirmation-status.is-invalid {
  color: #a12f37;
}

.email-availability-status.is-invalid:before,
.password-confirmation-status.is-invalid:before {
  content: "\00d7\00a0";
  font-size: 14px;
  font-weight: 900;
}

.email-availability-status.is-checking:before {
  content: "\2026\00a0";
  font-weight: 900;
}

input.availability-valid {
  border-color: #29975a !important;
}

input.availability-invalid {
  border-color: #c33e48 !important;
}

@media (max-width: 760px) {
  .password-policy-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Public account and dealer-demo forms share the administrative modal skin. */
.account-content-section .dashboard-style-form.form-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid #858c93;
  border-radius: 16px;
  color: #edf0f2;
  background: #484e56;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.38),
    inset 0 1px rgba(255, 255, 255, 0.06);
}

.dashboard-style-form-header {
  position: relative;
  padding: 18px 24px 16px;
  border-bottom: 1px solid #697078;
  color: #edf0f2;
  background: linear-gradient(130deg, #596068, #41474f);
}

.dashboard-style-form-header:after {
  content: "";
  position: absolute;
  right: 12%;
  bottom: 0;
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d8dce0, transparent);
}

.account-content-section .dashboard-style-form-header .form-step {
  display: block;
  color: #bac1c7;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.14em;
}

.account-content-section .dashboard-style-form-header h2 {
  margin: 5px 0 3px;
  color: #fff;
  font-size: 28px;
  line-height: 1.15;
}

.account-content-section .dashboard-style-form-header p {
  margin: 0;
  color: #c5cbd0;
  font-size: 14px;
}

.dashboard-style-form-body {
  margin: 0;
  padding: 16px 24px 0;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
}

.dashboard-style-form .form-row {
  gap: 14px;
}

.dashboard-style-form .form-field {
  margin-top: 14px;
}

.account-content-section .dashboard-style-form .form-field label,
.account-content-section .dashboard-style-form .check-field {
  display: block;
  margin-bottom: 6px;
  color: #30363b;
  font: 600 12px/1.3 var(--sans);
}

.account-content-section .dashboard-style-form .form-field input,
.account-content-section .dashboard-style-form .form-field select,
.account-content-section .dashboard-style-form .form-field textarea {
  width: 100%;
  max-width: none;
  border: 1px solid #656c73;
  border-radius: 8px;
  color: #f4f6f7;
  background: #4d545b;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.22);
  font: 14px/1.4 var(--sans);
}

.account-content-section .dashboard-style-form .form-field input,
.account-content-section .dashboard-style-form .form-field select {
  min-height: 43px;
  padding: 9px 12px;
}

.account-content-section .dashboard-style-form .form-field textarea {
  min-height: 96px;
  padding: 10px 12px;
  resize: vertical;
}

.account-content-section .dashboard-style-form .form-field input::placeholder,
.account-content-section
  .dashboard-style-form
  .form-field
  textarea::placeholder {
  color: #b6bdc3;
  opacity: 0.72;
}

.account-content-section .dashboard-style-form .form-field select option {
  color: #f4f6f7;
  background: #4d545b;
}

.account-content-section .dashboard-style-form .form-field input:focus,
.account-content-section .dashboard-style-form .form-field select:focus,
.account-content-section .dashboard-style-form .form-field textarea:focus {
  border-color: #d4d8dc;
  outline: 2px solid rgba(255, 255, 255, 0.24);
  outline-offset: 1px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.22);
}

.account-content-section
  .dashboard-style-form
  .form-field
  input:-webkit-autofill,
.account-content-section
  .dashboard-style-form
  .form-field
  input:-webkit-autofill:hover,
.account-content-section
  .dashboard-style-form
  .form-field
  input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f4f6f7;
  -webkit-box-shadow: 0 0 0 1000px #4d545b inset;
  caret-color: #f4f6f7;
}

.dashboard-style-form .password-policy-checklist {
  color: #343a40;
}

.dashboard-style-form .password-policy-panel {
  border-color: #7a8289;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.09)
  );
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.2),
    0 7px 18px rgba(0, 0, 0, 0.11);
}

.dashboard-style-form .password-policy-heading span,
.dashboard-style-form .password-policy-heading small,
.dashboard-style-form .password-policy-checklist li {
  color: #343a40;
}

.dashboard-style-form
  .password-policy-panel.is-complete
  .password-policy-heading
  small,
.dashboard-style-form .password-policy-checklist li.is-valid {
  color: #155f36;
}

.dashboard-style-form .email-availability-status,
.dashboard-style-form .password-confirmation-status {
  color: #343a40;
}

.dashboard-style-form .email-availability-status.is-invalid,
.dashboard-style-form .password-confirmation-status.is-invalid {
  color: #7f171d;
  font-weight: 700;
}

.dashboard-style-form .email-availability-status.is-valid,
.dashboard-style-form .password-confirmation-status.is-valid {
  color: #155f36;
  font-weight: 700;
}

.dashboard-style-form .validation-summary,
.dashboard-style-form .field-validation-error {
  color: #7f171d;
  font-weight: 700;
}

.dashboard-style-form .legal-consent-field {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 16px 0 0;
}

.dashboard-style-form .remember-field {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 14px 0 0;
  color: #30363b;
  cursor: pointer;
}

.dashboard-style-form .remember-field input {
  flex: 0 0 auto;
  margin: 0;
  accent-color: #4d545b;
}

.dashboard-style-form .remember-field span {
  line-height: 1.4;
}

/* One aligned, accented checkbox panel for session and legal choices. */
.account-content-section .dashboard-style-form .accent-check-field {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 46px;
  gap: 0;
  margin: 16px 0 0;
  padding: 8px 13px;
  border: 1px solid rgba(37, 43, 49, 0.22);
  border-radius: 10px;
  color: #262c31;
  background: #b8bec3;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.28),
    0 7px 17px rgba(16, 19, 22, 0.1);
  font: 700 12px/1.35 var(--sans);
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.account-content-section .dashboard-style-form .accent-check-field:hover {
  border-color: rgba(176, 101, 32, 0.68);
  color: #171b1e;
  transform: translateY(-1px);
}

.account-content-section
  .dashboard-style-form
  .accent-check-field:has(input[type="checkbox"]:checked) {
  border-color: rgba(185, 105, 32, 0.72);
  background: #d2b18d;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.32),
    0 8px 20px rgba(123, 68, 18, 0.16);
}

.account-content-section
  .dashboard-style-form
  .accent-check-field
  input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.account-content-section .dashboard-style-form .accent-check-field > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
  white-space: nowrap;
}

.account-content-section
  .dashboard-style-form
  .accent-check-field
  > span:before {
  content: "";
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #717981;
  border-radius: 6px;
  color: transparent;
  background: linear-gradient(145deg, #d9dde0, #aeb4b9);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.7),
    0 2px 5px rgba(0, 0, 0, 0.14);
  font: 900 14px/1 var(--sans);
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.account-content-section
  .dashboard-style-form
  .accent-check-field
  input[type="checkbox"]:checked
  ~ span:before {
  content: "\2713";
  border-color: #8b4d18;
  color: #fff;
  background: linear-gradient(145deg, #e3a255, #a95f22);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.42),
    0 0 0 3px rgba(211, 127, 48, 0.16),
    0 4px 10px rgba(122, 65, 17, 0.28);
}

.account-content-section
  .dashboard-style-form
  .accent-check-field
  input[type="checkbox"]:focus-visible
  ~ span:before {
  outline: 3px solid rgba(196, 112, 35, 0.28);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .account-content-section .dashboard-style-form .accent-check-field {
    width: 100%;
  }

  .account-content-section .dashboard-style-form .accent-check-field > span {
    white-space: normal;
  }
}

.dashboard-style-form .legal-consent-field input {
  margin-top: 2px;
  accent-color: #4d545b;
}

.dashboard-style-form .legal-consent-field a {
  color: #252b31;
  font-weight: 700;
}

/* Compact spacing for the shared public/admin workspace form only. */
.account-content-section .dashboard-style-form-body .workspace-fields {
  gap: 10px 14px;
}

.account-content-section
  .dashboard-style-form-body
  .workspace-fields
  > .form-field {
  margin-top: 0;
}

.account-content-section
  .dashboard-style-form-body
  .workspace-fields
  .form-field
  label {
  margin-bottom: 4px;
  font-size: 11px;
}

.account-content-section
  .dashboard-style-form-body
  .workspace-fields
  .form-field
  input,
.account-content-section
  .dashboard-style-form-body
  .workspace-fields
  .form-field
  select {
  min-height: 39px;
  padding: 7px 10px;
}

.account-content-section
  .dashboard-style-form-body
  .workspace-fields
  .email-availability-status,
.account-content-section
  .dashboard-style-form-body
  .workspace-fields
  .password-confirmation-status {
  min-height: 14px;
  margin-top: 2px;
  font-size: 10px;
}

.account-content-section
  .dashboard-style-form-body
  .workspace-fields
  .password-policy-panel {
  padding: 8px 9px 9px;
  border-radius: 9px;
}

.account-content-section
  .dashboard-style-form-body
  .workspace-fields
  .password-policy-heading {
  margin-bottom: 6px;
}

.account-content-section
  .dashboard-style-form-body
  .workspace-fields
  .password-policy-heading
  span {
  font-size: 11px;
}

.account-content-section
  .dashboard-style-form-body
  .workspace-fields
  .password-policy-heading
  span:before {
  width: 18px;
  height: 18px;
}

.account-content-section
  .dashboard-style-form-body
  .workspace-fields
  .password-policy-checklist {
  gap: 4px;
}

.account-content-section
  .dashboard-style-form-body
  .workspace-fields
  .password-policy-checklist
  li {
  min-height: 25px;
  padding: 4px 6px 4px 25px;
  font-size: 10px;
}

.account-content-section
  .dashboard-style-form-body
  .workspace-fields
  .password-policy-checklist
  li:before {
  left: 6px;
  width: 13px;
  height: 13px;
}

.account-content-section
  .dashboard-style-form-body
  .workspace-fields
  .password-visibility-toggle {
  right: 5px;
  width: 30px;
  height: 30px;
}

.account-content-section
  .dashboard-style-form-body
  .workspace-fields
  .password-visibility-toggle
  svg {
  width: 17px;
  height: 17px;
}

.account-content-section
  .dashboard-style-form-body
  .workspace-fields
  .accent-check-field {
  min-height: 40px;
  margin-top: 6px;
  padding: 6px 10px;
}

.account-content-section
  .dashboard-style-form-body
  .workspace-fields
  .accent-check-field
  > span:before {
  flex-basis: 19px;
  width: 19px;
  height: 19px;
}

.dashboard-style-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px -24px 0;
  padding: 10px 24px;
  border-top: 1px solid #697078;
  color: #c0c6cb;
  background: #41474f;
}

.account-content-section .dashboard-style-form-footer .form-secure,
.account-content-section .dashboard-style-form-footer .form-secure a {
  max-width: 560px;
  margin: 0;
  color: #c0c6cb;
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.03em;
}

.dashboard-style-form .dashboard-style-form-footer .submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 8px;
  width: auto;
  min-height: 36px;
  margin: 0;
  padding: 0 15px;
  border: 1px solid #85858e;
  border-radius: 7px;
  color: #f5f6f7;
  background: linear-gradient(180deg, #92999f, #626970);
  box-shadow: none;
  font: 600 12px/1 var(--sans);
  white-space: nowrap;
}

.account-create-icon {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-style-form .dashboard-style-form-footer .submit-button:hover,
.dashboard-style-form
  .dashboard-style-form-footer
  .submit-button:focus-visible {
  filter: brightness(0.9);
  outline: 0;
  transform: none;
}

@media (max-width: 760px) {
  .account-content-section .dashboard-style-form.form-card {
    border-radius: 12px;
  }

  .dashboard-style-form-header,
  .dashboard-style-form-body {
    padding-right: 20px;
    padding-left: 20px;
  }

  .dashboard-style-form-footer {
    align-items: stretch;
    flex-direction: column;
    margin-right: -20px;
    margin-left: -20px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .dashboard-style-form .dashboard-style-form-footer .submit-button {
    width: 100%;
  }
}

/* Unified text weight and pg-th-inspired button treatment. */
body {
  font-weight: 500;
}

input,
select,
textarea {
  font-weight: 500;
}

body .button,
body .nav-logout button,
body .legal-modal-footer button,
body .legal-modal-footer a,
body .payment-information-button,
body #copy-vin-response,
body .code-tabs button,
body .vin-format-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 0 15px;
  border: 1px solid var(--control-silver-border);
  border-radius: 7px;
  color: var(--control-silver-text);
  background: linear-gradient(
    180deg,
    var(--control-silver-top),
    var(--control-silver-bottom)
  ) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}

body .button:hover,
body .button:focus-visible,
body .nav-logout button:hover,
body .nav-logout button:focus-visible,
body .legal-modal-footer button:hover,
body .legal-modal-footer button:focus-visible,
body .legal-modal-footer a:hover,
body .legal-modal-footer a:focus-visible,
body .payment-information-button:hover,
body .payment-information-button:focus-visible,
body #copy-vin-response:hover,
body #copy-vin-response:focus-visible,
body .code-tabs button:hover,
body .code-tabs button:focus-visible,
body .vin-format-tabs button:hover,
body .vin-format-tabs button:focus-visible {
  border-color: var(--control-silver-border) !important;
  color: #fff !important;
  background: linear-gradient(
    180deg,
    var(--control-silver-top),
    var(--control-silver-bottom)
  ) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22) !important;
  filter: none !important;
  outline: 0;
  transform: none !important;
}

body .button:disabled,
body .payment-information-button:disabled,
body #copy-vin-response:disabled,
body .code-tabs button:disabled,
body .vin-format-tabs button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.25);
  opacity: 0.55;
}

body .payment-information-button {
  color: #252a2f !important;
  border-color: #b9bec4 !important;
  background: linear-gradient(180deg, #f7f8f9, #d6dade) !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.92),
    0 2px 5px rgba(35, 42, 48, 0.16) !important;
}

body .payment-information-button:hover,
body .payment-information-button:focus-visible {
  color: #1f252a !important;
  border-color: #969da4 !important;
  background: linear-gradient(180deg, #fff, #e3e6e9) !important;
}

body .code-tabs button {
  align-self: center;
  height: 39px;
  color: var(--control-silver-text);
  font-weight: 700;
}

body .code-tabs button.active {
  color: var(--control-silver-text);
  background: linear-gradient(
    180deg,
    var(--control-silver-top),
    var(--control-silver-bottom)
  );
  font-weight: 700;
}

body #copy-vin-response,
body button.copy-action-button,
body .button.button-outline,
body .button.button-primary,
body .vin-run-api-button,
body .nav-logout button,
body .code-tabs button,
body .vin-format-tabs button {
  border: 1px solid #b9bec4 !important;
  border-radius: 6px;
  color: var(--control-silver-text) !important;
  background: linear-gradient(180deg, #f7f8f9, #dfe3e6) !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(35, 42, 48, 0.12) !important;
  font-weight: 700;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease,
    color 0.16s ease;
}

body #copy-vin-response:hover,
body button.copy-action-button:hover,
body .button.button-outline:hover,
body .button.button-primary:hover,
body .vin-run-api-button:hover,
body .nav-logout button:hover,
body .code-tabs button:hover,
body .vin-format-tabs button:hover {
  border-color: #969da4 !important;
  color: #1f252a !important;
  background: linear-gradient(180deg, #fff, #e8ebed) !important;
  box-shadow:
    inset 0 1px #fff,
    0 2px 5px rgba(35, 42, 48, 0.16) !important;
}

body #copy-vin-response:focus-visible,
body button.copy-action-button:focus-visible,
body .button.button-outline:focus-visible,
body .button.button-primary:focus-visible,
body .vin-run-api-button:focus-visible,
body .nav-logout button:focus-visible,
body .code-tabs button:focus-visible,
body .vin-format-tabs button:focus-visible {
  border-color: #747c84 !important;
  color: #1f252a !important;
  background: linear-gradient(180deg, #fff, #e8ebed) !important;
  box-shadow:
    inset 0 1px #fff,
    0 0 0 3px rgba(92, 101, 110, 0.2) !important;
  outline: 0;
}

body .code-tabs button.active,
body .code-tabs button.active:hover,
body .code-tabs button.active:focus-visible,
body .vin-format-tabs button.active,
body .vin-format-tabs button.active:hover,
body .vin-format-tabs button.active:focus-visible {
  border-color: #4f565e !important;
  color: #fff !important;
  background: linear-gradient(180deg, #747c84, #555d65) !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.2),
    0 2px 5px rgba(31, 37, 43, 0.24) !important;
}

body button.copy-action-button,
body button.copy-action-button:hover,
body button.copy-action-button:focus-visible {
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  color: #252a2f !important;
}

button.copy-action-button .copy-action-icon {
  display: block;
  flex: 0 0 13px;
  width: 13px !important;
  height: 13px !important;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

button.copy-action-button .copy-action-check {
  display: none;
}

button.copy-action-button.copied .copy-action-default {
  display: none;
}

button.copy-action-button.copied .copy-action-check {
  display: block;
}

body .dashboard-style-form .dashboard-style-form-footer .submit-button {
  color: var(--control-silver-text);
  background: linear-gradient(
    180deg,
    var(--control-silver-top),
    var(--control-silver-bottom)
  );
  font-weight: 700;
  letter-spacing: 0.035em;
}

/* Match both Dealer Website hero actions to the light-silver Get an API key control. */
body .digital-showroom-hero .button.site-cta {
  color: var(--control-silver-text) !important;
  border-color: #b9bec4 !important;
  background: linear-gradient(180deg, #f7f8f9, #dfe3e6) !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(35, 42, 48, 0.12) !important;
}

body .digital-showroom-hero .button.site-cta:hover {
  color: #1f252a !important;
  border-color: #969da4 !important;
  background: linear-gradient(180deg, #fff, #e8ebed) !important;
  box-shadow:
    inset 0 1px #fff,
    0 2px 5px rgba(35, 42, 48, 0.16) !important;
}

body .digital-showroom-hero .button.site-cta:focus-visible {
  color: #1f252a !important;
  border-color: #747c84 !important;
  background: linear-gradient(180deg, #fff, #e8ebed) !important;
  box-shadow:
    inset 0 1px #fff,
    0 0 0 3px rgba(92, 101, 110, 0.2) !important;
}

body .digital-showroom-hero .button.site-cta i {
  color: inherit;
}

/* Digital Showroom editorial detail; the existing card surface stays unchanged. */
.home-page .digital-showroom-card,
.home-page .vehicle-intelligence-card {
  display: flex;
  flex-direction: column;
}

.digital-showroom-header,
.vehicle-intelligence-header {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  margin: -27px -27px 23px;
  padding: 24px 27px;
  border: 0;
  border-bottom: 1px solid rgba(231, 235, 238, 0.18);
  border-radius: 0;
  background:
    radial-gradient(circle at 100% 0, rgba(210, 215, 219, 0.16), transparent 42%),
    linear-gradient(145deg, #424a51, #2e343a);
  box-shadow:
    0 16px 32px rgba(24, 29, 34, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.12);
}

.home-page .digital-showroom-header .landing-feature-icon,
.home-page .vehicle-intelligence-header .landing-feature-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  margin: 0;
  border: 1px solid rgba(111, 120, 128, 0.34);
  border-radius: 12px;
  color: #353c42;
  background: linear-gradient(145deg, #eef0f2, #aab1b7);
  box-shadow:
    0 10px 22px rgba(24, 38, 42, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.65);
}

.digital-showroom-eyebrow,
.vehicle-intelligence-eyebrow {
  display: block;
  margin: 1px 0 6px;
  color: #d4d9dd;
  font: 850 8px/1.2 var(--mono);
  letter-spacing: 1.55px;
}

.home-page .digital-showroom-header h3,
.home-page .vehicle-intelligence-header h3 {
  margin: 0;
  color: #f4f6f7;
  font-size: clamp(23px, 2vw, 29px);
  line-height: 1.08;
  letter-spacing: -0.9px;
}

.home-page .digital-showroom-header p,
.home-page .vehicle-intelligence-header p {
  margin: 8px 0 0;
  color: #c9d0d5;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.5;
}

.home-page .digital-showroom-card .digital-showroom-lead,
.home-page .vehicle-intelligence-card .vehicle-intelligence-lead {
  margin: 0;
  padding: 17px 18px;
  border: 1px solid rgba(45, 56, 63, 0.17);
  border-radius: 12px;
  color: #1e252a;
  background: rgba(248, 250, 251, 0.27);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.42);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.72;
  letter-spacing: -0.12px;
}

.vehicle-intelligence-story {
  display: grid;
  flex: 1;
  gap: 12px;
  margin: 12px 0 24px;
}

.vehicle-intelligence-story article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(42, 52, 59, 0.17);
  border-radius: 13px;
  color: #343e45;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.28),
    rgba(219, 224, 227, 0.14)
  );
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.46),
    0 6px 14px rgba(31, 38, 43, 0.06);
}

.vehicle-intelligence-story article:nth-child(2) {
  background: linear-gradient(
    145deg,
    rgba(245, 247, 248, 0.32),
    rgba(210, 218, 222, 0.15)
  );
}

.vehicle-intelligence-story article:nth-child(3) {
  border-color: rgba(75, 84, 92, 0.22);
  background: linear-gradient(
    145deg,
    rgba(239, 241, 243, 0.28),
    rgba(199, 205, 210, 0.15)
  );
}

.digital-showroom-primary-action,
.vehicle-intelligence-primary-action {
  display: flex;
  justify-content: flex-end;
  margin: 15px 0 3px;
}

.digital-showroom-button,
.vehicle-intelligence-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  isolation: isolate;
  min-height: 48px;
  padding: 5px 6px 5px 18px;
  overflow: hidden;
  border: 1px solid rgba(207, 213, 218, 0.46);
  border-radius: 12px;
  color: #f5f7f8;
  background:
    linear-gradient(115deg, rgba(177, 184, 190, 0.28), transparent 46%),
    linear-gradient(145deg, #475159, #2d343a);
  box-shadow:
    0 12px 24px rgba(24, 30, 35, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.15);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.05px;
  text-decoration: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.digital-showroom-button:before,
.vehicle-intelligence-button:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -90%;
  bottom: -90%;
  left: -42px;
  width: 26px;
  background: rgba(255, 255, 255, 0.22);
  filter: blur(2px);
  opacity: 0;
  transform: rotate(18deg);
  transition:
    left 0.42s ease,
    opacity 0.18s ease;
}

.digital-showroom-button i,
.vehicle-intelligence-button i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9px;
  color: #262d32;
  background: linear-gradient(145deg, #edf0f2, #a7afb6);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.65);
  font-style: normal;
  font-size: 17px;
  transition: transform 0.18s ease;
}

.digital-showroom-button:hover,
.digital-showroom-button:focus-visible,
.vehicle-intelligence-button:hover,
.vehicle-intelligence-button:focus-visible {
  border-color: rgba(230, 234, 237, 0.76);
  color: #fff;
  box-shadow:
    0 16px 30px rgba(24, 30, 35, 0.3),
    0 0 0 3px rgba(166, 174, 181, 0.17),
    inset 0 1px rgba(255, 255, 255, 0.18);
  outline: 0;
  transform: translateY(-2px);
}

.digital-showroom-button:hover:before,
.digital-showroom-button:focus-visible:before,
.vehicle-intelligence-button:hover:before,
.vehicle-intelligence-button:focus-visible:before {
  left: calc(100% + 28px);
  opacity: 1;
}

.digital-showroom-button:hover i,
.digital-showroom-button:focus-visible i,
.vehicle-intelligence-button:hover i,
.vehicle-intelligence-button:focus-visible i {
  transform: translateX(2px);
}

.digital-showroom-story {
  counter-reset: showroom-story;
}

.digital-showroom-story section {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  margin-top: 12px;
  padding: 18px;
  border: 1px solid rgba(42, 52, 59, 0.17);
  border-radius: 13px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.28),
    rgba(233, 237, 239, 0.12)
  );
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.46),
    0 6px 14px rgba(31, 38, 43, 0.06);
}

.digital-showroom-story section:nth-child(2) {
  background: linear-gradient(
    145deg,
    rgba(245, 247, 248, 0.32),
    rgba(210, 218, 222, 0.15)
  );
}

.digital-showroom-story section:nth-child(3) {
  border-color: rgba(75, 84, 92, 0.22);
  background: linear-gradient(
    145deg,
    rgba(239, 241, 243, 0.28),
    rgba(199, 205, 210, 0.15)
  );
}

.digital-story-number,
.vehicle-story-number {
  display: grid;
  place-items: center;
  align-self: start;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(73, 81, 88, 0.34);
  border-radius: 50%;
  color: #20262b;
  background: linear-gradient(180deg, #f1f3f4, #b8bec3);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.86),
    0 4px 10px rgba(30, 36, 41, 0.13);
  font: 800 9px/1 var(--mono);
  letter-spacing: 0.55px;
}

.digital-story-kicker,
.vehicle-story-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0 0 9px;
  padding: 4px 9px;
  border: 1px solid rgba(73, 81, 88, 0.34);
  border-radius: 6px;
  color: #20262b;
  background: linear-gradient(180deg, #f1f3f4, #b8bec3);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.86),
    0 3px 8px rgba(30, 36, 41, 0.12);
  font: 850 9px/1.25 var(--mono);
  letter-spacing: 1.05px;
}

.home-page .digital-showroom-card h4,
.home-page .vehicle-intelligence-card h4 {
  margin: 0 0 9px;
  color: #171d21;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.25px;
}

.home-page .digital-showroom-story p,
.home-page .vehicle-intelligence-story p {
  margin: 0;
  color: #343e45;
  font-size: 12.5px;
  line-height: 1.68;
}

.home-page .digital-showroom-story p + p {
  margin-top: 10px;
}

.home-page .digital-showroom-story .digital-page-line,
.home-page .vehicle-intelligence-story .vehicle-data-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}

.digital-page-line span,
.vehicle-data-line span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border: 1px solid rgba(73, 81, 88, 0.3);
  border-radius: 999px;
  color: #252c31;
  background: linear-gradient(180deg, #f1f3f4, #b8bec3);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.82),
    0 3px 7px rgba(30, 36, 41, 0.1);
  font: 800 8.5px/1.2 var(--mono);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.digital-showroom-footer,
.vehicle-intelligence-footer {
  display: flex;
  align-items: center;
  width: auto;
  height: 116px;
  margin: auto -27px -27px;
  padding: 22px 27px;
  border: 0;
  border-top: 1px solid rgba(230, 234, 237, 0.16);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(185, 192, 198, 0.11), transparent 48%),
    #343b41;
  box-shadow:
    0 15px 30px rgba(24, 29, 34, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.11);
}

.digital-showroom-footer > div {
  min-width: 0;
}

.vehicle-intelligence-footer > div {
  min-width: 0;
}

.digital-showroom-footer-kicker,
.vehicle-intelligence-footer-kicker {
  display: block;
  margin: 0 0 8px 20px;
  color: #d4d9dd;
  font: 850 8px/1.3 var(--mono);
  letter-spacing: 1.05px;
}

.home-page .vehicle-intelligence-footer p {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 3px 0 3px 18px;
  border-left: 2px solid rgba(191, 198, 204, 0.82);
  color: #edf0f2;
  font: italic 600 14px/1.65 Georgia, "Times New Roman", serif;
}

.home-page .digital-showroom-card .digital-showroom-signoff {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 3px 0 3px 18px;
  border-left: 2px solid rgba(191, 198, 204, 0.82);
  color: #edf0f2;
  font: italic 600 14px/1.65 Georgia, "Times New Roman", serif;
}

@media (max-width: 760px) {
  .digital-showroom-header,
  .vehicle-intelligence-header {
    gap: 13px;
    padding: 20px 22px;
  }

  .home-page .digital-showroom-header .landing-feature-icon,
  .home-page .vehicle-intelligence-header .landing-feature-icon {
    width: 40px;
    height: 40px;
  }

  .digital-showroom-story section,
  .vehicle-intelligence-story article {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
  }

  .digital-story-number,
  .vehicle-story-number {
    width: 28px;
    height: 28px;
    font-size: 8px;
  }

  .digital-showroom-footer {
    height: auto;
    min-height: 108px;
    padding: 20px 22px;
  }


  .vehicle-intelligence-footer {
    height: auto;
    min-height: 108px;
    padding: 20px 22px;
  }

  .digital-showroom-primary-action,
  .digital-showroom-button,
  .vehicle-intelligence-primary-action,
  .vehicle-intelligence-button {
    width: 100%;
  }
}

/* ===== Owner dashboard and request grids (owner pages only) ===== */
/* Admin dashboard PepGrid integration. */
:where(body.admin-dashboard-page) {
  --pg-color-border: #737a82;
  --pg-color-border-inner: #697078;
  --pg-color-border-cell: #697078;
  --pg-color-border-accent: #858c93;
  --pg-color-border-subtle: #697078;
  --pg-color-bg: #565d65;
  --pg-color-bg-muted: #50575f;
  --pg-color-bg-row-odd: #535a62;
  --pg-color-bg-row-hover: #60676f;
  --pg-color-bg-row-selected: #676e76;
  --pg-color-text: #edf0f2;
  --pg-color-text-header: #d7dbe0;
  --pg-color-text-muted: #c1c7cd;
  --pg-color-text-subtle: #aeb5bd;
  --pg-color-text-dark: #fff;
  --pg-color-accent: #edf0f2;
  --pg-color-chip-bg: #464c53;
  --pg-color-chip-border: #858c93;
  --pg-color-chip-label: #f2f4f5;
  --pg-color-chip-value: #d7dbe0;
  --pg-color-chip-arrow: #bfc5ca;
  --pg-color-icon: #b8bec4;
  --pg-color-search-match: #8a7957;
  --pg-color-shadow: rgba(0, 0, 0, 0.32);
}

.admin-dashboard-page .dashboard-grid-panel {
  margin-top: 22px;
}

.admin-dashboard-page .dashboard-grid article {
  border-color: #aeb4ba;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.32);
}

.admin-dashboard-page .dashboard-grid article > span,
.admin-dashboard-page .dashboard-grid article small {
  color: #293037;
}

.admin-dashboard-page .dashboard-grid article > span:not(.metric-icon) {
  font-size: 14px;
  font-weight: 700;
}

.admin-dashboard-page .dashboard-grid article small {
  font-size: 13px;
  font-weight: 600;
}

.admin-dashboard-page .dashboard-grid article strong {
  color: #111518;
}

.admin-dashboard-page .admin-pep-grid {
  color: var(--pg-color-text);
  font-family: var(--sans);
}

.admin-dashboard-page .pg-grid-wrapper {
  border: 0;
  border-radius: 0;
  background: var(--pg-color-bg);
  box-shadow: none;
}

.admin-dashboard-page .pg-grid-scroll {
  overflow-x: auto;
  scrollbar-color: #858c93 #464c53;
}

.admin-dashboard-page .pg-search-bar {
  min-height: 54px;
  padding: 8px 14px;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
}

.admin-dashboard-page .input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.admin-dashboard-page .input-group-text,
.admin-dashboard-page .form-control,
:where(.admin-dashboard-page) .pg-filter-dropdown .form-control {
  min-height: 36px;
  box-sizing: border-box;
  border: 1px solid #7b8289;
  border-radius: 0;
  color: #edf0f2;
  background: #41474f;
  font: 14px/1.3 var(--sans);
}

.admin-dashboard-page .input-group-text {
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
}

.admin-dashboard-page .input-group > :first-child {
  border-radius: 7px 0 0 7px;
}

.admin-dashboard-page .input-group > :last-child {
  border-radius: 0 7px 7px 0;
}

.admin-dashboard-page .input-group > :not(:first-child) {
  margin-left: -1px;
}

.admin-dashboard-page .form-control,
:where(.admin-dashboard-page) .pg-filter-dropdown .form-control {
  width: 100%;
  padding: 7px 10px;
  outline: 0;
}

.admin-dashboard-page .form-control::placeholder,
:where(.admin-dashboard-page) .pg-filter-dropdown .form-control::placeholder {
  color: #aeb5bd;
}

.admin-dashboard-page .form-control:focus,
:where(.admin-dashboard-page) .pg-filter-dropdown .form-control:focus {
  border-color: #b8bec4;
  box-shadow: 0 0 0 3px rgba(230, 233, 236, 0.1);
}

.admin-dashboard-page .pg-search-input-group .pg-search-input,
.admin-dashboard-page .pg-search-input-group .input-group-text,
.admin-dashboard-page .pg-search-input-group .pg-search-clear {
  color: #edf0f2;
  border-color: #7b8289;
  background: #41474f;
  font-size: 14px;
}

.admin-dashboard-page .pg-search-input-group .pg-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #7b8289;
  border-radius: 0 7px 7px 0;
  box-shadow: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  appearance: none;
}

.admin-dashboard-page .pg-search-input-group .pg-search-clear:hover,
.admin-dashboard-page .pg-search-input-group .pg-search-clear:focus-visible {
  color: #fff;
  border-color: #7b8289;
  background: #41474f;
  box-shadow: none;
  outline: 0;
}

.admin-dashboard-page .pg-grid-table {
  font-size: 14px;
}

.admin-dashboard-page .pg-grid-table th {
  height: 39px;
  padding: 7px 11px;
  border-right-color: #91919a;
  border-bottom-color: #85858e;
  color: #34393f;
  background: linear-gradient(180deg, #92999f, #626970);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-align: left;
}

.admin-dashboard-page .pg-grid-table th .pg-sort-icon,
.admin-dashboard-page .pg-grid-table th .pg-filter-btn {
  color: #555b62;
}

.admin-dashboard-page .pg-th-label {
  font-weight: 600;
  text-align: left;
}

.admin-dashboard-page .pg-grid-table td {
  height: 48px;
  padding: 10px 11px;
  font-size: 14px;
  line-height: 1.45;
}

.admin-dashboard-page .pg-resize-handle::before {
  background: #adb4bb;
}

.admin-dashboard-page .pg-sort-icon,
.admin-dashboard-page .pg-filter-btn {
  min-width: 20px;
  min-height: 24px;
}

.admin-dashboard-page .pg-autozoom-popup {
  border-color: #858c93;
  color: #edf0f2;
  background: #41474f;
  font-size: 14px;
  line-height: 1.55;
}

.admin-dashboard-page .pg-state-msg,
.admin-dashboard-page .pg-loading-copy {
  color: #c1c7cd;
  font-size: 14px;
}

.admin-dashboard-page .pg-loading-spinner {
  --pg-loading-color: #d9dde1;
}

.admin-dashboard-page .pg-loading-dots > span {
  background: #d9dde1;
}

.admin-dashboard-page .pg-grid-footer {
  min-height: 50px;
  padding: 8px 14px;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
}

.admin-dashboard-page .pg-pager {
  background: transparent;
}

.admin-dashboard-page .pg-pager-info {
  border-color: #7b8289;
  color: #d7dbe0;
  background: #464c53;
  font-size: 12px;
}

.admin-dashboard-page .pg-pager-info .bi-table,
.admin-dashboard-page .pg-pager-info-nums,
.admin-dashboard-page .pg-pager-info-total {
  color: #f0f2f4;
}

.admin-dashboard-page .pg-pager-info-page {
  color: #34393f;
  background: #e3e6e9;
  box-shadow: none;
}

.admin-dashboard-page .pg-pager-arrow,
.admin-dashboard-page .pg-pager-num {
  min-width: 30px;
  min-height: 30px;
  padding: 4px 8px;
  border-color: #7b8289;
  color: #edf0f2;
  background: #464c53;
  box-shadow: none;
  font-size: 12px;
}

.admin-dashboard-page .pg-pager-arrow:hover:not(:disabled),
.admin-dashboard-page .pg-pager-num:hover:not(.pg-pager-active) {
  border-color: #aeb5bd;
  color: #fff;
  background: #60676f;
  box-shadow: none;
}

.admin-dashboard-page .pg-pager-active {
  border-color: #d7dbe0;
  color: #34393f;
  background: #d7dbe0;
  box-shadow: none;
}

.admin-dashboard-page .dashboard-grid-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid #858c93;
  border-radius: 999px;
  color: #f0f2f4;
  background: #464c53;
  font: 11px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-dashboard-page .pg-grid-table tbody tr {
  cursor: pointer;
}

.admin-dashboard-page .customer-grid-icon-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.admin-dashboard-page .customer-email-toggle,
.admin-dashboard-page .customer-api-toggle,
.admin-dashboard-page .customer-subscription-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 32px;
  padding: 0;
  border: 1px solid #85858e;
  border-radius: 8px;
  color: #34393f;
  background: linear-gradient(180deg, #92999f, #626970);
  cursor: pointer;
}

.admin-dashboard-page .customer-email-toggle:hover,
.admin-dashboard-page .customer-email-toggle:focus-visible,
.admin-dashboard-page .customer-email-toggle.is-open,
.admin-dashboard-page .customer-api-toggle:hover,
.admin-dashboard-page .customer-api-toggle:focus-visible,
.admin-dashboard-page .customer-api-toggle.is-open,
.admin-dashboard-page .customer-subscription-toggle:hover,
.admin-dashboard-page .customer-subscription-toggle:focus-visible,
.admin-dashboard-page .customer-subscription-toggle.is-open {
  border-color: #747b82;
  color: #252a2f;
  background: linear-gradient(180deg, #92999f, #626970);
  filter: brightness(0.9);
  outline: 0;
}

.admin-dashboard-page .customer-email-toggle svg,
.admin-dashboard-page .customer-api-toggle svg,
.admin-dashboard-page .customer-subscription-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.admin-dashboard-page .customer-email-toggle span,
.admin-dashboard-page .customer-api-toggle span,
.admin-dashboard-page .customer-subscription-toggle span {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid #565d65;
  border-radius: 999px;
  color: #34393f;
  background: #edf0f2;
  font: 700 9px/14px var(--mono);
  text-align: center;
}

.admin-dashboard-page .bg-info {
  color: #16343b !important;
  background: #0dcaf0 !important;
}

.admin-dashboard-page .dashboard-grid-status.badge {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
}

.admin-dashboard-page .bg-success {
  color: #fff !important;
  background: #198754 !important;
}

.admin-dashboard-page .bg-warning {
  color: #3e3100 !important;
  background: #ffc107 !important;
}

.admin-dashboard-page .bg-danger {
  color: #fff !important;
  background: #dc3545 !important;
}

.admin-dashboard-page .bg-secondary {
  color: #fff !important;
  background: #6c757d !important;
}

.admin-dashboard-page .pg-grid-table tbody .customer-email-detail-row,
.admin-dashboard-page .pg-grid-table tbody .customer-email-detail-row:hover {
  background: #383e45;
  cursor: default;
}

.admin-dashboard-page .pg-grid-table tbody .customer-email-detail-row > td {
  height: auto;
  padding: 0;
  border-top: 2px solid #aeb5bd;
  border-bottom: 2px solid #697078;
  white-space: normal;
}

.admin-dashboard-page .customer-email-detail,
.admin-dashboard-page .customer-account-detail {
  padding: 18px;
  background: linear-gradient(145deg, #444b52, #343a40);
}

.admin-dashboard-page .customer-email-detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.admin-dashboard-page .customer-email-detail-heading span {
  color: #b9c0c6;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.13em;
}

.admin-dashboard-page .customer-email-detail-heading h3 {
  margin: 3px 0 0;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}

.admin-dashboard-page .customer-detail-heading-primary {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.admin-dashboard-page .customer-subgrid-heading-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-dashboard-page .customer-subgrid-create-button span,
.admin-dashboard-page .customer-subgrid-create-button .admin-action-icon {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

.admin-dashboard-page .customer-api-issue,
.admin-dashboard-page .customer-api-copy {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #85858e;
  border-radius: 7px;
  color: #252a2f;
  background: linear-gradient(180deg, #92999f, #626970);
  cursor: pointer;
  font: 600 12px/1 var(--sans);
}

.admin-dashboard-page .customer-api-issue:hover,
.admin-dashboard-page .customer-api-issue:focus-visible,
.admin-dashboard-page .customer-api-copy:hover,
.admin-dashboard-page .customer-api-copy:focus-visible {
  filter: brightness(0.9);
  outline: 0;
}

.admin-dashboard-page .customer-api-issue:disabled {
  opacity: 0.6;
  cursor: wait;
}

.admin-dashboard-page .dashboard-client-delete-open,
.admin-dashboard-page .dashboard-client-delete-submit {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #bd5b5b;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(180deg, #a43d3d, #742727);
  cursor: pointer;
  font: 700 12px/1 var(--sans);
}

.admin-dashboard-page .dashboard-client-delete-open:hover,
.admin-dashboard-page .dashboard-client-delete-open:focus-visible,
.admin-dashboard-page .dashboard-client-delete-submit:hover,
.admin-dashboard-page .dashboard-client-delete-submit:focus-visible {
  border-color: #e08383;
  filter: brightness(1.08);
  outline: 0;
}

.admin-dashboard-page .dashboard-client-delete-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
}

.admin-dashboard-page .customer-delete-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 32px;
  padding: 0;
  border: 1px solid #b74f55;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(180deg, #dc4c58, #9d2833);
  cursor: pointer;
}

.admin-dashboard-page .customer-delete-action:hover,
.admin-dashboard-page .customer-delete-action:focus-visible {
  border-color: #d36a72;
  color: #fff;
  background: linear-gradient(180deg, #e35a65, #a92d38);
  filter: brightness(0.92);
  outline: 0;
}

.admin-dashboard-page .customer-delete-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-dashboard-page .dashboard-client-delete-modal .modal-dialog {
  max-width: 600px;
}

.admin-dashboard-page .dashboard-client-delete-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #747b82;
  border-radius: 9px;
  color: #f5f6f7;
  background: #343a40;
}

.admin-dashboard-page .dashboard-client-delete-summary strong {
  font-size: 17px;
}

.admin-dashboard-page .dashboard-client-delete-summary span {
  color: #bfc5ca;
  font: 11px/1.5 var(--mono);
}

.admin-dashboard-page .dashboard-client-delete-warning {
  margin: 16px 0;
  color: #ffd3d3;
  font-size: 13px;
  line-height: 1.55;
}

.admin-dashboard-page .dashboard-client-delete-confirm {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 14px;
  border: 1px solid #8f4a4a;
  border-radius: 9px;
  color: #f2f3f4;
  background: rgba(112, 30, 30, 0.28);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.45;
}

.admin-dashboard-page .dashboard-client-delete-confirm input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #a43d3d;
}

.admin-dashboard-page .customer-api-issue-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px 12px;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid #4f9a70;
  border-radius: 9px;
  color: #eaf8ef;
  background: rgba(23, 91, 53, 0.32);
}

.admin-dashboard-page .customer-api-issue-result[hidden] {
  display: none;
}

.admin-dashboard-page .customer-api-issue-result span {
  grid-column: 1 / -1;
  font-size: 12px;
}

.admin-dashboard-page .customer-api-issue-result code {
  min-width: 0;
  padding: 9px 10px;
  overflow-wrap: anywhere;
  border-radius: 6px;
  color: #f4f6f7;
  background: #272c31;
  font: 12px/1.5 var(--mono);
}

.admin-dashboard-page .customer-api-issue-result.is-error {
  border-color: #a65d5d;
  color: #ffdada;
  background: rgba(112, 30, 30, 0.35);
}

.admin-dashboard-page .customer-api-issue-result.is-error code,
.admin-dashboard-page .customer-api-issue-result.is-error .customer-api-copy {
  display: none;
}

.admin-dashboard-page .dashboard-key-issue-modal .modal-dialog {
  max-width: 540px;
}

.admin-dashboard-page .admin-new-customer {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #85858e;
  border-radius: 7px;
  color: #f5f6f7;
  background: linear-gradient(180deg, #92999f, #626970);
  cursor: pointer;
  font: 600 12px/1 var(--sans);
}

.admin-dashboard-page .pg-search-bar .admin-new-customer,
.admin-dashboard-page .pg-search-bar .admin-new-opportunity {
  margin-right: auto;
}

.admin-dashboard-page .admin-new-customer:hover,
.admin-dashboard-page .admin-new-customer:focus-visible {
  filter: brightness(0.9);
  outline: 0;
}

.admin-dashboard-page .dashboard-key-name-label {
  display: block;
  margin-bottom: 7px;
  color: #30363b;
  font: 600 12px/1.3 var(--sans);
}

.admin-dashboard-page .dashboard-key-name-input {
  display: block;
  width: 100%;
  min-height: 43px;
  padding: 9px 12px;
  border: 1px solid #656c73;
  border-radius: 8px;
  color: #f4f6f7;
  background: #4d545b;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.22);
  font: 14px/1.4 var(--sans);
}

.admin-dashboard-page .dashboard-key-name-input:focus {
  border-color: #d4d8dc;
  outline: 2px solid rgba(255, 255, 255, 0.24);
  outline-offset: 1px;
}

.admin-dashboard-page .dashboard-key-issue-help {
  margin: 9px 0 0;
  color: #343a40;
  font-size: 12px;
  line-height: 1.5;
}

.admin-dashboard-page .dashboard-key-issue-error {
  margin-top: 12px;
  padding: 9px 11px;
  border: 1px solid #9d4242;
  border-radius: 7px;
  color: #ffe1e1;
  background: rgba(105, 29, 29, 0.78);
  font-size: 12px;
}

.admin-dashboard-page .dashboard-key-issue-error[hidden] {
  display: none;
}

.admin-dashboard-page .new-email-address-fields {
  margin-bottom: 16px;
}

.admin-dashboard-page .dashboard-subgrid-edit-modal .modal-dialog {
  max-width: 820px;
}

.admin-dashboard-page .dashboard-new-client-modal .modal-dialog {
  max-width: 860px;
}

.admin-dashboard-page .dashboard-confirmation-modal .modal-dialog {
  max-width: 760px;
}

.admin-dashboard-page .dashboard-confirmation-modal .modal-content {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.admin-dashboard-page .dashboard-confirmation-modal .modal-header,
.admin-dashboard-page
  .dashboard-confirmation-modal
  .modal-content
  > .modal-footer,
.admin-dashboard-page
  .dashboard-confirmation-modal
  .dashboard-subgrid-edit-fields,
.admin-dashboard-page
  .dashboard-confirmation-modal
  .dashboard-subgrid-edit-error,
.admin-dashboard-page
  .dashboard-confirmation-modal
  .dashboard-subgrid-edit-actions {
  display: none !important;
}

.admin-dashboard-page .dashboard-confirmation-modal .modal-body {
  padding: 0;
  overflow: visible;
}

.admin-dashboard-page .dashboard-confirmation-modal .dashboard-subgrid-editor,
.admin-dashboard-page
  .dashboard-confirmation-modal
  #dashboard-subgrid-edit-form {
  margin: 0;
  padding: 0;
  background: transparent;
}

.admin-dashboard-page
  .dashboard-subgrid-edit-modal
  .modal-content
  > .modal-footer {
  display: none;
}

.admin-dashboard-page .dashboard-subgrid-editor[hidden],
.admin-dashboard-page .dashboard-subgrid-edit-fields[hidden],
.admin-dashboard-page .dashboard-subgrid-edit-error[hidden] {
  display: none;
}

.admin-dashboard-page .dashboard-subgrid-edit-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-dashboard-page .dashboard-edit-field {
  min-width: 0;
}

.admin-dashboard-page .dashboard-edit-field-wide {
  grid-column: 1 / -1;
}

.admin-dashboard-page .dashboard-edit-field label {
  display: block;
  margin: 0 0 6px;
  color: #30363b;
  font: 600 12px/1.3 var(--sans);
}

.admin-dashboard-page .dashboard-edit-field label span {
  color: #565d64;
  font: 10px/1.3 var(--mono);
  letter-spacing: 0.04em;
}

.admin-dashboard-page .dashboard-edit-field input,
.admin-dashboard-page .dashboard-edit-field select {
  display: block;
  width: 100%;
  min-height: 43px;
  padding: 9px 11px;
  border: 1px solid #656c73;
  border-radius: 8px;
  color: #f4f6f7;
  background: #4d545b;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  font: 14px/1.4 var(--sans);
}

.admin-dashboard-page .dashboard-edit-field select {
  cursor: pointer;
}

.admin-dashboard-page .dashboard-edit-field input:focus,
.admin-dashboard-page .dashboard-edit-field select:focus {
  border-color: #d4d8dc;
  outline: 2px solid rgba(255, 255, 255, 0.24);
  outline-offset: 1px;
}

.admin-dashboard-page .dashboard-edit-field-readonly input {
  color: #d1d6da;
  background: #5e656c;
  cursor: not-allowed;
}

.admin-dashboard-page .dashboard-subgrid-edit-error {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid #9d4242;
  border-radius: 8px;
  color: #ffe1e1;
  background: rgba(105, 29, 29, 0.78);
  font-size: 12px;
}

.admin-dashboard-page .dashboard-client-create-result {
  display: block;
}

.admin-dashboard-page .dashboard-client-create-result[hidden],
.admin-dashboard-page .client-edit-only[hidden] {
  display: none;
}

.admin-dashboard-page .dashboard-subgrid-edit-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px -24px -18px;
  padding: 10px 24px;
  border-radius: 0 0 15px 15px;
  color: #c0c6cb;
  background: #41474f;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.04em;
}

.admin-dashboard-page .dashboard-subgrid-edit-actions > div {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.admin-dashboard-page #dashboard-subgrid-edit-note {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  text-align: left;
}

.admin-dashboard-page
  .dashboard-subscription-modal
  #dashboard-subgrid-edit-note {
  display: none;
}

.admin-dashboard-page
  .dashboard-subscription-modal
  .dashboard-subgrid-edit-actions
  > div {
  display: contents;
}

.admin-dashboard-page
  .dashboard-subscription-modal
  #dashboard-subgrid-edit-cancel {
  margin-right: auto;
}

.admin-dashboard-page .customer-api-grid .pg-grid-table tbody tr,
.admin-dashboard-page .customer-subscription-grid .pg-grid-table tbody tr {
  cursor: pointer;
}

.admin-dashboard-page .customer-email-collapse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  padding: 0;
  border: 1px solid #85858e;
  border-radius: 7px;
  color: #252a2f;
  background: linear-gradient(180deg, #92999f, #626970);
  cursor: pointer;
}

.admin-dashboard-page .customer-email-collapse:hover,
.admin-dashboard-page .customer-email-collapse:focus-visible {
  border-color: #85858e;
  color: #fff;
  background: linear-gradient(180deg, #92999f, #626970);
  box-shadow: none;
  filter: none;
  outline: 0;
  transform: none;
}

.admin-dashboard-page .customer-email-collapse svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-dashboard-page .customer-email-grid .pg-grid-wrapper {
  overflow: hidden;
  border: 1px solid #697078;
  border-radius: 10px;
}

.admin-dashboard-page
  .customer-account-grid-section
  + .customer-account-grid-section {
  margin-top: 18px;
}

.admin-dashboard-page .customer-account-grid-section h4 {
  margin: 0 0 8px;
  color: #e8eaec;
  font: 600 12px/1.4 var(--sans);
  letter-spacing: 0.04em;
}

.admin-dashboard-page .customer-api-grid .pg-grid-wrapper,
.admin-dashboard-page .customer-subscription-grid .pg-grid-wrapper {
  overflow: hidden;
  border: 1px solid #697078;
  border-radius: 10px;
}

.admin-dashboard-page .customer-api-grid .pg-search-bar,
.admin-dashboard-page .customer-api-grid .pg-grid-footer,
.admin-dashboard-page .customer-subscription-grid .pg-search-bar,
.admin-dashboard-page .customer-subscription-grid .pg-grid-footer {
  min-height: 44px;
  padding: 6px 10px;
}

.admin-dashboard-page .customer-api-grid .pg-grid-table tbody tr,
.admin-dashboard-page .customer-subscription-grid .pg-grid-table tbody tr {
  cursor: default;
}

.admin-dashboard-page .customer-account-error {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid #a65d5d;
  border-radius: 8px;
  color: #ffdada;
  background: rgba(112, 30, 30, 0.35);
}

.admin-dashboard-page .customer-email-grid .pg-search-bar,
.admin-dashboard-page .customer-email-grid .pg-grid-footer {
  min-height: 44px;
  padding: 6px 10px;
}

.admin-dashboard-page .customer-email-grid .pg-grid-table tbody tr {
  cursor: default;
}

.admin-dashboard-page .customer-email-actions {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 5px;
}

.admin-dashboard-page .customer-email-actions button:not(.customer-delete-action) {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid #8e959c;
  border-radius: 6px;
  color: #f5f6f7;
  background: #50575f;
  cursor: pointer;
  font: 600 11px/1 var(--sans);
}

.admin-dashboard-page .customer-email-actions button[data-email-action="view"] {
  width: 38px;
  min-width: 38px;
  padding: 0;
}

.admin-dashboard-page .customer-email-actions button[data-email-action="view"] svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-dashboard-page .customer-email-actions button:not(.customer-delete-action):hover,
.admin-dashboard-page .customer-email-actions button:not(.customer-delete-action):focus-visible {
  border-color: #c5cacf;
  background: #656c74;
  outline: 0;
}

.admin-dashboard-page .dashboard-email-preview[hidden] {
  display: none;
}

.admin-dashboard-page
  .dashboard-record-modal.dashboard-email-modal
  .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.admin-dashboard-page
  .dashboard-record-modal.dashboard-email-modal
  .modal-content {
  height: 100%;
}

.admin-dashboard-page
  .dashboard-record-modal.dashboard-email-modal
  .dashboard-email-preview {
  height: 100%;
  min-height: 0;
}

.admin-dashboard-page .dashboard-email-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
}

/* Record detail modal: Bootstrap behavior with the dashboard's graphite skin. */
.admin-dashboard-page.modal-open {
  overflow: hidden;
}

.admin-dashboard-page .modal {
  position: fixed;
  inset: 0;
  z-index: 1055;
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.admin-dashboard-page .modal.fade {
  opacity: 0;
  transition: opacity 0.18s ease;
}

.admin-dashboard-page .modal.show {
  opacity: 1;
}

.admin-dashboard-page .modal-dialog {
  position: relative;
  width: auto;
  max-width: 1180px;
  margin: 14px auto;
  pointer-events: none;
  transform: translateY(14px) scale(0.99);
  transition: transform 0.22s ease;
}

.admin-dashboard-page .modal.show .modal-dialog {
  transform: none;
}

.admin-dashboard-page .modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 28px);
}

.admin-dashboard-page .modal-dialog-scrollable {
  height: calc(100% - 28px);
}

.admin-dashboard-page .modal-dialog-scrollable .modal-content {
  max-height: 100%;
  overflow: hidden;
}

.admin-dashboard-page .modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

.admin-dashboard-page .modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid #858c93;
  border-radius: 16px;
  color: #edf0f2;
  background: #484e56;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.48),
    inset 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: auto;
}

.admin-dashboard-page .modal-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 24px 16px;
  border-bottom: 1px solid #697078;
  border-radius: 15px 15px 0 0;
  background: linear-gradient(130deg, #596068, #41474f);
}

.admin-dashboard-page .dashboard-record-header::after {
  content: "";
  position: absolute;
  right: 92px;
  bottom: 0;
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d8dce0, transparent);
}

.admin-dashboard-page .dashboard-record-kicker {
  display: block;
  color: #bac1c7;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.14em;
}

.admin-dashboard-page .modal-title {
  margin: 5px 0 3px;
  color: #fff;
  font-size: 28px;
  line-height: 1.15;
}

.admin-dashboard-page .dashboard-record-header p {
  margin: 0;
  color: #c5cbd0;
  font-size: 14px;
}

.admin-dashboard-page .dashboard-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  padding: 0;
  border: 1px solid #85858e;
  border-radius: 7px;
  color: #252a2f;
  background: linear-gradient(180deg, #92999f, #626970) !important;
  cursor: pointer;
  opacity: 1;
}

.admin-dashboard-page .dashboard-modal-close svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.admin-dashboard-page .dashboard-modal-close:hover,
.admin-dashboard-page .dashboard-modal-close:focus-visible {
  border-color: #85858e;
  color: #fff;
  background: linear-gradient(180deg, #92999f, #626970) !important;
  box-shadow: none;
  filter: none;
  outline: 0;
  transform: none;
}

.admin-dashboard-page .modal-body {
  padding: 16px 24px 18px;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
}

.admin-dashboard-page .dashboard-record-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border: 1px solid #737a82;
  border-radius: 12px;
  background: #565d65;
}

.admin-dashboard-page .dashboard-record-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid #9da3a9;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #6b727a, #41474f);
  font: 600 17px/1 var(--mono);
  letter-spacing: 0.08em;
}

.admin-dashboard-page .dashboard-record-summary strong,
.admin-dashboard-page .dashboard-record-summary > div > span:last-child {
  display: block;
}

.admin-dashboard-page .dashboard-record-summary strong {
  margin: 2px 0;
  color: #fff;
  font-size: 19px;
  font-weight: 500;
}

.admin-dashboard-page .dashboard-record-summary > div > span:last-child {
  color: #c1c7cd;
  font-size: 13px;
}

.admin-dashboard-page .dashboard-record-status {
  padding: 7px 11px;
  border: 1px solid #91989f;
  border-radius: 999px;
  color: #f1f3f4;
  background: #464c53;
  font: 10px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-dashboard-page .dashboard-record-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}

.admin-dashboard-page .dashboard-record-action {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #8c939a;
  border-radius: 8px;
  color: #f5f6f7;
  background: linear-gradient(180deg, #626971, #525960);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.admin-dashboard-page .dashboard-record-action span {
  margin-right: 9px;
  color: #fff;
  font-size: 17px;
}

.admin-dashboard-page .dashboard-record-action:hover,
.admin-dashboard-page .dashboard-record-action:focus-visible {
  border-color: #c0c5ca;
  color: #fff;
  background: linear-gradient(180deg, #70777f, #5c636b);
  outline: 0;
}

.admin-dashboard-page .dashboard-record-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-dashboard-page .dashboard-detail-section {
  padding: 14px 16px;
  border: 1px solid #697078;
  border-radius: 12px;
  background: #50575f;
}

.admin-dashboard-page .dashboard-detail-section-wide {
  grid-column: 1 / -1;
}

.admin-dashboard-page .dashboard-detail-section h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.admin-dashboard-page .dashboard-detail-section dl {
  margin: 0;
}

.admin-dashboard-page .dashboard-detail-section dl > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.42fr) minmax(0, 1fr);
  gap: 12px;
  padding: 6px 0;
  border-top: 1px solid #666d75;
}

.admin-dashboard-page .dashboard-detail-section dl > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.admin-dashboard-page .dashboard-detail-section dl > div:last-child {
  padding-bottom: 0;
}

.admin-dashboard-page .dashboard-detail-section dt {
  color: #b9c0c6;
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.admin-dashboard-page .dashboard-detail-section dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #f0f2f3;
  font-size: 14px;
  line-height: 1.55;
}

.admin-dashboard-page .dashboard-detail-long {
  grid-template-columns: 1fr !important;
  gap: 7px !important;
}

.admin-dashboard-page .dashboard-detail-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #9da4aa;
  text-underline-offset: 3px;
}

.admin-dashboard-page .dashboard-detail-link:hover {
  text-decoration-color: #fff;
}

.admin-dashboard-page .modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 24px;
  border-top: 1px solid #697078;
  border-radius: 0 0 15px 15px;
  color: #aeb5bd;
  background: #41474f;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.admin-dashboard-page .dashboard-modal-done {
  min-height: 32px;
  padding: 0 17px;
  border: 1px solid #939aa1;
  border-radius: 7px;
  color: #f5f6f7;
  background: #596068;
  cursor: pointer;
  font: 600 13px/1 var(--sans);
  text-transform: none;
}

.admin-dashboard-page .dashboard-modal-done:hover {
  border-color: #c1c6cb;
  background: #676e76;
}

.admin-dashboard-page .modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: #101214;
}

.admin-dashboard-page .modal-backdrop.fade {
  opacity: 0;
}

.admin-dashboard-page .modal-backdrop.show {
  opacity: 0.72;
}

/* PepGrid places this menu directly under body, outside the dashboard wrapper. */
:where(.admin-dashboard-page) .pg-filter-dropdown {
  border-color: #858c93;
  color: #edf0f2;
  background: #50575f;
  font-family: var(--sans);
}

:where(.admin-dashboard-page) .pg-filter-dropdown .form-control {
  border-radius: 6px;
}

:where(.admin-dashboard-page) .pg-filter-dropdown .pg-filter-item {
  min-height: 34px;
  font-size: 13px;
}

:where(.admin-dashboard-page) .pg-filter-dropdown .pg-filter-item:hover {
  background: #60676f;
}

:where(.admin-dashboard-page) .pg-filter-dropdown .btn {
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid #858c93;
  border-radius: 6px;
  color: #f0f2f4;
  background: #464c53;
  cursor: pointer;
  font: 600 12px/1 var(--sans);
}

:where(.admin-dashboard-page) .pg-filter-dropdown .btn-link {
  border-color: transparent;
  color: #d7dbe0;
  background: transparent;
}

:where(.admin-dashboard-page) .pg-filter-dropdown .btn:hover {
  border-color: #b8bec4;
  color: #fff;
  background: #60676f;
}

/* Bootstrap Icons are optional in PepGrid; these compact glyphs are its fallback. */
.admin-dashboard-page .bi,
:where(.admin-dashboard-page) .pg-filter-dropdown .bi {
  display: inline-block;
  width: 1em;
  font-style: normal;
  line-height: 1;
  text-align: center;
}

.admin-dashboard-page .bi-search::before,
:where(.admin-dashboard-page) .pg-filter-dropdown .bi-search::before {
  content: "\2315";
}
.admin-dashboard-page .bi-x::before,
.admin-dashboard-page .bi-x-lg::before,
.admin-dashboard-page .bi-x-circle::before,
:where(.admin-dashboard-page) .pg-filter-dropdown .bi-x::before,
:where(.admin-dashboard-page) .pg-filter-dropdown .bi-x-lg::before {
  content: "\00d7";
}
.admin-dashboard-page .bi-funnel::before,
.admin-dashboard-page .bi-funnel-fill::before {
  content: "\25bd";
}
.admin-dashboard-page .bi-arrow-down-up::before {
  content: "\2195";
}
.admin-dashboard-page .bi-arrow-up-short::before {
  content: "\2191";
}
.admin-dashboard-page .bi-arrow-down-short::before,
.admin-dashboard-page .bi-arrow-bar-down::before {
  content: "\2193";
}
.admin-dashboard-page .bi-chevron-left::before {
  content: "\2039";
}
.admin-dashboard-page .bi-chevron-right::before {
  content: "\203a";
}
.admin-dashboard-page .bi-chevron-double-left::before {
  content: "\00ab";
}
.admin-dashboard-page .bi-chevron-double-right::before {
  content: "\00bb";
}
.admin-dashboard-page .bi-table::before,
.admin-dashboard-page .bi-collection::before,
.admin-dashboard-page .bi-collection-fill::before {
  content: "\25a6";
}
.admin-dashboard-page .bi-inbox::before {
  content: "\25a1";
}
.admin-dashboard-page .bi-exclamation-circle::before {
  content: "!";
}

@media (max-width: 760px) {
  .admin-dashboard-page .pg-search-bar {
    justify-content: stretch;
  }

  .admin-dashboard-page .pg-search-input-group {
    max-width: none;
  }

  .admin-dashboard-page .pg-pager {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-dashboard-page .pg-pager-nav {
    flex-wrap: wrap;
  }

  .admin-dashboard-page .modal-dialog,
  .admin-dashboard-page .modal-dialog-scrollable {
    width: auto;
    height: calc(100% - 24px);
    min-height: calc(100% - 24px);
    margin: 12px;
  }

  .admin-dashboard-page .modal-content {
    border-radius: 12px;
  }

  .admin-dashboard-page .modal-header,
  .admin-dashboard-page .modal-body,
  .admin-dashboard-page .modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .admin-dashboard-page .modal-title {
    font-size: 26px;
  }

  .admin-dashboard-page .dashboard-record-summary {
    grid-template-columns: auto 1fr;
  }

  .admin-dashboard-page .dashboard-record-status {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .admin-dashboard-page .dashboard-record-action {
    justify-content: center;
    width: 100%;
  }

  .admin-dashboard-page .dashboard-record-sections {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-page .dashboard-subgrid-edit-fields {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-page .dashboard-edit-field-wide {
    grid-column: auto;
  }

  .admin-dashboard-page .dashboard-subgrid-edit-actions {
    align-items: stretch;
    flex-direction: column;
    margin-right: -20px;
    margin-left: -20px;
  }

  .admin-dashboard-page .dashboard-detail-section-wide {
    grid-column: auto;
  }

  .admin-dashboard-page .dashboard-detail-section dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .admin-dashboard-page .modal-footer span {
    display: none;
  }

  .admin-dashboard-page .dashboard-modal-done {
    width: 100%;
  }

  .admin-dashboard-page .customer-email-detail,
  .admin-dashboard-page .customer-account-detail {
    padding: 12px;
  }
}

/* Keep every text action aligned with the pg-th visual language. */
.admin-dashboard-page {
  font-weight: 500;
}

.admin-dashboard-page .pg-grid-table th,
.admin-dashboard-page .pg-th-label {
  font-weight: 700;
  text-align: center;
}

.admin-dashboard-page .dashboard-modal-done,
.admin-dashboard-page .customer-api-issue,
.admin-dashboard-page .customer-api-copy,
.admin-dashboard-page .admin-new-customer,
.admin-dashboard-page .admin-new-opportunity,
.admin-dashboard-page .customer-email-actions button:not(.customer-delete-action),
:where(.admin-dashboard-page) .pg-filter-dropdown .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 0 15px;
  border: 1px solid var(--control-silver-border, #85858e);
  border-radius: 7px;
  color: var(--control-silver-text, #252a2f);
  background: linear-gradient(
    180deg,
    var(--control-silver-top, #92999f),
    var(--control-silver-bottom, #626970)
  ) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}

.admin-dashboard-page .dashboard-modal-done:hover,
.admin-dashboard-page .dashboard-modal-done:focus-visible,
.admin-dashboard-page .customer-api-issue:hover,
.admin-dashboard-page .customer-api-issue:focus-visible,
.admin-dashboard-page .customer-api-copy:hover,
.admin-dashboard-page .customer-api-copy:focus-visible,
.admin-dashboard-page .admin-new-customer:hover,
.admin-dashboard-page .admin-new-customer:focus-visible,
.admin-dashboard-page .admin-new-opportunity:hover,
.admin-dashboard-page .admin-new-opportunity:focus-visible,
.admin-dashboard-page .customer-email-actions button:not(.customer-delete-action):hover,
.admin-dashboard-page .customer-email-actions button:not(.customer-delete-action):focus-visible,
:where(.admin-dashboard-page) .pg-filter-dropdown .btn:hover,
:where(.admin-dashboard-page) .pg-filter-dropdown .btn:focus-visible {
  border-color: var(--control-silver-border, #85858e);
  color: #fff;
  background: linear-gradient(
    180deg,
    var(--control-silver-top, #92999f),
    var(--control-silver-bottom, #626970)
  ) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22);
  filter: none;
  outline: 0;
  transform: none;
}

.admin-dashboard-page .customer-api-issue:disabled,
.admin-dashboard-page .customer-api-copy:disabled,
.admin-dashboard-page .admin-new-customer:disabled,
.admin-dashboard-page .admin-new-opportunity:disabled,
:where(.admin-dashboard-page) .pg-filter-dropdown .btn:disabled {
  cursor: not-allowed;
  filter: grayscale(0.25);
  opacity: 0.55;
}

.admin-dashboard-page .pg-search-bar .admin-new-customer,
.admin-dashboard-page .pg-search-bar .admin-new-opportunity {
  border-color: var(--control-silver-border, #85858e) !important;
  color: var(--control-silver-text, #252a2f) !important;
  background: linear-gradient(180deg, #92999f, #626970) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22) !important;
  filter: none !important;
}

.admin-dashboard-page .pg-search-bar .admin-new-customer:hover,
.admin-dashboard-page .pg-search-bar .admin-new-customer:focus-visible,
.admin-dashboard-page .pg-search-bar .admin-new-opportunity:hover,
.admin-dashboard-page .pg-search-bar .admin-new-opportunity:focus-visible {
  color: #fff !important;
  background: linear-gradient(180deg, #92999f, #626970) !important;
  filter: none !important;
  transform: none !important;
}

.admin-dashboard-page .opportunity-grid-status {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.admin-dashboard-page .pg-grid-table tbody td {
  color: #edf0f2;
}

.admin-dashboard-page .opportunity-grid-status .dashboard-grid-status {
  min-width: 82px;
  text-align: center;
}

.admin-dashboard-page .dashboard-opportunity-edit-modal .modal-dialog {
  max-width: 900px;
}

.admin-dashboard-page .opportunity-edit-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-dashboard-page
  .dashboard-new-opportunity-modal
  #opportunity-edit-created {
  display: none;
}

.admin-dashboard-page
  .dashboard-new-opportunity-modal
  .opportunity-edit-actions {
  width: 100%;
}

.admin-dashboard-page
  .dashboard-new-opportunity-modal
  .opportunity-edit-actions
  .admin-modal-cancel {
  margin-right: auto;
}

.admin-dashboard-page .dashboard-edit-field textarea {
  display: block;
  width: 100%;
  min-height: 120px;
  padding: 9px 11px;
  border: 1px solid #656c73;
  border-radius: 8px;
  color: #f4f6f7;
  background: #4d545b;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  font: 14px/1.5 var(--sans);
  resize: vertical;
}

.admin-dashboard-page .dashboard-edit-field textarea:focus {
  border-color: #d4d8dc;
  outline: 2px solid rgba(255, 255, 255, 0.24);
  outline-offset: 1px;
}

.admin-dashboard-page .dashboard-client-delete-open[hidden],
.admin-dashboard-page .opportunity-delete-open[hidden] {
  display: none;
}

.admin-dashboard-page .dashboard-subgrid-edit-actions .customer-delete-action,
.admin-dashboard-page
  .dashboard-opportunity-edit-modal
  .customer-delete-action {
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  min-height: 39px;
}

.admin-dashboard-page .dashboard-client-delete-submit,
.admin-dashboard-page .dashboard-client-delete-submit:hover,
.admin-dashboard-page .dashboard-client-delete-submit:focus-visible {
  border-color: #b74f55 !important;
  color: #fff !important;
  background: linear-gradient(180deg, #dc4c58, #9d2833) !important;
  box-shadow: none !important;
  filter: none !important;
  outline: 0;
  transform: none !important;
}

.admin-dashboard-page .dashboard-client-delete-submit:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.admin-dashboard-page .admin-modal-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 39px;
  min-height: 39px;
  padding: 0 15px;
  border: 1px solid #5c636a;
  border-radius: 7px;
  color: #fff !important;
  background: #6c757d !important;
  box-shadow: none !important;
}

.admin-dashboard-page .admin-modal-cancel:hover,
.admin-dashboard-page .admin-modal-cancel:focus-visible {
  border-color: #5c636a;
  color: #e5e8ea !important;
  background: #6c757d !important;
  box-shadow: none !important;
  filter: none !important;
  outline: 0;
  transform: none !important;
}

.admin-dashboard-page .admin-action-icon {
  display: block;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-dashboard-page .admin-save-button {
  gap: 7px;
}

.admin-dashboard-page .admin-create-button {
  gap: 7px;
}

.admin-dashboard-page .new-email-subject-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.admin-dashboard-page .new-email-subject-row input {
  flex: 1 1 0;
  min-width: 0;
}

.admin-dashboard-page .opportunity-email-preview-controls {
  display: flex;
  flex: 0 0 auto;
}

.admin-dashboard-page #opportunity-email-preview-toggle {
  min-height: 43px;
  border-radius: 8px;
}

.admin-dashboard-page .opportunity-email-preview-frame {
  display: block;
  width: 100%;
  height: 485px;
  border: 1px solid #dfe3e6;
  border-radius: 10px;
  background: #eef0f2;
}

.admin-dashboard-page .opportunity-email-preview-controls[hidden],
.admin-dashboard-page .opportunity-email-preview-frame[hidden],
.admin-dashboard-page #new-email-editor[hidden] {
  display: none;
}

.admin-dashboard-page .admin-pep-grid .opportunity-reply-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #b9bec4;
  border-radius: 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.admin-dashboard-page .opportunity-reply-action .admin-action-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-dashboard-page .admin-create-button .admin-action-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.admin-dashboard-page .admin-save-button .admin-action-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.admin-dashboard-page .dashboard-delete-confirmation-modal {
  z-index: 1070;
}

body:where(.admin-dashboard-page).admin-delete-confirmation-open .modal-backdrop.show:last-of-type {
  z-index: 1065;
}

:where(.admin-dashboard-page) .site-nav .admin-mail-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

:where(.admin-dashboard-page) .site-nav .admin-mail-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: #fff;
  background: #dc3545;
  font: 700 10px/1 var(--mono);
}

:where(.admin-dashboard-page) .site-nav .admin-mail-nav-badge[hidden] {
  display: none;
}

.admin-dashboard-page .admin-inbox-error {
  margin: 16px 18px 0;
}

.admin-dashboard-page .admin-inbox-unread-row > td {
  color: #fff;
  font-weight: 600;
}

.admin-dashboard-page .admin-inbox-unread-row > td:first-child {
  box-shadow: inset 3px 0 #0dcaf0;
}

.admin-dashboard-page .admin-mail-preview-modal .dashboard-email-preview {
  display: block;
}

.admin-dashboard-page .admin-mail-preview-modal .admin-inbox-preview-error {
  margin-top: 14px;
}

.admin-dashboard-page .admin-mail-preview-modal .admin-mail-delete-open {
  width: 39px;
  height: 39px;
  min-height: 39px;
  margin-right: auto;
}

.admin-dashboard-page .customer-email-actions .admin-inbox-delete-action {
  width: 38px;
  height: 39px;
  min-height: 39px;
}

/* Match every actionable PepGrid control to the VIN API secondary button. */
.admin-dashboard-page .admin-pep-grid button:not(.pg-resize-handle):not(.pg-search-clear):not(.pg-filter-btn):not(.customer-delete-action),
:where(.admin-dashboard-page) .pg-filter-dropdown button {
  border-color: #b9bec4 !important;
  color: var(--control-silver-text, #252a2f) !important;
  background: linear-gradient(180deg, #f7f8f9, #dfe3e6) !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(35, 42, 48, 0.12) !important;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease,
    color 0.16s ease;
}

.admin-dashboard-page .admin-pep-grid button:not(.pg-resize-handle):not(.pg-search-clear):not(.pg-filter-btn):not(.customer-delete-action):hover,
:where(.admin-dashboard-page) .pg-filter-dropdown button:hover {
  border-color: #969da4 !important;
  color: #1f252a !important;
  background: linear-gradient(180deg, #fff, #e8ebed) !important;
  box-shadow:
    inset 0 1px #fff,
    0 2px 5px rgba(35, 42, 48, 0.16) !important;
  filter: none !important;
  transform: none !important;
}

.admin-dashboard-page .admin-pep-grid button:not(.pg-resize-handle):not(.pg-search-clear):not(.pg-filter-btn):not(.customer-delete-action):focus-visible,
:where(.admin-dashboard-page) .pg-filter-dropdown button:focus-visible {
  border-color: #747c84 !important;
  color: #1f252a !important;
  background: linear-gradient(180deg, #fff, #e8ebed) !important;
  box-shadow:
    inset 0 1px #fff,
    0 0 0 3px rgba(92, 101, 110, 0.2) !important;
  filter: none !important;
  outline: 0;
  transform: none !important;
}

.admin-dashboard-page .admin-pep-grid button:not(.pg-resize-handle):not(.pg-search-clear):not(.pg-filter-btn):not(.customer-delete-action):disabled,
:where(.admin-dashboard-page) .pg-filter-dropdown button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.25) !important;
  opacity: 0.55;
}

.admin-dashboard-page .dashboard-modal-close,
.admin-dashboard-page .dashboard-modal-done,
.admin-dashboard-page .copy-action-button,
.admin-dashboard-page .customer-api-issue.admin-create-button,
.admin-dashboard-page .customer-api-issue.admin-save-button {
  border-color: #b9bec4 !important;
  color: var(--control-silver-text, #252a2f) !important;
  background: linear-gradient(180deg, #f7f8f9, #dfe3e6) !important;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(35, 42, 48, 0.12) !important;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease,
    color 0.16s ease;
}

.admin-dashboard-page .dashboard-modal-close:hover,
.admin-dashboard-page .dashboard-modal-done:hover,
.admin-dashboard-page .copy-action-button:hover,
.admin-dashboard-page .customer-api-issue.admin-create-button:hover,
.admin-dashboard-page .customer-api-issue.admin-save-button:hover {
  border-color: #969da4 !important;
  color: #1f252a !important;
  background: linear-gradient(180deg, #fff, #e8ebed) !important;
  box-shadow:
    inset 0 1px #fff,
    0 2px 5px rgba(35, 42, 48, 0.16) !important;
  filter: none !important;
  transform: none !important;
}

.admin-dashboard-page .dashboard-modal-close:focus-visible,
.admin-dashboard-page .dashboard-modal-done:focus-visible,
.admin-dashboard-page .copy-action-button:focus-visible,
.admin-dashboard-page .customer-api-issue.admin-create-button:focus-visible,
.admin-dashboard-page .customer-api-issue.admin-save-button:focus-visible {
  border-color: #747c84 !important;
  color: #1f252a !important;
  background: linear-gradient(180deg, #fff, #e8ebed) !important;
  box-shadow:
    inset 0 1px #fff,
    0 0 0 3px rgba(92, 101, 110, 0.2) !important;
  filter: none !important;
  outline: 0;
  transform: none !important;
}

.admin-dashboard-page .customer-api-issue.admin-create-button:disabled,
.admin-dashboard-page .customer-api-issue.admin-save-button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.25) !important;
  opacity: 0.55;
}

.admin-dashboard-page .copy-action-button,
.admin-dashboard-page .copy-action-button:hover,
.admin-dashboard-page .copy-action-button:focus-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  color: #252a2f !important;
}

.admin-dashboard-page .copy-action-button .copy-action-icon {
  display: block;
  flex: 0 0 13px;
  width: 13px !important;
  height: 13px !important;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.admin-dashboard-page .copy-action-button .copy-action-check {
  display: none;
}

.admin-dashboard-page .copy-action-button.copied .copy-action-default {
  display: none;
}

.admin-dashboard-page .copy-action-button.copied .copy-action-check {
  display: block;
}

/* Shared foundation for the active admin overview metrics. */
.admin-dashboard-page .dashboard-grid.admin-metrics {
  gap: 16px;
  perspective: 1000px;
}

.admin-dashboard-page .dashboard-grid.admin-metrics article {
  --metric-accent: #397fd1;
  --metric-accent-rgb: 57, 127, 209;
  isolation: isolate;
  min-height: 198px;
  padding: 26px 26px 24px;
  border: 1px solid rgba(224, 229, 233, 0.78);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 8%, rgba(var(--metric-accent-rgb), 0.2), transparent 34%),
    linear-gradient(145deg, #eef1f3 0%, #c9ced2 48%, #a6adb3 100%);
  box-shadow:
    0 22px 42px rgba(16, 21, 25, 0.23),
    0 3px 8px rgba(16, 21, 25, 0.12),
    inset 0 1px rgba(255, 255, 255, 0.95),
    inset 0 -1px rgba(55, 62, 68, 0.14);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.admin-dashboard-page .dashboard-grid.admin-metrics article:nth-child(2) {
  --metric-accent: #14816f;
  --metric-accent-rgb: 20, 129, 111;
}

.admin-dashboard-page .dashboard-grid.admin-metrics article:nth-child(3) {
  --metric-accent: #b66a17;
  --metric-accent-rgb: 182, 106, 23;
}

.admin-dashboard-page .dashboard-grid.admin-metrics article:nth-child(4) {
  --metric-accent: #6650bd;
  --metric-accent-rgb: 102, 80, 189;
}

.admin-dashboard-page .dashboard-grid.admin-metrics article::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  right: 20px;
  left: 20px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--metric-accent), transparent);
  box-shadow: 0 1px 8px rgba(var(--metric-accent-rgb), 0.4);
}

.admin-dashboard-page .dashboard-grid.admin-metrics article::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -46px;
  bottom: -76px;
  width: 176px;
  height: 176px;
  border: 1px solid rgba(var(--metric-accent-rgb), 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px rgba(var(--metric-accent-rgb), 0.045),
    0 0 0 38px rgba(var(--metric-accent-rgb), 0.025);
}

.admin-dashboard-page .dashboard-grid.admin-metrics article:hover {
  border-color: rgba(var(--metric-accent-rgb), 0.52);
  box-shadow:
    0 28px 54px rgba(16, 21, 25, 0.28),
    0 5px 12px rgba(16, 21, 25, 0.14),
    inset 0 1px rgba(255, 255, 255, 0.98),
    inset 0 -1px rgba(55, 62, 68, 0.14);
  transform: translateY(-5px);
}

.admin-dashboard-page .dashboard-grid.admin-metrics article > span:not(.metric-icon) {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 58px);
  color: #3c454d;
  font: 800 11px/1.25 var(--mono);
  letter-spacing: 0.13em;
}

.admin-dashboard-page .dashboard-grid.admin-metrics article strong {
  position: relative;
  z-index: 1;
  margin: 43px 0 8px;
  color: #111619;
  font-size: clamp(40px, 3.2vw, 54px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-shadow: 0 1px rgba(255, 255, 255, 0.7);
}

.admin-dashboard-page .dashboard-grid.admin-metrics article small {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #465059;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.admin-dashboard-page .dashboard-grid.admin-metrics article small::before {
  content: "";
  width: 18px;
  height: 3px;
  flex: 0 0 18px;
  border-radius: 999px;
  background: var(--metric-accent);
  box-shadow: 0 0 9px rgba(var(--metric-accent-rgb), 0.34);
}

.admin-dashboard-page .dashboard-grid.admin-metrics .metric-icon {
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(var(--metric-accent-rgb), 0.3);
  border-radius: 14px;
  color: var(--metric-accent);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.74),
    rgba(var(--metric-accent-rgb), 0.11)
  );
  box-shadow:
    0 9px 20px rgba(var(--metric-accent-rgb), 0.18),
    inset 0 1px rgba(255, 255, 255, 0.9);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.admin-dashboard-page .dashboard-grid.admin-metrics .metric-icon svg {
  width: 23px;
  height: 23px;
}

.admin-dashboard-page .dashboard-grid.admin-metrics article:hover .metric-icon {
  box-shadow:
    0 13px 26px rgba(var(--metric-accent-rgb), 0.25),
    inset 0 1px rgba(255, 255, 255, 0.95);
  transform: translateY(-2px) rotate(-3deg);
}

@media (max-width: 760px) {
  .admin-dashboard-page .dashboard-grid.admin-metrics article {
    min-height: 176px;
  }

  .admin-dashboard-page .dashboard-grid.admin-metrics article strong {
    margin-top: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-dashboard-page .dashboard-grid.admin-metrics article,
  .admin-dashboard-page .dashboard-grid.admin-metrics .metric-icon {
    transition: none;
  }

  .admin-dashboard-page .dashboard-grid.admin-metrics article:hover,
  .admin-dashboard-page .dashboard-grid.admin-metrics article:hover .metric-icon {
    transform: none;
  }
}

/* Active admin overview metric design. */
.admin-dashboard-page .dashboard-grid.admin-metrics.metrics-design-three {
  gap: 8px;
  padding: 10px;
  border: 1px solid #747c83;
  border-radius: 20px;
  background: #565d65;
  box-shadow:
    0 30px 60px rgba(8, 11, 14, 0.34),
    inset 0 1px rgba(255, 255, 255, 0.15),
    inset 0 -1px rgba(0, 0, 0, 0.38);
  counter-reset: admin-metric;
  perspective: none;
}

.admin-dashboard-page .dashboard-grid.admin-metrics.metrics-design-three article {
  counter-increment: admin-metric;
  min-height: 202px;
  padding: 27px 25px 24px;
  border: 1px solid rgba(241, 244, 246, 0.72);
  border-radius: 13px;
  background:
    radial-gradient(circle at 95% 5%, rgba(var(--metric-accent-rgb), 0.2), transparent 37%),
    linear-gradient(145deg, #f0f2f4 0%, #ccd1d5 50%, #a5adb4 100%);
  box-shadow:
    0 12px 25px rgba(7, 10, 12, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.98),
    inset 0 -1px rgba(45, 52, 58, 0.18);
}

.admin-dashboard-page .dashboard-grid.admin-metrics.metrics-design-three article::before {
  top: 0;
  right: 18px;
  bottom: auto;
  left: 18px;
  width: auto;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, var(--metric-accent), transparent);
  box-shadow: 0 1px 11px rgba(var(--metric-accent-rgb), 0.52);
}

.admin-dashboard-page .dashboard-grid.admin-metrics.metrics-design-three article::after {
  content: "0" counter(admin-metric);
  right: 14px;
  bottom: -9px;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  color: rgba(var(--metric-accent-rgb), 0.09);
  background: none;
  box-shadow: none;
  font: 800 76px/1 var(--mono);
  letter-spacing: -0.08em;
}

.admin-dashboard-page .dashboard-grid.admin-metrics.metrics-design-three article:hover {
  border-color: rgba(var(--metric-accent-rgb), 0.55);
  background:
    radial-gradient(circle at 95% 5%, rgba(var(--metric-accent-rgb), 0.28), transparent 40%),
    linear-gradient(145deg, #f8f9fa 0%, #d7dbde 50%, #b1b8be 100%);
  box-shadow:
    0 19px 35px rgba(7, 10, 12, 0.31),
    0 0 0 1px rgba(var(--metric-accent-rgb), 0.12),
    inset 0 1px #fff,
    inset 0 -1px rgba(45, 52, 58, 0.16);
  transform: translateY(-4px);
}

.admin-dashboard-page
  .dashboard-grid.admin-metrics.metrics-design-three
  article
  > span:not(.metric-icon) {
  max-width: calc(100% - 60px);
  color: #3b454d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.admin-dashboard-page .dashboard-grid.admin-metrics.metrics-design-three article strong {
  margin: 44px 0 9px;
  color: #101518;
  font-size: clamp(42px, 3.25vw, 56px);
  text-shadow: 0 1px rgba(255, 255, 255, 0.8);
}

.admin-dashboard-page .dashboard-grid.admin-metrics.metrics-design-three article small {
  color: #465159;
  font-size: 11px;
}

.admin-dashboard-page .dashboard-grid.admin-metrics.metrics-design-three .metric-icon {
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-color: rgba(var(--metric-accent-rgb), 0.4);
  border-radius: 13px;
  color: var(--metric-accent);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(var(--metric-accent-rgb), 0.14));
  box-shadow:
    0 0 0 5px rgba(var(--metric-accent-rgb), 0.07),
    0 10px 22px rgba(var(--metric-accent-rgb), 0.2),
    inset 0 1px rgba(255, 255, 255, 0.94);
}

.admin-dashboard-page
  .dashboard-grid.admin-metrics.metrics-design-three
  article:hover
  .metric-icon {
  box-shadow:
    0 0 0 6px rgba(var(--metric-accent-rgb), 0.1),
    0 13px 26px rgba(var(--metric-accent-rgb), 0.26),
    inset 0 1px #fff;
  transform: translateY(-2px) rotate(-2deg) scale(1.03);
}

@media (max-width: 760px) {
  .admin-dashboard-page .dashboard-grid.admin-metrics.metrics-design-three {
    padding: 8px;
  }

  .admin-dashboard-page .dashboard-grid.admin-metrics.metrics-design-three article {
    min-height: 174px;
  }

  .admin-dashboard-page .dashboard-grid.admin-metrics.metrics-design-three article strong {
    margin-top: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-dashboard-page
    .dashboard-grid.admin-metrics.metrics-design-three
    article:hover,
  .admin-dashboard-page
    .dashboard-grid.admin-metrics.metrics-design-three
    article:hover
    .metric-icon {
    transform: none;
  }
}

/* ===== Rental page layouts and responsive behavior ===== */
.rental-site { min-height:100vh; display:flex; flex-direction:column; }
.rental-site main { flex:1; min-width:0; }
/* Text colors follow the surface instead of inheriting the graphite theme
   inside white rental forms and cards. */
.rental-site main {
  --ink:#f1f3f5;
  --muted:#d2d8df;
}
.rental-site .panel,
.rental-site .rental-page-card,
.rental-site .gallery-photo,
.rental-site .amenities>span,
.rental-site .upload-info,
.rental-site .dropzone,
.rental-site #admin-message {
  --ink:#20262b;
  --muted:#4b5563;
  color:#20262b;
}
.rental-site .panel h1,
.rental-site .panel h2,
.rental-site .panel h3,
.rental-site .panel label,
.rental-site .panel legend,
.rental-site .panel .calendar-toolbar {
  color:#20262b;
}
.rental-site input::placeholder,
.rental-site textarea::placeholder {
  color:#596574;
  opacity:1;
}
.rental-site input[type=file] { color:#20262b; }
.rental-site input[type=file]::file-selector-button {
  color:#20262b;
  background:#e8edf1;
  border:1px solid #8794a1;
  border-radius:5px;
  padding:8px 12px;
  margin-right:10px;
}
.rental-site img { display:block; max-width:100%; }
.rental-site .rental-brand { font-size:18px; line-height:1.2; white-space:nowrap; }
.rental-site .site-header { height:76px; flex-shrink:0; }
.rental-site .rental-brand { flex-shrink:0; }
.rental-site .rental-brand-logo { width:240px; height:60px; object-fit:cover; object-position:center; mix-blend-mode:multiply; }
.rental-brand > i { font-size:31px; }
.rental-brand-sub { display:block; margin-top:3px; font-size:12px; letter-spacing:1.4px; }
.rental-site .site-nav a[aria-current="page"] { text-decoration:underline; text-underline-offset:8px; font-weight:800; }
.rental-site .rental-footer { display:flex; align-items:center; justify-content:space-between; gap:28px; padding-block:32px; font-size:12px; }
.rental-footer nav { display:flex; gap:20px; }
.rental-site .site-footer { padding:0; }
.rental-site a:focus-visible:not(.button),.rental-site input:focus-visible,.rental-site select:focus-visible,.rental-site textarea:focus-visible { outline:3px solid #65768a; outline-offset:3px; }
.rental-site .page-content { padding-block:52px 64px; }
.rental-site .page-intro { margin-bottom:30px; max-width:850px; }
.rental-site .page-intro h2 { font-size:34px; margin:12px 0; }
.rental-site .muted,.rental-site .fine { color:var(--muted); }
.rental-site .fine { font-size:12px; line-height:1.6; }
/* One shared heading badge on hero, content, form and owner pages. */
.rental-site .section-badge {
  display:inline-block;
  max-width:100%;
  padding:7px 11px;
  border:1px solid #b7bdc3;
  border-radius:999px;
  color:#101419;
  background:linear-gradient(145deg,#b9bfc5 0%,#a0a6ac 48%,#858c93 100%);
  box-shadow:inset 0 1px rgba(255,255,255,.34);
  font-family:var(--sans);
  font-size:10px;
  font-weight:800;
  line-height:1.65;
  letter-spacing:1.5px;
  text-transform:uppercase;
  vertical-align:middle;
}
.rental-site .rental-home-hero { padding:58px 0; }
.rental-home-hero .hero-grid { gap:55px; }
.rental-home-hero h1 { font-size:clamp(38px,4vw,60px); margin:20px 0; }
.rental-home-hero .hero-copy p { font-size:16px; }
.rental-home-hero .home-location { margin:25px 0 0; font-size:13px; }
.rental-home-image { position:relative; height:390px; overflow:hidden; border:1px solid #75808b; border-radius:12px; }
.rental-home-image img { width:100%; height:100%; object-fit:cover; }
.image-note { position:absolute; right:14px; top:14px; font-size:10px; padding:4px 10px; background:#fffdf2e6; color:#35414e; border-radius:4px; }
.rental-page-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.rental-page-card { display:block; padding:28px; border:1px solid var(--line); border-radius:12px; background:linear-gradient(150deg,#fff,#edf0f3); color:var(--ink); box-shadow:0 6px 18px #17213108; }
.rental-page-card:hover { border-color:#939da7; }
.rental-page-card>i { font-size:27px; color:#596773; }
.rental-page-card h3 { margin:18px 0 10px; font-size:20px; }
.rental-page-card p { font-size:14px; color:var(--muted); margin-bottom:25px; }
.rental-page-card>span { font-size:12px; font-weight:750; }
.rental-page-card>span i { margin-left:10px; }
.rental-site .panel { background:#fff; border:1px solid var(--line); border-radius:10px; padding:30px; box-shadow:0 8px 24px #17213104; }
.rental-site .property { display:grid; grid-template-columns:1fr auto; gap:25px; padding-block:55px 30px; }
.rental-site .property h1 { font-size:38px; margin:15px 0; }
.price { text-align:right; align-self:center; }
.price strong { display:block; font-size:26px; }
.price>span { color:var(--muted); font-size:12px; }
.facts { grid-column:1/-1; display:grid; grid-template-columns:repeat(4,1fr); border-block:1px solid var(--line); padding:25px 0; }
.facts>div { border-right:1px solid var(--line); padding:0 20px; font-size:13px; }
.facts>div:first-child { padding-left:0; }
.facts>div:last-child { border:0; }
.facts strong { font-size:23px; margin-right:7px; }
.description { grid-column:1/-1; max-width:850px; margin-top:15px; }
.description h3 { font-size:22px; }
.preserve { white-space:pre-line; }
.amenities { display:flex; flex-wrap:wrap; gap:12px; }
.amenities>span { background:#fff; padding:8px 14px; border:1px solid var(--line); border-radius:6px; font-size:13px; }
.page-actions { display:flex; gap:12px; padding-block:20px 55px; }
.rental-site .gallery-section { padding-top:50px; }
.rental-site .section-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; max-width:none; margin-bottom:24px; }
.rental-site .section-heading h1,.rental-site .section-heading h2 { font-size:32px; margin:10px 0; }
.rental-site .section-heading h3 { font-size:20px; margin:0; }
.gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.gallery-photo { padding:0; border:1px solid var(--line); border-radius:9px; overflow:hidden; background:white; text-align:left; cursor:pointer; }
.gallery-photo img { width:100%; height:250px; object-fit:cover; }
.gallery-photo span { display:block; padding:16px; font-size:13px; }
.gallery-photo b { float:right; }
.rental-site .empty-state { text-align:center; padding:65px 20px; }
.empty-state>i { font-size:42px; color:#6e7881; }
.empty-state h2 { margin:20px 0; font-size:28px; }
dialog { border:0; border-radius:10px; max-width:90vw; max-height:90vh; background:#23262a; color:white; }
dialog::backdrop { background:#101418d9; }
dialog img { max-height:72vh; margin:15px auto; }
dialog p { margin:10px; }
.availability-wrap { padding:60px 0; }
.availability-layout { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:start; }
.availability-layout h1 { font-size:44px; margin:22px 0; }
.steps { list-style:none; padding:0; margin:30px 0; }
.steps li { margin:16px 0; font-size:13px; }
.steps span { display:inline-grid; place-items:center; width:30px; height:30px; border:1px solid #bac2ca; border-radius:50%; margin-right:14px; font-size:11px; }
.pill { font-size:11px; font-weight:700; background:#e9edf0; color:#49545f; border-radius:20px; padding:5px 11px; white-space:nowrap; }
.calendar-toolbar { display:flex; align-items:center; justify-content:space-between; margin:20px 0; }
.icon-button { border:1px solid #b9bec4; background:linear-gradient(#f7f8f9,#dfe3e6); color:#20262b; border-radius:5px; width:34px; height:34px; }
.weekdays,.calendar { display:grid; grid-template-columns:repeat(7,1fr); gap:5px; text-align:center; }
.weekdays { font-size:11px; color:var(--muted); margin-bottom:9px; }
.calendar button { aspect-ratio:1.1; border:1px solid #e3e6ea; background:#f5f7f9; border-radius:5px; font-size:12px; color:#26313e; }
.calendar button:disabled { color:#7a8591; text-decoration:line-through; background:#e5e8eb; opacity:.6; cursor:not-allowed; }
.calendar button.chosen { background:#556473; color:white; }
.calendar button.between { background:#d9e1e8; }
.legend { display:flex; gap:15px; font-size:10px; color:var(--muted); margin:20px 0; }
.legend i { width:9px; height:9px; display:inline-block; background:#f5f7f9; border:1px solid #d0d7de; border-radius:2px; margin-right:4px; }
.legend .unavailable { background:#cbd0d8; }
.legend .selected { background:#556473; }
.rental-site label { display:block; color:var(--ink); font-size:13px; font-weight:650; margin:0 0 18px; }
.rental-site select,.rental-site input:not([type=checkbox]):not([type=file]),.rental-site textarea { display:block; width:100%; border:1px solid #cdd3da; border-radius:6px; background:#fbfcfe; color:#172131; padding:11px 12px; margin-top:6px; font:14px var(--sans); }
.rental-site textarea { resize:vertical; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-row.triple { grid-template-columns:1fr 1fr 1.4fr; }
.form-row.four { grid-template-columns:repeat(4,1fr); }
.rental-site .check { display:flex; gap:10px; align-items:flex-start; font-weight:500; margin:25px 0; }
.check input { margin-top:5px; }
.full { width:100%; }
.form-page { max-width:780px; padding-block:50px 70px; }
.form-page h1 { font-size:40px; margin:18px 0; }
.back { display:block; font-size:13px; color:#d4e2f0; margin-bottom:28px; }
.rental-site .panel .back { color:#354e68; }
.upload-info { padding:22px; background:#f4f6f9; border:1px dashed #a5b0bb; border-radius:7px; }
.upload-info p { margin:8px 0 16px; }
.validation { color:#a23333; font-size:13px; }
.validation-summary-valid { display:none; }
.success-page { text-align:center; padding:75px 0 95px; }
.success-page h1 { font-size:48px; margin:20px 0; }
.success-icon { display:grid; place-items:center; width:72px; height:72px; margin:0 auto 25px; border-radius:50%; background:#e4e9ee; color:#4c6171; font-size:30px; }
.login-page { padding:65px 20px; min-height:65vh; }
.login-page>.panel { max-width:480px; margin:auto; padding:40px; }
.login-page h1 { font-size:36px; margin:20px 0; }
.login-page .back { margin:24px 0 0; text-align:center; }
.rental-owner-heading { padding:32px 0; }
.rental-owner-heading>.shell { display:flex; justify-content:space-between; align-items:center; gap:25px; position:relative; }
.rental-owner-heading h1 { font-size:36px; margin:10px 0 0; }
.rental-site .admin { padding-bottom:60px; }
.admin-nav { display:flex; gap:28px; padding:22px 0; border-bottom:1px solid var(--line); margin-bottom:30px; font-size:13px; overflow-x:auto; white-space:nowrap; }
.admin-nav a[aria-current="page"] { font-weight:800; text-decoration:underline; text-underline-offset:8px; }
.admin-section { margin:0; }
.admin-section h2 { font-size:28px; margin:12px 0 20px; }
.rental-site .rental-dashboard-cards { margin-top:20px; }
.rental-site .rental-dashboard-cards article { padding:0; min-height:230px; background:linear-gradient(145deg,#b9bfc5 0%,#a0a6ac 48%,#858c93 100%); }
.rental-dashboard-cards article>a { display:block; height:100%; padding:25px; color:#202830; }
.rental-dashboard-cards article>a>span { display:block; font-size:13px; font-weight:700; }
.rental-dashboard-cards article>a>strong { display:block; margin:22px 0 12px; font-size:38px; line-height:1; color:#121820; }
.rental-dashboard-cards article>a>strong.listing-state { font-size:29px; }
.rental-site .rental-dashboard-cards article>a { color:#101419; }
.rental-site .rental-dashboard-cards article>a>small { color:#101419; font-size:12px; }
.rental-dashboard-cards article>a>.card-link { margin-top:25px; font-size:12px; }
.rental-site .dropzone { border:1px dashed #9aa7b4; border-radius:8px; background:#f7f9fb; text-align:center; padding:25px; cursor:pointer; display:flex; flex-direction:column; align-items:center; gap:6px; }
.dropzone.dragover { background:#e6ecf1; border-color:#536b7f; }
.dropzone>span:last-of-type { font-weight:500; color:var(--muted); font-size:12px; }
.dropzone input { max-width:270px; font-size:12px; margin-top:12px; }
.upload-symbol { font-size:25px; color:#586d7d; }
.photo-manager { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:24px; }
.photo-manager article { border:1px solid var(--line); border-radius:7px; overflow:hidden; }
.photo-manager img { width:100%; height:190px; object-fit:cover; }
.photo-manager p { margin:12px; font-size:13px; }
.photo-manager article>div { display:flex; justify-content:space-between; margin:12px; gap:5px; }
.rental-site .button.small { padding:6px 10px; min-height:32px; font-size:11px; gap:5px; }
.rental-site .button.danger { color:#953333; }
.blocked-list { margin-top:24px; }
.blocked-list>div { display:flex; justify-content:space-between; align-items:center; gap:15px; border-top:1px solid var(--line); padding:17px 0; font-size:13px; }
.blocked-list small { display:block; color:var(--muted); }
.grid-actions { display:flex; gap:6px; flex-wrap:wrap; }
#requests-grid { overflow-x:auto; }
#admin-message:not(:empty) { background:#e7edf1; padding:15px; border-radius:6px; margin-bottom:20px; }
#admin-message:empty { display:none; }
#csrf { display:none; }
.upload-item { display:grid; grid-template-columns:70px 1fr auto; gap:16px; align-items:center; padding:12px; border:1px solid var(--line); margin-bottom:10px; border-radius:6px; }
.upload-item img { width:70px; height:60px; object-fit:cover; }
.upload-item label { margin:0; }
.upload-item small { grid-column:2/-1; color:var(--muted); }
@media(max-width:980px){.rental-home-hero .hero-grid{gap:30px}.rental-home-image{height:340px}.availability-layout{gap:30px}.rental-page-cards{gap:15px}.rental-page-card{padding:22px}.photo-manager{grid-template-columns:repeat(2,1fr)}.rental-site .site-nav{gap:18px}.rental-site .rental-brand{font-size:16px}}
@media(max-width:760px){.rental-site .site-header .site-nav{display:none}.rental-site .site-header .site-nav.open{display:flex;position:absolute;top:76px;left:0;right:0;padding:22px;flex-direction:column;align-items:stretch;gap:18px}.rental-site .nav-toggle{display:block}.rental-site .rental-footer{flex-direction:column;align-items:flex-start;gap:22px}.rental-home-hero .hero-grid,.availability-layout{grid-template-columns:1fr}.rental-site .rental-home-hero{padding:35px 0}.rental-home-hero h1{font-size:42px}.rental-home-hero .button-row{flex-wrap:wrap}.rental-home-image{height:300px}.rental-page-cards,.gallery{grid-template-columns:1fr}.rental-site .page-content{padding-block:35px}.rental-site .property{grid-template-columns:1fr}.price{text-align:left}.facts{grid-template-columns:1fr 1fr;gap:20px}.facts>div{border:0;padding:0}.gallery-photo img{height:260px}.rental-site .panel{padding:22px}.availability-wrap{padding:35px 0}.availability-layout h1{font-size:37px}.form-row.triple,.form-row.four{grid-template-columns:1fr 1fr}.form-row.triple label:last-child{grid-column:1/-1}.rental-owner-heading h1{font-size:29px}.rental-site .admin-nav{gap:23px}.rental-site .photo-manager{grid-template-columns:1fr}.rental-site .page-actions{flex-wrap:wrap}.form-page h1{font-size:33px}.upload-item{grid-template-columns:50px 1fr}.upload-item button{grid-column:2}.upload-item img{width:50px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.rental-site *{transition:none!important}}

/* Owner request editor uses the same readable light-panel form treatment. */
.rental-site dialog.request-editor { width:min(720px,calc(100vw - 32px)); max-height:calc(100dvh - 48px); margin:auto; overflow-y:auto; color:#20262b; }
.request-editor::backdrop { background:rgba(15,20,26,.75); }
.request-editor-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:20px; }
.request-editor-heading h2 { font-size:27px; margin:0; }
.request-editor-actions { display:flex; justify-content:flex-end; gap:12px; padding-top:10px; }
#request-editor-error:not(:empty) { padding:12px; margin-bottom:18px; background:#fff0f0; border:1px solid #e5b5b5; border-radius:6px; }
@media(max-width:540px){.request-editor .form-row{grid-template-columns:1fr}.request-editor-actions{flex-wrap:wrap}}

@media(max-width:760px){.rental-site .site-header .site-nav.open{top:76px}}

/* Stay policy: bounded, keyboard-scrollable text with a visible agreement footer. */
.stay-policy-modal .modal-dialog { max-width:780px; }
.stay-policy-modal .modal-content { background:#fff; color:#20262b; max-height:calc(100dvh - 2rem); }
.stay-policy-modal .modal-header { align-items:flex-start; gap:1rem; }
.stay-policy-modal .modal-title { font-size:1.5rem; margin:.5rem 0 0; }
.stay-policy-modal .stay-policy-body { max-height:55dvh; overflow-y:auto; overscroll-behavior:contain; padding:1.25rem 1.5rem; }
.stay-policy-section h3 { font-size:1.05rem; margin:1.3rem 0 .5rem; color:#20262b; }
.stay-policy-section p { font-size:1rem; line-height:1.7; color:#374151; }
.stay-policy-modal .stay-policy-footer { display:block; padding:1rem 1.5rem; background:#f6f7f8; }
.stay-policy-agreement { display:flex; align-items:flex-start; gap:.65rem; line-height:1.5; color:#20262b; font-size:.95rem; }
.stay-policy-agreement input[type=checkbox] { flex:0 0 auto; width:1.15rem; height:1.15rem; margin-top:.15rem; accent-color:#b91b35; }
.stay-policy-actions { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; margin-top:1rem; }
.stay-policy-body:focus-visible, .stay-policy-agreement input:focus-visible { outline:3px solid #b91b35; outline-offset:3px; }
.stay-policy-page { padding:clamp(1rem,4vw,2.5rem); }
.stay-policy-full-form { margin:1.5rem 0; }
.stay-policy-full-form button { margin-top:1rem; }
.stay-policy-record { white-space:pre-wrap; font-family:inherit; line-height:1.6; }
@media(max-width:575px) {
 .stay-policy-modal .modal-dialog { margin:.5rem; }
 .stay-policy-modal .stay-policy-body { padding:1rem; max-height:45dvh; }
 .stay-policy-modal .stay-policy-footer { padding:1rem; }
 .stay-policy-modal .stay-policy-actions .button { width:100%; }
}
@media print {
 .stay-policy-page .stay-policy-full-form, .stay-policy-page~footer { display:none; }
 .stay-policy-page { color:#000; background:#fff; box-shadow:none; padding:0; }
}
.rental-site .rental-modal.stay-policy-modal .modal-dialog { max-width:780px; }
.rental-site .stay-policy-modal { --ink:#20262b; --muted:#4b5563; }
.rental-site .stay-policy-modal .fine { color:#4b5563; }
.rental-site .stay-policy-modal .stay-policy-body { min-height:0; flex:1 1 auto; }
.rental-site .stay-policy-modal .modal-header,
.rental-site .stay-policy-modal .stay-policy-footer { flex:0 0 auto; }

/* ===== Rent House in Cincinnati surfaces and components ===== */
.rental-site { --rental-panel-radius:10px; }
.rental-site .site-nav .header-auth-form { display:flex; margin:0; }
.rental-site .panel,
.rental-site .rates-modal .modal-content,
.rental-site .rental-page-card,
.rental-site .gallery-photo,
.rental-site .amenities>span,
.rental-site .upload-info,
.rental-site .dropzone,
.rental-site .photo-manager article,
.rental-site .upload-item,
.rental-site .rental-dashboard-cards article,
.rental-site .image-note,
.rental-site #admin-message:not(:empty) {

  border-color: #aeb4ba;
  background: linear-gradient(145deg, #a0a6ac 0%, #858c93 48%, #6f767e 100%);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.32);

  --ink:#000;
  --muted:#000;
  color:#000;
}

/* Card copy inherits readable colors on the shared silver surface. */
.rental-site .panel h1,.rental-site .panel h2,.rental-site .panel h3,
.rental-site .panel label,.rental-site .panel legend,.rental-site .panel .calendar-toolbar,
.rental-site .rental-page-card h3,.rental-site .rental-page-card>i,
.rental-site .rental-dashboard-cards article>a,
.rental-site .rental-dashboard-cards article>a>strong,
.rental-site .rental-dashboard-cards article>a>small { color:#000; }
.rental-site .panel .fine,.rental-site .panel .muted,
.rental-site .rental-page-card p,.rental-site .blocked-list small,
.rental-site .upload-item small,.rental-site .dropzone>span:last-of-type { color:#000; }
.rental-site .panel .back { color:#101418; text-decoration:underline; }

/* Reuse vehicle-intelligence-header's graphite treatment. */
.rental-site .panel>.section-heading,
.rental-site .panel>.request-editor-heading,
.rental-site .rates-modal .modal-header {
  margin:-30px -30px 24px;
  padding:24px 30px;
  border-bottom:1px solid rgba(231,235,238,.18);
  border-radius:9px 9px 0 0;
  background:radial-gradient(circle at 100% 0,rgba(210,215,219,.16),transparent 42%),linear-gradient(145deg,#424a51,#2e343a);
  box-shadow:0 16px 32px rgba(24,29,34,.22),inset 0 1px rgba(255,255,255,.12);
  color:#f4f6f7;
}
.rental-site .panel>.section-heading h1,
.rental-site .panel>.section-heading h2,
.rental-site .panel>.section-heading h3,
.rental-site .panel>.request-editor-heading h2 { color:#f4f6f7; }

/* Recessed graphite inputs from the reference dashboard-style-form. */
.rental-site select,
.rental-site input:not([type=checkbox]):not([type=file]),
.rental-site textarea {
  border:1px solid #656c73;
  border-radius:8px;
  color:#f4f6f7;
  background:#4d545b;
  box-shadow:inset 0 1px 3px rgba(0,0,0,.22);
  color-scheme:dark;
}
.rental-site select option { color:#f4f6f7; background:#4d545b; }
.rental-site input::placeholder,.rental-site textarea::placeholder { color:#d0d5da; opacity:1; }
.rental-site input:focus-visible,.rental-site textarea:focus-visible,.rental-site select:focus-visible { border-color:#d4d8dc; outline:2px solid #d4d8dc; outline-offset:2px; }
.rental-site input[type=checkbox] { accent-color:#353c42; }
.rental-site input[type=file] { color:#000; }

/* All action buttons share the reference's silver control style. */
.rental-site .email-template-previews {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap:8px;
    margin:12px 0;
    min-width:0;
}

.rental-site .email-template-previews > .button {
    box-sizing:border-box;
    min-width:0;
    min-height:44px;
    padding:10px 12px;
    white-space:normal;
    overflow-wrap:anywhere;
    text-align:center;
    line-height:1.5;
}

.rental-site #emails-grid {
    min-width:0;
    max-width:100%;
}

.rental-site #emails-grid .rental-email-table {
    width:100%;
    min-width:880px;
    table-layout:fixed;
}

.rental-site #emails-grid .rental-email-table :is(th, td) {
    min-width:0;
    padding:10px 8px;
    font-size:12px;
    vertical-align:middle;
    white-space:normal;
    overflow-wrap:anywhere;
}

.rental-site #emails-grid .email-delivery-error {
    margin:6px 0 0;
}

body.rental-site .button,
.rental-site .icon-button,
.rental-site input[type=file]::file-selector-button {
  border:1px solid #b9bec4 !important;
  border-radius:6px;
  color:#252a2f !important;
  background:linear-gradient(180deg,#f7f8f9,#dfe3e6) !important;
  box-shadow:inset 0 1px rgba(255,255,255,.9),0 1px 2px rgba(35,42,48,.12) !important;
  font-weight:700;
}
body.rental-site .button:hover,
.rental-site .icon-button:hover:not(:disabled),
.rental-site input[type=file]::file-selector-button:hover {
  border-color:#969da4 !important;
  color:#1f252a !important;
  background:linear-gradient(180deg,#fff,#e8ebed) !important;
}
body.rental-site .button:focus-visible,.rental-site .icon-button:focus-visible {
  outline:2px solid #d4d8dc;
  outline-offset:3px;
}
body.rental-site .button.danger { color:#832020 !important; }
/* Cancel and Save/Create actions use one size and treatment in every form. */
body.rental-site .button.form-action {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:140px;
  min-height:44px;
  padding:10px 18px;
  border-radius:6px;
  font:700 13px/1.4 var(--sans);
  letter-spacing:.035em;
  gap:10px;
}
.rental-site .request-editor-actions .form-action { flex:0 0 150px; }
.rental-site .pill,.rental-site .success-icon {
  color:#f0f2f4;
  background:#464c53;
  border:1px solid #858c93;
}
.rental-site .upload-info,.rental-site .dropzone { border-style:dashed; }
.rental-site .dropzone.dragover { outline:3px solid #d4d8dc; outline-offset:2px; }
.rental-site .upload-symbol,.rental-site .empty-state>i { color:#1a2229; }
.rental-site .validation { color:#6b1111; font-weight:650; }
.rental-site #request-editor-error:not(:empty) { color:#ffe1e1; background:#5b2e32; border-color:#b8767d; }

/* Calendar cells use the same graphite and silver language. */
.rental-site .calendar button { color:#f4f6f7; background:#4d545b; border-color:#727b84; }
.rental-site .calendar button:hover:not(:disabled) { background:#60676f; }
.rental-site .calendar button:disabled { color:#c5cbd0; background:#697078; opacity:1; text-decoration:line-through; }
.rental-site .calendar button.chosen { color:#101418; background:linear-gradient(180deg,#f7f8f9,#c4cbd1); border-color:#343c44; box-shadow:inset 0 0 0 2px #343c44; }
.rental-site .calendar button.between { color:#111518; background:#b4bcc3; }
.rental-site .legend,.rental-site .weekdays { color:#101418; }
.rental-site .legend i { background:#4d545b; border-color:#727b84; }
.rental-site .legend .unavailable { background:#697078; }
.rental-site .legend .selected { background:#e4e8ec; border-color:#343c44; }

/* addGrid uses the imported dashboard skin, including detached filter popups. */
.rental-site .panel { border-radius:var(--rental-panel-radius); }
.rental-site .pg-grid-wrapper {
  border:1px solid #aeb4ba;
  border-radius:var(--rental-panel-radius);
  overflow:hidden;
  background:var(--pg-color-bg);
  box-shadow:0 18px 44px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.32);
}
.rental-site .pg-grid-scroll { overflow-x:auto; }
.rental-site .pg-search-bar { border-radius:0; }
.rental-site .pg-pager { border-radius:0; }
.rental-site .admin-pep-grid { color:var(--pg-color-text); }
.rental-site .admin-pep-grid input:not([type=checkbox]),
.rental-site .pg-filter-dropdown input:not([type=checkbox]) { color:#edf0f2; background:#41474f; border-color:#7b8289; }
.rental-site .pg-filter-item { color:#edf0f2; }
.rental-site .pg-filter-dropdown { color:#edf0f2; background:#464c53; border-color:#858c93; }
.rental-site .pg-filter-item:hover { background:#60676f; }
.rental-site .pg-grid-table th { color:#111518; background:linear-gradient(180deg,#92999f,#7b8289); }
.rental-site .pg-grid-table th .pg-sort-icon,.rental-site .pg-grid-table th .pg-filter-btn { color:#20262b; }
.rental-site .pg-grid-table td { color:#edf0f2; }
.rental-site .pg-pager-arrow,.rental-site .pg-pager-num { color:#edf0f2; background:#464c53; border-color:#858c93; }
.rental-site .pg-pager-active { color:#111518; background:#c4cbd1; }
@media(max-width:760px){.rental-site .panel>.section-heading,.rental-site .panel>.request-editor-heading{margin:-22px -22px 22px;padding:22px}}

/* Quick search is one connected control; field and buttons share one height. */
.rental-site .admin-pep-grid .pg-search-input-group {
  display:flex;
  align-items:stretch;
  flex-wrap:nowrap;
  gap:0;
  height:40px;
  padding:0;
  border:1px solid #7b8289;
  border-radius:7px;
  overflow:hidden;
  background:#41474f;
}
.rental-site .admin-pep-grid .pg-search-input-group > :is(.input-group-text,.pg-search-input,.pg-search-clear) {
  box-sizing:border-box;
  height:38px;
  min-height:38px;
  max-height:38px;
  margin:0;
  border:0;
  border-radius:0;
  padding:0 11px;
  line-height:normal;
  box-shadow:none;
}
.rental-site .admin-pep-grid .pg-search-input-group > .pg-search-input {
  flex:1 1 0%;
  min-width:0;
  width:0;
}
.rental-site .admin-pep-grid .pg-search-input-group > :is(.input-group-text,.pg-search-clear) {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 38px;
  width:38px;
  padding:0;
}
.rental-site .admin-pep-grid .pg-search-input-group:focus-within { outline:2px solid #d4d8dc; outline-offset:2px; }
.rental-site .admin-pep-grid .pg-search-input-group > .pg-search-input:focus-visible { outline:none; }
.request-license { margin:22px 0; padding:18px 0; border-block:1px solid #565f68; }
.request-license h3 { margin:0 0 10px; font-size:17px; }
.request-license-actions { display:flex; gap:12px; flex-wrap:wrap; }

/* Compact desktop grid: related values share a column; full details remain editable. */
.rental-site #requests-grid .rental-request-table { width:100%; min-width:780px; table-layout:fixed; }
.rental-site #requests-grid .rental-request-table th { min-width:0 !important; padding:8px 6px; font-size:11px; }
.rental-site #requests-grid .rental-request-table td { padding:10px 6px; font-size:12px; vertical-align:middle; overflow:hidden; text-overflow:ellipsis; }
.request-cell-line { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; line-height:1.65; }
.rental-site #requests-grid .request-wrap-cell { white-space:normal; overflow-wrap:anywhere; }
.rental-site #requests-grid .request-action-cell { overflow:visible; }
.rental-site #requests-grid .grid-actions { display:flex; flex-wrap:wrap; align-items:center; gap:4px; }
body.rental-site #requests-grid .button.request-row-action { display:inline-flex; align-items:center; justify-content:center; width:36px; min-width:36px; height:36px; min-height:36px; flex:0 0 36px; padding:0; border-radius:6px; font-size:10px; letter-spacing:0; gap:0; }
.request-row-action .bi { font-size:12px; }
.request-license-actions .license-preview { width:300px; max-width:100%; padding:8px; border:1px solid #697078; border-radius:8px; background:#41474f; }
.rental-site .license-preview img { display:block; width:auto; max-width:100%; max-height:180px; object-fit:contain; margin:auto; border-radius:5px; }

/* Center pager icons independently of icon-font baseline and table typography. */
.rental-site .admin-pep-grid .pg-pager-nav {
  align-items:center;
  gap:6px;
}
.rental-site .admin-pep-grid .pg-pager-arrow,
.rental-site .admin-pep-grid .pg-pager-num {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 36px;
  width:36px;
  height:36px;
  min-width:36px;
  min-height:36px;
  padding:0;
  border-radius:8px;
  line-height:1;
  font-size:13px;
}
.rental-site .admin-pep-grid .pg-pager-arrow { position:relative; }
.rental-site .admin-pep-grid .pg-pager-arrow > .pager-chevron {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  display:block;
  width:22px;
  height:22px;
  margin:0;
  padding:0;
  pointer-events:none;
}
.rental-site .admin-pep-grid .pg-pager-arrow:disabled { opacity:.5; }

/* Filter popup supplies its own layout; it does not rely on Bootstrap utilities. */
.rental-site .pg-filter-dropdown {
  width:320px;
  min-width:0;
  max-width:calc(100vw - 16px);
  border-radius:10px;
  overflow:hidden;
}
.rental-site .pg-filter-dropdown .pg-filter-search input { margin:0; height:38px; }
.rental-site .pg-filter-dropdown .pg-filter-item { display:flex; align-items:center; gap:9px; margin:0; padding:8px 12px; }
.rental-site .pg-filter-dropdown .pg-filter-item input { flex:0 0 auto; margin:0; }
.rental-site .pg-filter-dropdown .pg-filter-footer {
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
  padding:12px;
}
.rental-site .pg-filter-dropdown .pg-filter-footer > button { flex:1 0 90px; }
.rental-site .pg-filter-dropdown .pg-filter-footer > div { display:flex; align-items:stretch; flex:2 0 160px; gap:8px; }
.rental-site .pg-filter-dropdown .pg-filter-footer button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:1 1 0;
  min-width:68px;
  min-height:38px;
  margin:0;
  padding:8px 10px !important;
  border:1px solid #b9bec4;
  border-radius:6px;
  font:700 12px/1.2 var(--sans);
  white-space:nowrap;
  text-decoration:none;
}

/* Pager summary and navigation share a balanced 36px control height. */
.rental-site .admin-pep-grid .pg-pager-info {
  box-sizing:border-box;
  min-height:36px;
  padding:5px 12px 5px 6px;
  gap:7px;
  font-size:14px;
  line-height:1.4;
}
.rental-site .admin-pep-grid .pg-pager-info-page {
  font-size:13px;
  line-height:1.4;
  padding:3px 9px;
}
.rental-site .admin-pep-grid .pg-pager-info > i:first-child,
.rental-site .admin-pep-grid .pg-pager-info-segment:first-child > i {
  flex:0 0 24px;
  width:24px;
  height:24px;
  font-size:13px;
}
.rental-site .admin-pep-grid .pg-pager-info-label,
.rental-site .admin-pep-grid .pg-pager-info-of { color:#e0e5ea; }

/* Dates, colored status badges and actions align with their centered headings. */
.rental-site #requests-grid .request-center-cell,
.rental-site #requests-grid .request-center-heading,
.rental-site #requests-grid .request-center-heading .pg-th-label { text-align:center; }
.rental-site #requests-grid .request-center-heading .pg-th-inner { padding-right:0; }
.rental-site #requests-grid .request-action-cell .grid-actions { justify-content:center; }
.rental-site #requests-grid .dashboard-grid-status.badge {
  display:inline-flex;
  max-width:100%;
  box-sizing:border-box;
  text-align:center;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:5px 9px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  font-size:10px;
  font-weight:700;
  letter-spacing:.035em;
  white-space:normal;
}

/* Explicit dashboard labels stay readable over the silver card surface. */
.rental-site .rental-dashboard-cards article>a>.dashboard-card-label {
  display:inline-flex;
  align-items:center;
  gap:8px;
  max-width:100%;
  padding:8px 11px;
  border:1px solid #69737c;
  border-radius:7px;
  color:#f4f6f7;
  background:linear-gradient(145deg,#424a51,#2e343a);
  box-shadow:inset 0 1px rgba(255,255,255,.12);
  font-size:13px;
  font-weight:750;
  line-height:1.4;
}
.rental-site .rental-dashboard-cards .dashboard-card-label>i { color:#f4f6f7; font-size:16px; }
.rental-site .rental-dashboard-cards article>a>.card-link { color:#000; font-weight:750; }
.rental-site .rental-dashboard-cards article>a>.card-link>i { color:inherit; }

/* Keep the native picker accessible through its clickable upload label. */
.rental-site .dropzone { position:relative; }
.rental-site .dropzone #photo-input {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  clip-path:inset(50%);
  white-space:nowrap;
  border:0;
}
.rental-site .dropzone:focus-within { outline:2px solid #d4d8dc; outline-offset:3px; }

/* Bootstrap dialogs use the site's graphite headers and silver card surfaces. */
body.rental-site.modal-open { overflow:hidden; }
.rental-site .rental-modal { z-index:1060; }
.rental-site .rental-modal .modal-dialog { width:calc(100% - 32px); max-width:560px; }
.rental-site .request-editor .modal-dialog,
.rental-site .rates-modal .modal-dialog { max-width:720px; }
.rental-site .request-editor .modal-content { overflow-y:auto; }
.rental-site .rental-modal .modal-title { color:#fff; }
.rental-site .rental-modal .modal-body { color:#101418; }
.rental-site .rental-modal .modal-body p { margin:0; }
.rental-site .rental-modal .modal-footer { justify-content:flex-end; flex-wrap:wrap; }
.rental-site .dashboard-delete-confirmation-modal { z-index:1070; }
.rental-site .upload-item { align-items:end; }
.rental-site .upload-item > label { min-width:0; margin:0; }
.rental-site .upload-item > label > input { height:44px; box-sizing:border-box; }
.rental-site .upload-item > .button { height:44px; margin:0; align-self:end; }
.rental-site .customer-delete-action { flex-shrink:0; }
.rental-site .customer-delete-action:disabled { opacity:.5; cursor:wait; }
.rental-site .dashboard-client-delete-submit { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-width:140px; min-height:44px; }
.rental-site .dashboard-client-delete-submit svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }

.rental-site .rental-modal-close { align-self:center; color:#fff; flex-shrink:0; }
.rental-site .rental-modal-close svg { pointer-events:none; }
.rental-site .request-editor-actions { align-items:center; }
.rental-site .request-editor-header-actions { display:flex; align-items:center; gap:8px; flex-shrink:0; }
.rental-site #request-editor-delete { display:flex; }
.rental-site .request-editor-header-actions .request-delete-action { width:39px; height:39px; margin:0; border-radius:7px; }

/* One icon size and stroke for public, owner, and dynamically created actions. */
.rental-site .action-icon { display:inline-block; width:16px; height:16px; flex:0 0 16px; vertical-align:middle; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; pointer-events:none; }
.rental-site .icon-button { display:inline-flex; align-items:center; justify-content:center; }

/* Semantic colors for request decisions, overriding the shared silver buttons. */
body.rental-site #requests-grid .button.request-row-action.btn-primary { color:#fff !important; background:#0d6efd !important; border-color:#0d6efd !important; box-shadow:none !important; }
body.rental-site #requests-grid .button.request-row-action.btn-primary:hover { background:#0b5ed7 !important; border-color:#0a58ca !important; }
body.rental-site #requests-grid .button.request-row-action.btn-warning { color:#3e3100 !important; background:#ffc107 !important; border-color:#ffc107 !important; box-shadow:none !important; }
body.rental-site #requests-grid .button.request-row-action.btn-warning:hover { background:#ffca2c !important; border-color:#ffc720 !important; }
body.rental-site #requests-grid .button.request-row-action.btn-danger { color:#fff !important; background:#dc3545 !important; border-color:#dc3545 !important; box-shadow:none !important; }
body.rental-site #requests-grid .button.request-row-action.btn-danger:hover,body.rental-site #requests-grid .button.request-row-action.btn-danger:focus-visible { color:#fff !important; background:#bb2d3b !important; border-color:#b02a37 !important; }

/* Three invitations: architectural linework above the shared silver surface. */
.rental-site .rental-page-cards { gap:24px; align-items:stretch; }
.rental-site .rental-page-card { display:flex; flex-direction:column; min-width:0; padding:0; overflow:hidden; border-radius:18px; text-decoration:none; transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.rental-site .rental-card-visual { display:flex; align-items:flex-start; height:148px; flex-shrink:0; padding:24px; overflow:hidden; }
.rental-site .rental-card-symbol { position:relative; display:grid; place-items:center; width:56px; height:56px; border:1px solid #8b959e; border-radius:15px; background:linear-gradient(145deg,#626c75,#343c43); box-shadow:inset 0 1px rgba(255,255,255,.18),0 8px 18px rgba(0,0,0,.2); }
.rental-site .rental-card-symbol svg { width:28px; height:28px; fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; }
.rental-site .rental-card-number { position:absolute; right:22px; top:12px; color:rgba(231,235,238,.17); font:600 96px/1 var(--sans); letter-spacing:-.08em; pointer-events:none; }
.rental-site .rental-card-kicker { position:absolute; bottom:20px; left:24px; color:#e2e6e9; font:700 10px/1.4 var(--sans); letter-spacing:.16em; }
.rental-site .rental-card-copy { padding:24px 24px 18px; flex:1; }
.rental-site .rental-page-card h3 { margin:0 0 10px; color:#141a20; font-size:24px; line-height:1.2; letter-spacing:-.025em; }
.rental-site .rental-page-card p { margin:0; color:#202830; font-size:14px; line-height:1.65; max-width:30ch; }
.rental-site .rental-page-card > .rental-card-link { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 24px; padding:17px 0 20px; border-top:1px solid rgba(35,44,52,.25); color:#141a20; font-size:12px; font-weight:750; }
.rental-site .rental-card-arrow { display:grid; place-items:center; width:34px; height:34px; flex:0 0 34px; border:1px solid #bbc2c8; border-radius:50%; color:#252a2f; background:linear-gradient(180deg,#f7f8f9,#dfe3e6); box-shadow:0 3px 8px rgba(35,42,48,.16); transition:transform .2s ease; }
.rental-site .rental-page-card:hover { transform:translateY(-5px); border-color:#e0e5e9; box-shadow:0 24px 48px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.32); }
.rental-site .rental-page-card:hover .rental-card-arrow { transform:translateX(3px); }
.rental-site .rental-page-card:focus-visible { outline:3px solid #e0e5e9; outline-offset:5px; }
@media(max-width:980px) { .rental-site .rental-page-cards { gap:16px; } .rental-site .rental-card-copy { padding:20px; } .rental-site .rental-page-card > .rental-card-link { margin:0 20px; } }
@media(max-width:760px) { .rental-site .rental-card-visual { height:132px; } .rental-site .rental-page-card p { max-width:none; } }
@media(prefers-reduced-motion:reduce) { .rental-site .rental-page-card,.rental-site .rental-card-arrow { transition:none; } .rental-site .rental-page-card:hover,.rental-site .rental-page-card:hover .rental-card-arrow { transform:none; } }

.rental-site .license-transfer-panel h3 { margin:0 0 8px; }
.rental-site .license-transfer-panel h4 { color:#151c23; margin:0 0 8px; font-size:17px; }
.rental-site .license-upload-options { display:flex; flex-wrap:wrap; align-items:flex-end; gap:14px; }
.rental-site .license-upload-options > label { flex:1 1 220px; margin:0; }
.rental-site .license-phone-transfer { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:22px; align-items:center; border-top:1px solid #606b74; margin-top:22px; padding-top:22px; }
.rental-site #license-qr { padding:16px; background:#fff; border-radius:10px; width:212px; box-sizing:border-box; }
.rental-site #license-qr img { margin:0; max-width:100%; }
.rental-site .transfer-preview { display:block; max-width:100%; max-height:260px; object-fit:contain; margin:16px 0; border-radius:8px; }
.rental-site .license-camera-input { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); }
.rental-site .license-camera-label { cursor:pointer; }
.rental-site .mobile-license-page { max-width:680px; }
.rental-site .mobile-license-page h1 { font-size:32px; }
.rental-site .license-transfer-panel [hidden],.rental-site .mobile-license-page [hidden] { display:none !important; }
@media(max-width:540px){.rental-site .license-phone-transfer { grid-template-columns:1fr; }.rental-site #license-qr { justify-self:center; }.rental-site .license-upload-options > .button { width:100%; }}

/* Share destructive controls with public phone-photo and owner workflows. */
.rental-site .customer-delete-action { display:inline-flex; align-items:center; justify-content:center; width:38px; height:32px; padding:0; border:1px solid #b74f55; border-radius:8px; color:#fff; background:linear-gradient(180deg,#dc4c58,#9d2833); cursor:pointer; }
.rental-site .customer-delete-action:hover,.rental-site .customer-delete-action:focus-visible { border-color:#d36a72; color:#fff; background:linear-gradient(180deg,#e35a65,#a92d38); }
.rental-site .customer-delete-action svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.rental-site .dashboard-client-delete-submit { border:1px solid #bd5b5b; border-radius:7px; color:#fff; background:linear-gradient(180deg,#a43d3d,#742727); cursor:pointer; font:700 12px/1 var(--sans); }
.rental-site .dashboard-client-delete-submit:hover { border-color:#e08383; background:linear-gradient(180deg,#a43d3d,#742727); filter:brightness(1.08); }
body.rental-site.admin-delete-confirmation-open .modal-backdrop.show:last-of-type { z-index:1065; }

/* Compact application form and side-by-side QR/photo gallery. */
.rental-site #rental-request-modal .modal-dialog { max-width:820px; }
.rental-site #rental-request-modal .modal-content.panel { padding:20px; }
.rental-site #rental-request-modal .request-editor-heading { margin:-20px -20px 14px; padding:14px 20px; gap:12px; }
.rental-site #rental-request-modal .request-editor-heading h2 { font-size:23px; line-height:1.2; }
.rental-site #rental-request-modal label { margin-bottom:10px; font-size:12px; }
.rental-site #rental-request-modal .form-row { gap:12px; }
.rental-site #rental-request-modal .application-date-row { grid-template-columns:1fr 1fr 1fr; }
.rental-site #rental-request-modal input:not([type=checkbox]):not([type=file]),.rental-site #rental-request-modal textarea { margin-top:4px; padding:8px 10px; font-size:13px; }
.rental-site #rental-request-modal textarea { min-height:60px; resize:vertical; }
.rental-site #rental-request-modal .fine { font-size:12px; line-height:1.45; margin:6px 0 10px; }
.rental-site #rental-request-modal .request-editor-actions { padding-top:0; gap:8px; }
.rental-site #rental-request-modal .request-editor-actions .form-action { min-height:38px; padding:8px 12px; flex-basis:auto; }
.rental-site #rental-request-modal .license-transfer-panel { padding:12px; margin:2px 0 12px; border:0; }
.rental-site .license-transfer-panel h3 { font-size:16px; margin:0 0 10px; }
.rental-site .license-phone-transfer { grid-template-columns:152px minmax(0,1fr); gap:16px; align-items:start; margin:0; padding:0; border:0; }
.rental-site #license-qr { width:152px; padding:12px; border-radius:8px; }
.rental-site .license-qr-column { display:flex; flex-direction:column; align-items:center; gap:4px; min-width:0; }
.rental-site .license-photo-tile { position:relative; display:grid; place-items:center; height:176px; min-width:0; overflow:hidden; border:1px solid #65717c; border-radius:8px; background:#343c43; }
.rental-site #license-photo-empty { color:#d8dfe4; text-align:center; padding:12px; }
.rental-site #license-transfer-preview { width:100%; height:100%; max-height:176px; margin:0; border-radius:0; object-fit:contain; cursor:zoom-in; }
.rental-site .license-photo-tools { position:absolute; right:8px; bottom:8px; display:flex; gap:6px; }
.rental-site .license-photo-tools > button { display:inline-flex; justify-content:center; align-items:center; width:34px; height:34px; min-height:34px; padding:0; }
.rental-site #rental-request-modal #license-transfer-status { margin:8px 0 0; }
.rental-site .license-photo-viewer { z-index:1070; }
body.rental-site.license-viewer-open .modal-backdrop.show:last-of-type { z-index:1065; }
.rental-site .license-photo-viewer .modal-dialog { max-width:680px; }
.rental-site .license-photo-viewer .modal-title { font-size:22px; }
.rental-site .license-viewer-body { padding:16px; background:#242b31; }
.rental-site #license-photo-full { display:block; width:100%; max-width:600px; height:400px; max-height:65dvh; margin:auto; object-fit:contain; }
.rental-site .license-photo-viewer .legal-modal-footer { color:#e5e9ed; font-size:12px; }
@media(max-width:540px){.rental-site #rental-request-modal .form-row{grid-template-columns:1fr 1fr}.rental-site #rental-request-modal .application-date-row>label:first-child{grid-column:1/-1}.rental-site #rental-request-modal .modal-content.panel{padding:16px}.rental-site #rental-request-modal .request-editor-heading{margin:-16px -16px 12px;padding:12px 16px}.rental-site #rental-request-modal .request-editor-heading h2{font-size:20px}.rental-site .license-phone-transfer{grid-template-columns:152px minmax(0,1fr);gap:8px}.rental-site .license-photo-tile{height:152px}.rental-site #license-transfer-preview{max-height:152px}.rental-site .license-photo-tools{right:4px;bottom:4px;gap:4px}.rental-site .license-photo-tools>button{width:30px;height:30px;min-height:30px}}
.rental-site #rental-request-modal .form-row > label { min-width:0; }

/* Text and native date controls share a fixed border-box height. */
.rental-site .panel form { --rental-field-height:44px; }
.rental-site #rental-request-form { --rental-field-height:38px; }
.rental-site .panel form input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=submit]):not([type=button]),
.rental-site .panel form select {
  box-sizing:border-box;
  height:var(--rental-field-height);
  min-height:var(--rental-field-height);
  max-height:var(--rental-field-height);
  line-height:normal;
}
.rental-site .panel form input[type=date]::-webkit-datetime-edit { padding:0; }

.rental-site .license-qr-column { width:152px; gap:0; background:#fff; border-radius:8px; overflow:hidden; }
.rental-site .license-qr-column #license-qr { background:transparent; border-radius:0; }
.rental-site #rental-request-modal .license-qr-caption { display:block; margin:0; padding:0 4px 10px; color:#252a2f; font-size:10px; line-height:14px; text-align:center; }

.rental-site #requests-grid .rental-request-table .px-3 { padding-left:1rem; padding-right:1rem; }

/* License review controls */
.photo-rotate-tools { display:flex;gap:8px;margin:10px 0; }
.photo-rotate-tools[hidden] { display:none; }
.photo-rotate-tools button,[data-license-rotate] { width:36px;height:36px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:24px;line-height:1; }
.request-license-actions { flex-wrap:wrap; }
#phone-selfie-step { margin:18px 0; }
#phone-next { margin:8px 0; }

.rental-site .has-selfie .license-phone-transfer { grid-template-columns:152px minmax(0,1fr) 112px; }
.rental-site .license-selfie-tile { min-width:0; padding:6px; border:1px solid #697078; border-radius:8px; background:#343c43; color:#edf1f5; display:flex; flex-direction:column; align-items:center; gap:4px; height:176px; }
.rental-site .license-selfie-tile img { width:100%;height:138px;object-fit:contain; }
.rental-site .license-selfie-tile span { font-size:12px; }
.rental-site .license-selfie-tile[hidden] { display:none; }
@media(max-width:540px){.rental-site .has-selfie .license-phone-transfer{grid-template-columns:152px minmax(0,1fr)}.rental-site .license-selfie-tile{grid-column:2;height:100px}.rental-site .license-selfie-tile img{height:70px}}

.rental-site .license-qr-column[hidden],.rental-site #license-phone-open[hidden]{display:none!important}
.rental-site #license-phone-open{margin:0 0 12px;gap:8px}
.rental-site .phone-capture .license-phone-transfer{grid-template-columns:minmax(0,1fr)}
.rental-site .phone-capture.has-selfie .license-phone-transfer{grid-template-columns:minmax(0,1fr) 100px}
.rental-site .phone-capture .license-selfie-tile{grid-column:auto;height:152px}
.rental-site .phone-capture .license-selfie-tile img{height:118px}

/* Owner overview reuses the landing-page card components. */
.rental-site .rental-dashboard-cards { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:stretch; }
.rental-site .dashboard-card-value { display:block;margin:14px 0 10px;font-size:40px;line-height:1.15;color:#141a20; }
.rental-site .dashboard-card-value.listing-state { font-size:28px; }
@media(max-width:1100px){.rental-site .rental-dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:600px){.rental-site .rental-dashboard-cards{grid-template-columns:minmax(0,1fr);gap:16px}}

.rental-site .password-input-wrap{position:relative;margin-bottom:18px}
.rental-site .password-input-wrap input{padding-right:50px;margin-bottom:0;width:100%;box-sizing:border-box}
.rental-site .password-visibility-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:7px;background:transparent;color:#edf1f5;cursor:pointer;box-shadow:none}
.rental-site .password-visibility-toggle:hover{background:rgba(255,255,255,.12)}
.rental-site .password-visibility-toggle:focus-visible{outline:2px solid #edf1f5;outline-offset:1px}
.password-eye-slash[hidden]{display:none}
@media(max-width:760px){
 .rental-site .rental-home-hero .button-row,.rental-site .page-actions{display:grid;grid-template-columns:minmax(0,1fr)}
 .rental-site .rental-home-hero .button-row>.button,.rental-site .page-actions>.button{width:100%;box-sizing:border-box;justify-content:center}
}
@media(max-width:760px){
 .rental-site #rental-request-modal .request-editor-actions{display:grid;grid-template-columns:minmax(0,1fr)}
 .rental-site #rental-request-modal .request-editor-actions>.form-action{width:100%;min-width:0;box-sizing:border-box;justify-content:center}
}

.rental-site .license-preview img[role="button"]{cursor:zoom-in}
.rental-site .license-preview img[role="button"]:focus-visible{outline:2px solid #edf1f5;outline-offset:3px}

.rental-site .button.btn-success{color:#fff;border:1px solid #25805b;background:linear-gradient(180deg,#279b6b,#176342)}
.rental-site .button.btn-success:hover,.rental-site .button.btn-success:focus-visible{color:#fff;border-color:#39b880;background:linear-gradient(180deg,#2dab78,#1b744e)}
.rental-site .btn-danger{color:#fff;border-color:#b74f55;background:linear-gradient(180deg,#dc4c58,#9d2833)}
.rental-site .btn-danger:hover,.rental-site .btn-danger:focus-visible{color:#fff;border-color:#d36a72;background:linear-gradient(180deg,#e35a65,#a92d38)}

/* Inline booking flow; photo zoom remains a separate accessible dialog. */
.rental-site .booking-page{max-width:1050px;padding-top:40px;padding-bottom:60px}
.rental-site .booking-page>h1{margin:10px 0;font-size:clamp(30px,5vw,44px)}
.rental-site .booking-wizard{margin-top:26px;padding:30px}
.rental-site .booking-wizard [hidden]{display:none!important}
.rental-site .booking-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;list-style:none;margin:0 0 28px;padding:0 0 22px;border-bottom:1px solid #58636d}
.rental-site .booking-steps li{display:flex;align-items:center;gap:8px;font-size:13px;color:#25313b}
.rental-site .booking-steps li>span{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border:1px solid #4b5964;border-radius:50%;background:#c4cbd0}
.rental-site .booking-steps li[aria-current="step"]{font-weight:800;color:#101b25}
.rental-site .booking-steps li[aria-current="step"]>span,.rental-site .booking-steps li.complete>span{color:white;background:#176342;border-color:#176342}
.rental-site .booking-wizard h2{font-size:25px;margin:0 0 22px}
.rental-site .booking-dates-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}
.rental-site .booking-wizard .booking-contact-row{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr)}
.rental-site .booking-contact-row>label{min-width:0}
.rental-site .booking-total{font-size:22px;font-weight:800;padding:18px 0;border-top:1px solid #596671;border-bottom:1px solid #596671}
.rental-site .booking-summary{display:grid;grid-template-columns:130px minmax(0,1fr);gap:14px 20px;margin-bottom:28px}
.rental-site .booking-summary dt{font-weight:700}
.rental-site .booking-summary dd{margin:0;overflow-wrap:anywhere}
.rental-site .booking-payment-note{padding:20px;border:1px solid #53606c;border-radius:8px;background:rgba(255,255,255,.2)}
.rental-site .booking-payment-note h3{font-size:18px;margin-top:0}
.rental-site .booking-actions{display:flex;align-items:center;gap:16px;border-top:1px solid #596671;margin-top:26px;padding-top:22px}
.rental-site #wizard-step-count{margin-right:auto}
.rental-site #wizard-error{padding:14px;background:#fff0f0;color:#7c2020;border-radius:6px}
@media(max-width:700px){.rental-site .booking-wizard{padding:20px}.rental-site .booking-dates-layout{grid-template-columns:1fr;gap:20px}.rental-site .booking-steps{gap:8px}.rental-site .booking-steps li{flex-direction:column;text-align:center;font-size:11px}.rental-site #rental-request-modal.booking-wizard .form-row{grid-template-columns:1fr}.rental-site .booking-summary{grid-template-columns:90px minmax(0,1fr);gap:12px}.rental-site .booking-actions{gap:10px}.rental-site .booking-actions .button{padding:12px 16px}}
#wizard-quote, #review-total { white-space: pre-line; }

/* Automatic stay pricing and the rates explainer. */
.rental-site .stay-price-card  {
    margin-top: 22px;
    padding: 24px;
    background: linear-gradient(145deg, #f7f9f8, #e7eeea);
    border: 1px solid #a8b9b0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(25, 48, 38, .08);
    color: #1c3026;
}

.rental-site .stay-price-heading  {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.rental-site .stay-price-eyebrow  {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    color: #426551;
}

.rental-site .rates-help-button  {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 0;
    background: none;
    border: 0;
    color: #23573f;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}

.rental-site .rates-help-button:focus-visible  {
    outline: 2px solid #176342;
    outline-offset: 5px;
    border-radius: 3px;
}

.rental-site .stay-price-status  {
    margin: 18px 0 16px;
    font-size: 14px;
    color: #40594b;
}

.rental-site .stay-price-lines  {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 13px 12px;
    margin: 0 0 22px;
    font-size: 14px;
}

.rental-site .stay-price-lines dt  {
    font-weight: 500;
}

.rental-site .stay-price-lines dd  {
    margin: 0;
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.rental-site .stay-price-total  {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid #b6c7bd;
    padding-top: 18px;
}

.rental-site .stay-price-total > span  {
    font-size: 14px;
    font-weight: 700;
}

.rental-site .stay-price-total small  {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    letter-spacing: .08em;
    color: #536b5d;
}

.rental-site .stay-price-total > strong  {
    font-size: clamp(25px, 3vw, 34px);
    letter-spacing: -.04em;
    font-variant-numeric: tabular-nums;
}

.rental-site .stay-price-footnote  {
    display: flex;
    gap: 8px;
    margin: 20px 0 0;
    color: #536b5d;
    font-size: 12px;
    line-height: 1.6;
}

.rental-site .rates-modal .modal-content {
    padding: 0;
    overflow: hidden;
    border-radius: var(--rental-panel-radius);
}

.rental-site .rates-modal .modal-header {
    margin: 0;
}

.rental-site .rates-modal .rates-modal-body  {
    padding: 24px 30px;
    max-height: 66vh;
    overflow-y: auto;
}

.rental-site .rates-modal-body > p  {
    margin: 0 0 20px;
    color: #222b32;
    line-height: 1.7;
    font-size: 14px;
}

.rental-site .rates-table  {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
    font-size: 14px;
}

.rental-site .rates-table-caption  {
    text-align: left;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 700;
    padding-bottom: 12px;
    color: #222b32;
}

.rental-site .rates-table th, .rental-site .rates-table td  {
    padding: 13px 10px;
    border-bottom: 1px solid #737f89;
    text-align: left;
}

.rental-site .rates-table thead th  {
    background: rgba(255, 255, 255, .2);
    color: #20282f;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.rental-site .rates-table tr > :last-child  {
    text-align: right;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.rental-site .rates-modal-body h3  {
    font-size: 16px;
    margin: 0 0 16px;
}

.rental-site .rates-calculation  {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    gap: 16px;
}

.rental-site .rates-calculation li  {
    display: flex;
    gap: 13px;
}

.rental-site .rates-calculation li > span  {
    flex: 0 0 29px;
    height: 29px;
    display: grid;
    place-items: center;
    background: #4d545b;
    color: #f4f6f7;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.rental-site .rates-calculation strong  {
    font-size: 14px;
}

.rental-site .rates-calculation p  {
    margin: 4px 0 0;
    font-size: 13px;
    color: #28323b;
    line-height: 1.6;
}

.rental-site .rates-examples  {
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .16);
    margin-bottom: 18px;
}

.rental-site .rates-example  {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid #7c8791;
    font-size: 13px;
}

.rental-site .rates-example small  {
    display: block;
    margin-top: 4px;
    color: #28323b;
}

.rental-site .rates-example > strong  {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.rental-site .rates-modal-body .rates-note  {
    font-size: 12px;
    margin-bottom: 0;
}

.rental-site .rates-modal-footer  {
    padding: 18px 30px;
    border-top: 1px solid #737f89;
    background: rgba(255, 255, 255, .12);
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 480px)  {
    .rental-site .stay-price-card  {
        padding: 18px;
    }
    .rental-site .rates-modal .rates-modal-body  {
        padding: 22px 20px;
    }
    .rental-site .rates-table th, .rental-site .rates-table td  {
        padding: 12px 6px;
    }
    .rental-site .rates-modal-footer  {
        padding: 16px 20px;
    }
}

/* Compact rates dialog, using the shared silver modal surface. */
.rental-site .rates-modal .modal-dialog {
    max-width: 560px;
}
.rental-site .rates-modal .modal-header {
    padding: 14px 20px;
    gap: 12px;
}
.rental-site .rates-modal .modal-title {
    margin: 3px 0;
    font-size: 22px;
}
.rental-site .rates-modal .rates-modal-body {
    padding: 16px 20px;
    max-height: 70vh;
}
.rental-site .rates-modal-body > p {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.5;
}
.rental-site .rates-table {
    margin-bottom: 16px;
    font-size: 13px;
}
.rental-site .rates-table-caption {
    padding-bottom: 7px;
    font-size: 10px;
}
.rental-site .rates-table th,
.rental-site .rates-table td {
    padding: 9px 8px;
}
.rental-site .rates-modal-body h3 {
    margin-bottom: 10px;
    font-size: 14px;
}
.rental-site .rates-calculation {
    gap: 9px;
    margin-bottom: 16px;
}
.rental-site .rates-calculation li {
    gap: 10px;
}
.rental-site .rates-calculation li > span {
    flex-basis: 24px;
    height: 24px;
    font-size: 11px;
}
.rental-site .rates-calculation strong {
    font-size: 13px;
}
.rental-site .rates-calculation p {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.4;
}
.rental-site .rates-examples {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    padding: 12px;
    margin-bottom: 12px;
}
.rental-site .rates-examples h3 {
    grid-column: 1 / -1;
}
.rental-site .rates-example {
    padding: 8px 0;
    gap: 6px;
    font-size: 12px;
}
.rental-site .rates-example small {
    font-size: 10px;
    line-height: 1.4;
}
.rental-site .rates-modal-body .rates-note {
    font-size: 11px;
    line-height: 1.45;
}
.rental-site .rates-modal-footer {
    padding: 12px 20px;
}
.rental-site .rates-modal-footer .button {
    padding: 9px 14px;
    min-height: 36px;
    font-size: 12px;
}
@media (max-width: 380px) {
    .rental-site .rates-examples {
        grid-template-columns: 1fr;
    }
}

/* Payment review: a stay card alongside a clear rental invoice. */
.rental-site .payment-review-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}
.rental-site .payment-eyebrow {
    display: block;
    font-size: 9px;
    line-height: 1.6;
    letter-spacing: .15em;
    font-weight: 800;
    color: #35434e;
}
.rental-site .payment-review-heading h2 {
    margin: 5px 0 0;
    font-size: clamp(25px, 4vw, 34px);
    letter-spacing: -.035em;
}
.rental-site .payment-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #24323c;
    background: rgba(255, 255, 255, .35);
    border: 1px solid #667783;
    border-radius: 30px;
}
.rental-site .payment-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}
.rental-site .stay-pass,
.rental-site .payment-invoice {
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid #596772;
    border-radius: 16px;
    overflow: hidden;
    background: #d8dee2;
    box-shadow: 0 12px 28px rgba(24, 34, 41, .15);
}
.rental-site .stay-pass-cover,
.rental-site .payment-invoice-heading {
    position: relative;
    padding: 30px 24px;
    overflow: hidden;
    background: radial-gradient(ellipse at top right, #677b87, transparent 70%), linear-gradient(135deg, #26333d, #17222b);
    color: #fff;
}
.rental-site .payment-invoice-heading .payment-eyebrow { color: #b7c6ce; }
.rental-site .stay-pass-cover .payment-eyebrow {
    color: #b7c6ce;
    max-width: 65%;
}
.rental-site .stay-pass-cover h3 {
    position: relative;
    margin: 12px 0 7px;
    font-size: 27px;
    letter-spacing: -.035em;
    color: #fff;
}
.rental-site .stay-pass-cover p {
    position: relative;
    margin: 0;
    font-size: 12px;
    color: #c6d2d9;
}
.rental-site .stay-pass-house {
    position: absolute;
    top: 9px;
    right: -4px;
    width: 128px;
    stroke: #bfd0d9;
    stroke-width: 1;
    opacity: .22;
}
.rental-site .stay-pass-body {
    padding: 24px;
}
.rental-site .stay-pass-dates {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}
.rental-site .stay-pass-dates > div:last-child {
    text-align: right;
}
.rental-site .stay-pass-dates span {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    color: #4f606c;
    margin-bottom: 6px;
}
.rental-site .stay-pass-dates strong {
    font-size: 15px;
    color: #162631;
}
.rental-site .stay-pass-duration {
    margin: 15px 0 20px;
    font-size: 12px;
    color: #4a5c69;
}
.rental-site .stay-pass-guest {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-top: 18px;
    border-top: 1px dashed #91a0ab;
}
.rental-site .stay-pass-avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 1px solid #a5b2bb;
    border-radius: 50%;
    background: #c3cdd4;
    color: #334b5a;
}
.rental-site .stay-pass-guest > div {
    min-width: 0;
}
.rental-site .stay-pass-guest strong,
.rental-site .stay-pass-guest div > span {
    display: block;
    overflow-wrap: anywhere;
}
.rental-site .stay-pass-guest strong {
    font-size: 14px;
    color: #172934;
}
.rental-site .stay-pass-guest div > span {
    margin-top: 4px;
    font-size: 12px;
    color: #4c5e6b;
}
.rental-site .payment-invoice {
    padding: 24px;
    color: #23323c;
}
.rental-site .payment-invoice-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -24px -24px 24px;
}
.rental-site .payment-invoice-heading h3 {
    margin: 12px 0 7px;
    color: #fff;
    font-size: 27px;
    letter-spacing: -.035em;
}
.rental-site .payment-invoice-heading > i {
    font-size: 25px;
    color: #bfd0d9;
}
.rental-site .payment-invoice-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 17px 0;
    border-top: 1px solid #c6ccce;
}
.rental-site .payment-invoice-total > span {
    font-size: 13px;
    font-weight: 700;
}
.rental-site .payment-invoice-total small {
    display: block;
    font-size: 9px;
    letter-spacing: .1em;
    color: #657681;
    margin-top: 4px;
}
.rental-site .payment-invoice-total > strong {
    font-size: 32px;
    letter-spacing: -.04em;
    font-variant-numeric: tabular-nums;
}
.rental-site .payment-due-now {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: #e1e8e3;
    color: #294e3b;
    font-size: 11px;
}
.rental-site .payment-due-now strong {
    font-size: 17px;
    white-space: nowrap;
}
.rental-site .payment-invoice-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 14px 0 0;
    font-size: 11px;
    line-height: 1.6;
    color: #546771;
}
.rental-site .payment-next-chapter {
    margin-top: 27px;
}
.rental-site .payment-next-chapter > h3 {
    font-size: 15px;
    margin: 0 0 16px;
}
.rental-site .payment-timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.rental-site .payment-timeline li {
    display: flex;
    gap: 10px;
    border-top: 2px solid #697986;
    padding-top: 13px;
}
.rental-site .payment-timeline .is-current {
    border-color: #235d43;
}
.rental-site .payment-timeline li > span {
    font-size: 11px;
    font-weight: 800;
    color: #344853;
    padding-top: 2px;
}
.rental-site .payment-timeline strong {
    font-size: 12px;
    color: #152630;
}
.rental-site .payment-timeline p {
    margin: 5px 0 0;
    color: #243640;
    font-size: 11px;
    line-height: 1.6;
}
.rental-site .payment-availability-note {
    margin: 18px 0 0;
    color: #22333e;
    font-size: 11px;
    line-height: 1.6;
}
@media (max-width: 700px) {
    .rental-site .payment-review-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .rental-site .payment-timeline {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .rental-site .stay-pass-body,
    .rental-site .payment-invoice {
        padding: 20px;
    }
    .rental-site .payment-invoice-heading {
        margin: -20px -20px 20px;
    }
}

/* Matching chapter treatments for dates and guest details. */
.rental-site .wizard-chapter-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(43, 62, 75, .3);
}
.rental-site .wizard-chapter-icon {
    display: grid;
    place-items: center;
    flex: 0 0 58px;
    height: 58px;
    border: 1px solid #50616e;
    border-radius: 17px;
    background: linear-gradient(140deg, #405463, #26353f);
    box-shadow: inset 0 1px rgba(255, 255, 255, .18), 0 7px 15px rgba(28, 42, 52, .15);
    color: #e3ebef;
    font-size: 25px;
}
.rental-site .wizard-chapter-heading h2 {
    margin: 5px 0 8px;
    font-size: clamp(25px, 4vw, 34px);
    letter-spacing: -.035em;
}
.rental-site .wizard-chapter-heading p {
    margin: 0;
    color: #263a47;
    font-size: 13px;
    line-height: 1.6;
}
.rental-site .booking-calendar-card,
.rental-site .stay-price-card {
    padding: 20px;
    border: 1px solid #9eabb4;
    border-radius: 16px;
    background: #d8dfe4;
    box-shadow: 0 10px 24px rgba(25, 39, 49, .1);
    align-self: start;
}
.rental-site .calendar-card-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 17px;
    padding-bottom: 14px;
    border-bottom: 1px solid #a9b7c1;
    color: #3e5565;
}
.rental-site .calendar-card-intro span {
    font-size: 9px;
    letter-spacing: .14em;
    font-weight: 800;
}
.rental-site .calendar-card-intro i {
    font-size: 20px;
}
.rental-site .booking-calendar-card .calendar-toolbar {
    margin-bottom: 16px;
}
.rental-site .booking-calendar-card .calendar-toolbar strong {
    font-size: 17px;
    color: #243d4e;
}
.rental-site .booking-calendar-card .weekdays {
    font-size: 10px;
    color: #516978;
}
.rental-site .booking-calendar-card .legend {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 10px;
    color: #425867;
    margin-top: 18px;
}
.rental-site .date-selection-heading h3 {
    margin: 0 0 7px;
    font-size: 21px;
    letter-spacing: -.025em;
    color: #1e3443;
}
.rental-site .date-selection-heading p {
    margin: 0 0 19px;
    font-size: 12px;
    line-height: 1.6;
    color: #263d4b;
}
.rental-site .booking-date-summary .stay-price-card {
    margin-top: 0;
    color: #233844;
}
.rental-site .guest-details-card,
.rental-site .guest-verification-card {
    padding: 24px;
    border: 1px solid #9daab3;
    border-radius: 16px;
    background: #c9d2d9;
    box-shadow: 0 10px 24px rgba(25, 39, 49, .1);
}
.rental-site .guest-verification-card {
    margin-top: 20px;
}
.rental-site .guest-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}
.rental-site .guest-card-heading h3 {
    margin: 5px 0 0;
    font-size: 20px;
    letter-spacing: -.025em;
    color: #253c4c;
}
.rental-site .guest-card-marker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #4b6373;
    font-size: 9px;
    letter-spacing: .1em;
    font-weight: 700;
}
.rental-site .guest-details-card .form-row:last-child {
    margin-bottom: 0;
}
.rental-site .guest-verification-intro {
    margin: -6px 0 18px;
    font-size: 12px;
    line-height: 1.7;
    color: #344e5f;
    max-width: 640px;
}
.rental-site .guest-verification-card .license-transfer-panel {
    margin: 0;
    border: 1px solid #97a7b3;
    background: rgba(255, 255, 255, .18);
    box-shadow: none;
}
.rental-site .guest-consent {
    margin: 18px 0 0;
    padding: 14px;
    border: 1px solid #a0afba;
    border-radius: 9px;
    background: rgba(255, 255, 255, .2);
    font-size: 12px;
    line-height: 1.7;
    align-items: flex-start;
}
.rental-site .guest-consent input {
    flex-shrink: 0;
    margin-top: 5px;
}
@media (max-width: 700px) {
    .rental-site .wizard-chapter-heading {
        gap: 12px;
        align-items: flex-start;
    }
    .rental-site .wizard-chapter-icon {
        flex-basis: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 20px;
    }
    .rental-site .guest-details-card,
    .rental-site .guest-verification-card,
    .rental-site .stay-price-card,
    .rental-site .booking-calendar-card {
        padding: 18px;
    }
    .rental-site .wizard-chapter-heading .payment-eyebrow {
        font-size: 8px;
    }
}

/* Booking email workspace: graphite welcome, silver preview cards, clear delivery log. */
.rental-site .booking-emails .email-page-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}
.email-heading-copy { display:flex; align-items:center; gap:18px; min-width:0; }
.email-heading-icon {
    display:grid;
    place-items:center;
    flex:0 0 64px;
    height:64px;
    border:1px solid #8c959d;
    border-radius:18px;
    background:linear-gradient(145deg, #64717b, #3d464e);
    box-shadow:inset 0 1px rgba(255,255,255,.2);
    font-size:30px;
    color:#f4f6f7;
    transform:rotate(-5deg);
}
.rental-site .booking-emails .email-page-heading h2 { margin:7px 0; font-size:30px; }
.email-page-heading p { margin:0; color:#d5dce1; font-size:13px; line-height:1.6; }
.email-setup-badge {
    display:inline-flex;
    align-items:center;
    gap:7px;
    flex-shrink:0;
    padding:8px 12px;
    border:1px solid #b9bec4;
    border-radius:20px;
    background:linear-gradient(180deg, #f7f8f9, #dfe3e6);
    color:#252a2f;
    font-size:11px;
    font-weight:700;
}
.email-setup-badge.needs-setup { border-color:#ac966d; background:#49402e; color:#ffe2a6; }
.email-routing {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px 24px;
    padding:18px 20px;
    border:1px solid #b6bec5;
    border-radius:10px;
    background:rgba(242,245,247,.38);
}
.email-routing > div { display:flex; align-items:center; gap:12px; min-width:0; }
.email-routing > div > i { font-size:24px; color:#38454f; }
.email-routing small,.email-routing strong { display:block; overflow-wrap:anywhere; }
.email-routing small,.email-eyebrow { font-size:10px; font-weight:800; letter-spacing:1.2px; color:#34414b; }
.email-routing strong { margin-top:4px; font-size:13px; }
.email-routing p { grid-column:1 / -1; margin:0; padding-top:12px; border-top:1px solid #a2acb4; font-size:12px; line-height:1.6; }
.email-setup-notice { margin-top:16px; padding:16px 20px; border:1px solid #b6a07b; border-left:4px solid #8a652e; border-radius:8px; background:#eee4d2; color:#493a24; font-size:12px; line-height:1.7; }
.email-setup-notice > strong { font-size:14px; }
.email-setup-notice p { margin:5px 0; }
.email-setup-notice summary { cursor:pointer; font-weight:700; }
.email-setup-notice code { overflow-wrap:anywhere; }
.email-section-title { display:flex; align-items:end; justify-content:space-between; gap:12px; margin:26px 0 12px; }
.rental-site .booking-emails .email-section-title h3 { margin:5px 0 0; font-size:20px; }
.email-section-note { font-size:11px; color:#26333d; }
.email-section-note i { margin-left:5px; }
.rental-site .booking-emails .email-template-previews { grid-template-columns:repeat(4, minmax(0, 1fr)); gap:10px; }
.email-preview-card {
    display:flex;
    flex-direction:column;
    gap:12px;
    min-width:0;
    padding:15px;
    border:1px solid #b8c0c7;
    border-radius:9px;
    background:linear-gradient(145deg,#f1f4f6,#d3dbe1);
    color:#26333d;
    box-shadow:inset 0 1px rgba(255,255,255,.85),0 3px 8px rgba(25,35,44,.08);
    text-decoration:none;
    transition:background .18s,border-color .18s,box-shadow .18s;
}
.email-preview-card:hover { background:linear-gradient(145deg,#fff,#e1e8ee); border-color:#607585; box-shadow:0 5px 14px rgba(25,35,44,.17); color:#182b39; }
.email-preview-top,.email-preview-bottom { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.email-preview-top > i { font-size:23px; color:#4e6575; }
.email-preview-top small { padding:3px 7px; border:1px solid #b5c1ca; border-radius:4px; font-size:9px; font-weight:800; letter-spacing:1px; }
.email-preview-card > strong { font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.email-preview-bottom { margin-top:auto; font-size:10px; color:#4a5c69; }
.email-preview-bottom > i { font-size:14px; }
.email-preview-note { margin:10px 0 0; }
.email-history-heading { padding-top:22px; border-top:1px solid #afb9c1; }
.email-history-footnote { display:flex; gap:8px; align-items:baseline; margin:16px 0 0; }
@media (max-width:1000px) {
    .rental-site .booking-emails .email-template-previews { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:600px) {
    .rental-site .booking-emails .email-page-heading { align-items:flex-start; flex-direction:column; gap:14px; }
    .email-heading-icon { flex-basis:46px; height:46px; font-size:24px; border-radius:13px; }
    .email-heading-copy { gap:12px; }
    .rental-site .booking-emails .email-page-heading h2 { font-size:25px; }
    .email-routing { grid-template-columns:minmax(0,1fr); padding:16px; }
    .email-section-title { align-items:flex-start; flex-direction:column; gap:8px; }
}
@media (max-width:380px) {
    .rental-site .booking-emails .email-template-previews { grid-template-columns:minmax(0,1fr); }
}

/* Property details: graphite headers, gray panels and a photo-led layout. */
.rental-site .details-page { padding-block:32px 72px; }
.details-heading { margin-bottom:30px; }
.details-back { display:flex; align-items:center; gap:8px; width:fit-content; margin-bottom:26px; color:#d2d8df; font-size:12px; }
.details-heading h1 { max-width:1000px; margin:18px 0 14px; font-size:clamp(32px,3.8vw,52px); letter-spacing:-.035em; line-height:1.13; overflow-wrap:anywhere; }
.details-location { display:flex; align-items:baseline; gap:8px; margin:0; color:#d2d8df; font-size:14px; }
.details-overview,.details-content { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr); gap:24px; align-items:start; }
.details-overview { align-items:stretch; }
.details-gallery { display:grid; grid-template-rows:1fr auto; gap:12px; min-width:0; }
.details-photo { position:relative; min-height:420px; overflow:hidden; border:1px solid #89949e; border-radius:12px; background:#333d46; box-shadow:0 16px 36px #0002; }
.details-photo>img { width:100%; height:100%; position:absolute; inset:0; object-fit:cover; }
.details-photo>img.details-illustration { object-fit:contain; padding:24px; }
.details-photo-link { position:absolute; bottom:22px; left:22px; max-width:calc(100% - 44px); flex-wrap:wrap; }
.details-photo-note { position:absolute; bottom:18px; left:18px; right:18px; width:fit-content; padding:8px 12px; border-radius:6px; background:#222b33ef; color:#f1f3f5; font-size:12px; }
.details-photo-strip { position:relative; display:flex; gap:12px; overflow-x:auto; padding:3px; scrollbar-width:thin; }
.details-photo-strip>a { position:relative; flex:0 0 calc((100% - 36px)/4); min-width:80px; height:112px; overflow:hidden; border:1px solid #89949e; border-radius:8px; }
.details-photo-strip>a[aria-current="true"] { outline:3px solid #dce8f0; outline-offset:-3px; }
.details-photo-strip>a:focus-visible,.details-photo:focus-visible { outline:3px solid #dce8f0; outline-offset:2px; }
.details-photo { touch-action:pan-y; }
.rental-site .details-carousel-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:1; display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid #ffffff80; border-radius:50%; background:#202932d9; color:#fff; font-size:22px; cursor:pointer; }
.rental-site .details-carousel-arrow[hidden] { display:none; }
.rental-site .details-carousel-arrow:hover,.rental-site .details-carousel-arrow:focus-visible { background:#141c24; outline:2px solid #fff; outline-offset:2px; }
.details-carousel-prev { left:14px; }
.details-carousel-next { right:14px; }
.details-carousel-count { position:absolute; top:16px; right:16px; padding:6px 12px; border-radius:20px; background:#202932d9; color:#fff; font-size:12px; }
.details-photo-strip img { width:100%; height:100%; object-fit:cover; transition:transform .2s ease; }
.details-photo-strip>a:hover img { transform:scale(1.04); }
.details-photo-strip span { position:absolute; bottom:8px; right:8px; display:grid; place-items:center; width:28px; height:28px; border:1px solid #ffffff55; border-radius:6px; color:#fff; background:#222b33cc; font-size:12px; }
.rental-site .details-page .details-panel,
.rental-site .stay-price-card.details-panel { --ink:#101820; --muted:#263440; color:#101820; border:1px solid #aeb4ba; border-radius:12px; background:linear-gradient(145deg,#a0a6ac 0%,#858c93 48%,#6f767e 100%); box-shadow:0 12px 28px #0003,inset 0 1px #ffffff52; }
.details-booking,.details-directions { overflow:hidden; min-width:0; }
.details-card-header { padding:26px 28px; background:radial-gradient(ellipse at top right,#677b87,transparent 70%),linear-gradient(135deg,#26333d,#17222b); border-bottom:1px solid #b6c2cc40; }
.details-eyebrow { display:block; color:#263440; font-size:10px; font-weight:800; letter-spacing:1.6px; line-height:1.6; }
.rental-site .details-card-header .details-eyebrow { color:#c1cdd5; }
.rental-site .details-card-header h2 { color:#fff; font-size:26px; line-height:1.25; letter-spacing:-.025em; margin:10px 0 0; }
.details-booking-body,.details-directions-body,.details-story-body { padding:28px; }
.details-booking { display:flex; flex-direction:column; }
.details-booking .details-card-header { padding:28px; }
.details-booking .details-booking-body { display:flex; flex:1; flex-direction:column; gap:22px; padding:26px; }
.details-nightly-card { padding:22px; border:1px solid #ffffff55; border-radius:12px; background:linear-gradient(135deg,#eef2f5cc,#c5cfd7a6); box-shadow:inset 0 1px #ffffffa6,0 6px 18px #18222912; }
.details-nightly-card .details-nightly { margin:0; }
.details-booking .details-rates { gap:12px; margin:0; }
.details-booking .details-rates>div { padding:17px 16px; border-color:#53606b50; border-radius:10px; background:#ffffff26; }
.details-booking .details-rates dd { font-size:22px; line-height:1.2; font-variant-numeric:tabular-nums; letter-spacing:-.5px; }
body.rental-site .details-booking-body>.button { margin-top:auto; align-self:flex-start; }
.details-rate-label { display:block; font-size:10px; font-weight:750; letter-spacing:1.1px; color:#263440; margin-bottom:10px; }
.details-nightly { display:flex; flex-wrap:wrap; align-items:baseline; gap:9px; margin-bottom:24px; }
.details-nightly strong { font-size:46px; line-height:1.1; letter-spacing:-2px; font-variant-numeric:tabular-nums; }
.details-nightly>span { font-size:13px; }
.details-rates { display:grid; gap:10px; margin:0 0 24px; }
.details-rates>div { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:8px; padding:13px 14px; border:1px solid #53606b60; border-radius:8px; background:#ffffff1a; font-size:13px; box-shadow:inset 0 1px #ffffff30; }
.details-rates dt { font-weight:500; }
.details-rates dd { margin:0; font-weight:800; }
.details-rates dd span { font-size:11px; font-weight:400; }
.details-directions .button { display:flex; width:100%; justify-content:space-between; gap:12px; min-height:46px; white-space:normal; }
.details-booking-note { margin:16px 0 0; font-size:12px; line-height:1.8; color:#1e2a35; }
.details-booking-note+.button { margin-top:24px; }
.details-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,2fr); margin:0 0 24px; padding:24px; }
.details-facts>div { display:grid; grid-template-columns:42px 1fr; column-gap:14px; padding:4px 20px; border-right:1px solid #34445040; }
.details-facts>div:first-child { padding-left:0; }
.details-facts>div:last-child { padding-right:0; border-right:0; }
.details-facts i { grid-row:1/3; align-self:center; display:grid; place-items:center; width:42px; height:46px; border:1px solid #53606b55; border-radius:10px; background:#ffffff1c; color:#263440; font-size:23px; }
/* Soft color accents distinguish the four property facts. */
.details-facts>div:nth-child(1) { --fact-ink:#234d73; --fact-tint:#c1d9eb; --fact-border:#688fac; }
.details-facts>div:nth-child(2) { --fact-ink:#17574f; --fact-tint:#badbd3; --fact-border:#609b8e; }
.details-facts>div:nth-child(3) { --fact-ink:#694514; --fact-tint:#e7d2ac; --fact-border:#ac8a51; }
.details-facts>div:nth-child(4) { --fact-ink:#63456d; --fact-tint:#d9c4df; --fact-border:#9877a3; }
.details-facts>div i { color:var(--fact-ink); background:linear-gradient(145deg,#ffffff90,var(--fact-tint)); border-color:var(--fact-border); box-shadow:inset 0 1px #ffffff80,0 3px 8px #00000012; }
.details-facts dt { color:#263440; font-size:11px; font-weight:600; }
.details-facts dd { margin:4px 0 0; color:#101820; font-size:25px; font-weight:750; line-height:1.25; overflow-wrap:anywhere; }
.details-facts dd span { display:block; margin-top:3px; color:#263440; font-size:12px; font-weight:400; }
.details-facts .details-fact-address dd { display:flex; align-items:center; gap:12px; font-size:18px; line-height:1.4; text-wrap:balance; }
.details-facts .details-fact-address dd>.details-fact-address-text { flex:1; min-width:0; margin:0; color:inherit; font-size:inherit; font-weight:inherit; }
.rental-site .details-facts .details-map-button { display:flex; align-items:center; gap:8px; width:fit-content; margin-top:10px; padding:8px 12px; min-height:34px; border-radius:8px; font-size:12px; line-height:1.2; letter-spacing:0; text-transform:none; }
.rental-site .details-facts .details-map-button i { display:inline; width:auto; height:auto; border:0; border-radius:0; background:none; box-shadow:none; color:inherit; font-size:13px; }
.rental-site .details-facts .details-fact-address .details-map-button { flex-shrink:0; margin-top:0; white-space:nowrap; }
.details-content { padding-top:24px; }
.details-page .details-content { grid-template-columns:minmax(0,1fr); }
.details-story { min-width:0; overflow:hidden; }
.details-section-icon { display:grid; place-items:center; flex-shrink:0; width:48px; height:48px; border:1px solid #53606b55; border-radius:12px; background:#ffffff20; color:#263440; font-size:24px; }
.rental-site .details-story-body h2 { color:#101820; font-size:25px; line-height:1.35; margin:6px 0 0; letter-spacing:-.025em; }
.details-description { white-space:pre-line; overflow-wrap:anywhere; color:#101820; font-size:15px; line-height:1.95; margin:0; }
.details-amenities-section { margin-top:28px; padding-top:24px; border-top:1px solid #34445040; }
.rental-site .details-amenities-section h2 { font-size:21px; margin:0; }
.details-amenities { list-style:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:0; margin:18px 0 0; }
.details-amenities li { display:flex; align-items:baseline; gap:10px; padding:13px 14px; border:1px solid #53606b55; border-radius:8px; background:#ffffff18; color:#101820; font-size:13px; overflow-wrap:anywhere; box-shadow:inset 0 1px #ffffff26; }
.details-amenities i { flex-shrink:0; color:#263440; }
.details-address { display:flex; align-items:flex-start; gap:14px; }
.details-directions p { margin:0; color:#101820; font-size:14px; line-height:1.8; white-space:pre-line; overflow-wrap:anywhere; }
.details-directions .button { margin-top:24px; font-size:12px; }
@media(max-width:960px) {
  .details-overview,.details-content { grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr); gap:20px; }
  .details-card-header,.details-booking-body,.details-directions-body,.details-story-body { padding:24px; }
  .details-facts>div { padding-inline:12px; column-gap:10px; grid-template-columns:32px 1fr; }
  .details-facts i { width:32px; height:40px; font-size:20px; }
  .details-facts dd { font-size:21px; }
}
@media(max-width:760px) {
  .rental-site .details-page { padding-block:24px 44px; }
  .details-back { margin-bottom:22px; }
  .details-overview,.details-content { grid-template-columns:1fr; }
  .details-gallery { grid-template-rows:auto; }
  .details-photo { min-height:0; aspect-ratio:4/3; }
  .details-photo-strip>a { height:90px; }
  .details-facts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 0; padding:22px; }
  .details-facts>div,.details-facts>div:first-child { padding:0 14px; }
  .details-facts>div:nth-child(odd) { padding-left:0; }
  .details-facts>div:nth-child(even) { border-right:0; padding-right:0; }
  .details-facts>.details-fact-address { grid-column:1/-1; padding-left:0; }
  .details-photo-link { bottom:16px; left:16px; }
}
@media(max-width:420px) {
  .details-amenities { grid-template-columns:1fr; }
  .details-card-header,.details-booking-body,.details-directions-body,.details-story-body { padding:22px; }
  .details-facts { padding:18px; }
  .details-facts>div { column-gap:8px; }
  .details-facts dd { font-size:19px; }
}
@media(prefers-reduced-motion:reduce) { .details-photo-strip img { transition:none; } }

/* Approved booking: shared gray cards for guest review, invoice and arrival. */
.approved-booking-page .approved-intro { margin:-8px 0 26px; color:#263a47; font-size:14px; line-height:1.7; }
.approved-booking-page .payment-review-grid>section { min-width:0; }
.approved-booking-page .payment-invoice>h3 { color:#23323c; }
.approved-booking-page .approved-invoice-description { white-space:pre-line; overflow-wrap:anywhere; font-size:14px; line-height:1.9; margin:22px 0; }
.approved-invoice-dates { padding-bottom:20px; border-bottom:1px solid #a9b7c1; }
.approved-guest-details { margin:0; }
.approved-guest-details>div { padding:0 0 18px; }
.approved-guest-details dt { margin-bottom:5px; color:#4f606c; font-size:11px; font-weight:600; }
.approved-guest-details dd { margin:0; color:#23323c; font-size:17px; font-weight:700; overflow-wrap:anywhere; }
.approved-booking-page .approved-inline-note { display:flex; align-items:baseline; gap:10px; margin:20px 0 0; padding:16px; border:1px solid #a9b7c1; border-radius:9px; background:#ffffff26; color:#344653; font-size:12px; line-height:1.8; }
.approved-inline-note>i { flex-shrink:0; }
.approved-card-icon { display:grid; place-items:center; width:48px; height:48px; margin-bottom:20px; border:1px solid #8b9aa5; border-radius:12px; background:#ffffff35; color:#344653; font-size:23px; }
.approved-arrival h3 { margin:10px 0 16px; font-size:25px; line-height:1.3; }
.approved-payment-status>p,.approved-arrival>p,.approved-unavailable>p { color:#344653; font-size:14px; line-height:1.85; }
.approved-payment-status>.button { display:flex; justify-content:space-between; gap:12px; width:100%; margin-top:24px; white-space:normal; }
.approved-booking-page .approved-payment-status>.button:disabled { opacity:.65; cursor:not-allowed; }
.approved-page-actions { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px; margin-top:28px; padding-top:24px; border-top:1px solid #5c6b7855; }
.approved-page-actions>span { display:flex; align-items:baseline; gap:8px; color:#263a47; font-size:12px; line-height:1.7; }
.approved-booking-page .payment-invoice-total { flex-wrap:wrap; gap:12px; }
.approved-booking-page .payment-invoice-total strong { overflow-wrap:anywhere; }
.approved-unavailable { max-width:680px; margin-inline:auto; }
@media(max-width:700px) {
  .approved-booking-page .payment-review-heading { align-items:flex-start; flex-direction:column; }
  .approved-page-actions { align-items:stretch; flex-direction:column; }
  .approved-page-actions>.button { width:100%; justify-content:center; white-space:normal; }
  .approved-booking-page .stay-pass-dates { gap:8px; }
  .approved-booking-page .stay-pass-dates strong { font-size:14px; }
}

/* Share the rental-card-visual surface without imposing its fixed card height. */
.rental-site .rental-card-visual,
.rental-site .panel>.section-heading,
.rental-site .panel>.request-editor-heading,
.rental-site .rental-modal .modal-header,
.rental-site .rates-modal .modal-header,
.rental-site .details-card-header,
.rental-site .stay-pass-cover,
.rental-site .payment-invoice-heading {
  position:relative;
  isolation:isolate;
  color:#f4f6f7;
  background:radial-gradient(ellipse at 100% 0,rgba(210,215,219,.2),transparent 65%),linear-gradient(145deg,#424a51,#2e343a);
  border-bottom:1px solid #59636d;
}
.rental-site .rental-card-visual::before,
.rental-site .panel>.section-heading::before,
.rental-site .panel>.request-editor-heading::before,
.rental-site .rental-modal .modal-header::before,
.rental-site .rates-modal .modal-header::before,
.rental-site .details-card-header::before,
.rental-site .stay-pass-cover::before,
.rental-site .payment-invoice-heading::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  border-radius:inherit;
  pointer-events:none;
  background-image:linear-gradient(rgba(231,235,238,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(231,235,238,.055) 1px,transparent 1px);
  background-size:24px 24px;
  mask-image:linear-gradient(90deg,transparent,#000);
}

/* Equal-width scan and photo cards, with controls below the images. */
.rental-site .license-transfer-panel .license-phone-transfer { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; }
.rental-site .license-transfer-panel.has-selfie .license-phone-transfer { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; }
.rental-site .license-transfer-panel.phone-capture .license-phone-transfer { grid-template-columns:minmax(0,1fr); }
.rental-site .license-transfer-panel.phone-capture.has-selfie .license-phone-transfer { grid-template-columns:repeat(2,minmax(0,1fr)); }
.rental-site .license-transfer-panel .license-qr-column { width:100%; box-sizing:border-box; justify-content:center; padding:12px; }
.rental-site .license-transfer-panel .license-qr-column #license-qr { width:100%; max-width:288px; padding:16px; }
.rental-site .license-transfer-panel #license-qr img,.rental-site .license-transfer-panel #license-qr canvas { width:100%; height:auto; aspect-ratio:1; }
.rental-site .license-transfer-panel .license-qr-caption { color:#252a2f; text-align:center; font-size:12px; line-height:18px; }
.rental-site .license-transfer-panel .request-photo-card { display:grid; grid-template-rows:24px 180px 44px; gap:8px; height:auto; padding:10px; align-content:start; box-sizing:border-box; }
.rental-site .license-transfer-panel .request-photo-card[hidden] { display:none; }
.rental-site .request-photo-label { justify-self:start; color:#edf1f5; font-size:13px; font-weight:600; }
.rental-site .license-transfer-panel #license-transfer-preview,
.rental-site .license-transfer-panel #license-selfie-preview,
.rental-site .license-transfer-panel .approved-saved-photo { width:100%; height:180px; max-height:180px; object-fit:contain; margin:0; border-radius:4px; }
.rental-site .request-photo-zoom { display:block; width:100%; height:180px; min-width:0; padding:0; border:0; background:transparent; cursor:zoom-in; }
.rental-site .request-photo-card #license-photo-empty { grid-row:2; }
.rental-site .request-photo-card .license-photo-tools { position:static; grid-row:3; justify-self:center; align-self:center; gap:8px; }
.rental-site .request-photo-card .license-photo-tools > button { width:40px; height:40px; min-height:40px; }
@media(max-width:700px) {
 .rental-site .license-transfer-panel .license-phone-transfer,
 .rental-site .license-transfer-panel.has-selfie .license-phone-transfer { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:380px) {
 .rental-site .license-transfer-panel.has-selfie .license-phone-transfer,
 .rental-site .license-transfer-panel.phone-capture.has-selfie .license-phone-transfer { grid-template-columns:minmax(0,1fr); }
}

/* Rental estimate shares the property details booking panel. */
.rental-site .stay-price-card.details-booking { padding:0; }
.rental-site .stay-price-card .rates-help-button { color:#233440; align-self:flex-start; }
.rental-site .stay-price-card .stay-price-status { margin:0; max-width:none; color:#202830; }
.rental-site .stay-price-card .stay-price-total { padding:22px; border:1px solid #ffffff55; border-radius:12px; background:linear-gradient(135deg,#eef2f5cc,#c5cfd7a6); box-shadow:inset 0 1px #ffffffa6,0 6px 18px #18222912; }
.rental-site .stay-price-card .stay-price-total small { color:#263440; }
.rental-site .stay-price-card .stay-price-footnote { max-width:none; margin:0; padding-top:16px; border-top:1px solid #232c3440; color:#202830; font-size:12px; }

/* Keep the selected arrival/departure dates aligned and inside their columns. */
.rental-site .booking-calendar-footer { margin-top:20px; padding-top:18px; border-top:1px solid #a9b7c1; }
.rental-site #rental-request-modal.booking-wizard .booking-date-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0; }
.rental-site .booking-date-fields>label { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; min-width:0; margin:0; }
.rental-site .booking-date-fields>label>span { font-size:12px; font-weight:700; white-space:nowrap; }
.rental-site .booking-date-fields input[type=date] { display:block; width:100%; max-width:100%; min-width:0; box-sizing:border-box; height:46px; margin:0; padding:10px; font-size:14px; }
@media(max-width:960px) and (min-width:701px) { .rental-site .booking-dates-layout { grid-template-columns:minmax(0,1fr); gap:24px; } }
@media(max-width:380px) { .rental-site #rental-request-modal.booking-wizard .booking-date-fields { grid-template-columns:minmax(0,1fr); } }

.rental-site .details-rates > .stay-breakdown-box { display:block; padding:0; overflow:hidden; }
.rental-site .stay-breakdown-box .stay-price-lines { margin:0; }
.rental-site .stay-breakdown-header { padding:16px; background:linear-gradient(135deg,#eef2f5cc,#c5cfd7a6); }
.rental-site .stay-breakdown-header .stay-price-status { font-weight:700; }
.rental-site .stay-breakdown-box #wizard-price-detail { padding:17px 16px; border-top:1px solid #53606b50; }
.rental-site .stay-price-card #wizard-total-detail[hidden] { display:none; }

body.rental-site #requests-grid .button.request-row-action.btn-success { color:#fff !important; background:#198754 !important; border-color:#198754 !important; box-shadow:none !important; }
body.rental-site #requests-grid .button.request-row-action.btn-success:hover,body.rental-site #requests-grid .button.request-row-action.btn-success:focus-visible { color:#fff !important; background:#157347 !important; border-color:#146c43 !important; }

/* Rental dialogs share the site's silver surfaces and graphite footers. */
.rental-site .rental-modal { --ink:#101418; --muted:#293037; }
.rental-site .rental-modal .modal-content { color:#101418; background:linear-gradient(145deg,#a0a6ac 0%,#858c93 48%,#6f767e 100%); border-color:#aeb4ba; }
.rental-site .rental-modal .modal-body,
.rental-site .rental-modal .legal-modal-body { color:#101418; background:linear-gradient(145deg,#a0a6ac 0%,#858c93 48%,#6f767e 100%); }
.rental-site .rental-modal .license-viewer-body { background:#242b31; }
.rental-site .rental-modal .modal-footer,
.rental-site .rental-modal .legal-modal-footer,
.rental-site .rental-modal .rates-modal-footer { color:#e5e9ed; background:#41474f; border-top-color:#697078; }
.rental-site .rental-modal .legal-modal-footer a:not(.button),
.rental-site .rental-modal .stay-policy-footer a:not(.button),
.rental-site .rental-modal .stay-policy-agreement,
.rental-site .rental-modal .modal-footer .fine { color:#e5e9ed; }
.rental-site .rental-modal .stay-policy-body .fine,
.rental-site .rental-modal .stay-policy-section p,
.rental-site .rental-modal .stay-policy-section h3 { color:#101418; }

/* Inline checkout feedback: clear next step without a raw validation block. */
.rental-site .checkout-notice {
  display:flex; align-items:center; gap:14px; margin:18px 0 24px; padding:18px 20px;
  border:1px solid #efc4c4; border-left:4px solid #b42332; border-radius:12px;
  color:#7f1d2d; background:#fff4f4; box-shadow:0 4px 16px rgba(0,0,0,.08);
}
.rental-site .checkout-notice-policy { color:#825515; background:#fff9eb; border-color:#ead7a7; border-left-color:#bc8520; }
.rental-site .checkout-notice-icon { display:flex; align-items:center; justify-content:center; width:38px; height:38px; flex:0 0 38px; border-radius:50%; background:rgba(180,35,50,.08); }
.rental-site .checkout-notice-policy .checkout-notice-icon { background:#f8edce; }
.rental-site .checkout-notice-icon svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
.rental-site .checkout-notice-copy { flex:1; min-width:0; }
.rental-site .checkout-notice-copy h2 { margin:0 0 5px; font-size:16px; line-height:1.35; font-weight:700; color:#7f1d2d; letter-spacing:0; }
.rental-site .checkout-notice-policy .checkout-notice-copy h2 { color:#684813; }
.rental-site .checkout-notice-copy p { margin:0; font-size:14px; line-height:1.6; color:#61434a; overflow-wrap:anywhere; }
.rental-site .checkout-notice-policy .checkout-notice-copy p { color:#645334; }
.rental-site .checkout-notice .checkout-notice-action { flex-shrink:0; min-height:40px; padding:9px 14px; font-size:13px; color:#684813; background:#fff; border:1px solid #d7bf83; box-shadow:none; }
.rental-site .checkout-notice .checkout-notice-action:hover { background:#fff4d9; border-color:#bc8520; }
.rental-site .checkout-notice:focus-visible { outline:3px solid #bc8520; outline-offset:3px; }
@media(max-width:575px) {
  .rental-site .checkout-notice { flex-wrap:wrap; align-items:flex-start; padding:16px; gap:12px; }
  .rental-site .checkout-notice-copy { flex-basis:calc(100% - 50px); }
  .rental-site .checkout-notice .checkout-notice-action { width:100%; justify-content:center; }
}

/* Owner booking payments. */
.rental-site .booking-payments-panel { padding:0; overflow:hidden; background:linear-gradient(145deg,#a0a6ac 0%,#858c93 48%,#6f767e 100%); border:1px solid #aeb4ba; border-radius:14px; }
.rental-site .booking-payments-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:22px; padding:26px 28px; color:#f4f6f7; background:radial-gradient(ellipse at 100% 0,rgba(210,215,219,.2),transparent 65%),linear-gradient(145deg,#424a51,#2e343a); border-bottom:1px solid #59636d; }
.rental-site .booking-payments-heading h1 { margin:12px 0 6px; font-size:28px; line-height:1.25; color:#fff; }
.rental-site .booking-payments-heading p { margin:0; font-size:14px; color:#64717b; }
.rental-site .booking-payments-back { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:42px; flex-shrink:0; font-size:13px; text-align:center; }
.rental-site .booking-payments-body { padding:26px 28px; color:#20262b; --muted:#52606c; }
.rental-site .booking-payment-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:24px; }
.rental-site .booking-payment-summary>div { padding:18px 20px; border:1px solid #64717b; border-radius:10px; background:linear-gradient(135deg,#eef2f5aa,#c5cfd780); }
.rental-site .booking-payment-summary span,.rental-site .booking-payment-summary small { display:block; color:#202830; font-size:13px; line-height:1.5; }
.rental-site .booking-payment-summary strong { display:block; margin:8px 0 4px; color:#172b3a; font-size:27px; line-height:1.25; }
.rental-site .booking-payment-summary .booking-payment-status strong { font-size:21px; }
.rental-site .booking-payment-message { margin:0 0 20px; padding:14px 16px; border:1px solid #d7e1ea; border-left:4px solid #526e86; border-radius:8px; background:#f0f5f9; color:#263e52; line-height:1.6; }
.rental-site .booking-payment-policy { margin-bottom:22px; padding:14px 16px; border:1px solid #64717b; border-radius:8px; color:#202830; background:rgba(255,255,255,.2); }
.rental-site .booking-payment-policy summary { cursor:pointer; font-size:14px; font-weight:650; }
.rental-site .booking-payment-policy pre { margin:16px 0 0; overflow-wrap:anywhere; }
.rental-site .booking-payment-table-wrap { overflow-x:auto; margin-bottom:24px; border:1px solid #64717b; border-radius:10px; }
.rental-site .booking-payment-table { width:100%; margin:0; border-collapse:collapse; color:#202830; font-size:14px; }
.rental-site .booking-payment-table caption { padding:15px 18px; text-align:left; font-weight:700; color:#263746; background:rgba(255,255,255,.2); }
.rental-site .booking-payment-table th { padding:12px 18px; text-align:left; white-space:nowrap; color:#202830; background:rgba(255,255,255,.3); font-size:12px; }
.rental-site .booking-payment-table td { padding:14px 18px; border-top:1px solid #64717b; }
.rental-site .booking-payment-table .booking-payment-empty { padding:28px 18px; text-align:center; color:#202830; }
.rental-site .booking-payment-controls { margin:0; padding:22px; border:1px solid #64717b; border-radius:10px; background:rgba(255,255,255,.2); }
.rental-site .booking-payment-controls h2 { margin:0 0 8px; font-size:19px; color:#243746; }
.rental-site .booking-payment-controls p,.rental-site .booking-payment-help { color:#202830; font-size:14px; line-height:1.7; }
.rental-site .booking-payment-controls p { margin:0 0 18px; }
.rental-site .booking-payment-actions { display:flex; flex-wrap:wrap; gap:10px; }
.rental-site .booking-payment-actions .button { min-height:42px; white-space:normal; text-align:center; line-height:1.4; }
.rental-site .booking-payment-help { margin:18px 0 0; font-size:12px; }
@media(max-width:760px) {
  .rental-site .booking-payments-heading,.rental-site .booking-payments-body { padding:20px; }
  .rental-site .booking-payment-summary { grid-template-columns:1fr; gap:10px; }
  .rental-site .booking-payments-back,.rental-site .booking-payment-actions .button { width:100%; }
  .rental-site .booking-payment-controls { padding:16px; }
}

/* Full-page policy shares the dialog's reading surface and agreement footer. */
.rental-site .stay-policy-page { max-width:860px; margin:0 auto; padding:0; overflow:hidden; background:linear-gradient(145deg,#a0a6ac 0%,#858c93 48%,#6f767e 100%); color:#20262b; border:1px solid #aeb4ba; border-radius:16px; box-shadow:0 18px 44px rgba(0,0,0,.2); --ink:#20262b; --muted:#4b5563; }
.rental-site .stay-policy-page-header { padding:26px 30px; background:radial-gradient(ellipse at 100% 0,rgba(210,215,219,.2),transparent 65%),linear-gradient(145deg,#424a51,#2e343a); border-bottom:1px solid #59636d; }
.rental-site .stay-policy-page-header h1 { margin:14px 0 8px; color:#fff; font-size:30px; line-height:1.25; letter-spacing:-.02em; }
.rental-site .stay-policy-page-header p { margin:0; color:#dce2e7; font-size:13px; }
.rental-site .stay-policy-page-header p span { margin:0 8px; }
.rental-site .stay-policy-page .stay-policy-body { padding:26px 30px; max-height:65dvh; overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; background:linear-gradient(145deg,#a0a6ac 0%,#858c93 48%,#6f767e 100%); color:#20262b; }
.rental-site .stay-policy-page .stay-policy-page-intro { margin:0 0 24px; padding:14px 16px; color:#202830; background:rgba(255,255,255,.2); border:1px solid #64717b; border-radius:8px; font-size:14px; line-height:1.7; }
.rental-site .stay-policy-page .stay-policy-section { margin:0 0 24px; }
.rental-site .stay-policy-page .stay-policy-section h3 { margin:0 0 9px; font-size:17px; line-height:1.4; color:#20262b; }
.rental-site .stay-policy-page .stay-policy-section p { margin:0; font-size:15px; line-height:1.8; color:#202830; }
.rental-site .stay-policy-page .stay-policy-page-end { margin:0; padding-top:18px; border-top:1px solid #64717b; color:#202830; font-size:13px; line-height:1.6; }
.rental-site .stay-policy-page .stay-policy-footer { display:flex; flex-wrap:wrap; align-items:center; gap:14px; padding:22px 30px; background:#41474f; color:#e5e9ed; border-top:1px solid #697078; }
.rental-site .stay-policy-page .stay-policy-full-form { display:flex; align-items:center; gap:14px; flex:1 1 0; min-width:0; margin:0; }
.rental-site .stay-policy-page .stay-policy-agreement { flex:1; min-width:0; margin:0; color:#e5e9ed; font-size:13px; font-weight:600; line-height:1.6; }
.rental-site .stay-policy-page .stay-policy-full-form button { flex-shrink:0; margin:0; padding:10px 14px; min-height:44px; font-size:13px; white-space:nowrap; }
.rental-site .stay-policy-page .stay-policy-return { flex-shrink:0; margin:0; padding:10px 14px; min-height:44px; }
.rental-site .stay-policy-return { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:42px; font-size:13px; text-align:center; }
@media(max-width:575px) {
  .rental-site .stay-policy-page-header,.rental-site .stay-policy-page .stay-policy-body,.rental-site .stay-policy-page .stay-policy-footer { padding:20px; }
  .rental-site .stay-policy-page-header h1 { font-size:25px; }
  .rental-site .stay-policy-page .stay-policy-full-form { flex:1 1 100%; flex-wrap:wrap; }
  .rental-site .stay-policy-page .stay-policy-agreement { flex-basis:100%; }
  .rental-site .stay-policy-page .stay-policy-full-form button,.rental-site .stay-policy-return { width:100%; white-space:normal; }
}
@media print {
  .rental-site .stay-policy-page { max-width:none; overflow:visible; border:0; box-shadow:none; }
  .rental-site .stay-policy-page-header { background:#fff; padding:0 0 20px; }
  .rental-site .stay-policy-page-header h1,.rental-site .stay-policy-page-header p { color:#000; }
  .rental-site .stay-policy-page .stay-policy-body { max-height:none; overflow:visible; padding:0; background:#fff; }
  .rental-site .stay-policy-page .stay-policy-footer { display:none; }
}

.rental-site .stay-policy-confirm-row { display:flex; align-items:center; justify-content:space-between; flex-wrap:nowrap; gap:16px; }
.rental-site .stay-policy-confirm-row .stay-policy-agreement { flex:1; min-width:0; margin:0; font-size:13px; }
.rental-site .stay-policy-confirm-row .button { flex:0 0 auto; width:auto; margin:0; padding:10px 14px; font-size:13px; white-space:nowrap; }
.rental-site #stay-policy-progress:empty { display:none; }
@media(max-width:575px) {
  .rental-site .stay-policy-confirm-row { gap:10px; }
  .rental-site .stay-policy-confirm-row .button { padding:10px; font-size:12px; }
}

.rental-site .stay-policy-modal .modal-header { align-items:center; flex-wrap:wrap; }
.rental-site .stay-policy-header-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; margin-left:auto; }
.rental-site .stay-policy-header-actions .stay-policy-print { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:40px; padding:9px 12px; font-size:12px; white-space:nowrap; }
.rental-site .stay-policy-header-actions .rental-modal-close { margin:0; flex-shrink:0; }
.rental-site .stay-policy-page-header { display:flex; align-items:center; flex-wrap:wrap; gap:20px; }
@media screen {
  .rental-site.stay-policy-layout { display:grid; grid-template-rows:auto minmax(0,1fr) auto; height:100dvh; min-height:0; }
  .stay-policy-layout #main-content { min-height:0; }
  .rental-site.stay-policy-layout .booking-page { height:100%; box-sizing:border-box; padding-block:12px; }
  .rental-site.stay-policy-layout .stay-policy-page { display:grid; grid-template-rows:auto minmax(0,1fr) auto; height:100%; box-sizing:border-box; }
  .rental-site.stay-policy-layout .stay-policy-page-header { padding:14px 20px; gap:12px; }
  .rental-site.stay-policy-layout .stay-policy-page-header h1 { margin:6px 0; font-size:24px; }
  .rental-site.stay-policy-layout .stay-policy-body { min-height:0; max-height:none; padding:16px 20px; overflow-y:auto; }
  .rental-site.stay-policy-layout .stay-policy-footer { padding:12px 20px; gap:10px; }
  .rental-site.stay-policy-layout .rental-footer { padding-block:10px; flex-direction:row; flex-wrap:wrap; gap:8px 20px; }
  .rental-site.stay-policy-layout .stay-policy-page-intro { margin-bottom:16px; padding:10px 12px; }
}
.rental-site .stay-policy-body .stay-policy-section { margin:26px 0; }
.rental-site .stay-policy-body .stay-policy-section h3 {
  display:flex; align-items:center; gap:12px; margin:0 0 14px; padding:10px 14px 10px 10px;
  border:1px solid #64717b; border-radius:10px;
  background:linear-gradient(110deg,rgba(237,241,244,.5),rgba(237,241,244,.12));
  color:#20262b; font-size:17px; font-weight:700; line-height:1.4; letter-spacing:.01em;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25);
}
.rental-site .stay-policy-section-number {
  display:inline-flex; align-items:center; justify-content:center; flex:0 0 36px; height:36px;
  border:1px solid #59636d; border-radius:8px; background:linear-gradient(145deg,#424a51,#2e343a);
  color:#f4f6f7; font-size:13px; font-weight:700; font-variant-numeric:tabular-nums; letter-spacing:.08em;
  box-shadow:0 2px 4px rgba(0,0,0,.12);
}
@media print {
  .rental-site .stay-policy-body .stay-policy-section h3 { break-after:avoid; background:none; border-color:#aaa; box-shadow:none; color:#000; }
  .rental-site .stay-policy-section-number { background:none; color:#000; border-color:#aaa; box-shadow:none; }
}
@media print {
  .rental-site .stay-policy-page-header .stay-policy-header-actions { display:none; }
}
