@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #231f20;
  --ink-soft: #3f3a3b;
  --muted: #6f6a67;
  --line: #dedad5;
  --line-strong: #cfcac4;
  --paper: #ffffff;
  --canvas: #f6f4f1;
  --canvas-warm: #f6f4f1;
  --brand: #981b1e;
  --brand-dark: #741215;
  --brand-soft: #f6eeee;
  --accent: #b42a2d;
  --danger: #981b1e;
  --danger-soft: #f8eaea;
  --success: #3a8b5a;
  --shadow-sm: 0 1px 2px rgba(35,31,32,.04), 0 8px 24px rgba(35,31,32,.045);
  --shadow-lg: 0 26px 70px rgba(35,31,32,.13);
  --radius: 0px;
  --radius-sm: 0px;
}

html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  color: var(--ink);
  background: var(--canvas);
  font: 14px/1.5 "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

h1, h2, h3, .logo, .brand { font-family: "Montserrat", sans-serif; }
h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1.16; letter-spacing: -.035em; }
h2 { font-size: 19px; line-height: 1.25; letter-spacing: -.018em; margin: 36px 0 14px; }
h3 { font-size: 16px; line-height: 1.35; }
.sub { color: var(--muted); margin-top: 6px; }
.empty { color: var(--muted); padding: 26px; text-align: center; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(202,213,209,.8);
  backdrop-filter: blur(16px);
}
.logo, .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.035em;
}
.logo::before, .brand-mark {
  content: "S";
  width: 31px;
  height: 31px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 9px 9px 9px 3px;
  font-size: 15px;
  font-weight: 800;
}
.logo span { color: var(--brand); margin-left: -9px; }
.tabs { display: flex; align-items: stretch; align-self: stretch; gap: 4px; }
.nav .tabs a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.nav .tabs a:hover { color: var(--ink); }
.nav .tabs a.active { color: var(--brand); }
.nav .tabs a.active::after {
  content: "";
  position: absolute;
  inset: auto 12px -1px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--brand);
}

