@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(assets/fonts/IBMPlexSans-Regular.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url(assets/fonts/IBMPlexSans-Medium.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url(assets/fonts/IBMPlexSans-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-display: swap; src: url(assets/fonts/IBMPlexSans-Bold.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(assets/fonts/IBMPlexMono-Medium.woff2) format("woff2"); }

.bwr-ui {
    --bg: #f1f2f7;
    --panel: #fff;
    --ink: #21272a;
    --muted: #50585e;
    --line: #dde1e6;
    --accent: #009d9a;
    --deep: #075b60;
    --accent-ink: #061f22;
    --soft: #e9fafa;
    --neutral: #edf0f3;
    --danger: #da1e28;
    --shadow: 0 8px 22px rgb(33 39 42 / .065);
    background: var(--bg);
    color: var(--ink);
    color-scheme: light;
    font: 400 15px/1.45 "IBM Plex Sans", system-ui, sans-serif;
    min-height: 100vh;
    min-height: 100dvh;
}
.bwr-ui[data-theme="dark"] {
    --bg: #121619;
    --panel: #171c1f;
    --ink: #f2f4f8;
    --muted: #b9c3ca;
    --line: #343b40;
    --accent: #009d9a;
    --deep: #59dbd9;
    --soft: #182f31;
    --neutral: #232a2e;
    --shadow: 0 8px 25px rgb(0 0 0 / .18);
    color-scheme: dark;
}
.bwr-ui *, .bwr-ui *::before, .bwr-ui *::after { box-sizing: border-box; }
.bwr-ui :is(button, input, select, textarea) { font: inherit; }
.bwr-ui :is(input, select, textarea) { accent-color: var(--accent); }
.bwr-ui :is(input,select,textarea,button,a):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bwr-ui a { color: inherit; text-decoration: none; }
.bwr-ui h1, .bwr-ui h2, .bwr-ui h3, .bwr-ui p, .bwr-ui fieldset { margin: 0; }
.bwr-ui h1, .bwr-ui h2, .bwr-ui h3 { line-height: 1.12; letter-spacing: -.027em; }
.bwr-ui h1 { font-size: clamp(26px, 2.5vw, 36px); }
.bwr-ui p { color: var(--muted); }
.bwr-ui small { color: var(--muted); }
.bwr-ui fieldset { min-width: 0; padding: 0; border: 0; }
.bwr-icon { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.bwr-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 40px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 10px;
    background: var(--panel); color: var(--ink); font-weight: 600 !important; text-align: center; cursor: pointer;
}
.bwr-btn:hover:not(:disabled) { border-color: var(--accent); }
.bwr-btn.primary, .bwr-btn.danger { color: var(--accent-ink); background: var(--accent); border-color: transparent; }
.bwr-btn.danger { background: var(--danger); color: white; }
.bwr-btn:disabled { opacity: .55; cursor: default; }
.bwr-btn[aria-pressed="true"]:not(.primary) { background: var(--soft); color: var(--deep); border-color: var(--accent); }
.bwr-text { color: var(--deep) !important; font-weight: 600 !important; border: 0; background: transparent; padding: 0; text-decoration: none; cursor: pointer; }
.bwr-text:hover { text-decoration: underline; }
.bwr-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 13px; }
.bwr-eyebrow { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .12em !important; line-height: 1.35 !important; text-transform: uppercase; }
.bwr-badge { display: inline-block; width: fit-content; padding: 2px 8px; border-radius: 99px; background: var(--neutral); color: var(--muted); font-size: 11px; font-weight: 600; }
.bwr-avatar { display: inline-grid; flex: none; place-items: center; width: 39px; height: 39px; color: #f2f4f8 !important; background: #21272a; border-radius: 50%; font-weight: 600; }
.bwr-field { display: grid; gap: 5px; min-width: 0; color: var(--ink); font-size: 13px; font-weight: 500; }
.bwr-field :is(input, select, textarea), .setup-hours input[type="time"] {
    width: 100%; min-width: 0; min-height: 41px; padding: 9px 11px; background: var(--panel);
    color: var(--ink); border: 1px solid var(--line); border-radius: 9px; font-size: 14px; font-weight: 400;
}
.bwr-field textarea { resize: vertical; }
.bwr-note { display: flex; align-items: flex-start; gap: 8px; border-radius: 9px; padding: 11px 13px; background: var(--soft); color: var(--deep); font-size: 13px; }
.bwr-note .bwr-icon { width: 17px; height: 17px; margin-top: 1px; }
.bwr-ui .success { color: #13563a; background: #ddfbe9; }
.bwr-ui .warning { color: #69500a; background: #faf2d6; }
.bwr-ui .error { color: #a2191f; background: #fff0f2; }
.bwr-ui .teal { color: var(--deep); background: var(--soft); }
.bwr-rows { margin: 0; padding: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.bwr-rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px 12px; font-size: 13px; }
.bwr-rows > div + div { border-top: 1px solid var(--neutral); }
.bwr-rows dt { color: var(--muted); flex: 0 1 auto; }
.bwr-rows dd { min-width: 0; margin: 0; color: var(--ink); text-align: end; font-weight: 600; overflow-wrap: anywhere; }
.bwr-dialog { width: min(430px, calc(100% - 32px)); max-height: calc(100% - 34px); padding: 22px; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); overscroll-behavior: contain; }
.bwr-dialog::backdrop { background: rgb(18 22 25 / .46); }
.bwr-dialog h2, .bwr-dialog p, .bwr-dialog label { margin-bottom: 12px; }
.bwr-dialog form { text-align: right; }
.bwr-dialog form label { text-align: left; }

.bwr-owner { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
.owner-sidebar { position: sticky; top: 0; height: 100dvh; overflow-y: auto; display: flex; flex-direction: column; background: var(--panel); border-right: 1px solid var(--line); padding: 23px 15px 14px; }
.owner-brand { margin: 0 10px 24px; }
.owner-brand img { width: 153px; max-width: 100%; display: block; }
.owner-sidebar nav { display: grid; gap: 3px; }
.owner-sidebar nav > span { margin: 11px 10px 7px; }
.owner-sidebar nav > span:not(:first-child) { margin-top: 21px; }
.owner-sidebar nav a { position: relative; display: flex; align-items: center; gap: 11px; min-height: 39px; padding: 6px 11px; border-radius: 10px; font-size: 14px; }
.owner-sidebar nav a:hover, .owner-sidebar nav a.active { background: var(--bg); }
.owner-sidebar nav a.active { font-weight: 600; }
.owner-sidebar nav a.active::before { content: ""; position: absolute; left: -15px; height: 22px; width: 3px; border-radius: 0 2px 2px 0; background: var(--accent); }
.owner-sidebar nav a.active .bwr-icon { color: var(--deep); }
.owner-sidebar nav a small { margin-left: auto; padding: 1px 7px; border-radius: 14px; background: var(--neutral); }
.owner-sidebar-end { margin-top: auto; padding-top: 28px; }
.owner-plan { background: var(--bg); padding: 13px; border: 1px solid var(--line); border-radius: 13px; }
.owner-plan span { background: var(--soft); color: var(--deep); padding: 2px 6px; margin-left: 5px; font-size: 11px; font-weight: 600; border-radius: 7px; }
.owner-plan p { margin: 4px 0 8px; font-size: 12px; line-height: 1.3; }
.owner-plan .bwr-btn { width: 100%; min-height: 31px; padding: 4px; font-size: 12px; }
.owner-profile { margin-top: 16px; border-top: 1px solid var(--line); padding: 14px 5px 1px; display: flex; align-items: center; gap: 9px; font-size: 13px; }
.owner-profile small { display: block; }
.owner-utility { padding: 15px 32px 2px; display: flex; justify-content: space-between; gap: 8px; }
.owner-utility form, .owner-utility > div { display: flex; align-items: center; gap: 8px; }
.owner-utility form { background: var(--panel); border: 1px solid var(--line); border-radius: 11px; padding: 6px 10px; width: min(330px, 100%); }
.owner-utility form input { width: 100%; min-width: 0; border: 0; padding: 0; background: transparent; color: var(--ink); font-size: 13px; }
.owner-utility form kbd { padding: 1px 5px; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; font-size: 10px; }
.owner-utility .bwr-icon { width: 17px; height: 17px; }
.owner-zone { border-radius: 24px; color: var(--muted); background: var(--neutral); padding: 7px 10px; font-size: 12px; white-space: nowrap; }
.owner-icon { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); }
.owner-main { padding: 22px 32px 40px; min-width: 0; }
.owner-bottom { display: none; }
.owner-settings { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px; margin-top: 20px; }
.owner-settings a { display: flex; align-items: center; justify-content: space-between; padding: 15px; }
.owner-settings a:hover { border-color: var(--accent); }

@media (max-width: 1100px) {
    .bwr-owner { grid-template-columns: 205px minmax(0, 1fr); }
    .owner-main, .owner-utility { padding-inline: 22px; }
}
@media (max-width: 760px) {
    .bwr-owner { display: block; }
    .owner-sidebar, .owner-utility { display: none; }
    .owner-main { padding: 18px 16px calc(84px + env(safe-area-inset-bottom)); }
    .owner-bottom { position: fixed; z-index: 15; inset: auto 0 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); background: var(--panel); border-top: 1px solid var(--line); padding: 4px 5px calc(7px + env(safe-area-inset-bottom)); }
    .owner-bottom a { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 45px; font-size: 11px; }
    .owner-bottom .active { color: var(--deep); font-weight: 600; }
}
.booking-shell { width: min(100%, 460px); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; margin: 0 auto; }
.booking-top { position: relative; min-height: 56px; padding: 16px 46px; display: grid; place-items: center; font-size: 14px; }
.booking-back { position: absolute; inset: 10px auto auto 16px; padding: 0; min-width: 35px; min-height: 35px; }
.booking-back .bwr-icon { width: 16px; height: 16px; }
.booking-progress { display: flex; gap: 4px; margin: 0 16px 12px; }
.booking-progress span { height: 4px; flex: 1; border-radius: 4px; background: var(--neutral); }
.booking-progress .complete { background: var(--accent); }
.booking-body { padding: 4px 16px 22px; display: grid; align-content: start; gap: 12px; min-width: 0; }
.booking-body h1 { margin-top: 2px; }
.booking-body h1 + p, .booking-body h2 + p { margin-top: -7px; }
.booking-body .bwr-eyebrow { margin: 6px 0 0; }
.booking-body legend { margin: 0 0 7px !important; }
.booking-body fieldset > p { margin-bottom: 7px; font-size: 13px; }
.booking-shell > .bwr-note { margin: 0 16px 10px; }
.booking-flow { display: flex; flex-direction: column; flex: 1; }
.booking-centered { text-align: center; }
.booking-small { font-size: 12px; }
.booking-profile { padding: 17px 0 9px; }
.booking-profile h1 { margin: 10px 0; }
.booking-profile .bwr-avatar { width: 69px; height: 69px; font-size: 20px; }
.booking-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 11px; }
.booking-chips span { background: var(--neutral); border-radius: 20px; padding: 3px 9px; font-size: 12px; }
.service-choice { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 13px; min-width: 0; }
.service-choice small:not(.bwr-badge) { display: block; font-weight: 400; font-size: 12px; }
.service-choice > .bwr-btn { flex: none; font-size: 13px; min-height: 37px; }
.booking-choice {
    width: 100%; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 11px 13px; min-height: 51px;
    border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--panel); text-align: left; cursor: pointer;
}
.booking-choice:has(+ .booking-choice), .booking-choice:has(+ .setup-location-fields) { margin-bottom: 9px; }
.booking-choice[data-selected="True"], .booking-choice[data-selected="true"], .booking-choice:has(input:checked) { background: var(--soft); border-color: var(--accent); }
.booking-choice span:not(.bwr-avatar) { flex: 1; min-width: 0; }
.booking-choice small { display: block; }
.booking-choice input, .booking-check input { width: 18px; height: 18px; margin: 0; flex: none; }
.booking-choice .bwr-avatar { width: 26px; height: 26px; font-size: 12px; }
.booking-pair, .booking-trio { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.booking-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.booking-check { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.booking-policy { display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 13px; }
.booking-policy.alt { background: var(--panel); }
.booking-policy p { font-size: 12px; }
.booking-actions {
    position: sticky; bottom: 0; z-index: 3; margin-top: auto; display: grid; gap: 8px;
    padding: 11px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--panel); border-top: 1px solid var(--line); text-align: center;
}
.booking-actions > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: var(--muted); font-size: 13px; }
.booking-actions > div strong { color: var(--ink); }
.booking-actions .bwr-btn { width: 100%; min-height: 47px; }
.booking-actions > .bwr-text { min-height: 32px; }
.booking-actions .bwr-note { justify-content: center; }
.booking-action-pair { grid-template-columns: 2fr 3fr; }
.booking-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.booking-slots button { padding-inline: 3px; font-size: 13px; }
.booking-slots button:disabled { background: transparent; border-style: dashed; text-decoration: line-through; }
.booking-days { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 5px; text-align: center; }
.booking-days button { flex-direction: column; min-height: 46px; gap: 1px; padding: 4px; }
.booking-days button.primary small { color: var(--accent-ink); }
.booking-days button:disabled { background: transparent; border-color: transparent; }
.booking-month { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 7px; }
.booking-month strong { font-size: 23px; }
.booking-time-pickers { display: grid; gap: 14px; }
.booking-time-pickers .bwr-note, .booking-time-pickers .booking-slots { margin-bottom: 10px; }
.booking-time-pickers .bwr-eyebrow { margin: 11px 0; }
.booking-desktop-header, .booking-desktop-only, .booking-time-summary { display: none; }
.booking-status { padding: 25px 6px 0; display: grid; gap: 10px; justify-items: center; }
.booking-status p { margin-top: 0 !important; }
.status-icon { display: inline-grid; width: 50px; height: 50px; place-items: center; background: var(--neutral); border-radius: 15px; }
.status-icon .bwr-icon { width: 24px; height: 24px; }
.booking-empty { padding: 22px 11px; text-align: center; display: grid; gap: 6px; justify-items: center; }
.booking-manage .service-choice:first-of-type { justify-content: start; }
.reschedule-days { grid-template-columns: repeat(5, minmax(0,1fr)); }
.reschedule-days + .booking-slots { grid-template-columns: repeat(2, minmax(0,1fr)); }
.booking-email { padding: 14px; display: grid; gap: 11px; }
.booking-email h2 { font-size: 21px; }
.booking-email p { font-size: 13px; }
.booking-email-subject { font-size: 22px !important; }
.payment-shop { justify-content: start; padding: 0; }
.payment-shop .bwr-avatar { width: 29px; height: 29px; font-size: 11px; }
.booking-amount { font-size: 38px !important; }
.booking-wallet { background: #121619; color: #fff; }
.booking-powered { text-align: center; font-size: 11px !important; }
.booking-powered img { width: 90px; vertical-align: middle; }
.payment-spinner { display: block; width: 47px; height: 47px; border: 3px solid var(--neutral); border-top-color: var(--accent); border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) { .payment-spinner { animation: bwr-spin 1.2s linear infinite; } }
@keyframes bwr-spin { to { transform: rotate(1turn); } }
.staff-count { justify-self: end; }
.staff-visit { display: grid; grid-template-columns: 55px minmax(0,1fr); gap: 11px; width: 100%; padding: 9px 12px; border-left: 3px solid var(--accent); color: var(--ink); text-align: left; cursor: pointer; }
.staff-visit.unassigned { border-left-color: var(--line); }
.staff-visit small { display: block; }

@media (min-width: 860px) {
    .booking-preview:not(.booking-wide) { padding-block: 20px; }
    .booking-preview:not(.booking-wide) .booking-shell { min-height: calc(100dvh - 40px); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
    .booking-preview:not(.booking-wide) .booking-actions { border-radius: 0 0 16px 16px; }
    .booking-wide .booking-shell { width: min(calc(100% - 48px), 1120px); min-height: 0; padding-top: 38px; }
    .booking-wide :is(.booking-top,.booking-progress,.booking-time-mobile,.booking-phone-only) { display: none; }
    .booking-wide .booking-desktop-only { display: revert; }
    .booking-wide .booking-days.booking-desktop-only { display: grid; }
    .booking-desktop-header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; background: var(--panel); border-bottom: 1px solid var(--line); padding: 14px max(24px, calc((100% - 1120px) / 2)); }
    .booking-desktop-header > div { display: flex; gap: 12px; align-items: center; }
    .booking-desktop-header small { display: block; }
    .booking-time-layout { display: grid; grid-template-columns: 1.9fr 1fr; gap: 28px; align-items: start; }
    .booking-time-layout > * { display: grid; background: var(--panel); border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 26px; }
    .booking-time-pickers { grid-template-columns: 1.34fr 1fr; gap: 30px; margin-top: 12px; }
    .booking-time-main .booking-month strong { font-size: 16px; }
    .booking-time-main .booking-month button { min-height: 32px; padding: 4px; }
    .booking-time-main .booking-days button { min-height: 37px; border: 0; border-radius: 50%; }
    .booking-time-main .booking-slots { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .booking-time-main .time-day { margin: 5px 0 14px; font-size: 16px; }
    .booking-time-summary .bwr-rows { border: 0; border-radius: 0; }
    .booking-time-summary .bwr-rows > div { padding-inline: 0; }
    .booking-time-summary .bwr-btn { min-height: 47px; }
    .booking-time-summary .booking-policy { background: var(--bg); }
    .booking-time-summary h3 { font-size: 19px; }
    .booking-wide .booking-powered { margin: 54px 0 36px; }
}

.bwr-auth { display: grid; grid-template-columns: 1fr 1fr; }
.auth-left { position: relative; min-height: 100dvh; padding: 45px max(5vw, 24px); display: grid; grid-template-rows: auto 1fr auto; align-items: center; }
.auth-brand img, .setup-header img { display: block; width: 174px; max-width: 100%; }
.auth-left h1 { font-size: clamp(26px, 3vw, 40px); }
.auth-form { display: grid; gap: 14px; width: min(100%, 440px); padding: 30px 0; }
.auth-form > p:first-of-type { margin-top: -8px; }
.auth-form > .bwr-btn { min-height: 48px; }
.auth-divider { display: flex; gap: 13px; align-items: center; color: var(--muted); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.auth-form .auth-code { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; }
.auth-code input { min-width: 0; text-align: center; min-height: 58px; border-radius: 11px; background: var(--panel); border: 1px solid var(--line); font-size: 24px; font-weight: 700; }
.auth-right { display: grid; align-items: center; background: #121619; color: #f2f4f8; padding: 40px 9%; }
.auth-right h2 { font-size: clamp(29px, 3.4vw, 48px); }
.auth-right span { color: #3ddbd9; }
.auth-right ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 11px; color: #c1c7cd; }
.auth-right li::before { content: "✓"; margin-right: 11px; color: #3ddbd9; }
.auth-foot { font-size: 12px; }

.setup-header { padding: 13px 3.4%; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--panel); }
.setup-header img { width: 167px; }
.setup-header ol, .booking-desktop-header ol { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: clamp(8px,2vw,34px); }
.setup-header li, .booking-desktop-header li { display: flex; gap: 6px; align-items: center; white-space: nowrap; font-size: 13px; font-weight: 500; }
.setup-header li span, .booking-desktop-header li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); }
.setup-header li.complete span, .booking-desktop-header li.complete span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.setup-header li.current span, .booking-desktop-header li.current span { border: 2px solid var(--accent); color: var(--deep); font-weight: 700; }
.setup-meter { height: 4px; background: linear-gradient(to right,var(--accent) var(--progress),var(--line) var(--progress)); }
.setup-layout { display: grid; grid-template-columns: minmax(0,1.85fr) minmax(0,1fr); gap: clamp(24px,4vw,50px); padding: 48px 22px; max-width: 1292px; margin: 0 auto; }
.setup-form { display: grid; gap: 14px; align-content: start; min-width: 0; }
.setup-form > .bwr-eyebrow { color: var(--deep); }
.setup-form > h1 + p { margin-top: -8px; }
.setup-form > p + :is(fieldset,label,.booking-pair) { margin-top: 6px; }
.setup-form .booking-pair { gap: 12px; }
.setup-location-fields { display: grid; gap: 10px; padding-left: clamp(12px,3vw,46px); margin-bottom: 12px; }
.setup-location-fields .private-address { background: var(--soft); border-color: transparent; }
.setup-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 12px; }
.setup-actions .primary { min-height: 46px; }
.setup-preview { min-width: 0; display: grid; gap: 12px; align-content: start; }
.setup-preview > p:not(.bwr-eyebrow) { font-size: 13px; }
.setup-preview-card { display: grid; gap: 11px; padding: 18px; box-shadow: var(--shadow); }
.setup-preview-card > .service-choice { padding: 0; justify-content: start; }
.setup-preview-card .booking-policy { background: var(--bg); }
.setup-preview-card .booking-policy.alt { background: var(--panel); }
.setup-phone { background: var(--bg); border: 5px solid #14191c; border-radius: 34px; padding: 18px; box-shadow: 0 18px 38px rgb(20 25 28 / .15); }
.policy-phone { display: grid; gap: 12px; max-width: 380px; }
.policy-phone .booking-top { min-height: 38px; padding: 5px; }
.policy-phone .booking-progress { margin: 0; }
.policy-phone .bwr-btn { margin-top: 26px; }
.setup-original .setup-layout { max-width: 1360px; grid-template-columns: 1fr 2fr 1.18fr; }
.setup-original-nav ol { padding-left: 19px; }
.setup-original-nav li { padding: 8px 0; font-weight: 600; }
.setup-original-nav small { display: block; font-weight: 400; }
.setup-original .setup-form { padding: 24px; box-shadow: var(--shadow); }
.setup-original .setup-preview-card > .service-choice:first-child { flex-direction: column; text-align: center; }
.setup-original .setup-preview-card > .service-choice.bwr-panel { justify-content: space-between; padding: 8px; }
.setup-add { display: grid; grid-template-columns: repeat(auto-fit,minmax(95px,1fr)); gap: 8px; align-items: end; border: 1px dashed var(--line); border-radius: 10px; padding: 10px; }
.setup-quick { display: flex; flex-wrap: wrap; gap: 7px; }
.setup-quick > .bwr-btn { min-height: 31px; background: var(--neutral); padding: 4px 9px; font-size: 12px; border: 0; }
.setup-hours { display: grid; gap: 6px; }
.setup-hours > div { display: grid; grid-template-columns: minmax(78px,1fr) minmax(90px,1fr) auto minmax(90px,1fr); gap: 6px; align-items: center; padding: 7px; }
.setup-checks { display: grid; gap: 8px; }
.setup-checks > div { padding: 10px; }
.setup-templates { flex-wrap: wrap; }

@media (max-width: 850px) {
    .setup-header ol { display: none; }
    .setup-layout, .setup-original .setup-layout { grid-template-columns: minmax(0,1fr); gap: 28px; padding: 24px 16px; }
    .setup-original-nav { display: none; }
    .setup-preview { max-width: 460px; width: 100%; }
}
@media (max-width: 680px) {
    .bwr-auth { display: block; }
    .auth-right { display: none; }
    .auth-left { padding: 24px 20px; }
}
.bwr-review { padding: 34px max(16px,calc((100vw - 1180px) / 2)) 44px; }
.bwr-review header { display: grid; gap: 12px; }
.bwr-review header img { display: block; width: 180px; }
.bwr-review nav, .review-grid article > div { display: flex; flex-wrap: wrap; gap: 7px; }
.bwr-review section { margin-top: 28px; }
.bwr-review h2 { margin-bottom: 6px; }
.bwr-review section > p { margin-bottom: 10px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)); gap: 10px; }
.review-grid article { min-width: 0; display: grid; align-content: start; gap: 10px; padding: 12px; }
.review-grid article code { font: 500 12px/1.4 "IBM Plex Mono", monospace; overflow-wrap: anywhere; }
.review-grid article a { min-height: 34px; padding: 5px 9px; font-size: 13px; }
.review-grid article p { font-size: 13px; }
.review-details { margin-top: 10px; padding: 12px; }
.review-details summary { cursor: pointer; }
.review-details > div { margin-top: 10px; }
.review-decisions { padding-left: 20px; display: grid; gap: 8px; }
.bwr-review section > p a { color: var(--deep); text-decoration: underline; }
.booking-body:has(.reschedule-days) .booking-slots, .booking-exception .booking-slots { grid-template-columns: repeat(2,minmax(0,1fr)); }
.owner-booking-default { margin-top: 18px; padding: 16px; display: grid; justify-items: start; gap: 9px; }
.owner-booking-default .bwr-field { width: min(100%, 320px); }

/* Match the public booking handoff to the marketing page's touch target. */
.booking-preview { --bg:#F2F4F8; --muted:#4D5358; --accent-ink:#121619; --deep:#21272A; }
.booking-preview .bwr-btn, .booking-preview .bwr-text, .booking-preview .booking-month button,
.booking-preview .booking-time-main .booking-days button, .booking-preview .service-choice > .bwr-btn {
    min-height:44px; min-width:44px;
}
.booking-preview .booking-back { top:6px; }
.booking-preview .booking-top h1 { font-size:18px; }
.booking-preview .booking-days { gap:4px; }
.booking-preview .bwr-text { text-decoration:underline; text-underline-offset:3px; }
@media (max-width:365px) {
    .booking-preview .booking-days.booking-phone-only { grid-template-columns:repeat(4,minmax(44px,1fr)); }
}
@media (min-width:860px) and (max-width:1150px) {
    .booking-preview .booking-time-pickers { grid-template-columns:1fr; }
}

.booking-desktop-header a.bwr-avatar{width:44px;height:44px}

