/* First audit pass: retain Patternd's existing visual identity. */
html { scroll-padding-top: 100px; }
.customer-details { max-width: 540px; padding: 32px; }
.customer-details h2 { margin-bottom: 20px; font-family: 'DM Serif Display', serif; }
.customer-details label { display: block; margin: 16px 0 6px; font-size: 14px; font-weight: 600; }
.customer-details input { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid var(--paper-3); border-radius: 8px; background: var(--white); color: var(--ink); }
.customer-details p { margin: 16px 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.customer-details details { margin-top: 24px; border-top: 1px solid var(--paper-3); padding-top: 20px; }
.customer-details summary { cursor: pointer; font-weight: 600; }
button, input, textarea, select { font: inherit; }
:is(button, a, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.hero-right { position: relative; }
#hero-shop-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nav-menu-toggle { display: none; }
.footer-top > * { min-width: 0; overflow-wrap: anywhere; }
.footer-col a { overflow-wrap: anywhere; }
#dashboard-modal .dash-body:not(.has-sidebar) { grid-template-columns: minmax(0, 1fr); }
#dash-content { min-width: 0; }
.bk-top > div { min-width: 0; overflow-wrap: anywhere; }
.bk-bot { gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.bk-bot > div { min-width: 0; max-width: 100%; flex-wrap: wrap; }
.bk-price { flex-shrink: 0; }
.status-past { color: var(--ink-soft); background: var(--paper-2); }
.auth-form .form-group input { width: 100%; min-width: 0; }
#auth-remember-row { flex-direction: row; }
.cal-grid .cal-day { border: 1px solid transparent; font-family: inherit; background: transparent; }
.cal-grid .cal-day.today { border: 2px solid var(--ink); background: transparent; color: var(--ink) !important; border-radius: var(--radius); }
.cal-grid .cal-day.selected, .cal-grid .cal-day.today.selected { background: var(--ink); color: var(--white) !important; border-color: var(--ink); }
.cal-grid .cal-day:disabled { cursor: not-allowed; }
.cal-grid .cal-day.today:disabled { color: var(--ink-soft) !important; background: var(--paper-2); }
.calendar-key { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 14px; font-size: 12px; color: var(--ink-soft); }
.calendar-key > span { display: inline-flex; align-items: center; gap: 5px; }
.calendar-key i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.key-today { border: 2px solid var(--ink); }
.key-selected { background: var(--ink); }
.key-full { background: #d32f2f; }
.key-closed { border: 1px solid #d32f2f; background: var(--paper-2); }
.barber-select-item, .service-select-item { font: inherit; color: inherit; background-color: var(--white); }
.service-select-item { text-align: left; width: 100%; }
.cookie-banner { visibility: hidden; }
.cookie-banner.show { visibility: visible; }
.footer-desc, .footer-col h3, .footer-copy { color: rgba(255,255,255,.7); }
.how-num { color: var(--ink-soft); }
.password-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
/* Content remains readable without a scroll animation or IntersectionObserver. */
.reveal { opacity: 1; transform: none; }
@media (min-width: 1100px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .modal-box, .modal-overlay.open { animation: none; transform: none; }
  .cookie-banner { transition: none; }
}
@media (max-width: 900px) {
  #nav { flex-wrap: wrap; gap: 12px; }
  .nav-menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--paper-3); background: var(--white); border-radius: var(--radius); color: var(--ink); cursor: pointer; }
  #nav .nav-links { display: none; width: 100%; align-items: stretch; gap: 4px; }
  #nav.menu-open .nav-links { display: flex; flex-direction: column; }
  #nav.menu-open .nav-links > a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; }
  #nav-auth-btns { padding: 8px 0 4px; flex-wrap: wrap; }
  #nav-auth-btns .btn { min-height: 44px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-bottom { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 600px) {
  .cookie-banner { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
  .cookie-banner-text { min-width: 0; font-size: 12px; line-height: 1.5; flex-basis: 100%; }
  .cookie-banner-actions { width: 100%; }
  .btn-cookie { min-height: 44px; padding: 8px 16px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .bk-top { flex-wrap: wrap; }
}

body.security-test-mode{padding-top:36px}body.security-test-mode nav{top:36px}.security-test-notice{position:fixed;inset:0 0 auto;z-index:800;min-height:36px;padding:8px 12px;text-align:center;background:#26341b;color:#fff;font-size:14px;line-height:1.4;font-family:inherit}@media(max-width:600px){body.security-test-mode{padding-top:56px}body.security-test-mode nav{top:56px}}
