:root {
  --green: #173b2c;
  --green-deep: #102e22;
  --gold: #c6a65b;
  --gold-light: #e6d3a0;
  --ink: #1d2722;
  --muted: #748078;
  --line: #e4e9e4;
  --paper: #fff;
  --soft: #f5f7f4;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
svg { width: 18px; height: 18px; stroke-width: 1.7; flex: none; }
.topbar { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 6%; border-bottom: 1px solid var(--line); background: white; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 11px; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.brand strong { font-weight: 700; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; background: var(--green); color: var(--gold-light); }
.brand-mark svg { width: 23px; height: 23px; }
.header-link { display: inline-flex; align-items: center; gap: 8px; color: #536159; font-size: 12px; font-weight: 600; }
.header-link:hover, .text-link:hover { color: #9c7c34; }
.header-link svg { width: 15px; height: 15px; }
.booking-layout { display: grid; grid-template-columns: minmax(350px, 43%) minmax(0, 57%); min-height: calc(100vh - 130px); }
.intro-panel { background: var(--green); color: white; display: flex; flex-direction: column; min-width: 0; }
.intro-content { padding: 76px clamp(36px, 6vw, 95px) 42px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #8c773f; font-size: 10px; font-weight: 700; line-height: 1.3; }
.eyebrow > span { width: 22px; height: 2px; background: var(--gold); display: inline-block; flex: none; }
.eyebrow.light { color: var(--gold-light); }
h1, h2, h3, p { margin: 0; }
.intro-panel h1, .booking-panel h2, .admin-main h1, .admin-section h2 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; }
.intro-panel h1 { margin-top: 40px; font-size: 52px; line-height: 1.08; }
.intro-panel h1 em { font-weight: 400; color: var(--gold-light); }
.intro-content > p { max-width: 340px; margin-top: 24px; color: #c9d6cb; font-size: 14px; line-height: 1.8; }
.intro-rule { width: 100%; height: 1px; background: #527060; margin: 38px 0 24px; }
.intro-note { display: flex; align-items: center; gap: 15px; color: var(--gold-light); }
.intro-note > svg { width: 25px; height: 25px; }
.intro-note span { font-size: 9px; line-height: 1.8; font-weight: 700; }
.intro-note strong { color: white; font-size: 13px; font-weight: 500; }
.intro-image { min-height: 180px; flex: 1; background: linear-gradient(90deg, rgba(16, 46, 34, .27), rgba(16, 46, 34, .05)), url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1200&q=80') center 49% / cover; }
.intro-bottom { padding: 18px clamp(36px, 6vw, 95px); display: flex; justify-content: space-between; gap: 15px; color: #a7baab; font-size: 9px; font-weight: 600; }
.booking-panel { display: flex; justify-content: center; align-items: flex-start; padding: 74px 8% 60px; }
.booking-inner { width: 100%; max-width: 540px; }
.section-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.step-label { color: #a1aaa2; font-size: 10px; font-weight: 700; }
.booking-panel h2 { font-size: 46px; line-height: 1.1; margin-top: 24px; }
.section-description { color: #758078; line-height: 1.7; margin-top: 12px; }
.divider { height: 1px; background: var(--line); margin: 34px 0; }
.divider.large { margin: 32px 0; }
.form-heading { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 23px; }
.form-heading .number { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #d5c59c; color: #987b36; font-size: 10px; font-weight: 700; flex: none; }
.form-heading h3 { font-size: 15px; font-weight: 700; margin: 0 0 5px; }
.form-heading p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.field-label { display: block; color: #637168; font-size: 10px; font-weight: 700; margin-bottom: 9px; }
input { width: 100%; min-width: 0; height: 48px; border: 1px solid #dce3dd; border-radius: 0; padding: 0 14px; outline: none; background: #fff; color: var(--ink); }
input:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgba(23, 59, 44, .1); }
input::placeholder { color: #a5ada6; }
.input-with-icon { position: relative; }
.input-with-icon svg { position: absolute; left: 15px; top: 15px; color: #859288; }
.input-with-icon input { padding-left: 46px; }
.slots { max-height: 260px; overflow-y: auto; padding-right: 4px; }
.slot-day { font-size: 12px; font-weight: 700; margin: 20px 0 10px; }
.slot-day:first-child { margin-top: 0; }
.slot-group { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.slot-option { min-height: 42px; padding: 8px; border: 1px solid #dce4dd; border-radius: 0; background: white; color: var(--green); font-size: 12px; font-weight: 600; }
.slot-option:hover { border-color: var(--green); }
.slot-option.selected { background: var(--green); border-color: var(--green); color: white; }
.empty-state { min-height: 90px; padding: 20px; background: var(--soft); color: #7b877d; display: flex; align-items: center; justify-content: center; gap: 12px; line-height: 1.6; font-size: 12px; }
.empty-state svg { color: #9b8753; }
.empty-state small { font-size: 11px; }
.button { min-height: 48px; padding: 0 18px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 12px; font-weight: 700; }
.button.primary { background: var(--green); color: white; }
.button.primary:hover:not(:disabled) { background: #285740; }
.button.primary:disabled { background: #abb9ad; }
.button.outline { background: transparent; border-color: #dce4dd; color: var(--green); }
.button.outline:hover { border-color: var(--green); }
.booking-button { width: 100%; margin-top: 20px; justify-content: space-between; padding: 0 20px; }
.privacy-note { margin-top: 19px; color: #8b978d; font-size: 11px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.privacy-note svg { width: 14px; height: 14px; }
.form-message { font-size: 12px; line-height: 1.5; }
.form-message:not(:empty) { margin-top: 12px; }
.error { color: #a53932; }
.confirmation { padding-top: 45px; }
.success-icon { display: grid; place-items: center; width: 54px; height: 54px; background: #ecf2ec; color: var(--green); margin-bottom: 32px; }
.success-icon svg { width: 26px; height: 26px; }
.confirmation-details { display: flex; gap: 16px; padding: 22px; margin: 32px 0; background: var(--soft); }
.confirmation-details > svg { color: #a48a49; }
.confirmation-details div { display: grid; gap: 7px; }
.confirmation-details span { color: #89958b; font-size: 10px; font-weight: 700; }
.confirmation-details strong { font-size: 14px; }
.confirmation-details small { color: #6f7d72; line-height: 1.4; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--green); font-size: 12px; font-weight: 700; margin-top: 24px; }
.site-footer { min-height: 50px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 6%; color: #929e94; font-size: 9px; font-weight: 700; }
.footer-dot, .gold-period { color: var(--gold); }
.admin-body { background: #f8faf8; display: flex; flex-direction: column; }
.admin-main { width: min(1200px, 88%); margin: 0 auto; flex: 1; padding: 65px 0 80px; }
.admin-main h1 { font-size: 44px; line-height: 1.1; margin-top: 16px; }
.login-view { max-width: 390px; margin: 45px auto 110px; }
.login-form { margin-top: 35px; }
.login-form input { margin-bottom: 20px; }
.login-form .button { width: 100%; justify-content: space-between; margin-top: 10px; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 40px 0 36px; border: 1px solid var(--line); background: white; }
.stats > div { padding: 23px 26px; display: grid; gap: 10px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats span { color: #859188; font-size: 10px; font-weight: 700; }
.stats strong { font-family: "DM Serif Display", Georgia, serif; font-size: 29px; font-weight: 400; color: var(--green); }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.admin-sidebar { display: grid; gap: 24px; }
.admin-section { padding: 26px; background: white; border: 1px solid var(--line); }
.admin-section-header { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.admin-section-header > svg { color: #a99764; }
.admin-section h2 { font-size: 25px; margin-top: 9px; }
.muted { color: var(--muted); font-size: 11px; margin-top: 10px; }
.admin-list { margin-top: 20px; }
.admin-slot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.slot-date { display: grid; gap: 6px; }
.slot-date strong, .candidate-row strong { font-size: 12px; }
.slot-date span, .candidate-row span { color: var(--muted); font-size: 11px; }
.slot-meta { display: flex; align-items: center; gap: 8px; }
.status { padding: 6px 8px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.status.available { background: #edf4ee; color: #3a704c; }
.status.reserved { background: #f8f2e3; color: #806b30; }
.status.past { background: #f1f2f1; color: #7b827c; }
.icon-action { width: 32px; height: 32px; padding: 6px; border: 0; background: transparent; color: #8c9990; }
.icon-action:hover { color: var(--green); background: var(--soft); }
.icon-action svg { width: 16px; height: 16px; }
.admin-form { margin-top: 22px; }
.admin-form input { margin-bottom: 16px; }
.admin-form .button { width: 100%; justify-content: space-between; margin-top: 4px; }
.candidate-form { display: flex; gap: 8px; margin-top: 22px; }
.icon-button { width: 48px; padding: 0; flex: none; }
.candidate-list { max-height: 300px; overflow-y: auto; margin-top: 14px; }
.candidate-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); }
.candidate-row > div:first-child { display: grid; gap: 4px; }
.list-empty { color: #8a968c; font-size: 12px; line-height: 1.6; padding: 22px 0; }
.notice { position: fixed; right: 24px; bottom: 24px; max-width: calc(100% - 48px); padding: 14px 20px; background: var(--green); color: white; box-shadow: 0 5px 20px #0002; font-size: 12px; z-index: 3; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 850px) {
  .booking-layout { grid-template-columns: minmax(280px, 40%) minmax(0, 60%); }
  .intro-content { padding: 55px 30px 35px; }
  .intro-panel h1 { font-size: 42px; }
  .intro-bottom { padding: 17px 30px; }
  .booking-panel { padding: 55px 8%; }
  .admin-grid { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 650px) {
  .topbar { height: 68px; padding: 0 20px; }
  .booking-layout { display: block; }
  .intro-content { padding: 38px 24px 30px; }
  .intro-panel h1 { font-size: 38px; margin-top: 23px; }
  .intro-content > p { margin-top: 15px; font-size: 13px; }
  .intro-rule, .intro-note, .intro-bottom { display: none; }
  .intro-image { min-height: 115px; max-height: 115px; }
  .booking-panel { padding: 42px 24px 54px; }
  .booking-panel h2 { font-size: 38px; }
  .divider { margin: 27px 0; }
  .site-footer { padding: 18px 24px; font-size: 8px; }
  .site-footer > span:last-child { text-align: right; }
  .admin-main { width: auto; margin: 0 20px; padding: 42px 0 60px; }
  .admin-main h1 { font-size: 37px; }
  .dashboard-heading { align-items: flex-start; }
  .dashboard-heading .button { min-height: 40px; padding: 0 10px; white-space: nowrap; }
  .stats { margin: 30px 0 24px; }
  .stats > div { padding: 16px 10px; }
  .stats span { font-size: 9px; }
  .admin-grid { display: block; }
  .admin-sidebar { margin-top: 20px; gap: 20px; }
  .admin-section { padding: 21px; }
  .admin-slot { flex-wrap: wrap; }
  .login-view { margin: 25px auto 80px; }
}
@media (max-width: 360px) {
  .brand { font-size: 10px; gap: 7px; }
  .header-link { font-size: 11px; }
  .dashboard-heading { flex-wrap: wrap; }
}