.container { width: min(1180px, calc(100% - 40px)); margin: 38px auto 72px; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.eyebrow { color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* Cards and controls */
.panel, .card, .profile-list, .booking-row {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.panel { padding: 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 16px; }
.card {
  --event-color: var(--brand);
  position: relative;
  min-height: 166px;
  padding: 20px 20px 16px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--event-color); }
.card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 10px 30px rgba(23,33,31,.08); }
.card.inactive { opacity: .58; filter: saturate(.65); }
.card h3 { padding-right: 12px; }
.card .meta { margin-top: 6px; color: var(--muted); font-size: 13px; }
.card .actions { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.card .actions form { margin-left: auto; }
.dot { display: inline-block; width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; }

.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 17px;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { color: #fff; background: var(--brand-dark); border-color: var(--brand-dark); }
.btn:active { transform: translateY(1px); }
.btn.ghost { color: var(--ink-soft); background: #fff; border-color: var(--line-strong); }
.btn.ghost:hover { color: var(--danger); background: var(--danger-soft); border-color: #edc5c1; }
.btn.small { min-height: 31px; padding: 5px 10px; font-size: 12px; }
.btn-block { width: 100%; }

input, select, textarea {
  width: 100%;
  min-height: 42px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  outline: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(23,107,91,.13); }
input[type="checkbox"], input[type="radio"] { width: 17px; min-height: 17px; accent-color: var(--brand); }
input[type="color"] { padding: 4px; }
label { display: block; margin-bottom: 6px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.field { margin-bottom: 16px; }
.row { display: flex; gap: 14px; }
.row > * { flex: 1 1 0; }
.form-error { margin: 10px 0; color: var(--danger); font-size: 13px; }

/* Dashboard */
.hero-strip {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background: #173f37;
  color: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.hero-strip::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -180px;
  background: radial-gradient(circle, rgba(241,163,79,.45), rgba(241,163,79,0) 68%);
}
.hero-strip h1 { max-width: 620px; color: #fff; }
.hero-strip .sub { max-width: 650px; color: #c6d8d3; }
.stats { display: flex; gap: 28px; margin-top: 24px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: "Montserrat", sans-serif; font-size: 24px; line-height: 1; }
.stat span { margin-top: 5px; color: #b9cfca; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.team-bar { display: flex; gap: 8px; padding: 4px 0 2px; overflow-x: auto; scrollbar-width: thin; }
.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(23,33,31,.03);
}
.chip:hover { color: var(--brand); border-color: #a8c9c0; }
.chip.on { color: #fff; background: var(--brand); border-color: var(--brand); }
.chip .count { min-width: 20px; padding: 1px 5px; border-radius: 99px; background: rgba(23,33,31,.08); text-align: center; font-size: 10px; }
.chip.on .count { background: rgba(255,255,255,.18); }
.pagelink { margin-left: 8px; font: 600 12px "Montserrat", sans-serif; }
.tzlabel, .hostname, .off { color: var(--muted); font-weight: 500; }
.banner { margin: 16px 0; padding: 13px 15px; background: var(--brand-soft); border: 1px solid #c3ded6; border-radius: 11px; color: #24584d; }
.banner.warn { color: #7e561f; background: #fff5e6; border-color: #efd4ad; }
.status-line { display: flex; align-items: center; gap: 8px; margin: 14px 0 4px; color: var(--muted); font-size: 12px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 99px; background: var(--brand-soft); color: var(--success); font-weight: 700; }
.status-pill.warn { background: #fff0dc; color: #8d5e20; }

.avail-row { min-height: 54px; display: grid; grid-template-columns: 24px 52px 132px 18px 132px 1fr; align-items: center; gap: 10px; border-bottom: 1px solid #edf1ef; }
.avail-row:last-child { border-bottom: 0; }
.avail-row .day { font-weight: 700; }
.avail-row input[type="time"] { min-height: 37px; }
.question-editor { margin-bottom: 16px; padding: 16px 16px 2px; background: #f8faf9; border: 1px solid var(--line); border-radius: 11px; }
.question-editor input[type="checkbox"] { display: inline-block; margin-right: 5px; vertical-align: -3px; }

.booking-row { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; padding: 15px 17px; }
.booking-row .when { width: 225px; color: var(--ink-soft); font-weight: 700; }
.booking-row .who { flex: 1; }
.booking-row .email { margin-top: 3px; color: var(--muted); font-size: 12px; }

/* Public profile */
.profile-shell { width: min(680px, calc(100% - 32px)); margin: 64px auto; }
.profile-head { margin-bottom: 24px; text-align: center; }
.profile-head .avatar, .host-avatar {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), #258f78);
  border-radius: 22px 22px 22px 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 27px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(23,107,91,.18);
}
.profile-head h1 { font-size: 28px; }
.profile-list { overflow: hidden; }
.profile-event { display: flex; align-items: center; gap: 13px; padding: 18px 20px; color: var(--ink); border-bottom: 1px solid var(--line); font-weight: 700; transition: background .15s; }
.profile-event:last-child { border-bottom: 0; }
.profile-event:hover { color: var(--brand); background: #f7fbfa; }
.profile-event .ev-meta { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 600; }
.profile-event .arrow { color: #98a6a2; font-size: 20px; }

/* Booking experience */
.booking-page { min-height: 100vh; padding: 28px 20px 50px; background: radial-gradient(circle at 15% 5%, #e6f1ed 0, transparent 28%), var(--canvas-warm); }
.public-brand { width: min(1080px, 100%); margin: 0 auto 22px; }
.book-shell {
  width: min(1080px, 100%);
  min-height: 610px;
  display: grid;
  grid-template-columns: 310px minmax(420px, 1fr) 230px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.book-left { padding: 34px 28px; border-right: 1px solid var(--line); }
.book-left .host-avatar { width: 52px; height: 52px; margin: 0 0 24px; border-radius: 16px 16px 16px 6px; font-size: 19px; }
.book-left .host { margin-bottom: 5px; color: var(--muted); font-size: 12px; font-weight: 700; }
.book-left h1 { margin-bottom: 21px; font-size: 25px; }
.book-left .detail { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.detail-icon { width: 18px; color: var(--brand); text-align: center; }
.book-left .desc { margin-top: 22px; color: var(--muted); font-size: 13px; line-height: 1.65; white-space: pre-line; }
.book-main { padding: 34px 36px; min-width: 0; }
.book-main h2 { margin: 0 0 24px; font-size: 20px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head .month { font-family: "Montserrat", sans-serif; font-weight: 700; }
.cal-head button { width: 36px; height: 36px; color: var(--brand); background: transparent; border: 1px solid transparent; border-radius: 50%; font-size: 22px; cursor: pointer; }
.cal-head button:hover { background: var(--brand-soft); }
.cal-head button:disabled { color: #cbd3d0; cursor: default; background: none; }
.cal { min-height: 350px; display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: minmax(38px, 1fr); gap: 4px; }
.cal .dow { display: grid; place-items: center; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.cal .day { aspect-ratio: 1; max-width: 46px; width: 100%; place-self: center; color: #b1bbb7; background: none; border: 0; border-radius: 50%; font-weight: 700; cursor: default; }
.cal .day.open { color: var(--brand); background: var(--brand-soft); cursor: pointer; }
.cal .day.open:hover { outline: 2px solid #acd0c6; }
.cal .day.selected { color: #fff; background: var(--brand); outline: none; }
.tz { display: flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--muted); font-size: 12px; }
.tz select { min-height: 34px; max-width: 240px; padding: 5px 28px 5px 9px; font-size: 12px; }
.slots { padding: 34px 18px; overflow-y: auto; border-left: 1px solid var(--line); }
.slots h3 { margin-bottom: 15px; font-size: 13px; }
.slot-btn { width: 100%; min-height: 44px; margin-bottom: 9px; color: var(--brand); background: #fff; border: 1px solid #9dc6bb; border-radius: 9px; font-weight: 800; cursor: pointer; }
.slot-btn:hover { background: var(--brand-soft); border-color: var(--brand); }
.slot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 9px; }
.slot-pair .time-label, .slot-pair .confirm button { min-height: 44px; display: grid; place-items: center; border-radius: 9px; font-weight: 800; }
.slot-pair .time-label { color: #fff; background: var(--ink-soft); }
.slot-pair .confirm button { width: 100%; color: #fff; background: var(--brand); border: 0; cursor: pointer; }
.details-form { max-width: 520px; }
.back-link { display: inline-flex; align-items: center; margin-bottom: 23px; color: var(--brand); background: 0; border: 0; font-weight: 700; cursor: pointer; }
.picked-card { margin: -10px 0 22px; padding: 12px 14px; color: var(--ink-soft); background: var(--brand-soft); border-radius: 9px; font-size: 13px; font-weight: 600; }

/* Confirmation */
.confirm-page { min-height: 100vh; display: grid; place-items: center; padding: 30px 18px; background: radial-gradient(circle at 50% 0, #e2f0eb, transparent 40%), var(--canvas-warm); }
.confirm-shell { width: min(560px, 100%); padding: 38px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); text-align: center; }
.confirm-shell .check { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 16px; color: #fff; background: var(--success); border-radius: 50%; font-size: 26px; }
.confirm-shell h1 { font-size: 28px; }
.confirm-shell .sub { margin-bottom: 24px; }
.confirm-card { padding: 20px; background: #fbfcfb; border: 1px solid var(--line); border-radius: 12px; text-align: left; }
.confirm-card .line { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 10px; color: var(--muted); }
.confirm-card .line:first-child { color: var(--ink); font-weight: 800; }

/* Authentication */
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 22px; background: radial-gradient(circle at 20% 10%, #dcece7, transparent 32%), #f7f5ef; }
.auth-card { width: min(420px, 100%); padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); }
.auth-copy { margin: 34px 0 24px; }
.auth-copy h1 { margin-top: 7px; }
.auth-copy p, .auth-note { color: var(--muted); }
.auth-note { margin-top: 20px; font-size: 11px; text-align: center; }
.auth-note code { color: var(--ink-soft); }

@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav .tabs a { padding: 0 7px; font-size: 12px; }
  .book-shell { grid-template-columns: 265px minmax(390px, 1fr); }
  .slots { grid-column: 2; border-left: 0; border-top: 1px solid var(--line); max-height: 280px; }
}

@media (max-width: 700px) {
  .nav { position: static; align-items: flex-start; flex-direction: column; padding: 15px 18px 0; gap: 8px; }
  .tabs { width: 100%; min-height: 44px; overflow-x: auto; }
  .nav .tabs a { white-space: nowrap; }
  .container { width: min(100% - 28px, 1180px); margin-top: 24px; }
  .hero-strip { padding: 24px 20px; }
  .stats { gap: 18px; }
  .row { flex-direction: column; gap: 0; }
  .booking-row { align-items: flex-start; flex-wrap: wrap; }
  .booking-row .when { width: calc(100% - 30px); }
  .booking-row form { margin-left: 26px; }
  .avail-row { grid-template-columns: 22px 40px 1fr 12px 1fr; }
  .avail-row .off { display: none; }
  .booking-page { padding: 14px 10px 30px; }
  .public-brand { margin: 0 6px 14px; }
  .book-shell { display: block; min-height: 0; border-radius: 15px; }
  .book-left { padding: 24px 21px; border-right: 0; border-bottom: 1px solid var(--line); }
  .book-left .host-avatar { margin-bottom: 16px; }
  .book-main { padding: 24px 18px; }
  .cal { min-height: 330px; }
  .slots { padding: 22px 18px; border-top: 1px solid var(--line); max-height: none; }
  .confirm-shell { padding: 30px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* DCH Agent Hub visual system */
body {
  background:
    linear-gradient(90deg, rgba(152,27,30,.035) 1px, transparent 1px) 0 0/72px 72px,
    linear-gradient(rgba(152,27,30,.035) 1px, transparent 1px) 0 0/72px 72px,
    var(--canvas);
}

.nav {
  min-height: 84px;
  padding: 0 max(24px, calc((100vw - 1220px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
}
.logo {
  gap: 13px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.035em;
}
.logo::before {
  content: "DCH";
  width: 52px;
  height: 52px;
  color: #fff;
  background: var(--brand);
  border-radius: 0;
  font-size: 13px;
  letter-spacing: -.06em;
}
.logo span { color: var(--ink); margin-left: -13px; }
.tabs { gap: 0; }
.nav .tabs a {
  padding: 0 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nav .tabs a.active { color: var(--brand); }
.nav .tabs a.active::after {
  inset: auto 14px -1px;
  height: 3px;
  border-radius: 0;
}
.hub-back {
  margin-left: 10px;
  padding: 10px 13px !important;
  border: 1px solid var(--line);
  color: var(--ink) !important;
  background: #fff;
}
.hub-back:hover { border-color: var(--brand) !important; color: var(--brand) !important; }
.hub-back::after { display: none !important; }

.container { width: min(1220px, calc(100% - 48px)); margin: 54px auto 80px; }
.page-head { border-bottom: 1px solid var(--line-strong); padding-bottom: 15px; }
.eyebrow {
  color: var(--brand);
  font-size: 10px;
  letter-spacing: .15em;
}
h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1; letter-spacing: -.05em; font-weight: 800; }
h2 { color: var(--ink); font-size: 16px; letter-spacing: -.02em; }
h3 { letter-spacing: -.02em; }
.sub { color: var(--muted); line-height: 1.7; }

.hero-strip {
  padding: 42px 44px;
  overflow: visible;
  background: var(--ink);
  border: 0;
  border-radius: 0;
  box-shadow: 14px 14px 0 var(--brand);
}
.hero-strip::after {
  width: 180px;
  height: 180px;
  right: 24px;
  top: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,.06), transparent);
  border: 1px solid rgba(255,255,255,.08);
}
.hero-strip .eyebrow { color: #fff !important; opacity: .68; }
.hero-strip h1 { margin-top: 14px; max-width: 680px; }
.hero-strip .sub { color: rgba(255,255,255,.64); }
.stats { gap: 0; margin-top: 32px; border-top: 1px solid rgba(255,255,255,.15); }
.stat { min-width: 145px; padding: 20px 28px 0 0; }
.stat strong { font-size: 26px; }
.stat span { color: rgba(255,255,255,.52); font-size: 9px; font-weight: 700; }

.panel, .card, .profile-list, .booking-row {
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}
.panel { padding: 26px; }
.grid { gap: 18px; }
.card { min-height: 190px; padding: 24px 24px 18px; }
.card::before { width: 5px; }
.card:hover { transform: translateY(-4px); border-color: rgba(152,27,30,.42); box-shadow: 0 18px 40px rgba(35,31,32,.09); }
.card .actions { border-color: var(--line); font-size: 11px; }

.btn {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 0;
  font-size: 11px;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.btn:hover { transform: translateY(-2px); }
.btn.ghost { color: var(--ink); background: #fff; border-color: var(--line-strong); }
.btn.ghost:hover { color: var(--brand); background: var(--brand-soft); border-color: var(--brand); }
.btn.small { min-height: 34px; font-size: 9px; }

input, select, textarea {
  min-height: 44px;
  border-radius: 0;
  border-color: var(--line-strong);
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(152,27,30,.11); }
label { color: var(--ink-soft); font-size: 10px; letter-spacing: .045em; text-transform: uppercase; }
.question-editor { border-radius: 0; background: var(--canvas); }
.chip { border-radius: 0; box-shadow: none; }
.chip:hover { color: var(--brand); border-color: rgba(152,27,30,.5); }
.chip.on { background: var(--ink); border-color: var(--ink); }
.banner, .banner.warn, .status-pill, .status-pill.warn { border-radius: 0; }

.profile-shell { width: min(720px, calc(100% - 32px)); margin: 72px auto; }
.profile-head { margin-bottom: 30px; }
.profile-head::before {
  content: "DAN CHIN HOMES · SCHEDLY";
  display: block;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}
.profile-head .avatar, .host-avatar {
  border-radius: 0;
  background: var(--brand);
  box-shadow: 10px 10px 0 rgba(152,27,30,.14);
}
.profile-list { background: #fff; }
.profile-event { padding: 22px 24px; }
.profile-event:hover { color: var(--brand); background: var(--brand-soft); }

.booking-page {
  padding: 30px 20px 56px;
  background:
    linear-gradient(90deg, rgba(152,27,30,.035) 1px, transparent 1px) 0 0/72px 72px,
    linear-gradient(rgba(152,27,30,.035) 1px, transparent 1px) 0 0/72px 72px,
    var(--canvas-warm);
}
.public-brand { margin-bottom: 24px; }
.brand { gap: 12px; color: var(--ink); font-size: 15px; letter-spacing: -.02em; }
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: var(--brand);
  font-size: 0;
}
.brand-mark::after { content: "DCH"; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: -.06em; }
.book-shell {
  border-radius: 0;
  border-color: var(--line);
  box-shadow: var(--shadow-lg), 14px 14px 0 rgba(152,27,30,.12);
}
.book-left { background: var(--ink); color: #fff; border-color: rgba(255,255,255,.12); }
.book-left .host { color: rgba(255,255,255,.55); }
.book-left .host a { color: #fff; }
.book-left h1 { color: #fff; }
.book-left .detail { color: rgba(255,255,255,.72); }
.book-left .desc { color: rgba(255,255,255,.6); }
.host-avatar { box-shadow: 8px 8px 0 rgba(255,255,255,.11); }
.cal-head button, .cal .day, .slot-btn, .slot-pair .time-label, .slot-pair .confirm button, .picked-card { border-radius: 0; }
.cal .day.open { color: var(--brand); background: var(--brand-soft); }
.cal .day.open:hover { outline-color: rgba(152,27,30,.35); }
.cal .day.selected { color: #fff; background: var(--brand); }
.slot-btn { border-color: rgba(152,27,30,.45); }
.slot-pair .time-label { background: var(--ink); }

.confirm-page, .auth-page {
  background:
    linear-gradient(90deg, rgba(152,27,30,.035) 1px, transparent 1px) 0 0/72px 72px,
    linear-gradient(rgba(152,27,30,.035) 1px, transparent 1px) 0 0/72px 72px,
    var(--canvas);
}
.confirm-shell, .auth-card { border-radius: 0; box-shadow: var(--shadow-lg), 12px 12px 0 rgba(152,27,30,.12); }
.confirm-shell .check { border-radius: 0; background: var(--brand); }
.confirm-card { border-radius: 0; background: var(--canvas); }

@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav .tabs a { padding: 0 8px; font-size: 9px; }
}

@media (max-width: 700px) {
  .nav { min-height: 0; padding: 14px 16px 0; }
  .logo::before { width: 44px; height: 44px; }
  .tabs { min-height: 48px; }
  .hub-back { margin-left: 0; }
  .container { width: min(100% - 28px, 1220px); margin-top: 34px; }
  .hero-strip { padding: 30px 22px; box-shadow: 8px 8px 0 var(--brand); }
  .stats { flex-wrap: wrap; }
  .stat { min-width: 50%; padding-right: 12px; }
  .book-shell { box-shadow: 8px 8px 0 rgba(152,27,30,.12); }
  .book-left { border-bottom-color: rgba(255,255,255,.14); }
}
