:root {
  --ink: #15212c;
  --muted: #66727d;
  --line: #dce5e7;
  --soft: #f4f8f7;
  --paper: #ffffff;
  --navy: #14323c;
  --teal: #16887f;
  --teal-dark: #0c6f68;
  --mint: #dff4ee;
  --coral: #e56a54;
  --danger: #b43d36;
  --shadow: 0 18px 55px rgba(20, 50, 60, .10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { color: var(--ink); background: var(--soft); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif; line-height: 1.6; }
body { margin: 0; min-height: 100vh; background: linear-gradient(180deg, #f8fbfa 0%, #eef5f3 100%); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.28; letter-spacing: -.025em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.container-narrow { width: min(520px, calc(100% - 32px)); margin-inline: auto; }
.site-header { height: 74px; display: flex; align-items: center; width: min(1180px, calc(100% - 40px)); margin: auto; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); font-weight: 750; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 11px 11px 11px 3px; color: #fff; background: var(--teal); font-family: Georgia, serif; font-size: 23px; font-style: italic; }
.site-main { min-height: calc(100vh - 138px); }
.site-footer { padding: 28px; text-align: center; color: #819094; font-size: 12px; }
.eyebrow { margin: 0 0 8px; color: var(--teal-dark); font-weight: 800; font-size: 11px; letter-spacing: .18em; }
.muted, .field-help { color: var(--muted); }

.button { display: inline-flex; min-height: 44px; padding: 10px 18px; justify-content: center; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 11px; cursor: pointer; font-weight: 720; transition: transform .15s, box-shadow .15s, background .15s; }
.button:hover { text-decoration: none; transform: translateY(-1px); }
.button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .date-button:focus-visible, .time-button:focus-visible { outline: 3px solid rgba(22, 136, 127, .2); outline-offset: 2px; }
.button:disabled { cursor: wait; opacity: .68; transform: none; }
.button-primary { color: #fff; background: var(--teal); box-shadow: 0 8px 22px rgba(22, 136, 127, .22); }
.button-primary:hover { color: #fff; background: var(--teal-dark); }
.button-secondary { color: var(--navy); border-color: var(--line); background: #fff; }
.button-ghost { color: var(--muted); border-color: transparent; background: transparent; }
.button-light { color: var(--navy); background: #fff; }
.button-danger { color: #fff; background: var(--danger); }
.button-danger-ghost { color: var(--danger); border-color: #edcbc8; background: #fff; }
.button-meet { color: #fff; background: #2875df; }
.button-small { min-height: 36px; padding: 7px 12px; border-radius: 9px; font-size: 13px; }
.button-full { width: 100%; }
.button-wide { min-width: 190px; }

.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; min-height: calc(100vh - 170px); padding-block: 60px 100px; }
.hero-copy h1 { margin-bottom: 25px; color: var(--navy); font-size: clamp(42px, 6vw, 74px); }
.hero-copy > p:not(.eyebrow) { max-width: 610px; color: var(--muted); font-size: 18px; }
.hero-actions { margin-top: 34px; }
.hero-visual { position: relative; display: grid; min-height: 460px; place-items: center; border-radius: 44% 56% 45% 55% / 54% 42% 58% 46%; background: #dcefeb; }
.hero-visual::before, .hero-visual::after { position: absolute; content: ""; border-radius: 50%; }
.hero-visual::before { width: 100px; height: 100px; top: 12%; right: 5%; background: #f2b5a7; }
.hero-visual::after { width: 38px; height: 38px; bottom: 10%; left: 7%; background: #f2cf76; }
.mini-calendar { z-index: 1; width: min(330px, 80%); padding: 30px; border: 1px solid rgba(255,255,255,.8); border-radius: 24px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); transform: rotate(-2deg); }
.mini-label { color: var(--teal); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.mini-date { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 24px; color: var(--navy); font-size: 72px; font-weight: 800; line-height: 1; }
.mini-date small { color: var(--muted); font-size: 14px; }
.mini-slots { display: grid; gap: 9px; }
.mini-slots span { padding: 10px 15px; border-radius: 9px; color: var(--teal-dark); background: var(--mint); font-weight: 700; }

.auth-wrap { display: grid; min-height: calc(100vh - 170px); padding-block: 38px; place-items: center; }
.auth-card { width: 100%; padding: 38px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.auth-card h1 { margin-bottom: 12px; color: var(--navy); font-size: 30px; }
.stack-form { display: grid; gap: 18px; margin-top: 28px; }
.stack-form label, .field { display: grid; gap: 7px; color: #34434c; font-size: 14px; font-weight: 650; }
.stack-form label b, .field b, fieldset b { color: var(--coral); font-size: 11px; }
input, textarea, select { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid #cfdadd; border-radius: 10px; color: var(--ink); background: #fff; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #9aa7ac; }
.field-error, .inline-error { margin: -10px 0 0; color: var(--danger); font-size: 12px; }

.flash-stack { display: grid; gap: 10px; margin-block: 14px; }
.flash { padding: 13px 16px; border-radius: 11px; font-size: 14px; }
.flash-success { color: #155b4d; border: 1px solid #bce3d8; background: #e8f7f2; }
.flash-error { color: #8f302b; border: 1px solid #efc4c0; background: #fff0ee; }
.notice { margin-bottom: 15px; padding: 14px 17px; border-radius: 12px; font-size: 14px; }
.notice ul { margin: 8px 0 0; padding-left: 20px; }
.notice-warning { color: #725714; border: 1px solid #ead894; background: #fff9df; }
.notice-error { color: #8f302b; border: 1px solid #efc4c0; background: #fff0ee; }

/* Admin */
.admin-body { background: #f3f6f5; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar { position: sticky; top: 0; display: flex; height: 100vh; padding: 28px 22px; flex-direction: column; background: var(--navy); }
.brand-admin { color: #fff; padding: 0 6px; }
.admin-nav { display: grid; gap: 7px; margin-top: 42px; }
.admin-nav a { padding: 11px 13px; border-radius: 9px; color: #c4d4d7; font-size: 14px; font-weight: 650; }
.admin-nav a:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.admin-logout { margin-top: auto; }
.admin-sidebar .button-ghost { color: #afc2c5; }
.admin-main { min-width: 0; padding: 36px clamp(22px, 4vw, 58px) 70px; }
.admin-topbar { display: flex; align-items: end; justify-content: space-between; margin-bottom: 26px; }
.admin-topbar h1 { margin: 0; color: var(--navy); font-size: 30px; }
.panel { margin-bottom: 22px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.panel-header { display: flex; margin-bottom: 22px; align-items: center; justify-content: space-between; gap: 20px; }
.panel-header h2 { margin: 0; color: var(--navy); font-size: 21px; }
.panel-header p:not(.eyebrow) { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 22px; }
.stat-card { display: grid; min-height: 142px; padding: 21px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.stat-card > span { color: var(--muted); font-size: 13px; }
.stat-card strong { align-self: end; color: var(--navy); font-size: 35px; line-height: 1.1; }
.stat-card .stat-word { font-size: 23px; }
.stat-card small { margin-top: 6px; overflow: hidden; color: #879499; text-overflow: ellipsis; white-space: nowrap; }
.panel-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; }
.accent-panel { color: #d5e3e4; border: 0; background: linear-gradient(145deg, #14323c, #1c5960); }
.accent-panel h2, .accent-panel .eyebrow { color: #fff; }
.accent-panel .button { margin-top: 14px; }
.setup-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.setup-list li { display: grid; grid-template-columns: 34px 1fr auto; gap: 13px; padding: 13px 0; align-items: center; border-top: 1px solid #edf1f2; }
.setup-list li > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: var(--muted); background: #edf2f1; font-size: 12px; font-weight: 800; }
.setup-list li.is-done > span { color: #fff; background: var(--teal); }
.setup-list p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.status-pill, .mini-pill { display: inline-flex; align-items: center; width: max-content; padding: 4px 9px; border-radius: 99px; color: #6e777a; background: #edf1f2; font-size: 11px; font-weight: 750; }
.status-active { color: #12695d; background: #dff4ee; }
.mini-pill { margin-left: 7px; color: #176c61; background: var(--mint); }
.connection-card { display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.connection-card p, .connection-card small { margin: 0; color: var(--muted); }
.avatar-circle { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: #fff; background: var(--teal); font-weight: 800; }
.connection-actions { display: flex; gap: 8px; }
.calendar-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td { padding: 13px 12px; border-bottom: 1px solid #e7edee; text-align: left; white-space: nowrap; }
.data-table th { color: var(--muted); font-size: 11px; letter-spacing: .05em; }
.empty-state { padding: 60px 20px; text-align: center; color: var(--muted); }
.empty-state.compact { padding-block: 30px; }
.empty-state h3 { color: var(--navy); }
.empty-icon { display: grid; width: 56px; height: 56px; margin: 0 auto 18px; place-items: center; border-radius: 17px; color: var(--teal); background: var(--mint); font-size: 30px; }
.page-list { display: grid; gap: 12px; }
.page-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 19px; border: 1px solid var(--line); border-radius: 14px; }
.page-row-title { display: flex; gap: 10px; align-items: center; }
.page-row h3 { margin: 0; color: var(--navy); font-size: 17px; }
.page-row p { margin: 5px 0 10px; color: var(--muted); font-size: 13px; }
.page-row-actions { display: flex; flex-wrap: wrap; max-width: 230px; gap: 7px; align-items: center; justify-content: flex-end; }
.url-field { display: flex; max-width: 640px; border: 1px solid #d9e2e4; border-radius: 8px; overflow: hidden; background: #f7f9f9; }
.url-field code { min-width: 0; padding: 7px 10px; flex: 1; overflow: hidden; color: #55666c; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.copy-button { padding: 4px 10px; border: 0; border-left: 1px solid #d9e2e4; color: var(--teal-dark); background: #fff; cursor: pointer; font-size: 11px; font-weight: 750; }
.link-button { padding: 5px; border: 0; color: var(--teal-dark); background: transparent; cursor: pointer; font-size: 12px; }
.danger-text { color: var(--danger); }

/* Editor */
.editor-form { display: grid; gap: 5px; }
.form-section { display: grid; grid-template-columns: 52px 1fr; gap: 16px; }
.section-number { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: var(--teal); background: var(--mint); font-size: 12px; font-weight: 850; }
.section-heading { margin-bottom: 22px; }
.section-heading h2 { margin-bottom: 5px; color: var(--navy); font-size: 21px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.form-grid { display: grid; gap: 17px; margin-bottom: 19px; }
.two-cols { grid-template-columns: repeat(2, 1fr); }
.four-cols { grid-template-columns: repeat(4, 1fr); }
.span-2 { grid-column: 1 / -1; }
.field span { display: flex; gap: 5px; align-items: baseline; }
.field small { color: var(--muted); font-weight: 400; }
.field-medium { max-width: 420px; }
.slug-input { display: flex; min-width: 0; border: 1px solid #cfdadd; border-radius: 10px; overflow: hidden; background: #f3f6f5; }
.slug-input > span { padding: 10px 0 10px 12px; color: #819095; white-space: nowrap; font-weight: 400; }
.slug-input input { min-width: 130px; border: 0; border-radius: 0; }
.weekday-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.weekday-picker label input { position: absolute; opacity: 0; pointer-events: none; }
.weekday-picker label span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #cfdadd; border-radius: 11px; color: var(--muted); background: #fff; cursor: pointer; font-weight: 700; }
.weekday-picker input:checked + span { color: #fff; border-color: var(--teal); background: var(--teal); }
.weekday-picker input:focus-visible + span { outline: 3px solid rgba(22,136,127,.2); }
.calendar-selector { margin: 0 0 20px; padding: 0; border: 0; }
.calendar-selector legend { font-size: 14px; font-weight: 700; }
.calendar-selector .field-help { margin: 3px 0 12px; font-size: 12px; }
.calendar-choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.calendar-choice { position: relative; display: block; }
.calendar-choice input { position: absolute; top: 14px; left: 13px; width: 18px; min-height: auto; accent-color: var(--teal); }
.calendar-choice > span { display: grid; min-height: 67px; padding: 11px 12px 11px 42px; border: 1px solid #d6e0e2; border-radius: 11px; cursor: pointer; }
.calendar-choice input:checked + span { border-color: var(--teal); background: #f0faf7; }
.calendar-choice small { color: var(--muted); font-weight: 400; }
.toggle-row { display: flex; gap: 13px; margin-top: 17px; align-items: flex-start; }
.toggle-row p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.switch input { position: absolute; opacity: 0; }
.switch span { position: relative; display: block; width: 44px; height: 25px; border-radius: 20px; background: #cdd7d9; cursor: pointer; transition: .2s; }
.switch span::after { position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.18); content: ""; transition: .2s; }
.switch input:checked + span { background: var(--teal); }
.switch input:checked + span::after { transform: translateX(19px); }
.editor-actions { position: sticky; bottom: 0; display: flex; padding: 15px 0; justify-content: flex-end; gap: 10px; background: linear-gradient(180deg, rgba(243,246,245,0), #f3f6f5 25%); }

/* Public booking */
.booking-container { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 680px); width: min(1080px, calc(100% - 32px)); min-height: 620px; margin: 24px auto 50px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.booking-summary-card { padding: 45px 38px; color: #dce9e8; background: linear-gradient(160deg, #14323c 0%, #145860 100%); }
.booking-summary-card .eyebrow { color: #83d9cf; }
.booking-summary-card h1 { margin: 22px 0 18px; color: #fff; font-size: 29px; }
.booking-description { color: #c9d9da; font-size: 14px; }
.booking-facts { display: grid; gap: 3px; margin: 30px 0; }
.booking-facts div { display: flex; padding: 12px 0; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.booking-facts dt { color: #a9c1c3; font-size: 12px; }
.booking-facts dd { margin: 0; color: #fff; font-size: 13px; font-weight: 650; text-align: right; }
.privacy-note { margin-top: 28px; padding: 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; color: #bcd0d2; font-size: 11px; text-align: center; }
.booking-workspace { min-width: 0; padding: 34px clamp(24px, 5vw, 56px) 48px; }
.booking-progress { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 0 48px; padding: 0; list-style: none; }
.booking-progress li { position: relative; display: grid; gap: 4px; place-items: center; color: #9ba7aa; font-size: 10px; }
.booking-progress li::before { position: absolute; z-index: 0; top: 13px; right: 50%; width: 100%; height: 1px; background: #dfe6e7; content: ""; }
.booking-progress li:first-child::before { display: none; }
.booking-progress span { z-index: 1; display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #d8e0e2; border-radius: 50%; background: #fff; font-weight: 800; }
.booking-progress .is-active { color: var(--teal-dark); }
.booking-progress .is-active span, .booking-progress .is-done span { color: #fff; border-color: var(--teal); background: var(--teal); }
.booking-progress .is-done::before, .booking-progress .is-active::before { background: var(--teal); }
.booking-step h2 { margin-bottom: 24px; color: var(--navy); font-size: 25px; outline: none; }
.booking-alert { margin-bottom: 18px; padding: 13px 15px; border: 1px solid #efc4c0; border-radius: 11px; color: #8f302b; background: #fff0ee; font-size: 13px; }
.booking-loading { display: grid; min-height: 290px; place-items: center; align-content: center; color: var(--muted); }
.spinner { width: 30px; height: 30px; border: 3px solid #dbe6e5; border-top-color: var(--teal); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.date-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-height: 390px; padding-right: 5px; gap: 10px; overflow-y: auto; }
.date-button { display: grid; min-height: 94px; padding: 13px; border: 1px solid #d8e2e3; border-radius: 12px; color: var(--ink); background: #fff; cursor: pointer; text-align: left; }
.date-button:hover, .time-button:hover { border-color: var(--teal); background: #f0faf7; }
.date-button strong { color: var(--navy); font-size: 18px; }
.date-button span, .date-button small { color: var(--muted); font-size: 11px; }
.date-button small { align-self: end; color: var(--teal-dark); font-weight: 750; }
.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.time-button { min-height: 48px; border: 1px solid #d5e0e1; border-radius: 10px; color: var(--teal-dark); background: #fff; cursor: pointer; font-weight: 750; }
.back-button { margin: 0 0 20px; padding: 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 12px; }
.selected-slot-banner { display: flex; margin-bottom: 24px; padding: 13px 15px; align-items: center; gap: 13px; border-radius: 10px; background: var(--mint); }
.selected-slot-banner span { color: var(--teal-dark); font-size: 11px; font-weight: 800; }
.selected-slot-banner strong { color: var(--navy); }
.confirm-list { margin: 0 0 20px; border-top: 1px solid var(--line); }
.confirm-list div { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 15px 3px; border-bottom: 1px solid var(--line); }
.confirm-list dt { color: var(--muted); font-size: 12px; }
.confirm-list dd { margin: 0; color: var(--navy); font-weight: 650; word-break: break-word; }
.confirmation-note { margin-bottom: 18px; padding: 13px; border-left: 3px solid var(--teal); color: var(--muted); background: #f7faf9; font-size: 13px; }
.confirm-caution { color: var(--muted); font-size: 11px; text-align: center; }
.completion-step { padding-top: 18px; text-align: center; }
.success-mark { display: grid; width: 68px; height: 68px; margin: 0 auto 18px; place-items: center; border-radius: 50%; color: #fff; background: var(--teal); font-size: 30px; font-weight: 800; }
.success-mark.small { width: 48px; height: 48px; font-size: 21px; }
.completion-details { display: grid; gap: 5px; margin: 24px 0; padding: 18px; border-radius: 12px; background: var(--soft); }
.completion-details span { color: var(--muted); font-size: 12px; }
.completion-step .button { margin-top: 10px; }
.cancel-link { display: inline-block; margin-top: 22px; color: var(--muted); font-size: 12px; text-decoration: underline; }
.empty-message { padding: 40px; color: var(--muted); text-align: center; }

.message-page { display: grid; min-height: calc(100vh - 190px); padding-block: 35px; place-items: center; }
.message-card { width: min(560px, 100%); padding: 42px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.message-card h1 { color: var(--navy); }
.message-card > p { color: var(--muted); }
.message-card code { display: block; margin: 18px; color: var(--muted); }
.status-icon { display: grid; width: 52px; height: 52px; margin: 0 auto 18px; place-items: center; border-radius: 17px; color: var(--teal); background: var(--mint); font-size: 26px; font-weight: 800; }
.cancel-summary { margin-top: 25px; text-align: left; }

@media (max-width: 980px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .panel-grid { grid-template-columns: 1fr; }
  .four-cols { grid-template-columns: repeat(2, 1fr); }
  .booking-container { grid-template-columns: 280px minmax(0, 1fr); }
  .booking-summary-card { padding-inline: 26px; }
  .date-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1120px); }
  .site-header { width: calc(100% - 28px); height: 64px; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-block: 45px; }
  .hero-copy h1 { font-size: 43px; }
  .hero-visual { min-height: 330px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; display: grid; grid-template-columns: 1fr auto; height: auto; padding: 14px 18px; align-items: center; }
  .admin-sidebar .brand span:last-child { display: none; }
  .admin-nav { display: flex; grid-column: 1 / -1; margin-top: 12px; gap: 2px; overflow-x: auto; }
  .admin-nav a { white-space: nowrap; }
  .admin-logout { position: absolute; top: 14px; right: 14px; }
  .admin-main { padding: 24px 15px 70px; }
  .admin-topbar h1 { font-size: 25px; }
  .page-row { grid-template-columns: 1fr; }
  .page-row-actions { max-width: none; justify-content: flex-start; }
  .form-section { grid-template-columns: 1fr; }
  .section-number { width: 34px; height: 34px; }
  .two-cols, .calendar-choice-grid { grid-template-columns: 1fr; }
  .booking-container { display: block; width: calc(100% - 20px); margin-top: 10px; border-radius: 18px; }
  .booking-summary-card { padding: 29px 24px; }
  .booking-summary-card h1 { margin-block: 14px 12px; font-size: 24px; }
  .booking-description { margin-bottom: 12px; }
  .booking-facts { grid-template-columns: repeat(3, 1fr); margin: 20px 0 0; gap: 5px; }
  .booking-facts div { display: block; padding: 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; }
  .booking-facts dd { text-align: left; }
  .privacy-note { display: none; }
  .booking-workspace { padding: 25px 18px 38px; }
  .booking-progress { margin-bottom: 35px; }
  .booking-progress small { display: none; }
  .date-grid { max-height: none; }
  .time-grid { grid-template-columns: repeat(3, 1fr); }
  .message-card { padding: 30px 20px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .stat-card { min-height: 120px; padding: 15px; }
  .stat-card strong { font-size: 28px; }
  .panel { padding: 19px 16px; border-radius: 14px; }
  .panel-header { align-items: flex-start; }
  .connection-card { grid-template-columns: auto 1fr; }
  .connection-actions { grid-column: 1 / -1; }
  .four-cols { grid-template-columns: 1fr 1fr; gap: 12px; }
  .editor-actions { justify-content: stretch; }
  .editor-actions .button { flex: 1; min-width: 0; }
  .slug-input { display: block; }
  .slug-input > span { display: block; padding-bottom: 0; font-size: 11px; }
  .date-grid { grid-template-columns: repeat(2, 1fr); }
  .time-grid { grid-template-columns: repeat(3, 1fr); }
  .confirm-list div { grid-template-columns: 78px 1fr; }
}

