:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #5d675f;
  --line: #d8ded7;
  --paper: #ffffff;
  --wash: #f5f3ec;
  --honey: #f2b84b;
  --leaf: #27543a;
  --leaf-soft: #e3eee6;
  --danger: #9f3b30;
  --stage-red: #b42318;
  --stage-red-soft: #fee4df;
  --stage-red-dark: #7a231a;
  --stage-yellow: #d89524;
  --stage-yellow-soft: #fff2ca;
  --stage-yellow-dark: #5e4306;
  --stage-blue: #1f6fb2;
  --stage-blue-soft: #dcecff;
  --stage-blue-dark: #123f68;
  --stage-purple: #6d45c7;
  --stage-purple-soft: #efe7ff;
  --stage-purple-dark: #3f2479;
  --stage-green: #1f7a3b;
  --stage-green-soft: #ddf4e3;
  --stage-green-dark: #164f2b;
  --stage-teal: #0f766e;
  --stage-teal-soft: #d8f5f1;
  --stage-teal-dark: #0a4f4a;
  --stage-gray: #65706a;
  --stage-gray-soft: #e9ece8;
  --stage-gray-dark: #37413b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--wash);
  color: var(--ink);
}

.app {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 16px 48px;
}

.hero,
.workspace,
.notice {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.hero {
  border-top: 6px solid var(--honey);
}

.admin-hero {
  display: grid;
  gap: 14px;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-nav a,
.button-link {
  align-items: center;
  background: var(--leaf);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  padding: 10px 14px;
  text-decoration: none;
}

.admin-nav a {
  background: #eef2ee;
  color: var(--ink);
}

.admin-nav a.admin-nav-active {
  background: var(--ink);
  color: #ffffff;
}

.dashboard-actions,
.today-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.today-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  flex: 1 1 220px;
  gap: 10px;
  padding: 18px;
}

.today-card span,
.priority-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.today-card strong {
  font-size: 34px;
}

.back-dashboard-link {
  color: var(--leaf);
  display: inline-flex;
  font-weight: 700;
  margin: 14px 0 0;
}

body[data-admin-page="dashboard"] .back-dashboard-link {
  display: none;
}

body[data-admin-page="dashboard"] #saved-conflict-audit,
body[data-admin-page="dashboard"] .dashboard-note,
body[data-admin-page="dashboard"] #backup-tools-section,
body[data-admin-page="dashboard"] #settings-section,
body[data-admin-page="dashboard"] #request-intake-section,
body[data-admin-page="dashboard"] #booking-edit-section,
body[data-admin-page="dashboard"] #fleet-section,
body[data-admin-page="dashboard"] #homepage-fleet-section,
body[data-admin-page="dashboard"] #records-section,
body[data-admin-page="requests"] .priority-dashboard,
body[data-admin-page="requests"] .dashboard-note,
body[data-admin-page="requests"] #backup-tools-section,
body[data-admin-page="requests"] #settings-section,
body[data-admin-page="requests"] #fleet-section,
body[data-admin-page="requests"] #homepage-fleet-section,
body[data-admin-page="reservations"] .priority-dashboard,
body[data-admin-page="reservations"] .dashboard-note,
body[data-admin-page="reservations"] #backup-tools-section,
body[data-admin-page="reservations"] #settings-section,
body[data-admin-page="reservations"] #request-intake-section,
body[data-admin-page="reservations"] #homepage-fleet-section,
body[data-admin-page="rentals"] .priority-dashboard,
body[data-admin-page="rentals"] .dashboard-note,
body[data-admin-page="rentals"] #backup-tools-section,
body[data-admin-page="rentals"] #settings-section,
body[data-admin-page="rentals"] #request-intake-section,
body[data-admin-page="rentals"] #homepage-fleet-section,
body[data-admin-page="documents"] .priority-dashboard,
body[data-admin-page="documents"] .dashboard-note,
body[data-admin-page="documents"] #backup-tools-section,
body[data-admin-page="documents"] #settings-section,
body[data-admin-page="documents"] #request-intake-section,
body[data-admin-page="documents"] #fleet-section,
body[data-admin-page="documents"] #homepage-fleet-section,
body[data-admin-page="settings"] .priority-dashboard,
body[data-admin-page="settings"] .dashboard-note,
body[data-admin-page="settings"] #backup-tools-section,
body[data-admin-page="settings"] #request-intake-section,
body[data-admin-page="settings"] #booking-edit-section,
body[data-admin-page="settings"] #records-section,
body[data-admin-page="backup"] .priority-dashboard,
body[data-admin-page="backup"] .dashboard-note,
body[data-admin-page="backup"] #settings-section,
body[data-admin-page="backup"] #request-intake-section,
body[data-admin-page="backup"] #booking-edit-section,
body[data-admin-page="backup"] #fleet-section,
body[data-admin-page="backup"] #homepage-fleet-section {
  display: none;
}

body:not(.show-booking-form) #booking-edit-section .booking-form {
  display: none;
}

/* Secure in-house request system. These additions reuse the existing palette and card language. */
body.admin-auth-pending .app {
  display: none;
}

body.admin-authenticated .priority-dashboard,
body.admin-authenticated #saved-conflict-audit,
body.admin-authenticated #request-intake-section,
body.admin-authenticated #booking-edit-section,
body.admin-authenticated #records-section,
body.admin-authenticated #backup-tools-section,
body.admin-authenticated .launch-cleanup-panel {
  display: none;
}

.admin-auth-gate {
  align-items: center;
  background: var(--cream, #f6f1e7);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

/* The authenticated handoff sets the semantic hidden attribute. The gate's
   flex layout must never override that state and cover the secure workspace. */
.admin-auth-gate[hidden] {
  display: none !important;
}

.admin-global-lock {
  background: #7a1712;
  border: 2px solid #fff;
  border-radius: 999px;
  bottom: 18px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  color: #fff;
  font-weight: 800;
  position: fixed;
  right: 18px;
  z-index: 1000;
}

.admin-global-lock:hover,
.admin-global-lock:focus-visible {
  background: #52100d;
  outline: 3px solid #f6d365;
  outline-offset: 3px;
}

.admin-auth-card {
  background: #fff;
  border: 1px solid rgba(34, 66, 45, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(24, 45, 31, 0.12);
  max-width: 680px;
  padding: clamp(24px, 5vw, 48px);
  width: 100%;
}

.mfa-qr-code {
  background: #fff;
  border: 1px solid #d8ded8;
  display: block;
  margin: 18px 0;
  max-width: 240px;
  padding: 10px;
  width: 100%;
}

.admin-auth-security-warning {
  background: #fff3d6;
  border-left: 4px solid #b26b00;
  border-radius: 8px;
  color: #533000;
  line-height: 1.45;
  margin: 14px 0;
  padding: 12px;
}

.secure-upload-panel,
.agreement-panel,
.signature-panel,
.secure-invoice-panel,
.secure-import-panel,
.secure-retention-panel {
  background: rgba(245, 248, 243, 0.88);
  border: 1px solid rgba(51, 91, 57, 0.2);
  border-radius: 14px;
  padding: 18px;
}

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

.secure-upload-panel > div,
.secure-upload-panel > .full-width {
  grid-column: 1 / -1;
}

.agreement-copy {
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid rgba(51, 91, 57, 0.16);
  border-radius: 10px;
  line-height: 1.6;
  margin: 12px 0;
  max-height: 220px;
  overflow: auto;
  padding: 14px;
  white-space: pre-wrap;
}

.legal-document h4 {
  margin: 18px 0 0;
}

.agreement-review-links,
.customer-public-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.agreement-review-links a,
.customer-public-footer a {
  color: var(--customer-green-dark, var(--leaf));
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#customer-signature-canvas[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.customer-public-footer {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 24px 28px;
  width: 100%;
}

#customer-signature-canvas {
  background: #fff;
  border: 2px solid rgba(35, 71, 43, 0.45);
  border-radius: 10px;
  cursor: crosshair;
  display: block;
  margin: 12px 0;
  max-height: 190px;
  touch-action: none;
  width: 100%;
}

.secure-admin-workspace {
  margin-top: 24px;
}

.secure-admin-status-success,
.secure-action-feedback.success {
  background: #e5f6e8;
  border: 2px solid #17763a;
  color: #0c5426;
  font-weight: 800;
}

.secure-admin-status-error,
.secure-action-feedback.error {
  background: #fff0f0;
  border: 2px solid #b42318;
  color: #82110a;
  font-weight: 800;
}

.secure-invoice-result {
  background: #fff;
  border: 1px solid rgba(51, 91, 57, 0.2);
  border-radius: 10px;
  margin-top: 14px;
  padding: 14px;
}

.secure-invoice-result.success {
  background: #e5f6e8;
  border: 2px solid #17763a;
  color: #0c5426;
}

.secure-invoice-result.error {
  background: #fff0f0;
  border: 2px solid #b42318;
  color: #82110a;
}

.secure-invoice-connection {
  border-radius: 8px;
  font-weight: 800;
  margin: 14px 0 0;
  padding: 10px 12px;
}

.secure-invoice-connection.success {
  background: #e5f6e8;
  border: 2px solid #17763a;
  color: #0c5426;
}

.secure-rental-status-row {
  align-items: center;
  display: flex;
  gap: 10px;
  margin: 0 0 16px;
}

.secure-status-label {
  color: #445348;
  font-weight: 800;
}

.secure-approval-badge,
.secure-rental-status-badge,
.secure-workflow-badge,
.document-verification-badge {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.secure-workflow-badge {
  border: 2px solid currentColor;
  font-size: 0.88rem;
  padding: 7px 11px;
}

.workflow-review-pending { background: #fff4c7; color: #765100; }
.workflow-invoice-pending { background: #fff0c2; color: #7a4b00; }
.workflow-payment-pending { background: #e5f0ff; color: #174f88; }
.workflow-paid { background: #e3f5e8; color: #0f6431; }
.workflow-active { background: #eee8ff; color: #52358f; }
.workflow-returned { background: #fff0df; color: #814a0b; }
.workflow-completed { background: #dff4e6; color: #095629; }
.workflow-attention { background: #fff0d9; color: #854d00; }
.workflow-declined { background: #fff0f0; color: #8c1d18; }

#secure-approve-request.is-complete:disabled {
  background: #13763b;
  border-color: #0b5b2b;
  color: #ffffff;
  filter: none;
  opacity: 1;
}

.secure-approval-badge {
  background: #e1f6e6;
  border: 3px solid #127337;
  color: #0a5425;
  font-size: 1.05rem;
  padding: 7px 13px;
}

.secure-rental-status-badge {
  background: #f3f0e7;
  border: 2px solid #7b745e;
  color: #3e3a2c;
  font-size: 0.9rem;
  padding: 6px 10px;
}

.secure-action-feedback {
  border-radius: 10px;
  margin: 0 0 16px;
  padding: 12px 14px;
}

.secure-document-button {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  justify-content: flex-start;
}

.document-verification-badge {
  font-size: 1.15rem;
  justify-content: center;
  min-width: 58px;
  padding: 7px 9px;
}

.document-verification-badge.is-verified {
  background: #dff5e5;
  border: 3px solid #127337;
  color: #075322;
}

.document-verification-badge.is-unverified {
  background: #ffe9e8;
  border: 3px solid #b42318;
  color: #84120b;
}

.document-review-list,
.audit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}

.audit-list {
  display: grid;
  list-style: none;
  padding: 0;
}

.audit-list li {
  background: rgba(245, 248, 243, 0.9);
  border-radius: 8px;
  padding: 8px 10px;
}

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

  .secure-upload-panel > div,
  .secure-upload-panel > .full-width {
    grid-column: auto;
  }
}

body:not(.show-manual-request-form) #manual-request-form {
  display: none;
}

body:not(.show-booking-form) #booking-edit-section {
  padding-bottom: 12px;
}

.eyebrow {
  color: var(--leaf);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 6px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
  margin-bottom: 10px;
}

h2 {
  font-size: 24px;
  margin-bottom: 0;
}

h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.subtitle {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  max-width: 720px;
}

.version-note {
  background: var(--leaf-soft);
  border-radius: 999px;
  display: inline-block;
  font-weight: 700;
  margin: 0 0 14px;
  padding: 8px 12px;
}

.operator-note {
  color: var(--muted);
  font-size: 13px;
  margin: -2px 0 0;
}

.customer-request-note,
.section-helper,
.settings-helper {
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 0;
}

.customer-steps {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px 0 26px;
}

.customer-steps article {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  min-height: 92px;
  padding: 16px;
}

.customer-steps span {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.customer-steps strong {
  line-height: 1.25;
}

.notice {
  line-height: 1.5;
  margin: 16px 0;
}

.policy-note {
  background: #fffaf0;
  border: 1px solid #ead29c;
  border-left: 4px solid var(--honey);
  border-radius: 8px;
  line-height: 1.5;
  margin: 0 0 26px;
  padding: 16px;
}

.backup-tools {
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 16px 0 26px;
  padding: 18px;
}

.backup-tools h2 {
  margin-bottom: 6px;
}

.backup-reminder,
.backup-status {
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 0;
}

.backup-status {
  grid-column: 1 / -1;
}

.backup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: end;
}

.launch-cleanup-panel {
  margin-top: 16px;
}

.cleanup-count-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 14px 0;
}

.cleanup-count-grid article {
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 12px;
}

.cleanup-count-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cleanup-count-grid strong {
  font-size: 28px;
}

.cleanup-actions,
.launch-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.launch-checklist .checkbox-label {
  flex: 1 1 220px;
}

.import-backup-label {
  align-items: center;
  background: var(--leaf-soft);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  padding: 12px 16px;
}

.import-backup-label input {
  display: none;
}

.homepage-fleet {
  margin: 16px 0 26px;
}

.homepage-fleet-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.homepage-trailer-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.homepage-trailer-card-active {
  border-color: #7ab889;
  box-shadow: 0 0 0 3px rgba(122, 184, 137, 0.16);
}

.homepage-trailer-card-coming-soon {
  opacity: 0.86;
}

.trailer-image-frame {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: #eef2ee;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.trailer-image-frame img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.trailer-image-placeholder {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  padding: 18px;
  text-align: center;
}

.homepage-card-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.homepage-card-body p {
  line-height: 1.45;
  margin-bottom: 0;
}

.homepage-card-heading {
  align-items: start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.homepage-card-heading h3 {
  margin-bottom: 0;
}

.homepage-card-label {
  background: #fff2ca;
  border-radius: 999px;
  color: #765100;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 9px;
}

.homepage-trailer-card-active .homepage-card-label {
  background: #e7f4ea;
  color: #1f6b38;
}

.saved-conflict-audit {
  background: #fff2ca;
  border: 2px solid #d89524;
  border-radius: 8px;
  color: #513704;
  line-height: 1.5;
  margin: 16px 0 26px;
  padding: 18px;
}

.saved-conflict-audit h2 {
  margin-bottom: 8px;
}

.saved-conflict-audit ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.saved-conflict-audit li {
  margin: 8px 0;
}

.audit-section + .audit-section {
  border-top: 1px solid #d89524;
  margin-top: 18px;
  padding-top: 18px;
}

.owner-verification-audit {
  color: #5d4709;
}

.resolution-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.resolution-panel {
  background: #ffffff;
  border: 1px solid #d89524;
  border-radius: 8px;
  padding: 16px;
}

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

.resolution-heading h3 {
  margin-bottom: 0;
}

.order-note {
  background: #fffaf0;
  border-left: 4px solid var(--honey);
  margin: 12px 0;
  padding: 10px;
}

.resolution-status,
.resolution-warning {
  background: #fffaf0;
  border-left: 4px solid var(--honey);
  margin: 12px 0;
  padding: 10px;
}

.resolution-status-override {
  background: #e7f4ea;
  border-left-color: #7ab889;
  color: #1f4f2f;
}

.resolution-warning {
  background: #f8dfdc;
  border-left-color: var(--danger);
  color: #74291f;
}

.resolution-people,
.message-templates {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 14px;
}

.person-card {
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 12px;
}

.resolution-ladder {
  margin-top: 14px;
}

.resolution-ladder h4 {
  margin: 0 0 8px;
}

.resolution-ladder ol {
  margin: 0;
  padding-left: 22px;
}

.resolution-ladder li {
  margin: 6px 0;
}

.message-templates textarea,
.resolution-notes textarea {
  background: #f8faf7;
}

.resolution-notes,
.resolution-outcome {
  margin-top: 14px;
}

.resolution-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin: 26px 0 12px;
}

.priority-dashboard {
  margin: 16px 0 26px;
}

.priority-summary-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.priority-card {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  display: grid;
  gap: 10px;
  min-height: 180px;
  padding: 18px;
  text-decoration: none;
}

.priority-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.priority-card strong {
  font-size: 44px;
  line-height: 1;
}

.priority-card p {
  color: var(--muted);
  line-height: 1.35;
  margin-bottom: 4px;
}

.priority-card-urgent {
  background: #fff0ed;
  border-color: var(--danger);
}

.priority-card-warning {
  background: #fff2ca;
  border-color: #d89524;
}

.priority-card-blue {
  background: #dcecff;
  border-color: #8ebde8;
}

.priority-card-purple {
  background: #efe7ff;
  border-color: #9c7ae6;
}

.priority-card-green {
  background: #e7f4ea;
  border-color: #7ab889;
}

.priority-card-teal {
  background: #dff7f3;
  border-color: #62bfb3;
}

.priority-card-neutral {
  background: #f8faf7;
  border-color: var(--line);
}

.booking-section {
  display: grid;
  gap: 14px;
  scroll-margin-top: 18px;
}

.booking-section + .booking-section {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 8px;
}

.section-count {
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  padding: 7px 10px;
}

.fleet-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.fleet-card,
.booking-card,
.empty-state {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.fleet-card.fleet-mode-publicly-rentable {
  border-color: #7ab889;
}

.fleet-card.fleet-mode-internal-backup-only {
  border-color: #d89524;
}

.fleet-card.fleet-mode-maintenance,
.fleet-card.fleet-mode-hidden-inactive {
  opacity: 0.78;
}

.fleet-card-top,
.booking-card-top {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.fleet-badges {
  align-items: end;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fleet-mode-pill {
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 9px;
}

.fleet-mode-pill.fleet-mode-publicly-rentable {
  background: #e7f4ea;
  color: #1f6b38;
}

.fleet-mode-pill.fleet-mode-internal-backup-only {
  background: #fff2ca;
  color: #765100;
}

.fleet-mode-pill.fleet-mode-maintenance {
  background: #f8dfdc;
  color: #873025;
}

.fleet-mode-pill.fleet-mode-hidden-inactive {
  background: #e9ece8;
  color: #4f5750;
}

.fleet-mode-control {
  margin-top: 12px;
}

.fleet-mode-control select {
  border: 1px solid #c6cec5;
  border-radius: 8px;
  font: inherit;
  padding: 10px;
  width: 100%;
}

.rate {
  color: var(--leaf);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.status-pill {
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 10px;
}

.status-stack {
  align-items: end;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.status-stack .status-pill {
  gap: 4px;
}

.status-available,
.status-approved,
.status-customer-contacted,
.status-confirmed-reservation,
.status-readiness-ready {
  background: #e7f4ea;
  color: #1f6b38;
}

.status-booked,
.status-under-review,
.status-approved-pending-requirements,
.status-readiness-needs-action {
  background: #fff2ca;
  color: #765100;
}

.status-out,
.status-rental-out,
.status-readiness-in-process {
  background: #dcecff;
  color: #174f86;
}

.status-request-submitted,
.status-request-received,
.status-readiness-urgent,
.status-maintenance {
  background: #f8dfdc;
  color: #873025;
}

.status-returned,
.status-canceled,
.status-refunded,
.status-declined,
.status-closed-archived,
.status-readiness-complete {
  background: #e9ece8;
  color: #4f5750;
}

.workspace {
  margin-top: 16px;
}

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

label {
  color: var(--ink);
  display: flex;
  flex-direction: column;
  font-weight: 700;
  gap: 7px;
}

input,
select,
textarea {
  border: 1px solid #c6cec5;
  border-radius: 8px;
  font: inherit;
  min-height: 46px;
  padding: 12px;
  width: 100%;
}

input[type="date"],
input[type="time"],
select {
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.3;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  min-height: 24px;
  min-width: 24px;
}

textarea {
  resize: vertical;
}

.checkbox-label {
  align-items: center;
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  flex-direction: row;
  gap: 10px;
  padding: 12px;
}

.checkbox-label input {
  height: 18px;
  width: 18px;
}

.full-width {
  grid-column: 1 / -1;
}

.waiver-alert {
  border: 2px solid #9a5b00;
  border-radius: 0.5rem;
  background: #fff4d6;
  color: #5b3400;
  padding: 0.75rem;
}

.price-preview {
  align-items: center;
  background: var(--leaf-soft);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  padding: 16px;
}

.price-preview span {
  color: var(--muted);
  font-weight: 700;
}

.price-preview strong {
  font-size: 24px;
}

.next-available-message {
  align-items: center;
  background: #eef6f0;
  border: 1px solid #b9d8c0;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  line-height: 1.45;
  padding: 14px;
}

.warning-checkbox {
  background: #fff2ca;
  border-color: #e2b84a;
}

.special-request-notice {
  background: #eef0fb;
  border: 1px solid #aeb8e8;
  border-radius: 8px;
  color: #27336f;
  line-height: 1.5;
  padding: 14px;
}

.request-label {
  background: #eef0fb;
  border-color: #aeb8e8;
  color: #27336f;
}

.verification-label {
  background: #fff2ca;
  border-color: #d89524;
  color: #5e4306;
}

.archive-label {
  background: #e9ece8;
  border-color: #cbd2ca;
  color: #4f5750;
}

.special-request-details {
  border-color: #aeb8e8;
}

.warning-action-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 10px;
}

.small-button {
  padding: 9px 12px;
}

.conflict-warning {
  background: #fff2ca;
  border: 1px solid #e2b84a;
  border-radius: 8px;
  color: #5e4306;
  line-height: 1.45;
  padding: 14px;
}

.conflict-warning-red {
  background: var(--stage-red-soft);
  border: 2px solid var(--stage-red);
  color: var(--stage-red-dark);
}

.conflict-warning-red strong {
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.edit-mode-notice {
  background: #dcecff;
  border: 1px solid #8ebde8;
  border-radius: 8px;
  color: #174f86;
  line-height: 1.45;
  padding: 14px;
}

.request-dialog {
  border: 0;
  border-radius: 8px;
  max-width: 760px;
  width: min(92vw, 760px);
}

.request-dialog::backdrop {
  background: rgba(23, 33, 27, 0.5);
}

.request-dialog-body,
.send-request-panel {
  background: var(--paper);
  display: grid;
  gap: 14px;
}

.request-dialog-body {
  padding: 18px;
}

.field-help {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  margin-top: 6px;
}

.modal-details {
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.modal-details p {
  margin-bottom: 0;
}

.modal-details strong {
  display: block;
}

.send-request-panel {
  border: 2px solid #7ab889;
  border-radius: 8px;
  margin-top: 18px;
  padding: 18px;
}

.send-request-panel h3 {
  margin-bottom: 0;
}

.send-request-id {
  background: #e7f4ea;
  border-left: 4px solid #7ab889;
  margin-bottom: 0;
  padding: 10px;
}

.form-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

button {
  background: var(--leaf);
  border: 0;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 12px 16px;
}

button:hover {
  filter: brightness(1.05);
}

button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.35);
  opacity: 0.48;
}

.secondary-button {
  background: var(--leaf-soft);
  color: var(--ink);
}

.more-actions button,
.message-template-details button,
.verification-grid button.secondary-button {
  box-shadow: none;
  font-size: 14px;
  min-height: 0;
  padding: 10px 12px;
}

.more-actions .secondary-button,
.message-template-details .secondary-button {
  background: #eef2ee;
  color: var(--ink);
}

.danger-button {
  background: var(--danger);
}

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

.booking-card p {
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 8px;
}

.booking-card-conflict {
  border-color: var(--stage-red);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.16);
}

.booking-card-archived {
  background: #f8faf7;
}

.workflow-card {
  border-left-width: 10px;
  box-shadow: 0 12px 30px rgba(23, 33, 27, 0.08);
}

/* Beginner note: the admin card gets one of these workflow-* classes from JS.
   CSS then uses that class to color the card, badge, current-step panel, and
   primary workflow button without changing workflow logic or saved data. */
.workflow-red {
  --stage-color: var(--stage-red);
  --stage-soft: var(--stage-red-soft);
  --stage-dark: var(--stage-red-dark);
  border-color: var(--stage-red);
}

.workflow-yellow {
  --stage-color: var(--stage-yellow);
  --stage-soft: var(--stage-yellow-soft);
  --stage-dark: var(--stage-yellow-dark);
  border-color: var(--stage-yellow);
}

.workflow-blue {
  --stage-color: var(--stage-blue);
  --stage-soft: var(--stage-blue-soft);
  --stage-dark: var(--stage-blue-dark);
  border-color: var(--stage-blue);
}

.workflow-purple {
  --stage-color: var(--stage-purple);
  --stage-soft: var(--stage-purple-soft);
  --stage-dark: var(--stage-purple-dark);
  border-color: var(--stage-purple);
}

.workflow-green {
  --stage-color: var(--stage-green);
  --stage-soft: var(--stage-green-soft);
  --stage-dark: var(--stage-green-dark);
  border-color: var(--stage-green);
}

.workflow-teal {
  --stage-color: var(--stage-teal);
  --stage-soft: var(--stage-teal-soft);
  --stage-dark: var(--stage-teal-dark);
  border-color: var(--stage-teal);
}

.workflow-gray {
  --stage-color: var(--stage-gray);
  --stage-soft: var(--stage-gray-soft);
  --stage-dark: var(--stage-gray-dark);
  border-color: var(--stage-gray);
}

.workflow-badge {
  background: var(--stage-color, var(--ink));
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 9px 12px;
  text-transform: uppercase;
}

.workflow-badge.workflow-red {
  background: var(--stage-red);
  color: #ffffff;
}

.workflow-badge.workflow-yellow {
  background: var(--stage-yellow);
  color: #1f1602;
}

.workflow-badge.workflow-blue {
  background: var(--stage-blue);
  color: #ffffff;
}

.workflow-badge.workflow-purple {
  background: var(--stage-purple);
  color: #ffffff;
}

.workflow-badge.workflow-green {
  background: var(--stage-green);
  color: #ffffff;
}

.workflow-badge.workflow-teal {
  background: var(--stage-teal);
  color: #ffffff;
}

.workflow-badge.workflow-gray {
  background: var(--stage-gray);
  color: #ffffff;
}

.workflow-helper {
  background: #f8faf7;
  border-radius: 8px;
  color: var(--muted);
  margin: 12px 0 0;
  padding: 10px;
}

.attention-reasons {
  background: var(--stage-red-soft);
  border: 2px solid var(--stage-red);
  border-radius: 8px;
  color: var(--stage-red-dark);
  margin: 10px 0;
  padding: 14px;
}

.attention-reasons strong {
  color: var(--stage-red-dark);
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.owner-verification-alert {
  align-items: center;
  background: var(--stage-purple-soft);
  border: 2px solid var(--stage-purple);
  border-radius: 8px;
  color: var(--stage-purple-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin: 10px 0;
  padding: 12px;
}

.owner-verification-alert strong {
  flex: 1 1 240px;
}

.owner-verification-alert button {
  background: var(--stage-purple);
}

.owner-verification-summary {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 12px 0;
}

.owner-verification-summary p {
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 10px;
}

.owner-verification-summary strong {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.requirement-summary {
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin: -4px 0 10px;
  padding: 9px 10px;
}

.requirement-summary-complete {
  background: #edf7ef;
  border-color: #99c8a4;
  color: #27673a;
}

.booking-title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.booking-title-row h3 {
  margin-bottom: 0;
}

.conflict-label {
  background: #fff2ca;
  border: 1px solid #d89524;
  border-radius: 999px;
  color: #5e4306;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 8px;
  text-transform: uppercase;
}

.booking-details {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 16px 0;
}

.booking-details p {
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 12px;
}

.booking-details strong {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.notes {
  background: #fffaf0;
  border-left: 4px solid var(--honey);
  padding: 12px;
}

.time-window-panel {
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  margin: 12px 0;
  padding: 12px;
}

.readiness-panel {
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  margin: 12px 0;
  padding: 12px;
}

.readiness-panel-heading,
.message-action-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.admin-toast {
  background: #1f2d24;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  bottom: 22px;
  box-shadow: 0 14px 34px rgba(31, 45, 36, 0.22);
  color: #ffffff;
  left: 50%;
  max-width: min(520px, calc(100vw - 32px));
  opacity: 0;
  padding: 12px 16px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 12px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 50;
}

.admin-toast-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hold-summary-panel {
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  margin: 12px 0;
  padding: 12px;
}

.hold-summary-panel strong {
  color: var(--ink);
}

.hold-summary-panel span,
.hold-summary-panel small {
  color: var(--muted);
}

.readiness-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.readiness-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 10px;
}

.readiness-item strong {
  font-size: 13px;
}

.readiness-item em {
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.readiness-missing {
  border-color: #d8a7a1;
}

.readiness-missing em {
  color: #873025;
}

.readiness-sent {
  border-color: #8ebde8;
}

.readiness-sent em {
  color: #174f86;
}

.readiness-complete {
  border-color: #7ab889;
}

.readiness-complete em {
  color: #1f6b38;
}

.admin-message-tools {
  display: grid;
  gap: 10px;
}

.workflow-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}

.progress-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}

.progress-complete {
  background: #e7f4ea;
  border-color: #7ab889;
  color: #1f6b38;
}

.progress-open {
  background: #ffffff;
  color: var(--muted);
}

.guided-step-panel {
  align-items: center;
  background: var(--stage-soft, #f8faf7);
  border: 2px solid var(--stage-color, var(--line));
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 18px 0 14px;
  padding: 20px;
}

.guided-step-panel span {
  color: var(--stage-dark, var(--muted));
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.guided-step-panel h4 {
  color: var(--stage-dark, var(--ink));
  font-size: 22px;
  line-height: 1.15;
  margin: 0 0 6px;
}

.guided-step-panel p {
  color: var(--stage-dark, var(--muted));
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}

.guided-step-panel button {
  background: var(--stage-color, var(--leaf));
  box-shadow: 0 10px 22px rgba(23, 33, 27, 0.18);
  font-size: 16px;
  min-height: 54px;
  min-width: 250px;
  padding: 15px 20px;
}

.workflow-yellow .guided-step-panel button {
  color: #1f1602;
}

.workflow-gray .guided-step-panel button {
  background: var(--stage-gray);
}

.checklist-details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 12px 0;
  padding: 12px;
}

.checklist-details summary {
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.primary-action-panel,
.compact-notes {
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin: 12px 0;
  padding: 12px;
}

.primary-action-panel {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
}

.primary-action-panel span,
.compact-notes strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.compact-notes p {
  margin-bottom: 0;
}

.compact-rental-details {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 12px 0;
}

.compact-rental-details span {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 10px;
}

.compact-rental-details strong {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.more-actions {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 12px;
}

.more-actions summary {
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.more-action-grid,
.verification-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

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

.verification-complete {
  background: #e7f4ea;
  color: #1f6b38;
}

.time-window-panel p {
  color: var(--ink);
  margin: 0;
}

.message-template-details {
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 12px 0;
  padding: 12px;
}

.message-template-details summary {
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.message-template-details textarea {
  background: white;
  margin-top: 10px;
}

.empty-state {
  color: var(--muted);
}

@media (max-width: 720px) {
  .app {
    padding: 18px 12px 36px;
  }

  .hero,
  .workspace,
  .notice,
  .policy-note,
  .backup-tools,
  .saved-conflict-audit,
  .fleet-card,
  .booking-card,
  .empty-state {
    padding: 16px;
  }

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

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

  .customer-app .hero {
    padding: 22px;
  }

  .customer-app .hero h1 {
    font-size: 42px;
  }

  .customer-app .hero .subtitle {
    font-size: 18px;
  }

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

  .backup-tools {
    grid-template-columns: 1fr;
  }

  .backup-actions {
    justify-content: stretch;
  }

  .import-backup-label {
    width: 100%;
  }

  .fleet-card-top,
  .booking-card-top,
  .homepage-card-heading,
  .price-preview,
  .resolution-heading,
  .guided-step-panel,
  .primary-action-panel {
    align-items: start;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .guided-step-panel button {
    min-width: 0;
  }

  .fleet-badges {
    align-items: start;
  }

  .status-stack {
    align-items: start;
  }

  button {
    width: 100%;
  }
}

/* 2027 refinement — a quiet, tactile Westside system layered over the
   established product. Visual only: no workflow, state, or content changes. */
:root {
  --ink: #14231c;
  --muted: #5c6961;
  --line: #dbe4dd;
  --paper: #ffffff;
  --wash: #f6f7f3;
  --leaf: #176340;
  --leaf-bright: #176340;
  --leaf-soft: #e8f3ec;
  --honey: #d3a74d;
  --shadow-sm: 0 1px 2px rgba(16, 41, 28, 0.05), 0 8px 24px rgba(16, 41, 28, 0.06);
  --shadow-md: 0 2px 5px rgba(16, 41, 28, 0.07), 0 18px 42px rgba(16, 41, 28, 0.10);
  --shadow-lg: 0 8px 20px rgba(10, 33, 21, 0.12), 0 28px 68px rgba(10, 33, 21, 0.16);
}

body {
  background:
    radial-gradient(56rem 30rem at 0 -10%, rgba(211, 167, 77, 0.10), transparent 66%),
    radial-gradient(48rem 34rem at 100% 0, rgba(23, 99, 64, 0.07), transparent 70%),
    var(--wash);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.011em;
  text-rendering: optimizeLegibility;
}

.app {
  padding-bottom: 64px;
  animation: westside-page-in 340ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

h1, h2, h3 {
  letter-spacing: -0.035em;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.15em;
}

.hero,
.workspace,
.notice,
.backup-tools,
.customer-rate-sheet,
.policy-note,
.booking-card,
.homepage-trailer-card,
.priority-card,
.today-card,
.empty-state,
.admin-auth-card {
  border-color: rgba(20, 62, 40, 0.12);
}

.hero,
.workspace,
.notice,
.backup-tools {
  box-shadow: var(--shadow-sm);
}

.customer-app .customer-hero {
  box-shadow: var(--shadow-lg);
}

.customer-app .customer-hero::before {
  background:
    linear-gradient(90deg, #123b2a 0%, rgba(18, 59, 42, 0.94) 32%, rgba(18, 59, 42, 0.24) 73%),
    linear-gradient(0deg, rgba(6, 26, 17, 0.40), transparent 56%),
    url("images/dump-trailer.jpg") center / cover no-repeat;
}

.customer-app .customer-hero::after,
.admin-hero::after {
  opacity: 0.17;
}

.customer-steps {
  counter-reset: westside-step;
}

.customer-steps article {
  backdrop-filter: none;
  border: 1px solid rgba(23, 99, 64, 0.12);
  position: relative;
}

.customer-steps article::after {
  background: linear-gradient(90deg, rgba(23, 99, 64, 0.46), rgba(211, 167, 77, 0.38));
  content: "";
  height: 2px;
  left: 29px;
  position: absolute;
  right: -18px;
  top: 48px;
  z-index: -1;
}

.customer-steps article:last-child::after { display: none; }

.customer-steps span {
  box-shadow: 0 5px 14px rgba(20, 70, 45, 0.12);
}

.homepage-trailer-card,
.priority-card,
.today-card,
.booking-card {
  overflow: hidden;
}

.homepage-trailer-card:hover,
.priority-card:hover,
.today-card:hover,
.booking-card:hover {
  border-color: rgba(23, 99, 64, 0.24);
}

.customer-app .customer-request-section {
  box-shadow: var(--shadow-md);
}

.customer-app .customer-request-section::before {
  background: linear-gradient(90deg, #176340, #5b9877 64%, #d3a74d);
}

.customer-app .customer-request-section .section-heading {
  background: linear-gradient(115deg, rgba(232, 243, 236, 0.9), rgba(255, 255, 255, 0));
}

label {
  color: #24372c;
  font-size: 12px;
  letter-spacing: 0.01em;
}

input,
select,
textarea,
.fleet-mode-control select {
  border-color: #d4ded6;
  border-radius: 11px;
  font-size: 16px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #176340;
  box-shadow: 0 0 0 4px rgba(23, 99, 64, 0.13);
}

.checkbox-label {
  border: 1px solid rgba(23, 99, 64, 0.10);
  transition: background-color 160ms ease, border-color 160ms ease;
}

.checkbox-label:focus-within {
  background: #edf7f0;
  border-color: rgba(23, 99, 64, 0.35);
}

button,
.button-link,
.import-backup-label {
  border-radius: 11px;
  min-height: 48px;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

button:not(:disabled),
.button-link,
.import-backup-label { cursor: pointer; }

button:hover:not(:disabled),
.button-link:hover,
.import-backup-label:hover {
  box-shadow: 0 10px 24px rgba(16, 68, 43, 0.17);
  transform: translateY(-1px);
}

button:active:not(:disabled),
.button-link:active,
.import-backup-label:active { transform: translateY(1px) scale(0.99); }

button:disabled { cursor: not-allowed; opacity: 0.58; }

.secure-admin-status-success,
.secure-action-feedback.success,
.secure-invoice-result.success,
.secure-invoice-connection.success {
  animation: westside-success-in 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.secure-admin-status-error,
.secure-action-feedback.error,
.secure-invoice-result.error,
.conflict-warning-red {
  border-width: 2px;
}

.document-verification-badge,
.secure-approval-badge,
.secure-rental-status-badge {
  box-shadow: 0 2px 8px rgba(14, 46, 30, 0.08);
  letter-spacing: 0.06em;
}

.document-verification-badge.is-verified,
.secure-approval-badge,
.secure-invoice-connection.success {
  background: #e1f5e8;
  border-color: #168144;
  color: #0b5429;
}

.document-verification-badge.is-unverified,
.secure-invoice-result.error { color: #861d16; }

.secure-document-button {
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  text-align: left;
}

.secure-invoice-panel {
  border-top: 1px solid rgba(23, 99, 64, 0.14);
  margin-top: 24px;
  padding-top: 22px;
}

.request-dialog::backdrop {
  background: rgba(8, 30, 19, 0.56);
  backdrop-filter: blur(7px);
}

.request-dialog-body { box-shadow: var(--shadow-lg); }

.admin-auth-card {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.admin-global-lock {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  min-height: 46px;
  padding-inline: 16px;
}

.empty-state {
  background: linear-gradient(135deg, #f8fbf8, #ffffff);
  color: var(--muted);
  padding: 32px;
  text-align: center;
}

@keyframes westside-success-in {
  0% { opacity: 0; transform: translateY(4px) scale(0.985); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes westside-page-in {
  0% { opacity: 0; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .app { padding: 12px 12px 50px; }
  .customer-app .customer-hero { min-height: 535px; }
  .customer-steps article::after { display: none; }
  .customer-steps article { min-height: 88px; }
  button, .button-link, .import-backup-label { min-height: 50px; }
  input, select, textarea, .fleet-mode-control select { min-height: 52px; }
  .admin-global-lock { bottom: 14px; right: 14px; }
  .request-dialog { max-height: calc(100dvh - 24px); }
}

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

/* --------------------------------------------------------------------------
   2026 visual system
   Presentation-only overrides. Workflow, form IDs, data, and scripts remain
   unchanged; these rules deliberately sit at the end of the stylesheet.
   -------------------------------------------------------------------------- */

:root {
  --ink: #14231c;
  --muted: #65716a;
  --line: #dce3de;
  --paper: #ffffff;
  --wash: #f3f6f3;
  --honey: #dcae53;
  --leaf: #174f38;
  --leaf-bright: #247352;
  --leaf-soft: #e8f1ec;
  --surface-soft: #f7f9f7;
  --shadow-sm: 0 1px 2px rgba(17, 45, 32, 0.04), 0 8px 24px rgba(17, 45, 32, 0.05);
  --shadow-md: 0 2px 5px rgba(17, 45, 32, 0.05), 0 20px 55px rgba(17, 45, 32, 0.09);
  --shadow-lg: 0 30px 90px rgba(12, 38, 26, 0.16);
}

html {
  background: var(--wash);
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 5% -10%, rgba(54, 126, 91, 0.10), transparent 30rem),
    radial-gradient(circle at 96% 8%, rgba(220, 174, 83, 0.09), transparent 26rem),
    var(--wash);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", sans-serif;
  font-size: 15px;
  letter-spacing: -0.008em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(36, 115, 82, 0.18);
}

.app {
  max-width: 1240px;
  padding: 36px 24px 72px;
}

.customer-app {
  max-width: 1180px;
}

h1,
h2,
h3,
h4,
strong {
  letter-spacing: -0.028em;
}

h1 {
  font-weight: 750;
}

h2 {
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.12;
}

h3 {
  line-height: 1.25;
}

.eyebrow {
  color: var(--leaf-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

.hero,
.workspace,
.notice,
.backup-tools,
.fleet-card,
.booking-card,
.empty-state,
.homepage-trailer-card,
.today-card,
.priority-card {
  border-color: rgba(37, 69, 54, 0.13);
  box-shadow: var(--shadow-sm);
}

.hero,
.workspace,
.notice {
  border-radius: 22px;
}

.workspace {
  margin-top: 24px;
  padding: clamp(22px, 3.5vw, 38px);
}

.section-heading {
  margin: 34px 0 16px;
}

.workspace > .section-heading:first-child,
.priority-dashboard > .section-heading:first-child,
.homepage-fleet > .section-heading:first-child,
.dashboard-note > .section-heading:first-child {
  margin-top: 0;
}

/* Customer storefront */

.customer-app {
  --customer-green: #196043;
  --customer-green-soft: #e8f2ec;
  --customer-green-dark: #103c2b;
  --customer-blue: #326b78;
  --customer-blue-soft: #e9f1f3;
  --customer-blue-dark: #1d4650;
  --customer-yellow: #c79a43;
  --customer-yellow-soft: #fbf4e5;
  --customer-yellow-dark: #624819;
  gap: 28px;
}

.customer-app .customer-hero {
  background: #153d2e;
  border: 0;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  color: #ffffff;
  isolation: isolate;
  min-height: 520px;
  overflow: hidden;
  padding: clamp(36px, 7vw, 76px);
  padding-right: 53%;
  position: relative;
}

.customer-app .customer-hero::before {
  background:
    linear-gradient(90deg, #153d2e 0%, rgba(21, 61, 46, 0.94) 18%, rgba(21, 61, 46, 0.18) 72%),
    linear-gradient(0deg, rgba(12, 37, 27, 0.46), transparent 55%),
    url("images/dump-trailer.jpg") center / cover no-repeat;
  content: "";
  inset: 0;
  position: absolute;
  z-index: -2;
}

.customer-app .customer-hero::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 1px, transparent 1.5px);
  background-size: 18px 18px;
  content: "";
  inset: auto auto 26px 26px;
  height: 92px;
  opacity: 0.26;
  position: absolute;
  width: 130px;
  z-index: -1;
}

.customer-app .customer-hero .eyebrow {
  color: #d9bc7a;
}

.customer-app .customer-hero h1 {
  font-size: clamp(48px, 6.4vw, 78px);
  font-weight: 720;
  line-height: 0.94;
  max-width: 680px;
  text-wrap: balance;
}

.customer-app .customer-hero .subtitle {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.customer-app .customer-request-note {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.customer-app .operator-note {
  color: #d9bc7a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-top: 10px;
  text-transform: uppercase;
}

.customer-steps {
  gap: 16px;
}

.customer-steps article {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  gap: 22px;
  min-height: 145px;
  padding: 24px;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.customer-steps article:hover {
  border-color: rgba(25, 96, 67, 0.28);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.customer-steps span {
  background: #e8f1ec;
  color: var(--customer-green-dark);
  font-size: 16px;
  height: 48px;
  width: 48px;
}

.customer-steps strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.homepage-fleet-grid {
  gap: 22px;
}

.homepage-trailer-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.homepage-trailer-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.customer-primary-trailer-card,
.customer-special-trailer-card {
  background: #ffffff;
  border-width: 1px;
}

.customer-primary-trailer-card {
  border-color: rgba(25, 96, 67, 0.35);
}

.customer-special-trailer-card {
  border-color: var(--line);
}

.trailer-image-frame {
  background: #e9eeea;
  position: relative;
}

.trailer-image-frame::after {
  background: linear-gradient(180deg, transparent 65%, rgba(10, 28, 20, 0.28));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.trailer-image-frame img {
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.homepage-trailer-card:hover .trailer-image-frame img {
  transform: scale(1.025);
}

.homepage-card-body {
  gap: 12px;
  padding: 22px;
}

.homepage-card-heading h3 {
  font-size: 20px;
}

.homepage-card-label,
.status-pill,
.fleet-mode-pill,
.section-count,
.progress-pill,
.conflict-label {
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.rate {
  font-size: 26px;
}

.customer-rate-sheet,
.admin-rate-sheet {
  background: linear-gradient(135deg, #e7f1eb, #f2f6f3);
  border: 1px solid rgba(25, 96, 67, 0.22);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.customer-rate-sheet {
  gap: 20px;
  padding: clamp(24px, 4vw, 38px);
}

.rate-sheet-grid {
  gap: 12px;
}

.rate-sheet-grid span,
.admin-rate-sheet li {
  border-color: rgba(25, 96, 67, 0.12);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(17, 45, 32, 0.04);
  padding: 14px;
}

.rate-sheet-grid span {
  font-size: 17px;
}

.customer-promo-badge {
  background: #ffffff;
  border: 1px solid rgba(25, 96, 67, 0.25);
  box-shadow: 0 8px 22px rgba(17, 45, 32, 0.06);
  font-size: 13px;
  justify-self: start;
}

.customer-warning-panel,
.customer-send-warning,
.policy-note {
  border-radius: 16px;
}

.customer-warning-panel {
  background: linear-gradient(135deg, #fbf5e7, #fffaf0);
  border: 1px solid rgba(162, 116, 31, 0.32);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  padding: 22px;
}

.customer-request-section {
  border: 1px solid rgba(37, 69, 54, 0.13);
  border-top: 0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}

.customer-request-section::before {
  background: linear-gradient(90deg, var(--customer-green), #5a8d77, #c3a55e);
  content: "";
  height: 5px;
  inset: 0 0 auto;
  position: absolute;
}

.customer-request-section .section-heading {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  margin: 0 0 28px;
  padding: 0 0 24px;
}

/* Forms and controls */

.booking-form {
  gap: 20px;
}

label {
  font-size: 13px;
  font-weight: 720;
  gap: 9px;
}

input,
select,
textarea,
.fleet-mode-control select {
  background-color: #ffffff;
  border: 1px solid #d2dbd5;
  border-radius: 12px;
  box-shadow: inset 0 1px 2px rgba(14, 42, 28, 0.025);
  min-height: 50px;
  outline: none;
  padding: 13px 14px;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

textarea {
  line-height: 1.5;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #b5c4bb;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--leaf-bright);
  box-shadow: 0 0 0 4px rgba(36, 115, 82, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: #9aa49e;
}

.checkbox-label {
  background: var(--surface-soft);
  border-radius: 12px;
  padding: 14px;
}

.checkbox-label input {
  accent-color: var(--leaf);
  box-shadow: none;
  min-height: 0;
}

.price-preview {
  background: linear-gradient(135deg, #e8f1ec, #f4f8f5);
  border: 1px solid rgba(25, 96, 67, 0.24) !important;
  border-radius: 16px;
  padding: 20px;
}

.price-preview strong {
  font-size: 30px;
}

button,
.button-link,
.import-backup-label {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(23, 79, 56, 0.14);
  font-weight: 750;
  min-height: 46px;
  padding: 12px 17px;
  transition: background-color 150ms ease, box-shadow 150ms ease, filter 150ms ease, transform 150ms ease;
}

button:hover,
.button-link:hover,
.import-backup-label:hover {
  filter: none;
  box-shadow: 0 11px 26px rgba(23, 79, 56, 0.18);
  transform: translateY(-1px);
}

button:active,
.button-link:active,
.import-backup-label:active {
  box-shadow: 0 4px 12px rgba(23, 79, 56, 0.13);
  transform: translateY(0);
}

button:focus-visible,
.button-link:focus-visible,
.admin-nav a:focus-visible,
.back-dashboard-link:focus-visible,
.import-backup-label:focus-visible {
  outline: 3px solid rgba(36, 115, 82, 0.28);
  outline-offset: 3px;
}

.secondary-button,
.button-link.secondary-button,
.customer-app .secondary-button,
.customer-app .button-link.secondary-button {
  background: #edf2ee;
  box-shadow: none;
  color: var(--ink);
}

.request-dialog {
  background: transparent;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 0;
}

.request-dialog::backdrop {
  backdrop-filter: blur(8px);
  background: rgba(8, 27, 18, 0.62);
}

.request-dialog-body {
  border-radius: 24px;
  padding: clamp(24px, 4vw, 38px);
}

.customer-app .request-dialog-body {
  border-top: 0;
  position: relative;
}

.customer-app .request-dialog-body::before {
  background: linear-gradient(90deg, var(--customer-yellow), #ecd493);
  content: "";
  height: 5px;
  inset: 0 0 auto;
  position: absolute;
}

/* Admin command center */

body[data-admin-page] .app {
  max-width: 1280px;
}

.admin-hero {
  background: linear-gradient(135deg, #112d22 0%, #174534 72%, #245943 100%);
  border: 0;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  color: #ffffff;
  gap: 10px;
  overflow: hidden;
  padding: 30px 34px 0;
  position: relative;
}

.admin-hero::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 1px, transparent 1.5px);
  background-size: 17px 17px;
  content: "";
  height: 130px;
  opacity: 0.35;
  position: absolute;
  right: 22px;
  top: 18px;
  width: 190px;
}

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

.admin-hero .eyebrow {
  color: #d8bb78;
}

.admin-hero h1 {
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.03;
  margin-bottom: 2px;
}

.version-note {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 650;
  justify-self: start;
  margin: 2px 0 12px;
}

.admin-nav {
  gap: 4px;
  margin: 0 -14px;
  overflow-x: auto;
  padding: 8px 14px 12px;
  scrollbar-width: none;
}

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

.admin-nav a {
  background: transparent;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.66);
  flex: 0 0 auto;
  font-size: 13px;
  padding: 10px 13px;
  transition: background-color 150ms ease, color 150ms ease;
}

.admin-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.admin-nav a.admin-nav-active {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(5, 22, 14, 0.20);
  color: #173b2c;
}

.back-dashboard-link {
  align-items: center;
  color: var(--leaf);
  gap: 8px;
  margin: 22px 0 2px;
  text-decoration: none;
}

.back-dashboard-link::before {
  content: "←";
}

.priority-dashboard {
  margin: 30px 0;
}

.priority-summary-grid {
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.priority-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 168px;
  overflow: hidden;
  padding: 20px;
  position: relative;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.priority-card::before {
  background: var(--card-accent, var(--line));
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: 4px;
}

.priority-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.priority-card-urgent { --card-accent: var(--stage-red); }
.priority-card-warning { --card-accent: var(--stage-yellow); }
.priority-card-blue { --card-accent: var(--stage-blue); }
.priority-card-purple { --card-accent: var(--stage-purple); }
.priority-card-green { --card-accent: var(--stage-green); }
.priority-card-teal { --card-accent: var(--stage-teal); }
.priority-card-neutral { --card-accent: #91a097; }

.priority-card-urgent,
.priority-card-warning,
.priority-card-blue,
.priority-card-purple,
.priority-card-green,
.priority-card-teal,
.priority-card-neutral {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line);
}

.priority-card strong {
  font-size: 48px;
  font-variant-numeric: tabular-nums;
}

.today-row {
  gap: 14px;
}

.today-card {
  border-radius: 18px;
  padding: 20px;
}

.today-card strong {
  font-variant-numeric: tabular-nums;
}

.dashboard-actions {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
}

.fleet-card,
.booking-card,
.empty-state,
.backup-tools,
.saved-conflict-audit,
.resolution-panel {
  border-radius: 18px;
}

.fleet-card,
.booking-card,
.empty-state {
  padding: 22px;
}

.booking-list {
  gap: 18px;
}

.workflow-card {
  border-left-width: 5px;
  box-shadow: var(--shadow-sm);
}

.booking-details,
.owner-verification-summary {
  gap: 10px;
}

.booking-details p,
.owner-verification-summary p,
.compact-rental-details span,
.readiness-item,
.person-card,
.cleanup-count-grid article {
  background: var(--surface-soft);
  border-radius: 12px;
}

.guided-step-panel,
.readiness-panel,
.time-window-panel,
.hold-summary-panel,
.message-template-details,
.checklist-details,
.primary-action-panel,
.compact-notes,
.modal-details,
.special-request-notice,
.conflict-warning,
.edit-mode-notice {
  border-radius: 14px;
}

.guided-step-panel {
  box-shadow: none;
  padding: 22px;
}

.guided-step-panel button {
  border-radius: 12px;
}

.workflow-badge {
  letter-spacing: 0.055em;
}

.saved-conflict-audit {
  box-shadow: var(--shadow-sm);
}

.backup-tools {
  padding: 24px;
}

.admin-toast {
  backdrop-filter: blur(16px);
  background: rgba(18, 45, 33, 0.94);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
  .customer-app .customer-hero {
    min-height: 480px;
    padding-right: 42%;
  }

  .customer-app .customer-hero::before {
    background:
      linear-gradient(90deg, #153d2e 0%, rgba(21, 61, 46, 0.92) 38%, rgba(21, 61, 46, 0.35) 100%),
      linear-gradient(0deg, rgba(12, 37, 27, 0.48), transparent 55%),
      url("images/dump-trailer.jpg") center / cover no-repeat;
  }
}

@media (max-width: 720px) {
  body {
    background:
      radial-gradient(circle at 10% -5%, rgba(54, 126, 91, 0.10), transparent 22rem),
      var(--wash);
  }

  .app {
    padding: 14px 12px 44px;
  }

  .customer-app {
    gap: 18px;
  }

  .customer-app .customer-hero {
    border-radius: 22px;
    min-height: 560px;
    padding: 32px 24px 220px;
  }

  .customer-app .customer-hero::before {
    background:
      linear-gradient(180deg, #153d2e 0%, rgba(21, 61, 46, 0.96) 46%, rgba(21, 61, 46, 0.12) 78%),
      linear-gradient(0deg, rgba(12, 37, 27, 0.30), transparent 45%),
      url("images/dump-trailer.jpg") center bottom / 100% auto no-repeat,
      #153d2e;
  }

  .customer-app .customer-hero h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .customer-app .customer-hero::after {
    display: none;
  }

  .customer-steps article {
    align-items: center;
    display: flex;
    gap: 16px;
    min-height: 92px;
    padding: 18px;
  }

  .customer-steps span {
    height: 42px;
    width: 42px;
  }

  .customer-steps strong {
    font-size: 16px;
  }

  .customer-rate-sheet,
  .customer-request-section,
  .workspace,
  .hero,
  .notice,
  .policy-note,
  .backup-tools,
  .saved-conflict-audit,
  .fleet-card,
  .booking-card,
  .empty-state {
    padding: 20px;
  }

  .homepage-trailer-card,
  .customer-rate-sheet,
  .workspace,
  .request-dialog-body {
    border-radius: 18px;
  }

  .admin-hero {
    border-radius: 18px;
    padding: 24px 20px 0;
  }

  .admin-hero::after {
    opacity: 0.18;
  }

  .admin-nav {
    flex-wrap: nowrap;
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .priority-dashboard {
    margin: 24px 0;
  }

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

  .priority-card {
    min-height: 145px;
    padding: 17px;
  }

  .priority-card strong {
    font-size: 40px;
  }

  .priority-card p {
    font-size: 13px;
  }

  .guided-step-panel {
    padding: 18px;
  }
}

@media (max-width: 430px) {
  .priority-summary-grid {
    grid-template-columns: 1fr;
  }

  .customer-app .customer-hero {
    min-height: 540px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Complete application → payment workflow */

.application-summary-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.application-summary-grid p {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 13px;
}

.application-summary-grid strong {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.application-summary-wide {
  grid-column: 1 / -1;
  line-height: 1.5;
}

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

.application-review-checklist .checkbox-label {
  align-items: flex-start;
  min-height: 58px;
}

.sensitive-data-notice,
.payment-instruction,
.delivery-method-status {
  background: #f4f7f5;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  padding: 13px 14px;
}

.sensitive-data-notice {
  border-left: 4px solid var(--stage-purple);
}

.payment-instruction {
  background: var(--stage-purple-soft);
  border-color: rgba(109, 69, 199, 0.28);
  color: var(--stage-purple-dark);
}

.delivery-method-status {
  font-weight: 700;
}

.delivery-method-selected {
  background: var(--stage-green-soft);
  border-color: rgba(31, 122, 59, 0.32);
  color: var(--stage-green-dark);
}

@media (max-width: 720px) {
  .application-review-checklist {
    grid-template-columns: 1fr;
  }
}

/* Beginner note: customer page colors are intentionally simple.
   Green = main rental/action, blue = process/info, yellow = request-only/SEND
   reminders, gray = special request trailers, red = errors or blocked requests. */
.customer-app {
  --customer-green: #1f7a3b;
  --customer-green-soft: #ddf4e3;
  --customer-green-dark: #164f2b;
  --customer-blue: #1f6fb2;
  --customer-blue-soft: #dcecff;
  --customer-blue-dark: #123f68;
  --customer-yellow: #d89524;
  --customer-yellow-soft: #fff2ca;
  --customer-yellow-dark: #5e4306;
  --customer-gray: #65706a;
  --customer-gray-soft: #eef0ee;
  --customer-gray-dark: #37413b;
  --customer-red: #b42318;
  --customer-red-soft: #fee4df;
  --customer-red-dark: #7a231a;
  display: grid;
  gap: 24px;
}

.customer-app .hero {
  border-top-color: var(--customer-green);
  display: grid;
  gap: 12px;
  padding: 34px;
}

.customer-app .hero h1 {
  font-size: 64px;
  line-height: 0.95;
  margin-bottom: 0;
}

.customer-app .hero .subtitle {
  font-size: 22px;
  margin-bottom: 0;
  max-width: 760px;
}

.customer-request-note {
  max-width: 720px;
}

.field-label-row {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: space-between;
}

.customer-inline-link {
  background: transparent;
  border: 0;
  color: var(--customer-green-dark);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.customer-inline-link:hover,
.customer-inline-link:focus-visible {
  color: var(--customer-green);
}

.tow-requirements-acknowledgment {
  background: var(--customer-yellow-soft);
  border: 1px solid rgba(162, 116, 31, 0.32);
  border-radius: 12px;
  padding: 14px;
}

.tow-requirements-dialog-body {
  max-width: 720px;
}

.tow-requirements-content h4 {
  color: var(--customer-green-dark);
  font-size: 15px;
  margin: 20px 0 8px;
}

.tow-requirements-content ul {
  display: grid;
  gap: 10px;
  line-height: 1.5;
  margin: 0;
  padding-left: 22px;
}

.tow-requirements-pending {
  color: var(--customer-yellow-dark);
  font-weight: 800;
}

.tow-requirements-warning {
  background: var(--customer-yellow-soft);
  border-left: 4px solid var(--customer-yellow);
  border-radius: 8px;
  font-weight: 750;
  margin: 20px 0 0;
  padding: 12px;
}

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

.customer-confirmation-copy-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.customer-confirmation-copy-actions[hidden],
.customer-contact-actions[hidden] {
  display: none;
}

#customer-copy-confirmation-status {
  color: var(--customer-green-dark);
  font-weight: 800;
}

.button-link {
  align-items: center;
  background: var(--leaf);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  padding: 12px 16px;
  text-decoration: none;
}

.customer-app .button-link,
.customer-app button[type="submit"],
.customer-primary-trailer-card button {
  background: var(--customer-green);
  box-shadow: 0 10px 22px rgba(31, 122, 59, 0.18);
  color: #ffffff;
  font-size: 16px;
  min-height: 50px;
  padding: 14px 18px;
}

.button-link.secondary-button {
  background: var(--leaf-soft);
  color: var(--ink);
}

.customer-app .button-link.secondary-button,
.customer-app .secondary-button,
.customer-special-trailer-card button {
  background: var(--customer-gray-soft);
  box-shadow: none;
  color: var(--customer-gray-dark);
}

.utility-inquiry-card {
  cursor: pointer;
}

.utility-inquiry-card:focus-visible {
  outline: 4px solid var(--customer-blue);
  outline-offset: 4px;
}

.utility-card-action {
  align-items: center;
  background: var(--customer-gray-dark);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 14px 18px;
}

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

.utility-inquiry-form label {
  display: grid;
  font-weight: 800;
  gap: 7px;
}

.utility-inquiry-form input,
.utility-inquiry-form textarea {
  font: inherit;
  width: 100%;
}

.utility-inquiry-warning {
  background: var(--customer-blue-soft);
  border-left: 4px solid var(--customer-blue);
  margin: 0;
  padding: 12px;
}

.utility-inquiry-fallbacks {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.utility-inquiry-fallbacks a {
  font-weight: 800;
  text-underline-offset: .18em;
}

@media (max-width: 640px) {
  .utility-inquiry-form {
    grid-template-columns: 1fr;
  }

  .utility-inquiry-form .full-width {
    grid-column: 1;
  }

  .utility-inquiry-fallbacks,
  .utility-inquiry-fallbacks .small-button {
    width: 100%;
  }
}

.customer-contact-actions .button-link.secondary-button {
  background: var(--customer-blue-soft);
  border: 1px solid var(--customer-blue);
  color: var(--customer-blue-dark);
}

.customer-app .customer-steps,
.customer-app .homepage-fleet,
.customer-app .customer-rate-sheet,
.customer-app .customer-policy,
.customer-app .customer-request-section {
  margin: 0;
}

.customer-app .price-preview {
  background: var(--customer-green-soft);
  border: 2px solid var(--customer-green);
  color: var(--customer-green-dark);
}

.customer-steps article {
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--customer-blue-dark);
  display: grid;
  gap: 16px;
  min-height: 128px;
  padding: 22px;
}

.customer-steps span {
  color: #18231c;
  font-size: 18px;
  height: 54px;
  width: 54px;
}

.customer-steps article:nth-child(1) span {
  background: #d7b356;
}

.customer-steps article:nth-child(2) span {
  background: #d88a4b;
}

.customer-steps article:nth-child(3) span {
  background: #79a77d;
}

.customer-steps strong {
  font-size: 20px;
}

.customer-warning-panel,
.customer-send-warning {
  background: var(--customer-yellow-soft);
  border: 2px solid var(--customer-yellow);
  border-radius: 8px;
  color: var(--customer-yellow-dark);
  line-height: 1.5;
  padding: 16px;
}

.customer-promo-badge {
  background: var(--customer-green-soft);
  border: 2px solid var(--customer-green);
  border-radius: 999px;
  color: var(--customer-green-dark);
  display: inline-flex;
  font-weight: 800;
  margin: 0;
  padding: 10px 14px;
}

.customer-rate-sheet,
.admin-rate-sheet {
  background: var(--customer-green-soft, #ddf4e3);
  border: 2px solid var(--customer-green, #1f7a3b);
  border-radius: 8px;
  color: var(--customer-green-dark, #164f2b);
  display: grid;
  gap: 14px;
  margin: 16px 0 26px;
  padding: 18px;
}

.customer-rate-sheet {
  padding: 24px;
}

.rate-sheet-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.rate-sheet-grid span,
.admin-rate-sheet li {
  background: #ffffff;
  border: 1px solid rgba(31, 122, 59, 0.24);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 10px;
}

.rate-sheet-grid strong {
  font-size: 12px;
  text-transform: uppercase;
}

.customer-rate-note {
  font-weight: 800;
  margin: 0;
}

.admin-rate-sheet ul {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.customer-policy {
  font-weight: 800;
}

.customer-primary-trailer-card {
  background: var(--customer-green-soft);
  border: 2px solid var(--customer-green);
}

.customer-special-trailer-card {
  background: var(--customer-gray-soft);
  border: 2px solid #c5cbc7;
}

.customer-primary-trailer-card .homepage-card-label {
  background: var(--customer-green);
  color: #ffffff;
}

.customer-special-trailer-card .homepage-card-label {
  background: var(--customer-gray);
  color: #ffffff;
}

.customer-primary-trailer-card .rate {
  color: var(--customer-green-dark);
}

.customer-special-trailer-card .rate {
  color: var(--customer-gray-dark);
}

.customer-load-limit {
  color: var(--ink);
  font-weight: 800;
}

.customer-request-section {
  border-top: 6px solid var(--customer-blue);
  margin-top: 16px;
}

.customer-request-section .section-heading {
  background: var(--customer-blue-soft);
  border: 2px solid var(--customer-blue);
  border-radius: 8px;
  margin-top: 0;
  padding: 16px;
}

.customer-request-section .backup-status {
  background: var(--customer-blue-soft);
  border: 1px solid var(--customer-blue);
  border-radius: 8px;
  color: var(--customer-blue-dark);
  font-weight: 800;
  padding: 12px;
}

.customer-app .conflict-warning-red,
.customer-app #customer-warning.conflict-warning-red {
  background: var(--customer-red-soft);
  border: 2px solid var(--customer-red);
  color: var(--customer-red-dark);
}

.customer-app .customer-info-message {
  background: var(--customer-blue-soft);
  border: 1px solid var(--customer-blue);
  color: var(--customer-blue-dark);
}

.customer-send-warning {
  font-size: 16px;
  font-weight: 800;
}

.customer-modal-helper {
  background: var(--customer-blue-soft);
  border: 1px solid var(--customer-blue);
  border-radius: 8px;
  color: var(--customer-blue-dark);
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
  padding: 12px;
}

.customer-app .request-dialog-body {
  border-top: 6px solid var(--customer-yellow);
}

@media (max-width: 720px) {
  .customer-app {
    gap: 18px;
  }

  .customer-app .hero {
    padding: 22px;
  }

  .customer-app .hero h1 {
    font-size: 42px;
    line-height: 1;
  }

  .customer-app .hero .subtitle {
    font-size: 18px;
  }

  .customer-steps article {
    min-height: auto;
  }

  .customer-rate-sheet,
  .customer-request-section {
    padding: 18px;
  }
}
.availability-calendar-panel {
  border: 1px solid var(--border-color, #d6d2c8);
  border-radius: 14px;
  padding: 1rem;
  background: #fffdf8;
}

.availability-calendar-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.availability-calendar-heading-row h3,
.availability-calendar-heading-row p { margin: 0; }

.availability-calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: .5rem;
  margin-top: .75rem;
}

.availability-day {
  display: grid;
  gap: .2rem;
  min-height: 60px;
  padding: .65rem;
  border-radius: 10px;
  border: 1px solid #cfd8ca;
  background: #f3faf1;
  font-size: .82rem;
}

.availability-day.has-block { border-color: #e1b7ad; background: #fff3ef; }
.availability-day span { color: var(--muted, #59635a); font-size: .74rem; line-height: 1.25; }
.secure-booking-calendar { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 1rem 0; }
.section5-rate-grid span { gap: .35rem; line-height: 1.55; }
.section5-rate-grid em { color: var(--customer-green-dark); font-size: .82rem; font-style: normal; font-weight: 800; margin-top: .25rem; }
.trailer-card-policy-links { display: flex; flex-wrap: wrap; gap: .45rem .75rem; margin-top: .75rem; font-size: .78rem; }
.trailer-card-policy-links a, .customer-public-footer a { text-decoration-thickness: 1px; text-underline-offset: .18em; }
.supplemental-documents { margin-top: .75rem; }
.supplemental-documents summary { cursor: pointer; font-weight: 800; }
.supplemental-documents h4 { margin-top: 1rem; }
.price-preview .price-breakdown,
.price-preview .price-hold-preview { flex-basis: 100%; font-size: .85rem; font-weight: 700; line-height: 1.35; }

@media (max-width: 520px) {
  .availability-calendar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .availability-calendar-heading-row { align-items: flex-start; }
  .customer-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .customer-steps article { align-items: flex-start; display: grid; gap: 10px; min-height: 112px; padding: 14px; }
  .customer-steps span { height: 36px; width: 36px; }
  .customer-steps strong { font-size: 14px; }
}

/* Staging renter-experience polish: warm, calm, and compact without changing workflow logic. */
.customer-page {
  background:
    radial-gradient(circle at 12% 0%, rgba(194, 138, 61, 0.10), transparent 28rem),
    linear-gradient(180deg, #f7f3ea 0, #f5f7f3 34rem, #f7f5ef 100%);
}

.customer-app {
  --customer-green: #376b52;
  --customer-green-soft: #edf4ef;
  --customer-green-dark: #214936;
  --customer-blue: #39717a;
  --customer-blue-soft: #eaf3f2;
  --customer-blue-dark: #28525a;
  --customer-yellow: #c28a3d;
  --customer-yellow-soft: #fbf3e5;
  --customer-yellow-dark: #65461e;
}

.customer-app .customer-hero {
  min-height: 430px;
  padding: clamp(30px, 6vw, 64px);
  padding-right: 50%;
}

.customer-app .customer-hero h1 {
  font-size: clamp(44px, 5.7vw, 68px);
  line-height: 1;
}

.customer-hero-help {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 12px;
  margin-top: 6px;
}

.customer-hero-help span {
  color: rgba(255, 255, 255, 0.90);
  flex-basis: 100%;
  font-weight: 700;
}

.customer-hero-help a {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  color: var(--customer-green-dark);
  font-weight: 800;
  padding: 9px 14px;
  text-decoration: none;
}

.customer-steps {
  gap: 10px;
}

.customer-steps article {
  align-items: center;
  border-color: rgba(55, 107, 82, 0.18);
  border-radius: 14px;
  box-shadow: none;
  display: flex;
  gap: 12px;
  min-height: 88px;
  padding: 14px;
}

.customer-steps article::after {
  display: none;
}

.customer-steps span {
  background: #ead7ac !important;
  color: #3d3422;
  height: 38px;
  width: 38px;
}

.customer-steps strong {
  color: var(--customer-green-dark);
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.customer-steps small {
  color: #66736b;
  display: block;
  font-size: 12px;
  line-height: 1.3;
  margin-top: 3px;
}

.customer-rate-sheet,
.customer-warning-panel,
.customer-request-section {
  border-radius: 18px;
}

.customer-rate-sheet {
  background: linear-gradient(135deg, #edf4ef, #f8f4e9);
  border: 1px solid rgba(55, 107, 82, 0.30);
  color: var(--customer-green-dark);
}

.customer-rate-note,
.customer-policy {
  font-weight: 650;
  line-height: 1.55;
}

.customer-warning-panel {
  border: 1px solid rgba(194, 138, 61, 0.38);
}

.customer-request-section {
  border: 1px solid rgba(55, 107, 82, 0.20);
  border-top: 1px solid rgba(55, 107, 82, 0.20);
}

.customer-request-section .section-heading {
  background: linear-gradient(115deg, var(--customer-blue-soft), rgba(255, 255, 255, 0.72));
  border: 0;
  border-radius: 14px;
}

.secure-upload-panel,
.agreement-panel,
.signature-panel {
  border-radius: 16px;
}

.customer-form-help {
  background: var(--customer-yellow-soft);
  border-left: 4px solid var(--customer-yellow);
  border-radius: 10px;
  color: var(--customer-yellow-dark);
  font-weight: 750;
  line-height: 1.5;
  margin: 0;
  padding: 13px 15px;
}

.customer-form-help a {
  color: inherit;
  text-underline-offset: 3px;
}

#customer-submission-confirmation-dialog .request-dialog-body > p {
  border-bottom: 1px solid rgba(55, 107, 82, 0.12);
  line-height: 1.5;
  margin: 0;
  padding-bottom: 10px;
}

#customer-submission-confirmation-heading {
  color: var(--customer-green-dark);
  font-size: clamp(28px, 5vw, 38px);
}

.customer-page .customer-public-footer {
  background: #f3ead8;
  border-color: rgba(194, 138, 61, 0.30);
  color: #4e493f;
}

@media (max-width: 720px) {
  .customer-app .customer-hero {
    min-height: 490px;
    padding: 28px 22px 205px;
  }

  .customer-app .customer-hero h1 {
    font-size: clamp(40px, 13vw, 54px);
  }

  .customer-steps article {
    min-height: 82px;
    padding: 12px;
  }
}

@media (max-width: 420px) {
  .customer-steps {
    grid-template-columns: 1fr;
  }

  .customer-steps article {
    min-height: 68px;
  }
}

.customer-terms-at-a-glance {
  background: #fffaf0;
  border: 1px solid rgba(194, 138, 61, 0.38);
  border-radius: 14px;
  color: #4f402b;
  padding: 16px;
}

.customer-terms-at-a-glance h4 {
  color: var(--customer-yellow-dark);
  margin: 0 0 10px;
}

.customer-terms-at-a-glance ul {
  display: grid;
  gap: 8px;
  line-height: 1.5;
  margin: 0;
  padding-left: 20px;
}

.customer-legal-summaries {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-legal-summaries a {
  background: var(--customer-green-soft);
  border: 1px solid rgba(55, 107, 82, 0.22);
  border-radius: 12px;
  color: var(--customer-green-dark);
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  text-decoration: none;
}

.customer-legal-summaries a:hover,
.customer-legal-summaries a:focus-visible {
  border-color: var(--customer-green);
  box-shadow: 0 0 0 3px rgba(55, 107, 82, 0.10);
}

.customer-legal-summaries span {
  color: #53645a;
  font-size: 13px;
  line-height: 1.4;
}

.customer-legal-summaries em {
  color: var(--customer-green-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  margin-top: 3px;
}

.agreement-panel .legal-document > summary {
  color: var(--customer-green-dark);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.4;
  padding: 4px 0;
}

.customer-required-acknowledgment {
  align-items: flex-start;
  background: var(--customer-yellow-soft);
  border: 2px solid var(--customer-yellow);
  color: var(--customer-yellow-dark);
  line-height: 1.45;
}

.customer-required-acknowledgment input {
  flex: 0 0 auto;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .customer-legal-summaries {
    grid-template-columns: 1fr;
  }
}


/* Simplified customer checkout review */
.booking-review-simple {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}
.booking-review-simple p {
  align-items: baseline;
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin: 0;
  padding: 12px 14px;
}
.booking-review-simple strong {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}
.booking-review-date span {
  color: #a40000;
  font-size: 1.05rem;
  font-weight: 800;
}
.booking-review-total {
  font-size: 1.08rem;
  font-weight: 800;
}
.booking-review-deposit {
  display: grid !important;
  gap: 5px !important;
}
.booking-review-details {
  margin: 12px 0 4px;
}
.booking-review-details > summary {
  cursor: pointer;
  font-weight: 700;
}

/* Featured dump rental, with compact secondary choices and native disclosure controls. */
.customer-page [hidden] { display: none !important; }
.featured-dump-rates { margin-top: 22px; padding: clamp(24px, 4vw, 44px); border-radius: 24px; background: #143f2b; color: #fff8e7; box-shadow: 0 16px 35px #143f2b20; }
.featured-dump-rates h3 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 8px 0 24px; }
.featured-dump-rates .eyebrow { color: #d9e7c8; }
.featured-dump-rates dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.featured-dump-rates dd { margin: 8px 0 0; font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 750; }
.featured-dump-rates button { background: #f5d878; color: #143f2b; }
.rates-help { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-top: 22px; }
.rates-help details { border-bottom: 1px solid #cdd8cf; padding: 16px 0; min-width: 0; }
.rates-help summary { cursor: pointer; font-weight: 650; padding: 4px; }
.rates-help p { line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.secondary-utility-rates { margin-top: 28px; }
.secondary-utility-rates > div { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; padding: 14px 0; border-top: 1px solid #dde3dd; }
.secondary-utility-rates strong { margin-right: auto; }
.customer-page .homepage-fleet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.customer-page .customer-primary-trailer-card { grid-column: 1 / -1; }
.customer-page .customer-special-trailer-card .trailer-image-frame { max-height: 140px; }
.booking-review-waiver { background: #edf4ea; padding: 16px !important; border-radius: 12px; }
.customer-thank-you { position: fixed; z-index: 30; bottom: 20px; right: 20px; max-width: min(440px, calc(100vw - 40px)); padding: 24px; border-radius: 18px; background: #fff8e7; color: #143f2b; box-shadow: 0 8px 40px #0003; border: 1px solid #d3ddce; }
.customer-thank-you button { margin: 4px 4px 0 0; }
@media (max-width: 640px) {
  .featured-dump-rates dl, .rates-help { grid-template-columns: 1fr; }
  .featured-dump-rates dl > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid #ffffff30; }
  .featured-dump-rates dd { margin: 0; }
  .customer-page .homepage-fleet-grid { grid-template-columns: 1fr; }
  .secondary-utility-rates strong { flex-basis: 100%; }
}
.customer-request-section:has(#customer-booking-panel[hidden]) { padding: 0; border: 0; box-shadow: none; background: transparent; }
.booking-review-simple .booking-review-waiver { display: block; }
.booking-review-waiver strong { display: block; text-transform: none; font-size: 1rem; color: #143f2b; margin-bottom: 8px; }
.booking-review-waiver span { display: block; line-height: 1.5; }
.featured-dump-rates h3 { color: #fff8e7; }

/* Hero treatment matched to the approved cream-and-gold local-business reference. */
.customer-app .customer-hero { padding: 44px 52px; min-height: 640px; gap: 9px; }
.customer-app .customer-hero::before { background: linear-gradient(90deg, #073e2b 0%, rgba(7,62,43,.96) 18%, rgba(7,62,43,.70) 43%, rgba(7,62,43,.12) 72%), url("images/dump-trailer.jpg") center / cover no-repeat; }
.customer-app .customer-hero .eyebrow { display: flex; align-items: center; gap: 16px; color: #f5bf49; }
.customer-app .customer-hero .eyebrow::after { content: ""; width: 94px; height: 2px; background: #f5bf49; }
.customer-app .customer-hero .hero-brand { font-family: "WTR Display", Georgia, serif; font-weight: 900; font-size: clamp(84px, 8vw, 112px); line-height: .90; letter-spacing: -.045em; color: #fff6dc; text-shadow: 2px 3px 0 #e8ad43, 0 4px 18px #062c2380; margin: 4px 0 17px; max-width: none; width: max-content; position: relative; }
.hero-brand span { display: block; white-space: nowrap; }
.hero-brand span:first-child { display: flex; align-items: center; gap: 12px; }
.hero-brand span:last-child { font-size: .76em; margin-top: 5px; }
.hero-hibiscus { width: .48em; height: .48em; flex: none; margin-top: .23em; filter: drop-shadow(0 2px 2px #073e2b50); }
.hero-brand::after { content: ""; position: absolute; left: 4px; bottom: -19px; width: 80%; height: 13px; border-top: 7px solid #f5bf49; border-radius: 50% 70% 0 0; transform: rotate(-1deg); }
.customer-app .customer-hero .hero-brand-tagline { font-family: Georgia, serif; font-weight: 800; font-size: clamp(24px, 2.4vw, 31px); line-height: 1.25; color: #fff6dc; margin: 5px 0 3px; max-width: 720px; text-shadow: 0 2px 6px #073e2b; }
.customer-app .customer-hero .subtitle { font-size: 20px; line-height: 1.4; max-width: 555px; color: #fff9ee; margin: 0; }
.customer-app .customer-hero .hero-booking-benefit { font-size: 19px; line-height: 1.4; max-width: 555px; color: #fff9ee; margin: 0 0 4px; }
.customer-hero-help { max-width: 600px; }
.customer-hero-help a { background: #fff6dc; border: 1px solid #efc266; padding: 10px 24px; }
.customer-app .customer-hero .operator-note { max-width: 590px; color: #f5bf49; }
@media (max-width: 1050px) and (min-width: 721px) { .customer-app .customer-hero { padding: 38px; } .customer-app .customer-hero .hero-brand { font-size: 86px; } }
@media (max-width: 720px) {
  .customer-app .customer-hero { padding: 28px 22px 190px; min-height: 0; gap: 10px; }
  .customer-app .customer-hero .hero-brand { font-size: clamp(43px, 12vw, 78px); letter-spacing: -.05em; }
  .hero-brand span:last-child { font-size: .76em; }
  .hero-hibiscus { width: .40em; height: .40em; }
  .hero-brand span:first-child { gap: 8px; }
  .hero-brand::after { border-top-width: 4px; bottom: -15px; height: 9px; }
  .customer-app .customer-hero .hero-brand-tagline { font-size: 22px; }
  .customer-app .customer-hero .subtitle, .customer-app .customer-hero .hero-booking-benefit { font-size: 16px; }
  .customer-app .customer-hero .eyebrow { font-size: 10px; gap: 9px; }
  .customer-app .customer-hero .eyebrow::after { width: 30px; }
}

/* Outlined display lettering keeps the logo consistent without a font download. */
.customer-app .customer-hero .hero-brand { width: min(640px, 100%); line-height: 0; text-shadow: none; }
.hero-logo { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(2px 3px 0 #e8ad43) drop-shadow(0 4px 8px #062c2350); }
.hero-logo .hero-hibiscus { margin: 0; filter: none; }
.hero-brand .hero-brand-accessible { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 720px) { .customer-app .customer-hero .hero-brand { width: 100%; } }
@media (max-width: 720px) {
  .customer-app .customer-hero::before { background: linear-gradient(180deg, rgba(7,62,43,.97) 0%, rgba(7,62,43,.94) 55%, rgba(7,62,43,.35) 82%, rgba(7,62,43,.12) 100%), url("images/dump-trailer.jpg") center / cover no-repeat; }
}

/* Finishing details for the reference logo, confined to the homepage hero. */
.customer-app .customer-hero .hero-brand { margin-bottom: 21px; }
.hero-logo > g { stroke: #fff6dc; stroke-width: .45px; paint-order: stroke fill; }
.hero-logo { filter: drop-shadow(1px 1px 0 #f6ce75) drop-shadow(1px 2px 0 #dba340) drop-shadow(0 5px 9px #062c2350); }
.hero-brand::after { content: none; }
.hero-swoosh { position: absolute; width: 82%; height: auto; left: 3px; bottom: -21px; overflow: visible; }
.customer-app .customer-hero .hero-brand-tagline { letter-spacing: -.025em; }
.customer-hero-help a { display: inline-flex; align-items: center; justify-content: center; gap: 11px; border-radius: 999px; box-shadow: 0 3px 9px #032e2520; transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.customer-hero-help a svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.customer-hero-help a:hover { background: #ffedbf; box-shadow: 0 5px 14px #032e2538; transform: translateY(-1px); }
.customer-hero-help a:focus-visible { outline: 3px solid #f5bf49; outline-offset: 4px; }
@media (max-width: 720px) {
  .customer-app .customer-hero .hero-brand { margin-bottom: 16px; }
  .hero-swoosh { bottom: -14px; }
  .customer-hero-help a { padding: 10px 18px; gap: 8px; }
  .customer-hero-help a svg { width: 21px; height: 21px; }
}
@media (prefers-reduced-motion: reduce) { .customer-hero-help a { transition: none; } }

@media (max-width: 1050px) and (min-width: 721px) {
  .customer-app .customer-hero::before { background: linear-gradient(90deg, #073e2b 0%, rgba(7,62,43,.93) 25%, rgba(7,62,43,.72) 60%, rgba(7,62,43,.18) 100%), url("images/dump-trailer.jpg") center / cover no-repeat; }
  .customer-app .customer-hero .subtitle { max-width: 480px; }
}

/* Larger editorial hero and tonal botanical ornament from the supplied mockup. */
.customer-app .customer-hero { width: min(1440px, calc(100vw - 64px)); justify-self: center; padding: 62px 60px 52px; min-height: 760px; gap: 12px; }
.customer-app .customer-hero::before { background: url("images/dump-trailer.jpg") center 52% / cover no-repeat; filter: contrast(1.18) saturate(1.25) brightness(.96); }
.customer-app .customer-hero::after { inset: 0; width: auto; height: auto; opacity: 1; background: linear-gradient(90deg, #033d2c 0%, rgba(3,53,37,.96) 23%, rgba(3,47,33,.81) 42%, rgba(3,47,33,.24) 64%, transparent 82%); }
.hero-botanical { position: absolute; inset: 0 auto 0 0; height: 100%; width: 220px; color: #7aa580; opacity: .09; z-index: -1; pointer-events: none; }
.customer-app .customer-hero .eyebrow { font-size: 15px; letter-spacing: .22em; gap: 18px; }
.customer-app .customer-hero .eyebrow::after { width: 116px; }
.customer-app .customer-hero .hero-brand { width: min(730px, 100%); margin: 0 0 19px; }
.customer-app .customer-hero .hero-brand-tagline { font-size: 36px; max-width: 780px; margin: 2px 0 4px; }
.customer-app .customer-hero .subtitle { max-width: 645px; font-size: 23px; line-height: 1.45; }
.customer-app .customer-hero .hero-booking-benefit { max-width: 690px; font-size: 23px; margin-bottom: 2px; }
.customer-hero-help { max-width: 700px; gap: 12px; margin-top: 2px; }
.customer-hero-help span { font-size: 19px; }
.customer-hero-help a { min-width: 184px; padding: 13px 28px; font-size: 20px; border-color: #e7b34e; }
.customer-hero-help a svg { width: 28px; height: 28px; stroke-width: 1.9; }
.customer-app .customer-hero .operator-note { max-width: 680px; font-size: 13px; line-height: 1.45; letter-spacing: .1em; margin-top: 9px; }
@media (max-width: 1050px) and (min-width: 721px) {
  .customer-app .customer-hero { width: 100%; padding: 38px; min-height: 690px; }
  .customer-app .customer-hero::after { background: linear-gradient(90deg, #033d2c 0%, rgba(3,53,37,.93) 28%, rgba(3,47,33,.75) 63%, rgba(3,47,33,.22) 100%); }
  .customer-app .customer-hero .hero-brand-tagline { font-size: 29px; }
  .customer-app .customer-hero .subtitle { max-width: 490px; font-size: 20px; }
  .customer-app .customer-hero .hero-booking-benefit { font-size: 20px; }
  .customer-hero-help span { font-size: 17px; }
}
@media (max-width: 720px) {
  .customer-app .customer-hero { width: 100%; padding: 28px 22px 185px; min-height: 0; gap: 10px; }
  .customer-app .customer-hero::after { background: linear-gradient(180deg, rgba(3,53,37,.98) 0%, rgba(3,53,37,.95) 55%, rgba(3,53,37,.25) 83%, transparent 100%); }
  .customer-app .customer-hero .eyebrow { font-size: 10px; letter-spacing: .16em; gap: 9px; }
  .customer-app .customer-hero .eyebrow::after { width: 30px; }
  .customer-app .customer-hero .hero-brand { width: 100%; margin-bottom: 16px; }
  .customer-app .customer-hero .hero-brand-tagline { font-size: 22px; }
  .customer-app .customer-hero .subtitle, .customer-app .customer-hero .hero-booking-benefit { font-size: 16px; }
  .customer-hero-help span { font-size: 16px; }
  .customer-hero-help a { min-width: 0; font-size: 16px; padding: 10px 18px; }
  .customer-hero-help a svg { width: 22px; height: 22px; }
  .customer-app .customer-hero .operator-note { font-size: 11px; letter-spacing: .06em; }
}
.customer-app { grid-template-columns: minmax(0, 1fr); }
.customer-app .customer-hero::after { display: block; }
.hero-botanical { z-index: 0; }
.customer-app .customer-hero > :not(.hero-botanical) { position: relative; z-index: 1; }

/* Editable brand lettering and the approved homepage navigation / step cards. */
@font-face { font-family: "Westside Display"; src: url("images/brand-display.ttf") format("truetype"); font-weight: 900; font-style: normal; font-display: swap; }
.brand-navigation, .customer-app .customer-steps { width: min(1440px, calc(100vw - 64px)); justify-self: center; }
.brand-navigation { display: flex; align-items: center; gap: 30px; min-height: 88px; padding: 0 24px; }
.brand-wordmark { font-family: "Westside Display", Georgia, serif; color: #033c29; font-size: 29px; line-height: .88; letter-spacing: -.055em; text-decoration: none; flex: none; }
.brand-wordmark span { display: block; }
.brand-wordmark span:first-child { display: flex; align-items: center; gap: 5px; }
.brand-wordmark .hero-hibiscus { width: 27px; height: 27px; margin: 0; }
.brand-nav-links { display: flex; justify-content: center; gap: 32px; flex: 1; }
.brand-nav-links a { color: #15252a; font-size: 15px; text-decoration: none; padding: 9px 0; }
.brand-nav-links a:hover { color: #076444; text-decoration: underline; text-underline-offset: 5px; }
.brand-book-link { display: flex; align-items: center; gap: 14px; padding: 16px 23px; background: #033c29; border-radius: 15px; color: #fff9e9; font-weight: 750; text-decoration: none; }
.brand-book-link svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; }
.brand-book-link > span { font-size: 26px; margin-left: 6px; }
.brand-book-link:hover { background: #07563c; }
.brand-navigation a:focus-visible { outline: 3px solid #e8b64a; outline-offset: 5px; }
.customer-app .customer-hero .hero-brand { font-family: "Westside Display", Georgia, serif; font-size: 128px; line-height: .87; letter-spacing: -.055em; text-shadow: 1px 1px 0 #f6d18a, 2px 3px 0 #dca73d, 0 5px 12px #00261770; width: max-content; max-width: 100%; margin-bottom: 24px; }
.hero-brand .hero-title-first { display: flex; align-items: center; gap: 15px; }
.hero-brand .hero-title-second { font-size: .76em; margin-top: 6px; }
.hero-brand .hero-hibiscus { width: 62px; height: 62px; margin: 20px 0 0; }
.customer-app .customer-hero .hero-brand-tagline { font-family: "Westside Display", Georgia, serif; font-size: 39px; font-weight: 900; letter-spacing: -.035em; }
.customer-app .customer-steps { gap: 20px; }
.customer-app .customer-steps article { display: flex; align-items: center; gap: 22px; min-height: 116px; padding: 22px 24px; border: 1px solid #eceae2; border-radius: 23px; background: #fffdf8; box-shadow: 0 5px 20px #183d2510; }
.customer-app .customer-steps article > span { flex: none; width: 62px; height: 62px; background: linear-gradient(135deg, #ffe7a8, #ffd67c); color: #033c29; font-size: 30px; }
.customer-steps article > svg { flex: none; width: 37px; height: 37px; stroke: #033c29; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.customer-app .customer-steps strong { font-size: 19px; color: #14232b; }
.customer-app .customer-steps small { font-size: 15px; color: #7c8187; margin-top: 4px; }
.step-chevron { font-size: 28px; color: #687078; margin-left: auto; font-weight: 400; }
@media (max-width: 1200px) and (min-width: 721px) {
 .brand-nav-links { gap: 20px; }
 .customer-app .customer-hero .hero-brand { font-size: clamp(92px, 9vw, 120px); }
 .customer-app .customer-hero .hero-brand-tagline { font-size: 33px; }
 .customer-app .customer-steps article { padding: 20px 16px; gap: 12px; }
 .customer-app .customer-steps article > span { width: 49px; height: 49px; font-size: 25px; }
 .customer-steps article > svg { width: 29px; height: 29px; }
}
@media (max-width: 900px) {
 .brand-navigation { flex-wrap: wrap; gap: 18px; padding: 0; }
 .brand-nav-links { order: 3; flex-basis: 100%; justify-content: space-between; gap: 12px; }
 .brand-book-link { margin-left: auto; }
 .customer-app .customer-steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
 .brand-navigation, .customer-app .customer-steps { width: 100%; }
 .brand-wordmark { font-size: 23px; }
 .brand-wordmark .hero-hibiscus { width: 22px; height: 22px; }
 .brand-book-link { font-size: 13px; padding: 12px; gap: 7px; }
 .brand-book-link svg { width: 18px; height: 18px; }
 .brand-book-link > span { margin: 0; font-size: 21px; }
 .brand-nav-links a { font-size: 12px; }
 .customer-app .customer-hero .hero-brand { font-size: clamp(45px, 13.5vw, 94px); margin-bottom: 20px; }
 .hero-brand .hero-hibiscus { width: .47em; height: .47em; margin-top: .12em; }
 .hero-brand .hero-title-first { gap: 7px; }
 .customer-app .customer-hero .hero-brand-tagline { font-size: 23px; }
 .customer-app .customer-steps article { gap: 16px; min-height: 102px; padding: 18px; }
 .customer-app .customer-steps article > span { width: 48px; height: 48px; font-size: 25px; }
 .customer-steps article > svg { width: 29px; height: 29px; }
 .customer-app .customer-steps strong { font-size: 17px; }
 .customer-app .customer-steps small { font-size: 13px; }
}
@media (min-width: 1051px) and (max-width: 1500px) {
 .customer-app .customer-hero { min-height: 680px; padding: 42px 60px; gap: 9px; }
 .customer-app .customer-hero .hero-brand { font-size: 124px; margin-bottom: 20px; }
 .customer-app .customer-hero .hero-brand-tagline { font-size: 35px; }
 .customer-app .customer-hero .subtitle, .customer-app .customer-hero .hero-booking-benefit { font-size: 21px; }
 .customer-hero-help a { padding: 11px 25px; }
}
@media (max-width: 720px) { .customer-app .customer-hero .hero-brand { font-size: clamp(45px, 15vw, 98px); } }
@media (min-width: 1051px) {
 .customer-app .customer-hero { align-content: center; }
 .customer-app .customer-hero .hero-brand { font-size: 146px; }
 .customer-app .customer-hero .hero-brand-tagline { font-size: 43px; }
}

/* Existing availability tiles are now selectable without changing their layout. */
button.availability-day { color: inherit; text-align: left; font-family: inherit; min-width: 0; }
button.availability-day[aria-pressed="true"] { outline: 2px solid currentColor; }
#customer-calendar-details { position: fixed; inset: auto; margin: 0; padding: 4px; box-sizing: border-box; overflow: auto; border: 1px solid #cfd8ca; border-radius: 10px; background: #fff; color: #143f2b; box-shadow: 0 5px 18px #0002; }
#customer-calendar-details [role="listbox"] { display: grid; gap: 2px; }
#customer-calendar-details [role="option"] { padding: 9px 12px; border: 0; border-radius: 6px; background: transparent; color: inherit; text-align: left; font: inherit; }
#customer-calendar-details [role="option"]:hover, #customer-calendar-details [role="option"]:focus-visible, #customer-calendar-details [aria-selected="true"] { background: #e5efe2; outline-offset: -2px; }
