.booking-page {
  --bk-brand-ink: #fff;
  --bk-c-f7f8f7: #f7f8f7;
  --bk-text: #1f2924;
  --bk-surface: #fff;
  --bk-c-b8c5bd: #b8c5bd;
  --bk-brand: #237e4f;
  --bk-c-e8eeea: #e8eeea;
  --bk-c-25332a: #25332a;
  --bk-c-fff0ef: #fff0ef;
  --bk-c-7d2924: #7d2924;
  --bk-c-eef2ef: #eef2ef;
  --bk-c-eaf7ef: #eaf7ef;
  --bk-c-185a34: #185a34;
  --bk-c-f0f6f2: #f0f6f2;
  --bk-c-516158: #516158;
  --bk-c-176a3f: #176a3f;
  --bk-c-edf3ef: #edf3ef;
  --bk-c-245c3e: #245c3e;
  --bk-c-5f6d64: #5f6d64;
  --bk-c-dfe8e2: #dfe8e2;
  --bk-c-f5f5f5: #f5f5f5;
  --bk-c-f7fbf8: #f7fbf8;
  --bk-c-d5e1d9: #d5e1d9;
  --bk-c-f5f8f6: #f5f8f6;
  --bk-c-f7faf8: #f7faf8;
  --bk-c-edf1ee: #edf1ee;
  --bk-c-fff8e8: #fff8e8;
  --bk-c-ead49a: #ead49a;
  --bk-c-8a5410: #8a5410;
  --bk-bg: #f4f0ea;
  --bk-c-173f35: #173f35;
  --bk-c-b9ead5: #b9ead5;
  --bk-c-d5e8df: #d5e8df;
  --bk-c-77d5aa: #77d5aa;
  --bk-c-d9e1dc: #d9e1dc;
  --bk-c-f0faf4: #f0faf4;
  --bk-muted: #52635a;
  --bk-c-65746c: #65746c;
  --bk-c-88bba2: #88bba2;
  --bk-c-eef6f1: #eef6f1;
  --bk-c-bed7c8: #bed7c8;
  --bk-c-145f3d: #145f3d;
  --bk-c-b9dfca: #b9dfca;
  --bk-c-ddd: #ddd;
  --bk-c-eee: #eee;
  --bk-c-999: #999;
  --bk-c-075ed1: #075ed1;
  --bk-c-b7d5c4: #b7d5c4;
  --bk-c-f2faf5: #f2faf5;
  --bk-c-b7c9bf: #b7c9bf;
  --bk-c-fff3c9: #fff3c9;
  --bk-c-704f00: #704f00;
  --bk-c-f5f6f5: #f5f6f5;
  --bk-c-efe6cf: #efe6cf;
  --bk-c-755717: #755717;
  --bk-c-d4e2da: #d4e2da;
  --bk-line: #d7e1db;
  --bk-c-f3eeee: #f3eeee;
  --bk-c-70433f: #70433f;
  --bk-c-fff6df: #fff6df;
  --bk-c-694d0c: #694d0c;
  --bk-c-edf6f0: #edf6f0;
  --bk-c-e3e9e5: #e3e9e5;
  --bk-c-dce8e0: #dce8e0;
  --bk-c-dff3e7: #dff3e7;
  --bk-c-e1bd64: #e1bd64;
  --bk-c-fffaf0: #fffaf0;
  --bk-c-dde6e0: #dde6e0;
  --bk-c-7fb394: #7fb394;
  --bk-c-d8aaa6: #d8aaa6;
  --bk-c-fff4f3: #fff4f3;
  --bk-c-f8fafc: #f8fafc;
  --bk-c-e5e7eb: #e5e7eb;
  --bk-c-fff7ed: #fff7ed;
  --bk-c-f59e0b: #f59e0b;
  --bk-c-ecfdf5: #ecfdf5;
  --bk-c-16a34a: #16a34a;
  --bk-c-166534: #166534;
  --bk-c-fff1f2: #fff1f2;
  --bk-c-dc2626: #dc2626;
  --bk-c-991b1b: #991b1b;
  --bk-c-fff7f7: #fff7f7;
  --bk-c-fecaca: #fecaca;
  --bk-c-edf7f1: #edf7f1;
  --bk-c-25754d: #25754d;
  --bk-c-3e6951: #3e6951;
  --bk-c-17663c: #17663c;
  --bk-c-995111: #995111;
  --bk-c-f6f8f7: #f6f8f7;
  --bk-c-edf5ef: #edf5ef;
  --bk-c-c78518: #c78518;
  --bk-c-9b2525: #9b2525;
  --bk-c-e2e7e3: #e2e7e3;
  --bk-c-134e30: #134e30;
  --bk-c-174e87: #174e87;
  --bk-c-d7dedb: #d7dedb;
  --bk-c-17603d: #17603d;
}
:root { color-scheme: light; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; padding-top: 32px; background: var(--bk-c-f7f8f7, #f7f8f7); color: var(--bk-text, #1f2924); }
main { width: min(92vw, 560px); margin: 8vh auto 32px; padding: 32px 24px; border-radius: 18px; background: var(--bk-surface, #fff); box-shadow: 0 12px 40px rgba(20, 40, 30, .08); text-align: center; }
h1 { margin: 0 0 16px; font-size: clamp(1.5rem, 6vw, 2rem); }
p { margin: 0; font-size: 1rem; line-height: 1.75; }
form { margin-top: 24px; text-align: left; }
label { display: block; margin: 14px 0; font-weight: 650; line-height: 1.5; }
input, select, textarea { width: 100%; margin-top: 6px; padding: 12px 13px; border: 1px solid var(--bk-c-b8c5bd, #b8c5bd); border-radius: 10px; background: var(--bk-surface, #fff); font: inherit; }
input:focus { outline: 3px solid rgba(35, 126, 79, .18); border-color: var(--bk-brand, #237e4f); }
button, .button { display: inline-block; width: 100%; padding: 13px 16px; border: 0; border-radius: 11px; background: var(--bk-brand, #237e4f); color: var(--bk-surface, #fff); font: inherit; font-weight: 750; text-align: center; text-decoration: none; cursor: pointer; }
button.secondary, .button.secondary { background: var(--bk-c-e8eeea, #e8eeea); color: var(--bk-c-25332a, #25332a); }
button.danger { width: auto; padding: 8px 11px; background: var(--bk-c-fff0ef, #fff0ef); color: var(--bk-c-7d2924, #7d2924); }
.notice { overflow-wrap: anywhere; margin: 18px 0; padding: 14px; border-radius: 10px; background: var(--bk-c-eef2ef, #eef2ef); text-align: left; line-height: 1.65; }
.notice.error { background: var(--bk-c-fff0ef, #fff0ef); color: var(--bk-c-7d2924, #7d2924); }
.notice.success { background: var(--bk-c-eaf7ef, #eaf7ef); color: var(--bk-c-185a34, #185a34); }
.status { margin: 24px 0; padding: 20px; border-radius: 12px; background: var(--bk-c-f0f6f2, #f0f6f2); text-align: left; }
.status h2 { margin: 0 0 8px; font-size: 1.1rem; }
.eyebrow { margin-bottom: 8px; color: var(--bk-brand, #237e4f); font-weight: 750; }
.help { margin-top: 18px; color: var(--bk-c-516158, #516158); }
.help a { color: var(--bk-c-176a3f, #176a3f); font-weight: 700; }
.tenant-choice { margin-top: 10px; }
.switch-store { margin-top: 18px; }
.provision-page main { transform: translateY(64px); }
nav { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 24px; padding-bottom: 12px; text-align: left; }
nav a { flex: 0 0 auto; padding: 8px 10px; border-radius: 999px; background: var(--bk-c-edf3ef, #edf3ef); color: var(--bk-c-245c3e, #245c3e); font-size: .88rem; font-weight: 700; text-decoration: none; }
nav a[aria-current="page"] { background: var(--bk-brand, #237e4f); color: var(--bk-surface, #fff); }
.owner-page main { max-width: 720px; text-align: left; }
.intro, .muted { color: var(--bk-c-5f6d64, #5f6d64); }
.card, .empty { margin: 16px 0; padding: 18px; border: 1px solid var(--bk-c-dfe8e2, #dfe8e2); border-radius: 14px; background: var(--bk-surface, #fff); }
.card h2, .empty h2, .section-title { margin: 0 0 8px; font-size: 1.08rem; }
.card p, .empty p { margin-top: 4px; }
.card.disabled { opacity: .65; background: var(--bk-c-f5f5f5, #f5f5f5); }
.empty { border-style: dashed; background: var(--bk-c-f7fbf8, #f7fbf8); }
.inline-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.inline-form input, .inline-form button { margin: 0; }
.check { display: flex; align-items: flex-start; gap: 9px; font-weight: 500; }
.check input { width: auto; margin: 4px 0 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
fieldset { margin: 16px 0; padding: 12px; border: 1px solid var(--bk-c-dfe8e2, #dfe8e2); border-radius: 10px; }
legend { padding: 0 6px; font-weight: 700; }
.progress-item + .progress-item { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--bk-c-d5e1d9, #d5e1d9); }
.progress-item a { color: var(--bk-c-176a3f, #176a3f); font-weight: 700; }
.slots { margin: 18px 0; }
.slot { display: inline-block; margin: 5px; padding: 9px 11px; border-radius: 9px; background: var(--bk-c-eaf7ef, #eaf7ef); color: var(--bk-c-185a34, #185a34); font-weight: 750; }
details { margin: 14px 0; padding: 10px; border-radius: 10px; background: var(--bk-c-f5f8f6, #f5f8f6); }
summary { color: var(--bk-c-176a3f, #176a3f); font-weight: 750; cursor: pointer; }
.service-cap { margin: 12px 0; padding: 10px; border-radius: 9px; background: var(--bk-c-f7faf8, #f7faf8); }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0; padding: 9px 0; border-bottom: 1px solid var(--bk-c-edf1ee, #edf1ee); }
.setting-row form { margin: 0; }
.subform, .warning { padding: 12px; border-radius: 10px; background: var(--bk-c-f7faf8, #f7faf8); }
.warning { background: var(--bk-c-fff8e8, #fff8e8); border-color: var(--bk-c-ead49a, #ead49a); }
.progress-item.done strong { color: var(--bk-c-176a3f, #176a3f); }
.progress-item.pending strong { color: var(--bk-c-8a5410, #8a5410); }
@media (max-width: 600px) { main { width: calc(100% - 24px); max-width: 366px; margin: 18px 12px 32px; padding: 24px 18px; } .two, .inline-form { grid-template-columns: 1fr; } }

.booking-page { padding-top: 0; background: var(--bk-bg, #f4f0ea); }
.booking-page main { width: min(100%, 520px); min-height: 100vh; margin: 0 auto; padding: 0 18px 40px; border-radius: 0; box-shadow: none; text-align: left; }
.store-header { margin: 0 -18px 22px; padding: 22px 18px 16px; background: var(--bk-c-173f35, #173f35); color: var(--bk-surface, #fff); }
.store-header h1 { margin-bottom: 8px; }
.store-header .eyebrow { margin: 0 0 4px; color: var(--bk-c-b9ead5, #b9ead5); }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.contact-links a { color: var(--bk-surface, #fff); font-size: .95rem; }
.progress { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.progress li { min-width: 0; padding-top: 7px; border-top: 5px solid rgba(255,255,255,.28); color: var(--bk-c-d5e8df, #d5e8df); text-align: center; }
.progress li[aria-current="step"], .progress li:has(~ li[aria-current="step"]) { border-color: var(--bk-c-77d5aa, #77d5aa); color: var(--bk-surface, #fff); }
.progress span { display: block; font-size: .78rem; font-weight: 800; }
.progress small { display: block; overflow: hidden; font-size: .72rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.page-title { margin: 0 0 14px; font-size: 1.35rem; }
.service-group { margin: 18px 0 26px; }
.service-group h2, .slot-day h2 { font-size: 1.05rem; }
.choice { display: flex; gap: 12px; min-height: 64px; margin: 10px 0; padding: 13px; border: 1px solid var(--bk-c-d9e1dc, #d9e1dc); border-radius: 14px; background: var(--bk-surface, #fff); font-weight: 500; }
.choice:has(input:checked) { border: 2px solid var(--bk-brand, #237e4f); background: var(--bk-c-f0faf4, #f0faf4); }
.choice input { width: 22px; height: 22px; margin: 2px 0 0; }
.choice span { flex: 1; }
.choice strong, .choice small, .choice em { display: block; }
.choice small { margin-top: 4px; color: var(--bk-muted, #52635a); font-size: .95rem; }
.choice em { margin-top: 5px; color: var(--bk-c-65746c, #65746c); font-size: .9rem; font-style: normal; }
.choice.featured { border-color: var(--bk-c-88bba2, #88bba2); }
.summary { margin: 14px 0 22px; padding: 15px; border-radius: 14px; background: var(--bk-c-eef6f1, #eef6f1); }
.summary p { margin-top: 3px; }
.actions { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; margin-top: 20px; }
.actions .button, .actions button { display: flex; min-height: 52px; align-items: center; justify-content: center; }
.date-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin: 14px 0; }
.date-strip > a, .date-strip > span { min-width: 0; min-height: 56px; padding: 6px 2px; border: 1px solid var(--bk-c-bed7c8, #bed7c8); border-radius: 10px; background: var(--bk-c-edf3ef, #edf3ef); color: var(--bk-c-245c3e, #245c3e); font-weight: 700; text-align: center; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.date-strip .weekday { font-size: .8rem; line-height: 1.1; }
.date-strip .day { margin-top: 3px; font-size: 1rem; line-height: 1.1; }
.date-strip > a[aria-current="date"] { border-color: var(--bk-c-145f3d, #145f3d); background: var(--bk-brand, #237e4f); color: var(--bk-surface, #fff); box-shadow: 0 0 0 2px var(--bk-c-b9dfca, #b9dfca); }
.date-strip > .unavailable { border-color: var(--bk-c-ddd, #ddd); background: var(--bk-c-eee, #eee); color: var(--bk-c-999, #999); }
.week-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin: 12px 0 0; }
.week-nav .button { min-height: 48px; }
.week-nav strong { padding: 0 8px; text-align: center; }
.week-nav .button:last-child { justify-self: end; }
.notice .earliest { display: block; margin-top: 6px; color: var(--bk-c-075ed1, #075ed1); font-weight: 750; }
.slot-day { margin: 20px 0; }
.slot-day h3 { margin: 14px 0 6px; color: var(--bk-muted, #52635a); font-size: .95rem; }
.slot-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.slot-grid .slot { width: 100%; min-height: 48px; margin: 0; padding: 10px 6px; border: 1px solid var(--bk-c-b7d5c4, #b7d5c4); background: var(--bk-c-f2faf5, #f2faf5); color: var(--bk-c-185a34, #185a34); }
.slot-grid.alternatives { grid-template-columns: 1fr; }
.slot-grid.alternatives .slot { white-space: nowrap; }
.button.earliest { margin-top: 12px; }
.empty-state { margin: 22px 0; padding: 22px; border: 1px dashed var(--bk-c-b7c9bf, #b7c9bf); border-radius: 14px; text-align: center; }
.preview-banner { margin: 0 0 16px; padding: 13px; border-radius: 12px; background: var(--bk-c-fff3c9, #fff3c9); color: var(--bk-c-704f00, #704f00); font-weight: 750; }
.notice.warning { background: var(--bk-c-fff3c9, #fff3c9); color: var(--bk-c-704f00, #704f00); }
.consent { display: flex; gap: 10px; font-weight: 500; }
.consent input { flex: 0 0 22px; width: 22px; height: 22px; margin: 2px 0 0; }
.policy { margin-top: 14px; padding: 13px; border-radius: 10px; background: var(--bk-c-f5f6f5, #f5f6f5); color: var(--bk-muted, #52635a); }
.success-mark { width: 64px; height: 64px; margin: 28px auto 16px; border-radius: 50%; background: var(--bk-brand, #237e4f); color: var(--bk-surface, #fff); font-size: 2.4rem; line-height: 64px; text-align: center; }
.success-mark.waiting { background: var(--bk-c-efe6cf, #efe6cf); color: var(--bk-c-755717, #755717); }
.success-time { margin: 10px 0; font-size: 1.45rem; font-weight: 800; text-align: center; }
.closed-page main { display: grid; align-content: center; }
.success-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.my-header h1 { margin: 0; }
.identity-gate { margin-top: 48px; padding: 24px 18px; border: 1px solid var(--bk-c-d4e2da, #d4e2da); border-radius: 16px; background: var(--bk-surface, #fff); text-align: center; }
.appointment-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 12px 0 20px; }
.appointment-tabs a { display: flex; justify-content: center; gap: 6px; min-height: 46px; align-items: center; }
.appointment-tabs span { min-width: 24px; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.3); }
.appointment-card { margin: 14px 0; padding: 18px; border: 1px solid var(--bk-line, #d7e1db); border-radius: 16px; background: var(--bk-surface, #fff); box-shadow: 0 4px 18px rgba(20,40,30,.05); }
.appointment-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.appointment-card-head time, .appointment-card-head strong { display: block; }
.appointment-card-head strong { margin-top: 2px; font-size: 1.25rem; }
.appointment-card h2 { margin: 14px 0 7px; font-size: 1.08rem; }
.appointment-card p { margin-top: 3px; color: var(--bk-muted, #52635a); }
.status-pill { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; background: var(--bk-c-edf3ef, #edf3ef); color: var(--bk-c-245c3e, #245c3e); font-size: .85rem; font-weight: 750; }
.status-cancelled, .status-no_show { background: var(--bk-c-f3eeee, #f3eeee); color: var(--bk-c-70433f, #70433f); }
.status-requested { background: var(--bk-c-fff3c9, #fff3c9); color: var(--bk-c-704f00, #704f00); }
.card-actions { display: grid; grid-template-columns: repeat(auto-fit,minmax(130px,1fr)); gap: 7px; margin-top: 16px; }
.card-actions form { margin: 0; }
.card-actions button, .card-actions .button { min-height: 48px; height: 100%; }
.growth-stats { grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); }
.customer-result { display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0; padding: 12px; border: 1px solid var(--bk-line, #d7e1db); border-radius: 10px; color: var(--bk-c-185a34, #185a34); text-decoration: none; }
.customer-result span { color: var(--bk-muted, #52635a); font-size: .85rem; }
@media (max-width: 480px) { .owner-page .stats.growth-stats { grid-template-columns: 1fr; } }
.card-actions .button { min-width: 0; padding: 10px 6px; font-size: .9rem; }
.danger-link, .danger-primary { background: var(--bk-c-fff0ef, #fff0ef) !important; color: var(--bk-c-7d2924, #7d2924) !important; }
.deadline-note { margin-top: 14px; padding: 12px; border-radius: 10px; background: var(--bk-c-fff6df, #fff6df); color: var(--bk-c-694d0c, #694d0c); line-height: 1.55; }
.deadline-note a { display: block; margin-top: 4px; color: var(--bk-c-075ed1, #075ed1); font-weight: 750; }
.confirm-card { margin: 36px 0 12px; padding: 22px; border-radius: 16px; background: var(--bk-surface, #fff); text-align: center; }
.stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 14px 0; }
.stats > div { padding: 12px 8px; border-radius: 12px; background: var(--bk-c-edf6f0, #edf6f0); text-align: center; }
.stats strong, .stats span { display: block; }
.stats strong { color: var(--bk-c-185a34, #185a34); font-size: 1.05rem; }
.stats span { margin-top: 4px; color: var(--bk-muted, #52635a); font-size: .78rem; }
.appointment-card .actions { grid-template-columns: 1fr; }
.appointment-card .actions form { margin: 0; padding: 10px; border: 1px solid var(--bk-c-e3e9e5, #e3e9e5); border-radius: 10px; }
.appointment-card .actions label { margin-top: 0; }
.owner-page .slot-grid a { display: flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid var(--bk-c-b7d5c4, #b7d5c4); border-radius: 9px; color: var(--bk-c-185a34, #185a34); font-weight: 750; text-decoration: none; }
@media (max-width: 390px) { .booking-page main { width: 100%; max-width: none; margin: 0; padding: 0 16px 32px; } .store-header { margin-inline: -16px; } .slot-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 390px) { .owner-page .stats { grid-template-columns: 1fr; } }
@media (max-width: 390px) { .success-actions { grid-template-columns: 1fr; } .card-actions { grid-template-columns: 1fr 1fr; } }
.owner-appointment-card { padding: 14px 16px; }
.owner-appointment-card .appointment-card-head strong { font-size: 1.05rem; }
.owner-appointment-card .appointment-card-head span:not(.status-pill) { display: block; margin-top: 3px; font-weight: 750; }
.owner-appointment-card .primary-action { margin-top: 12px; }
.owner-appointment-card .primary-action form, .owner-appointment-card .compact-action { margin: 0; }
.owner-appointment-card .appointment-more { margin: 10px 0 0; padding: 8px 10px; }
.owner-appointment-card .appointment-more details { background: var(--bk-surface, #fff); border: 1px solid var(--bk-c-e3e9e5, #e3e9e5); }
.owner-appointment-card .danger-confirm summary, .danger-option label { color: var(--bk-c-7d2924, #7d2924); }
.calendar-day { margin: 18px 0; padding-top: 12px; border-top: 2px solid var(--bk-c-dce8e0, #dce8e0); }
.calendar-day-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.calendar-day-head h2 { margin: 0; font-size: 1.05rem; }
.calendar-day-head a { color: var(--bk-c-176a3f, #176a3f); font-size: .9rem; font-weight: 750; }
.slot-choice { display: flex; min-height: 46px; align-items: center; justify-content: center; margin: 0; padding: 8px; border: 1px solid var(--bk-c-b7d5c4, #b7d5c4); border-radius: 9px; background: var(--bk-c-f2faf5, #f2faf5); color: var(--bk-c-185a34, #185a34); text-align: center; cursor: pointer; }
.slot-choice input { width: auto; margin: 0 7px 0 0; }
.slot-choice:has(input:checked) { border: 2px solid var(--bk-brand, #237e4f); background: var(--bk-c-dff3e7, #dff3e7); }
.conflict-focus { min-width: 0; overflow-wrap: anywhere; margin: 0; padding: 18px; border: 2px solid var(--bk-c-e1bd64, #e1bd64); border-radius: 14px; background: var(--bk-c-fffaf0, #fffaf0); }
.conflict-card, .conflict-card .resolution-fields, .conflict-card .slot-grid { min-width: 0; }
.conflict-card { background: var(--bk-surface, #fff); }
.conflict-card input, .conflict-card select { min-width: 0; }
.conflict-card .slot-choice span { min-width: 0; overflow-wrap: anywhere; }
.resolution-option { margin: 9px 0; padding: 9px; border: 1px solid var(--bk-c-dde6e0, #dde6e0); border-radius: 10px; }
.resolution-option > label { margin: 0; }
.resolution-fields { display: none; padding: 4px 0 0 30px; }
.resolution-option:has(> label input:checked) { border-color: var(--bk-c-7fb394, #7fb394); background: var(--bk-c-f2faf5, #f2faf5); }
.resolution-option:has(> label input:checked) .resolution-fields { display: block; }
.danger-option:has(> label input:checked) { border-color: var(--bk-c-d8aaa6, #d8aaa6); background: var(--bk-c-fff4f3, #fff4f3); }
@media (max-width: 390px) { .owner-page .stats { grid-template-columns: repeat(3,minmax(0,1fr)); } .owner-page .stats strong { font-size: .9rem; } .calendar-day-head { align-items: flex-start; } }
.checkout-summary { display:grid; grid-template-columns:auto 1fr; gap:.35rem .75rem; padding:.75rem; background:var(--bk-c-f8fafc, #f8fafc); border-radius:.75rem; }
.sale-line,.sale-service-choice,.share-row { display:grid; grid-template-columns:1fr minmax(110px,140px); gap:.7rem; align-items:end; padding:.7rem 0; border-bottom:1px solid var(--bk-c-e5e7eb, #e5e7eb); }
.sale-service-choice { grid-template-columns:auto 1fr 120px; align-items:center; }
.share-row { grid-template-columns:minmax(120px,1fr) 105px 105px; }
.share-gap { padding:.65rem .8rem; background:var(--bk-c-fff7ed, #fff7ed); border-left:4px solid var(--bk-c-f59e0b, #f59e0b); }
.share-gap.ok { background:var(--bk-c-ecfdf5, #ecfdf5); border-left-color:var(--bk-c-16a34a, #16a34a); color:var(--bk-c-166534, #166534); }
.form-warning { padding:.65rem .8rem; background:var(--bk-c-fff1f2, #fff1f2); border-left:4px solid var(--bk-c-dc2626, #dc2626); color:var(--bk-c-991b1b, #991b1b); font-weight:750; }
input.invalid { border-color:var(--bk-c-dc2626, #dc2626); background:var(--bk-c-fff7f7, #fff7f7); }
button:disabled { opacity:.55; cursor:not-allowed; }
.adjust-confirm-dialog { width:min(360px,calc(100vw - 32px)); border:0; border-radius:16px; padding:20px; box-shadow:0 18px 50px #0004; }
.adjust-confirm-dialog::backdrop { background:#13261f99; }
.sale-total>strong { display:block; font-size:2rem; }
.danger-zone { border-color:var(--bk-c-fecaca, #fecaca); }
.wizard-progress { padding:1rem; background:var(--bk-c-edf7f1, #edf7f1); border-radius:12px; margin-top:1rem; }
.wizard-progress progress { width:100%; height:12px; accent-color:var(--bk-c-25754d, #25754d); }
.wizard-form fieldset { margin:1rem 0; min-width:0; }
.wizard-service-fields { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:.4rem .8rem; }
.wizard-service-fields>label { min-width:0; margin:.3rem 0; }
.wizard-service-fields>label:first-child { grid-column:1/-1; }
.wizard-service-fields .check { align-self:center; font-size:.9rem; }
.wizard-form .draft-status { color:var(--bk-c-3e6951, #3e6951); font-size:.9rem; }
.wizard-form .choice { margin:.8rem 0; }
.wizard-form .actions { margin-top:1.2rem; }
.booking-url { overflow-wrap:anywhere; font-size:.95rem; }
.booking-qr { display:block; width:260px; max-width:100%; height:auto; margin:1rem auto; image-rendering:pixelated; }
.check-pass { color:var(--bk-c-17663c, #17663c); }
.check-pending { color:var(--bk-c-995111, #995111); }
.launch-card li { margin:.7rem 0; }
.schedule-summary { padding:.3rem .6rem; background:var(--bk-c-f6f8f7, #f6f8f7); }
.report-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
.owner-page .stats.today-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
.owner-page .stats .stat-label-part { display:inline-block; white-space:nowrap; margin:0; font:inherit; color:inherit; }
.commission-panel { min-width:0; overflow-wrap:anywhere; }
.owner-page .commission-panel .report-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
.commission-nav { margin-bottom:20px; border-bottom:1px solid var(--bk-c-dfe8e2, #dfe8e2); }
.commission-nav>summary { min-height:56px; padding:14px 8px; cursor:pointer; color:var(--bk-c-176a3f, #176a3f); font-weight:700; }
.commission-nav nav { margin:8px 0; }
.commission-panel button,.commission-panel .button,.commission-panel input,.commission-panel select { min-height:56px; }
.commission-line summary { min-height:56px; cursor:pointer; display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:space-between; }
.commission-line summary strong { white-space:nowrap; }
.commission-detail { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px; }
.commission-detail dt,.commission-detail dd { margin:0; min-width:0; }
.commission-detail dd { text-align:right; }
.benefits-panel { min-width:0; overflow-wrap:anywhere; }
.benefits-panel form,.benefits-panel fieldset { min-width:0; }
.benefits-panel input:not([type=checkbox]),.benefits-panel select,.benefits-panel button,.benefits-panel .button,.benefits-panel summary { min-height:56px; }
.benefits-panel input[type=checkbox] { width:24px; height:24px; min-height:24px; flex:0 0 auto; }
.benefits-panel label.check { min-height:48px; align-items:center; }
.benefits-panel summary { cursor:pointer; padding:12px 0; }
.benefits-panel textarea { min-height:96px; }
.benefits-panel .benefit-number { font-size:1.6rem; font-weight:700; color:var(--bk-c-176a3f, #176a3f); margin:.5rem 0; }
.benefits-panel .badge { display:inline-block; font-size:.85rem; font-weight:400; padding:4px 8px; background:var(--bk-c-edf5ef, #edf5ef); border-radius:8px; }
.benefit-checkout-card { min-width:0; padding:.5rem 0; }
.benefit-checkout-card select { min-height:56px; }
.checkout-form select { min-height:48px; }
.checkout-form select[name=benefit_staff_id] { min-height:56px; }
/* R6D：動態時間格才套用，無 JS 原版面不變。 */
.owner-page:has(.calendar-enhancement) main { width:calc(100% - 24px); box-sizing:border-box; }
.calendar-enhancement,.calendar-enhancement * { box-sizing:border-box; }
.calendar-enhancement { min-width:0; max-width:100%; }
.calendar-enhancement [hidden] { display:none !important; }
.calendar-enhancement button { min-height:48px; max-width:100%; white-space:normal; overflow-wrap:anywhere; }
.calendar-enhancement input,.calendar-enhancement select { width:100%; min-width:0; max-width:100%; min-height:56px; }
.calendar-enhancement label { display:block; margin:12px 0; }
.calendar-content,.calendar-source-list,.calendar-target-panel { min-width:0; }
.calendar-source-list { display:grid; gap:10px; margin:16px 0; }
.calendar-pick { text-align:left; touch-action:pan-y; user-select:none; }
.calendar-pick { cursor:grab; }
.calendar-pick.is-dragging { cursor:grabbing; }
.calendar-pick.is-selected { outline:3px solid var(--bk-c-c78518, #c78518); outline-offset:2px; }
.calendar-target-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:16px 0; }
.calendar-band-picker { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:16px 0; }
.calendar-band-picker button { min-width:0; padding:8px 4px; }
.calendar-target.is-drop-target { outline:3px solid var(--bk-c-176a3f, #176a3f); }
.calendar-feedback { overflow-wrap:anywhere; }
.calendar-feedback.error { color:var(--bk-c-9b2525, #9b2525); }
.calendar-move-dialog { width:calc(100% - 24px); max-width:520px; max-height:calc(100dvh - 32px); overflow:auto; border:0; border-radius:16px; padding:24px; }
.calendar-move-dialog::backdrop { background:rgba(0,0,0,.45); }
.calendar-move-dialog button { display:block; width:100%; margin-top:12px; }
.calendar-dialog-fallback { display:block; position:fixed; inset:16px auto auto 50%; transform:translateX(-50%); z-index:100; background:var(--bk-surface, #fff); box-shadow:0 0 0 100vmax rgba(0,0,0,.45); }
@media(min-width:900px) { .calendar-content { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:20px; align-items:start; } .calendar-source-list { position:sticky; top:16px; } .calendar-content>button,.calendar-content>p { grid-column:1/-1; } }
/* R6C：只作用於新候補畫面，不改既有關閉店家的版面。 */
.waitlist-page main,.waitlist-page .card,.waitlist-page form,.waitlist-page fieldset { min-width:0; max-width:100%; box-sizing:border-box; }
.waitlist-page input:not([type=checkbox]),.waitlist-page select,.waitlist-page textarea { width:100%; min-width:0; max-width:100%; box-sizing:border-box; }
.waitlist-page select { min-height:56px; }
.waitlist-page button,.waitlist-page .button { min-height:48px; white-space:normal; overflow-wrap:anywhere; }
.waitlist-page .consent,.waitlist-page .check { display:flex; align-items:flex-start; gap:10px; min-height:48px; }
.waitlist-page input[type=checkbox] { width:24px; height:24px; min-height:24px; flex:0 0 auto; }
.waitlist-page .waitlist-entry { overflow-wrap:anywhere; border-top:1px solid var(--bk-c-e2e7e3, #e2e7e3); padding-top:16px; margin-top:16px; }
.waitlist-page details form { margin:8px 0; }
.waitlist-entry button { min-height:48px; white-space:normal; overflow-wrap:anywhere; }
.my-appointments-page .waitlist-entry { border-top:1px solid var(--bk-c-e2e7e3, #e2e7e3); margin-top:16px; padding-top:16px; }
.owner-page:has(.waitlist-settings-card) main { width:calc(100% - 24px); box-sizing:border-box; }
.waitlist-settings-card .button { min-height:48px; }
.resources-page main,.resources-panel,.resources-panel .card,.resources-panel form,.resources-panel details { min-width:0; max-width:100%; box-sizing:border-box; overflow-wrap:anywhere; }
.resources-panel input,.resources-panel select { width:100%; min-width:0; max-width:100%; box-sizing:border-box; min-height:56px; }
.resources-panel button,.resources-panel .button,.resources-panel summary,.resource-discovery-card .button { min-height:48px; white-space:normal; overflow-wrap:anywhere; }
.resource-entry,.resource-plan-appointment { border-top:1px solid var(--bk-c-dfe8e2, #dfe8e2); margin-top:16px; padding-top:12px; }
.resource-entry summary { padding:12px 0; }
.resource-preview { border:2px solid var(--bk-brand, #237e4f); }
.calendar-resources { display:block; margin-top:6px; font-weight:500; }
@media(max-width:600px) { .owner-page.resources-page main { width:calc(100% - 24px); } }
@media(max-width:600px) { .owner-page.benefits-page main { width:calc(100% - 24px); } }
@media(max-width:480px) { .share-row { grid-template-columns:1fr 1fr; } .share-row .check { grid-column:1/-1; } .sale-line { grid-template-columns:1fr; } .sale-service-choice { grid-template-columns:auto 1fr; } .sale-service-choice input[type=number] { grid-column:2; } .checkout-form h2 { margin-top:1.4rem; } }
/* R6F：新語言區與外文頁局部樣式；不改既有中文元件。 */
.beauty-locale-switch { display:flex; gap:4px; flex-wrap:nowrap; margin:0 0 12px; padding:6px 0; }
.beauty-locale-switch button { min-height:48px; min-width:0; flex:1 1 0; width:auto; margin:0; padding:8px 4px; font-size:1rem; line-height:1.3; white-space:nowrap; }
.beauty-locale-switch button[lang=vi] { flex-grow:1.35; }
.beauty-locale-switch button[aria-pressed=true] { background:var(--bk-brand, #237e4f); color:var(--bk-surface, #fff); box-shadow:inset 0 0 0 2px var(--bk-c-134e30, #134e30); }
.beauty-locale-switch button:focus-visible { outline:3px solid var(--bk-c-174e87, #174e87); outline-offset:2px; }
.beauty-locale-en main,.beauty-locale-th main,.beauty-locale-vi main { overflow-wrap:break-word; }
.beauty-locale-en .progress small,.beauty-locale-th .progress small,.beauty-locale-vi .progress small { white-space:normal; line-height:1.65; }
.beauty-locale-th { font-family:Tahoma,"Leelawadee UI",Arial,sans-serif; line-height:1.85; }
.beauty-locale-th button,.beauty-locale-th input,.beauty-locale-th select,.beauty-locale-th textarea { line-height:1.85; }
.beauty-locale-vi { font-family:Arial,"Segoe UI",sans-serif; line-height:1.7; }
.beauty-locale-en .actions,.beauty-locale-th .actions,.beauty-locale-vi .actions { flex-wrap:wrap; }
.beauty-locale-en .actions>* ,.beauty-locale-th .actions>* ,.beauty-locale-vi .actions>* { min-width:0; max-width:100%; white-space:normal; }
.translation-tabs { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0; }
.translation-grid { display:grid; grid-template-columns:1fr; gap:0; }
.translation-cell { min-width:0; padding:10px 0; border-top:1px solid var(--bk-c-d7dedb, #d7dedb); }
.translation-cell form { margin:0; }
.translation-language { margin:0 0 4px; font-size:1rem; }
.translation-edit-row { display:flex; gap:6px; align-items:center; }
.translation-edit-row input { flex:1 1 0; min-width:0; width:auto; margin:0; min-height:48px; padding:10px; font-size:1rem; }
.translation-edit-row input[lang=th] { font-family:Tahoma,"Leelawadee UI",sans-serif; line-height:1.6; }
.translation-edit-row button { flex:0 0 64px; width:64px; min-height:48px; padding:8px; }
.translation-cell-actions { display:flex; gap:12px; align-items:center; }
.translation-cell-actions button { width:auto; min-height:48px; padding:6px 2px; background:transparent; color:var(--bk-c-17603d, #17603d); text-decoration:underline; font-size:.95rem; font-weight:600; }
.translation-cell .translation-cell-status { margin:4px 0 0; color:var(--bk-muted, #52635a); font-size:.9rem; line-height:1.5; }
.translation-pages { display:flex; flex-wrap:wrap; gap:12px; margin:18px 0; }
@media(max-width:760px) { .translation-grid { grid-template-columns:1fr; } .owner-page.translations-page main { width:calc(100% - 24px); } }
/* R6N-C1：首頁獨立，四組同列；原生details不用JS，不以藏內容換高度。 */
.owner-navigation { display:grid; grid-template-columns:1.15fr .7fr 1.2fr .7fr; gap:6px; margin:0 0 12px; padding:0; }
.owner-navigation .owner-nav-home { grid-column:1/-1; grid-row:1; justify-self:start; }
.owner-navigation .owner-nav-group { display:contents; margin:0; padding:0; border:0; background:transparent; }
.owner-navigation .owner-nav-group::details-content { grid-column:1/-1; }
.owner-navigation .owner-nav-group:not([open])::details-content { display:none; }
.owner-navigation .owner-nav-group>summary { grid-row:2; display:flex; align-items:center; justify-content:center; gap:3px; min-width:0; min-height:48px; padding:0 4px; color:var(--bk-c-245c3e, #245c3e); background:transparent; font-size:12px; line-height:1.4; font-weight:750; white-space:nowrap; list-style:none; border-radius:999px; cursor:pointer; }
.owner-navigation .owner-nav-group:nth-of-type(1)>summary { grid-column:1; }
.owner-navigation .owner-nav-group:nth-of-type(2)>summary { grid-column:2; }
.owner-navigation .owner-nav-group:nth-of-type(3)>summary { grid-column:3; }
.owner-navigation .owner-nav-group:nth-of-type(4)>summary { grid-column:4; }
.owner-navigation .owner-nav-group>summary::-webkit-details-marker { display:none; }
.owner-navigation .owner-nav-group>summary::after { content:'▾'; font-size:10px; }
.owner-navigation .owner-nav-group[open]>summary { background:var(--bk-c-edf3ef, #edf3ef); box-shadow:inset 0 -2px var(--bk-brand, #237e4f); }
.owner-navigation .owner-nav-group[open]>summary::after { content:'▴'; }
.owner-navigation .owner-nav-group>summary:focus-visible { outline:3px solid var(--bk-c-174e87, #174e87); outline-offset:-3px; }
.owner-navigation .owner-nav-links { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:6px; padding:0; }
.owner-navigation .owner-nav-group:not([open])>.owner-nav-links { display:none; }
.owner-navigation a { display:inline-flex; align-items:center; width:auto; min-width:48px; min-height:48px; padding:4px 14px; border-radius:999px; font-size:13px; line-height:1.5; white-space:normal; overflow-wrap:anywhere; }
.owner-navigation a:focus-visible { outline:3px solid var(--bk-c-174e87, #174e87); outline-offset:-3px; }

/* BEAUTYUX002 P1：所有視覺規則限定客人頁。 */
.booking-page { font-family: "Noto Sans TC", system-ui, -apple-system, "Segoe UI", sans-serif; font-size:16px; line-height:1.6; color:var(--bk-text); background:var(--bk-bg); }
.booking-page main { width:min(100%,560px); margin:0 auto; padding:16px 24px 48px; background:var(--bk-bg); }
.booking-page p { line-height:1.6; }
.booking-page a { color:var(--bk-brand); text-underline-offset:3px; }
.booking-page .beauty-locale-switch { margin:0 0 14px; gap:6px; padding:0; }
.booking-page .beauty-locale-switch button { border-radius:999px; min-height:40px; background:transparent; color:var(--bk-muted); font-size:14px; font-weight:600; padding:7px 4px; }
.booking-page .beauty-locale-switch button[aria-pressed=true] { background:var(--bk-surface); color:var(--bk-brand); box-shadow:0 1px 6px rgba(20,40,30,.08); }
.booking-page .store-header { margin:0; padding:24px 22px 18px; border:1px solid var(--bk-line); border-radius:14px; color:var(--bk-text); background:var(--bk-surface); box-shadow:0 3px 16px rgba(20,40,30,.035); }
.booking-page .store-identity { display:flex; align-items:center; gap:14px; }
.booking-page .store-identity>div { min-width:0; }
.booking-page .store-header h1 { font-size:25px; line-height:1.35; margin:4px 0 0; overflow-wrap:anywhere; letter-spacing:.03em; }
.booking-page .store-header .eyebrow { font-size:12px; font-weight:650; color:var(--bk-muted); letter-spacing:.06em; margin:0; }
.booking-page .lettermark { display:flex; flex:none; align-items:center; justify-content:center; width:48px; height:48px; border-radius:50%; font-size:20px; font-weight:650; }
.booking-page .lettermark-store { width:56px; height:56px; font-size:25px; background:var(--bk-brand); color:var(--bk-brand-ink); }
.booking-page .palette-0.lettermark-staff { background:#e7eee7; color:#355a43; }
.booking-page .palette-1.lettermark-staff { background:#efe8e2; color:#72553e; }
.booking-page .palette-2.lettermark-staff { background:#e6ebf2; color:#435875; }
.booking-page .palette-3.lettermark-staff { background:#eee6ed; color:#6b4765; }
.booking-page .contact-links { display:grid; gap:0; margin:15px 0 0; }
.booking-page .contact-links a { display:block; padding:9px 0; font-size:14px; color:var(--bk-muted); line-height:1.5; overflow-wrap:anywhere; }
.booking-page .public-hours { border-top:1px solid var(--bk-line); margin-top:9px; padding-top:7px; }
.booking-page .public-hours summary { font-size:14px; padding:7px 0; color:var(--bk-brand); }
.booking-page .public-hours dl { margin:8px 0; font-size:14px; }
.booking-page .public-hours dl>div { display:flex; justify-content:space-between; gap:16px; padding:3px 0; }
.booking-page .public-hours dd { margin:0; text-align:right; }
.booking-page .public-hours p { font-size:12px; color:var(--bk-muted); }
.booking-page .progress { margin:26px 0 28px; gap:0; }
.booking-page .progress li { position:relative; padding:0; border:0; color:var(--bk-muted); }
.booking-page .progress li::before { content:""; position:absolute; top:17px; left:-50%; width:100%; height:1px; background:var(--bk-line); z-index:0; }
.booking-page .progress li:first-child::before { display:none; }
.booking-page .progress span { position:relative; z-index:1; display:flex; align-items:center; justify-content:center; width:34px; height:34px; margin:0 auto 8px; border:1px solid var(--bk-line); border-radius:50%; background:var(--bk-bg); font-size:13px; }
.booking-page .progress li[aria-current=step],.booking-page .progress li:has(~li[aria-current=step]) { color:var(--bk-brand); }
.booking-page .progress li[aria-current=step] span { background:var(--bk-brand); border-color:var(--bk-brand); color:var(--bk-brand-ink); }
.booking-page .progress li:has(~li[aria-current=step]) span { border-color:var(--bk-brand); color:var(--bk-brand); }
.booking-page .progress small { font-size:13px; line-height:1.4; white-space:normal; padding:0 4px; }
.booking-page .page-title { font-size:23px; line-height:1.45; margin:0 0 20px; letter-spacing:.02em; }
.booking-page form { margin-top:0; }
.booking-page .service-group { margin:0 0 26px; }
.booking-page .service-group h2 { font-size:14px; font-weight:650; color:var(--bk-muted); letter-spacing:.04em; margin:0 0 10px; }
.booking-page .choice { align-items:center; gap:12px; padding:17px 15px; border:1px solid var(--bk-line); border-radius:14px; box-shadow:0 2px 9px rgba(20,40,30,.025); background:var(--bk-surface); cursor:pointer; }
.booking-page .choice:has(input:checked) { border:1px solid var(--bk-brand); box-shadow:inset 0 0 0 1px var(--bk-brand); background:var(--bk-surface); }
.booking-page .choice input { accent-color:var(--bk-brand); flex:none; margin:0; }
.booking-page .choice span:not(.lettermark) { min-width:0; }
.booking-page .choice strong { font-size:16px; font-weight:650; overflow-wrap:anywhere; }
.booking-page .choice small { color:var(--bk-muted); font-size:14px; line-height:1.6; }
.booking-page .choice em { font-size:13px; line-height:1.6; }
.booking-page .choice em:empty { display:none; }
.booking-page .booking-summary-card { border:1px solid var(--bk-line); border-radius:14px; background:var(--bk-surface); padding:18px; margin:0 0 22px; }
.booking-page .summary-store { font-weight:700; margin-bottom:4px; }
.booking-page .summary-designer { font-size:14px; color:var(--bk-muted); }
.booking-page .booking-summary-card .summary { background:transparent; border-radius:0; margin:12px 0 0; padding:12px 0 0; border-top:1px solid var(--bk-line); }
.booking-page .summary strong { font-size:12px; font-weight:600; color:var(--bk-muted); }
.booking-page .summary p { font-size:14px; margin-top:6px; }
.booking-page .booking-tally { padding:17px 18px; border:1px solid var(--bk-line); border-radius:14px; margin:0 0 18px; background:var(--bk-surface); }
.booking-page .booking-tally strong,.booking-page .booking-tally output,.booking-page .booking-tally small { display:block; }
.booking-page .booking-tally strong { font-size:12px; color:var(--bk-muted); font-weight:600; }
.booking-page .booking-tally output { margin:5px 0; font-size:18px; font-weight:700; }
.booking-page .booking-tally small { font-size:12px; color:var(--bk-muted); line-height:1.6; }
.booking-page button,.booking-page .button { min-height:48px; border-radius:12px; line-height:1.5; background:var(--bk-brand); color:var(--bk-brand-ink); }
.booking-page button.secondary,.booking-page .button.secondary { color:var(--bk-text); background:var(--bk-surface); border:1px solid var(--bk-line); }
.booking-page .date-strip { gap:5px; margin:14px 0 22px; }
.booking-page .date-strip>a,.booking-page .date-strip>span { border-radius:12px; min-width:0; padding:10px 1px; }
.booking-page .date-strip a[aria-current=date] { background:var(--bk-brand); color:var(--bk-brand-ink); border-color:var(--bk-brand); }
.booking-page .slot-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.booking-page .slot-grid .slot { min-height:48px; border:1px solid var(--bk-line); background:var(--bk-surface); color:var(--bk-brand); font-size:14px; }
.booking-page .slot-grid .slot:hover,.booking-page .slot-grid .slot:focus-visible { border-color:var(--bk-brand); box-shadow:inset 0 0 0 1px var(--bk-brand); }
.booking-page input:not([type=checkbox]):not([type=radio]),.booking-page textarea { background:var(--bk-surface); border-color:var(--bk-line); font-size:16px; min-height:48px; }
.booking-page .consent { font-size:14px; font-weight:400; line-height:1.7; }
.booking-page input[type=checkbox],.booking-page input[type=radio] { accent-color:var(--bk-brand); }
.booking-page .policy { color:var(--bk-muted); font-size:13px; margin:18px 0; }
.booking-page .success-mark { margin:4px auto 18px; width:68px; height:68px; font-size:38px; background:var(--bk-brand); color:var(--bk-brand-ink); }
.booking-page .success-time { font-size:22px; font-weight:700; margin-bottom:12px; }
.booking-page .success-actions { gap:12px; margin:24px 0 16px; }
@media(max-width:390px) { .booking-page main { width:100%; max-width:560px; padding:14px 18px 36px; margin:0 auto; } .booking-page .store-header { margin:0; padding:20px 18px 15px; } .booking-page .staff-card { gap:10px; padding:14px 12px; } .booking-page .staff-card .lettermark { width:40px; height:40px; font-size:18px; } }
@media(min-width:768px) { .booking-page .slot-grid { grid-template-columns:repeat(auto-fill,minmax(112px,1fr)); } }

/* BEAUTYUX002 P2：後台完整側欄／抽屜；客人頁不套用。 */
.owner-page { padding:0 0 env(safe-area-inset-bottom); background:#f5f6f4; font-family:"Noto Sans TC","Microsoft JhengHei",system-ui,-apple-system,"Segoe UI",sans-serif; font-size:16px; line-height:1.6; color:#24342b; }
.owner-page main { width:auto; max-width:960px; margin:0 auto; padding:28px 28px 56px; border-radius:0; box-shadow:none; background:transparent; text-align:left; }
.owner-page h1 { font-size:26px; line-height:1.4; margin-bottom:24px; }
.owner-page .owner-page-help { margin:0 0 24px; }
.owner-page .owner-page-help>p { color:#58695f; margin-bottom:4px; }
.owner-page .owner-page-help summary { font-size:13px; padding:7px 0; }
.owner-page .owner-page-help details>div { padding:12px 14px; border:1px solid #dde5df; background:#fff; border-radius:10px; }
.owner-page .work-heading { margin-bottom:22px; }
.owner-page .work-heading>p:last-child { font-size:14px; color:#617268; }
.owner-page .work-today { padding:24px; }
.owner-page .work-card-title { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.owner-page .work-card-title h2 { margin:0; font-size:20px; }
.owner-page .work-card-title a { font-size:13px; color:#237e4f; text-decoration:none; }
.owner-page .work-counts { display:grid; grid-template-columns:1fr 1fr; margin:24px 0; gap:20px; }
.owner-page .work-counts strong { display:block; font-size:38px; font-weight:700; line-height:1.3; }
.owner-page .work-counts span { font-size:14px; color:#617268; }
.owner-page .work-next { border-top:1px solid #dce5de; padding-top:18px; margin-bottom:24px; }
.owner-page .work-next p:last-child { font-size:14px; color:#5c6f62; }
.owner-page .work-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.owner-page .work-opening { margin-top:24px; padding:22px 24px; }
.owner-page .work-opening h2 { margin:0 0 8px; font-size:18px; }
.owner-page .work-opening p { font-size:14px; color:#5c6f62; margin-bottom:14px; }
.owner-page .work-opening .button { width:auto; }
.owner-page .list-toolbar { display:flex; flex-wrap:wrap; gap:10px; margin:20px 0 26px; }
.owner-page .list-toolbar .button { width:auto; min-height:48px; }
.owner-page .catalog-group { margin:24px 0; }
.owner-page .catalog-group>h2 { font-size:15px; color:#627368; margin:0 0 10px; }
.owner-page .catalog-list { border:1px solid #dbe5dd; background:#fff; border-radius:14px; overflow:hidden; }
.owner-page .catalog-row { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:18px; min-height:76px; color:#263e2e; text-decoration:none; border-bottom:1px solid #e2e9e4; overflow-wrap:anywhere; }
.owner-page .catalog-row:last-child { border-bottom:0; }
.owner-page a.catalog-row:hover { background:#f1f7f2; }
.owner-page .catalog-row strong { display:block; font-size:16px; }
.owner-page .catalog-row small { display:block; font-size:13px; color:#617267; margin-top:5px; }
.owner-page .catalog-status { flex:0 0 auto; font-size:12px; color:#5c7163; max-width:140px; text-align:right; word-break:keep-all; overflow-wrap:normal; }
.owner-page .catalog-row.just-saved { background:#eaf5ed; box-shadow:inset 4px 0 #237e4f; }
.owner-page .editor-card { max-width:700px; }
.owner-page .advanced-settings { margin:20px 0; padding:14px; background:#f3f6f3; }
.owner-page .advanced-settings>summary { min-height:40px; font-size:14px; line-height:1.6; }
.owner-page .advanced-settings .two { margin-top:12px; }
.owner-page .danger-panel { margin-top:18px; }
.owner-page .danger-panel>summary { color:#8b3b30; padding:10px 0; }
.owner-page .list-link-cards { display:flex; flex-wrap:wrap; gap:18px; margin:24px 0; padding:18px; border:1px solid #dce6df; border-radius:12px; }
.owner-page .list-link-cards a { color:#28643e; font-size:14px; }
.owner-page .category-management { margin-top:24px; }
.owner-page .staff-selector { display:flex; gap:12px; align-items:flex-end; max-width:560px; margin:0 0 24px; }
.owner-page .staff-selector label { flex:1; min-width:0; margin:0; }
.owner-page .staff-selector button { width:auto; min-height:48px; }
.owner-page .schedule-week>h2,.owner-page .schedule-exceptions>h2 { font-size:20px; margin:0 0 8px; }
.owner-page .schedule-week>p,.owner-page .schedule-exceptions>p { font-size:14px; margin-bottom:16px; }
.owner-page .schedule-week-row { border:1px solid #dce5de; background:#fff; border-radius:12px; padding:14px 18px; margin:8px 0; }
.owner-page .schedule-day-summary { display:grid; grid-template-columns:76px 1fr; gap:16px; align-items:start; }
.owner-page .schedule-day-summary p { font-size:15px; }
.owner-page .schedule-day-summary small { display:block; color:#64786a; font-size:12px; }
.owner-page .schedule-day-editor { background:transparent; margin:7px 0 0; padding:0; }
.owner-page .schedule-day-editor>summary { font-size:13px; min-height:32px; padding:4px 0; }
.owner-page .shift-editor { border-top:1px solid #dce5de; padding:12px 0; }
.owner-page .shift-editor h3 { font-size:16px; }
.owner-page .schedule-exceptions { margin-top:30px; }
.owner-page .copy-week>summary,.owner-page .exception-editor>summary { min-height:40px; padding:8px 0; font-size:15px; }
.owner-page .select-services-all { width:auto; min-height:40px; padding:8px 14px; font-size:14px; margin:8px 0; }

.owner-page main a:not(.button):not(.catalog-row),.provision-page main a:not(.button) { color:#24613d; text-decoration-thickness:1px; text-underline-offset:3px; }
.provision-page { font-family:"Noto Sans TC","Microsoft JhengHei",system-ui,sans-serif; }
.platform-onboarding main { width:min(100% - 28px,860px); margin:28px auto; padding:26px; transform:none; text-align:left; }
.platform-onboarding main>h1 { margin-top:18px; }
.platform-onboarding .card { margin:22px 0; padding:22px; }
.platform-onboarding .card h2 { margin:0 0 12px; font-size:20px; }
.platform-onboarding .card p { font-size:15px; margin:12px 0; }
.platform-onboarding .opening-store { display:block; padding:14px; margin:10px 0; border:1px solid #dbe5dd; border-radius:10px; text-decoration:none; }
.platform-onboarding .opening-store span { display:block; font-size:13px; color:#5c7062; margin-top:6px; }
.platform-onboarding .opening-selected { padding:14px; background:#edf6ef; border-radius:10px; }
.platform-onboarding .opening-status-table { overflow-x:auto; margin-top:16px; }
.platform-onboarding table { border-collapse:collapse; width:100%; font-size:14px; }
.platform-onboarding th,.platform-onboarding td { padding:12px; border-bottom:1px solid #dce5df; vertical-align:top; text-align:left; }
.platform-onboarding th { min-width:120px; }
.provision-page .invitation-result input { font-size:14px; }
.provision-page .invitation-result button { margin:12px 0; }
@media(max-width:600px) { .platform-onboarding main { width:100%; margin:0; padding:20px 16px; border-radius:0; } .platform-onboarding .card { padding:18px; } }

.owner-page .theme-color-fields { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.owner-page .theme-color-pair { min-width:0; }
.owner-page .theme-color-pair input[type=color] { width:100%; height:56px; padding:5px; }
.owner-page .theme-presets { display:flex; gap:8px; flex-wrap:wrap; margin:16px 0; }
.owner-page .theme-presets button { width:auto; min-height:44px; padding:9px 15px; font-size:14px; }
.owner-page .branding-logo-preview,.owner-page .branding-logo-placeholder { width:96px; height:96px; object-fit:contain; border:1px solid #dce5de; border-radius:14px; background:#fff; }
.owner-page .branding-logo-placeholder { display:flex; align-items:center; justify-content:center; background:#edf4ee; color:#24613d; font-size:36px; }
.owner-page .staff-photo-preview { width:120px; height:120px; border-radius:50%; object-fit:cover; }
.owner-page .theme-preview-card { padding:24px; margin-top:24px; border:1px solid #dce5de; border-radius:14px; text-align:left; }
.owner-page .theme-preview-card h3 { color:#1f2924; font-size:22px; margin:8px 0 16px; }
.owner-page .theme-preview-card p { font-size:13px; color:#52635a; }
.owner-page .theme-preview-card a { display:block; margin-top:14px; }
.owner-page .theme-preview-card.has-store-theme a:not(.button) { color:var(--bk-link,var(--bk-brand)); }
.booking-page img.store-logo { display:block; width:56px; height:56px; border-radius:12px; object-fit:contain; background:#fff; }
.booking-page img.staff-photo { object-fit:cover; }
.booking-page.has-store-theme a:not(.button),.booking-page.has-store-theme .eyebrow,.booking-page.has-store-theme .progress li,.booking-page.has-store-theme .progress li[aria-current=step],.booking-page.has-store-theme .progress li:has(~li[aria-current=step]),.booking-page.has-store-theme .slot-grid .slot { color:var(--bk-link,var(--bk-brand)); }
.booking-page.has-store-theme .choice:has(input:checked) { border-color:var(--bk-link,var(--bk-brand)); box-shadow:inset 0 0 0 1px var(--bk-link,var(--bk-brand)); }
.booking-page.has-store-theme .progress li:has(~li[aria-current=step]) span { color:var(--bk-link,var(--bk-brand)); border-color:var(--bk-link,var(--bk-brand)); }
.booking-page.has-store-theme .beauty-locale-switch button[aria-pressed=true],.booking-page.has-store-theme .public-hours summary { color:var(--bk-link,var(--bk-brand)); }
.booking-page.has-store-theme .progress li[aria-current=step] span { border-color:var(--bk-link,var(--bk-brand)); }
.booking-page.has-store-theme .slot-grid .slot:hover,.booking-page.has-store-theme .slot-grid .slot:focus-visible { border-color:var(--bk-link,var(--bk-brand)); box-shadow:inset 0 0 0 1px var(--bk-link,var(--bk-brand)); }
.booking-page.has-store-theme nav a[aria-current=page] { color:var(--bk-brand-ink); }
.booking-page.has-store-theme .appointment-tabs a[aria-current=page] span { background:transparent; }
@media(max-width:600px) { .owner-page .theme-color-fields { grid-template-columns:1fr; } }

.owner-page .file-picker { display:flex; gap:10px; flex-wrap:wrap; align-items:center; position:relative; }
.owner-page .file-picker-ready input[type=file] { position:absolute; width:1px; height:1px; opacity:0; overflow:hidden; }
.owner-page .file-pick-button { display:inline-block; padding:10px 14px; border-radius:9px; border:1px solid #aebfb3; background:#edf4ee; color:#1d5938; cursor:pointer; }
.owner-page .file-picker-ready:focus-within .file-pick-button { outline:3px solid #237e4f; outline-offset:2px; }
.owner-page .file-picker [data-file-name] { font-size:14px; overflow-wrap:anywhere; max-width:100%; }

.owner-page .appointment-view-tabs { display:flex; gap:8px; margin:0 0 18px; flex-wrap:wrap; }
.owner-page .appointment-view-tabs a { display:inline-flex; align-items:center; justify-content:center; min-width:64px; min-height:44px; padding:8px 16px; border:1px solid #cbdccf; border-radius:10px; text-decoration:none; font-weight:700; }
body.owner-page .appointment-view-tabs a[aria-current=page] { background:#237e4f; color:#fff; }
.owner-page .appointment-month { background:#fff; border:1px solid #dce5de; border-radius:16px; padding:20px; min-width:0; }
.owner-page .appointment-month-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.owner-page .appointment-month-heading h2 { margin:0; font-size:25px; }
.owner-page .appointment-month-heading nav { display:flex; gap:8px; flex-wrap:wrap; }
.owner-page .appointment-month-heading nav a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:8px 12px; border:1px solid #cbdccf; border-radius:9px; text-decoration:none; }
.owner-page .appointment-month-filter { display:flex; align-items:end; gap:12px; margin:18px 0 8px; }
.owner-page .appointment-month-filter label { flex:1; margin:0; }
.owner-page .appointment-month-filter button { width:auto; min-height:48px; }
.owner-page .appointment-month-help { color:#53675a; font-size:14px; margin:16px 0; }
.owner-page .appointment-month-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); border:1px solid #dce5de; border-radius:10px; overflow:hidden; }
.owner-page .appointment-month-weekday { min-width:0; padding:9px 0; text-align:center; background:#edf4ee; font-weight:700; color:#34513c; }
.owner-page a.appointment-month-day { box-sizing:border-box; min-width:0; min-height:116px; padding:9px 7px; border-top:1px solid #dce5de; border-right:1px solid #dce5de; display:flex; flex-direction:column; align-items:flex-start; gap:4px; position:relative; color:#20382a; background:#fff; text-decoration:none; }
.owner-page a.appointment-month-day:nth-child(7n) { border-right:0; }
.owner-page a.appointment-month-day:hover,.owner-page a.appointment-month-day:focus-visible { background:#eaf5ed; outline:3px solid #237e4f; outline-offset:-3px; z-index:1; }
.owner-page a.appointment-month-day.is-outside { background:#f7f8f6; color:#68786d; }
.owner-page a.appointment-month-day.is-closed { background:#f0f2ef; }
.owner-page a.appointment-month-day.is-past { opacity:.72; }
.owner-page a.appointment-month-day.is-today { box-shadow:inset 0 0 0 3px #237e4f; opacity:1; }
.owner-page .appointment-month-date { font-size:17px; font-weight:700; line-height:23px; }
.owner-page .appointment-month-count { position:absolute; left:50%; bottom:10px; transform:translateX(-50%); display:flex; align-items:center; justify-content:center; width:27px; height:27px; border-radius:50%; background:#b6262d; color:#fff; font-size:13px; font-weight:800; line-height:1; }
.owner-page .appointment-month-pending { position:absolute; right:9px; top:14px; width:9px; height:9px; background:#d77816; border-radius:50%; }
.owner-page .appointment-month-closed { font-size:11px; color:#677369; }
@media(max-width:700px){.owner-page .appointment-month{padding:10px}.owner-page .appointment-month-heading{display:block}.owner-page .appointment-month-heading h2{font-size:21px}.owner-page .appointment-month-heading nav{margin-top:12px;justify-content:space-between}.owner-page .appointment-month-heading nav a{padding:6px 8px;font-size:12px}.owner-page .appointment-month-filter{display:block}.owner-page .appointment-month-filter button{width:100%;margin-top:8px}.owner-page a.appointment-month-day{min-height:69px;padding:4px 3px;gap:2px}.owner-page .appointment-month-weekday{font-size:12px;padding:6px 0}.owner-page .appointment-month-date{font-size:13px;line-height:17px}.owner-page .appointment-month-count{width:23px;height:23px;bottom:6px;font-size:12px}.owner-page .appointment-month-pending{width:7px;height:7px;right:4px;top:6px}.owner-page .appointment-month-closed{display:none}}

.owner-page .schedule-view-tabs { display:flex; gap:10px; margin:0 0 20px; }
.owner-page .schedule-view-tabs a { padding:11px 20px; border:1px solid #ceddd2; border-radius:10px; text-decoration:none; }
body.owner-page nav.schedule-view-tabs a[aria-current=page] { background:#237e4f; color:#fff; }
.owner-page .schedule-month,.owner-page .month-day-panel { background:#fff; border:1px solid #dce5de; border-radius:16px; padding:22px; margin:0 0 22px; min-width:0; }
.owner-page .month-heading,.owner-page .month-person-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.owner-page .month-heading h2 { margin:0; font-size:26px; }
.owner-page .month-arrows { display:flex; gap:8px; }
.owner-page .month-arrows a { width:auto; min-height:44px; padding:10px 13px; }
.owner-page .month-filter { display:grid; grid-template-columns:1fr 1.3fr auto; gap:14px; align-items:end; margin:24px 0 12px; }
.owner-page .month-filter label { margin:0; }
.owner-page .month-filter button { width:auto; min-height:48px; }
.owner-page .month-help,.owner-page .month-swipe { font-size:14px; color:#52635a; }
.owner-page .month-swipe { display:none; }
.owner-page .month-legend { display:flex; flex-wrap:wrap; gap:10px; font-size:13px; margin:14px 0; align-items:center; }
.owner-page .month-legend span { padding:3px 8px; border-radius:5px; }
.owner-page .schedule-month-scroll { max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; border-radius:10px; border:1px solid #dce5de; }
.owner-page .schedule-month-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); min-width:700px; }
.owner-page .month-weekday { padding:11px 4px; background:#edf4ee; text-align:center; color:#314c3b; font-weight:bold; font-size:14px; }
.owner-page .month-blank { min-height:110px; background:#f6f8f5; border-top:1px solid #e1e8e2; }
.owner-page a.month-day { min-height:128px; padding:10px 7px; border:1px solid #e1e8e2; border-right:0; border-bottom:0; color:#20382a; text-decoration:none; display:flex; flex-direction:column; align-items:flex-start; gap:5px; background:#fff; position:relative; }
.owner-page a.month-day:hover,.owner-page a.month-day:focus-visible { background:#edf6ef; outline:2px solid #237e4f; outline-offset:-2px; z-index:1; }
.owner-page a.month-day.is-selected { box-shadow:inset 0 0 0 2px #237e4f; background:#eff8f1; }
.owner-page a.month-day.is-today .month-date { background:#237e4f; color:white; border-radius:50%; min-width:25px; text-align:center; }
.owner-page a.month-day.is-closed { background:#f4f5f2; }
.owner-page .month-date { font-size:16px; line-height:25px; }
.owner-page .month-status { font-size:13px; font-weight:bold; }
.owner-page .month-count { padding:3px 7px; background:#e8f3ec; color:#235c3b; border-radius:999px; }
.owner-page .month-time,.owner-page .month-note { font-size:12px; line-height:1.5; }
.owner-page .month-note { color:#635341; }
.owner-page .month-tag,.owner-page .month-appointments { font-size:11px; border-radius:4px; padding:2px 4px; line-height:1.4; }
.owner-page .tag-leave { color:#805016; background:#fff2d9; }
.owner-page .tag-overtime { color:#4d4287; background:#f0edff; }
.owner-page .tag-block { color:#992d3d; background:#ffedf0; }
.owner-page .month-appointments { color:#236344; background:#e8f3ec; margin-top:auto; }
.owner-page .month-day-panel { scroll-margin-top:18px; }
.owner-page .month-day-panel h2:focus { outline:0; }
.owner-page .month-person { padding:20px 0; border-top:1px solid #dfe7e0; }
.owner-page .month-person-heading h3 { margin:0; font-size:19px; }
.owner-page .month-person-time { margin:10px 0; font-size:16px; }
.owner-page .month-exception { padding:14px; border-radius:10px; margin:12px 0; }
.owner-page .month-exception p { margin:5px 0; }
.owner-page .month-exception button { margin-top:12px; }
.owner-page .month-adjust { margin-top:14px; padding:14px; border:1px solid #dce5de; border-radius:10px; }
.owner-page .month-adjust>summary,.owner-page .month-exception summary { cursor:pointer; font-weight:bold; min-height:32px; }
.owner-page .month-adjust form { padding-top:16px; }
@media(max-width:959px){.owner-page:not(.owner-js) .owner-topbar{position:static}}
@media(max-width:700px){.owner-page .schedule-month,.owner-page .month-day-panel{padding:16px}.owner-page .month-heading{display:block}.owner-page .month-arrows{margin-top:14px;justify-content:space-between}.owner-page .month-heading h2{font-size:24px}.owner-page .month-filter{grid-template-columns:1fr}.owner-page .month-filter button{width:100%}.owner-page .month-swipe{display:block}.owner-page .month-person-heading{align-items:flex-start}.owner-page .month-person-heading h3{font-size:18px}}

@media(min-width:960px){body.owner-page{background:linear-gradient(to right,#fff 0,#fff 248px,#f5f7f4 248px,#f5f7f4 100%)}.owner-topbar{min-height:100vh;bottom:0}}
.owner-page .insight-page { min-width:0; }
.owner-page .insight-page .card { padding:24px; margin:22px 0; }
.owner-page .insight-filter button { width:auto; min-height:48px; }
.owner-page .insight-custom[hidden] { display:none; }
.owner-page .insight-period { line-height:1.8; color:#52665a; }
.owner-page .insight-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:24px 0; }
.owner-page .insight-stats article { padding:24px; background:#fff; border:1px solid #dce5de; border-radius:14px; }
.owner-page .insight-stats span { display:block; color:#496451; font-size:14px; }
.owner-page .insight-stats strong { display:block; font-size:30px; line-height:1.4; margin:10px 0; overflow-wrap:anywhere; color:#183f29; }
.owner-page .insight-stats p { color:#5d6e63; font-size:13px; line-height:1.7; margin:0; }
.owner-page .insight-section h2 { font-size:22px; margin-top:0; }
.owner-page .insight-section>p { font-size:14px; color:#5d6e63; line-height:1.7; }
.owner-page .insight-table { width:100%; border-collapse:collapse; margin-top:18px; }
.owner-page .insight-table th,.owner-page .insight-table td { padding:13px 10px; border-bottom:1px solid #e1e8e2; text-align:left; overflow-wrap:anywhere; }
.owner-page .insight-table thead { background:#eef4ef; color:#395440; }
.owner-page .insight-table tfoot { font-weight:bold; background:#f3f7f3; }
.owner-page .insight-table tbody th { font-weight:500; }
.owner-page .insight-chart:empty { display:none; }
.owner-page .insight-chart svg { width:100%; height:auto; display:block; margin:22px 0; }
.owner-page .insight-chart .chart-positive { fill:#237e4f; }
.owner-page .insight-chart .chart-negative { fill:#b24150; }
.owner-page .insight-chart .chart-axis { stroke:#a8b9ad; stroke-width:1; }
.owner-page .insight-chart text { fill:#465e4f; font-size:12px; font-family:inherit; }
.owner-page .insight-data>summary { cursor:pointer; min-height:44px; font-weight:bold; }
.owner-page .insight-money-detail { background:#e9f3eb; border-radius:10px; padding:16px; line-height:1.8; }
@media(max-width:700px){.owner-page .insight-page .card{padding:18px}.owner-page .insight-stats{grid-template-columns:1fr}.owner-page .insight-stats strong{font-size:28px}.owner-page .insight-filter button{width:100%}.owner-page .insight-table thead{display:none}.owner-page .insight-table,.owner-page .insight-table tbody,.owner-page .insight-table tfoot,.owner-page .insight-table tr,.owner-page .insight-table th,.owner-page .insight-table td{display:block;width:100%}.owner-page .insight-table tr{padding:12px 0;border-bottom:1px solid #dce5de}.owner-page .insight-table th,.owner-page .insight-table td{padding:5px 0;border:0}.owner-page .insight-table [data-label]::before{content:attr(data-label) '：';font-size:13px;color:#617368;margin-right:5px}.owner-page .insight-table tfoot{padding:0 12px}.owner-page .insight-chart text{font-size:14px}}

/* BEAUTYUX003：餐飲式後台首頁；所有新樣式只作用於美業後台或獨立教學元件。 */
body.owner-page.owner-food{padding:0;background:#f0f2f5;color:#333;font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif}
.owner-page.owner-food main{width:100%;max-width:960px;margin:20px auto;padding:30px;min-width:0}
body.owner-page.owner-food.owner-home main{max-width:860px}
.owner-page.owner-food h1{color:#495057;border-bottom:2px solid #dee2e6;padding-bottom:10px;margin:20px 0;text-align:center;font-size:30px;line-height:1.4}
.beauty-owner-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border-bottom:1px solid #dee2e6;padding:12px 32px;min-height:58px;color:#495057;box-sizing:border-box;font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif}
.beauty-owner-topbar .beauty-owner-home{font-size:20px;font-weight:700;color:#495057;text-decoration:none;white-space:nowrap}
.beauty-owner-account{display:flex;align-items:center;gap:14px;min-width:0;font-size:14px;overflow-wrap:anywhere}
.beauty-owner-topbar form{margin:0;display:inline-flex}
.beauty-owner-topbar .beauty-owner-logout{width:auto;min-height:38px;padding:6px 14px;margin:0;border:1px solid #dc3545;border-radius:4px;color:#c82333;background:#fff;font-size:14px;white-space:nowrap}
.owner-page.owner-food .owner-store-name{text-align:center;color:#555;margin:0 0 24px}
.owner-page.owner-food .control-panel{background:#fff;border-radius:8px;padding:20px 25px;margin-bottom:30px;box-shadow:0 1px 3px rgba(0,0,0,.1);border:1px solid #ddd;text-align:center}
.owner-page.owner-food .control-panel h2{margin:0 0 20px;text-align:center;color:#333;font-size:24px;line-height:1.4}
.owner-page.owner-food .control-help{font-size:14px;line-height:1.6;color:#555;margin:12px 0}
.owner-page.owner-food .quick-state{font-weight:700}
.owner-page.owner-food .status-buttons{display:flex;justify-content:center;gap:15px;flex-wrap:wrap}
.owner-page.owner-food .btn-status{font-size:16px;padding:10px 15px;border:2px solid transparent;border-radius:5px;font-weight:700;min-width:120px;min-height:48px;width:auto;margin:0}
.owner-page.owner-food .status-open{background:#218838;color:#fff}.owner-page.owner-food .status-pause{background:#c82333;color:#fff}
.owner-page.owner-food .btn-status:disabled{background:#5a6268;color:#fff;opacity:1;cursor:default}
.owner-page.owner-food .home-today-counts{display:flex;justify-content:center;gap:28px;flex-wrap:wrap}.owner-page.owner-food .home-today-counts strong{font-size:25px;color:#0056b3;margin-left:8px}
.owner-page.owner-food .home-next{margin:18px 0}.owner-page.owner-food .home-next p{margin:4px 0}
.owner-page.owner-food .home-small-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.owner-page.owner-food .home-small-actions a,.owner-page.owner-food .opening-quick-control a{background:#0069d9;color:#fff;border-radius:5px;width:auto;min-height:44px;padding:10px 16px}
.owner-page.owner-food .home-colors{display:flex;justify-content:center;gap:36px;flex-wrap:wrap;margin:18px 0}
.owner-page.owner-food .home-colors label{display:flex;align-items:center;flex-direction:column;gap:12px;width:100px;font-size:16px;margin:0}
.owner-page.owner-food .home-colors input[type=color]{appearance:none;-webkit-appearance:none;display:block;border:1px solid #dfe3e6;padding:0;width:76px;height:76px;border-radius:50%;overflow:hidden;cursor:pointer;background:transparent;box-shadow:0 1px 4px #0002}
.owner-page.owner-food .home-colors input[type=color]::-webkit-color-swatch-wrapper{padding:0}.owner-page.owner-food .home-colors input[type=color]::-webkit-color-swatch{border:0;border-radius:50%}
.owner-page.owner-food .save-colors{display:block;width:200px;max-width:100%;margin:6px auto 0;min-height:48px;border-radius:5px;background:#0069d9;color:#fff}
.owner-page.owner-food .home-info-text{text-align:center;margin:0 0 25px;color:#555;font-size:16.8px;line-height:1.6}
.owner-page.owner-food .beauty-admin-nav{display:block;width:100%;margin:0;padding:0;text-align:center}.owner-page.owner-food .beauty-admin-nav>section{width:100%}
.owner-page.owner-food .beauty-admin-nav ul{list-style:none;padding:0;margin:0}.owner-page.owner-food .beauty-admin-nav li{margin-bottom:12px}
.owner-page.owner-food .beauty-admin-nav li a{display:block;background:#007bff;color:#fff;padding:15px 20px;text-decoration:none;border-radius:5px;box-shadow:0 2px 4px rgba(0,0,0,.05);text-align:center;font-size:20px;font-weight:700;line-height:24px;min-height:54px;overflow-wrap:anywhere}
.owner-page.owner-food .beauty-admin-nav li a:hover{background:#0056b3}.owner-page.owner-food .beauty-admin-nav li a:focus-visible{outline:3px solid #222;outline-offset:3px}
.owner-page.owner-food .nav-section-header{margin:28px 0 12px;padding:14px 20px;border-radius:10px;font-size:18.4px;font-weight:700;letter-spacing:1.5px;box-shadow:0 2px 6px #0001;border-left:8px solid #3182ce;background:linear-gradient(90deg,#ebf8ff 0%,#bee3f8 100%);color:#2c5282}
.owner-page.owner-food .owner-back-home{margin:0 0 20px}.owner-page.owner-food .owner-back-home a{color:#0056b3}
.beauty-owner-help{margin:12px 0 20px;padding:0;border:0;background:transparent;font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;box-sizing:border-box}
.beauty-owner-help .page-help-banner{display:flex;align-items:center;gap:12px;padding:14px 20px;border-radius:8px;cursor:pointer;box-shadow:0 2px 6px #0001;font-size:15px;background:linear-gradient(135deg,#dbeafe 0%,#bfdbfe 100%);border-left:5px solid #3b82f6;color:#1e3a8a;list-style:none}
.beauty-owner-help .page-help-banner::-webkit-details-marker{display:none}.beauty-owner-help .page-help-banner:focus-visible{outline:3px solid #1d4ed8;outline-offset:3px}
.ph-banner-icon{font-size:24px}.ph-banner-label{flex:1;line-height:1.4}.ph-banner-label strong{font-size:15px}.ph-banner-tagline{display:block;font-size:13px;margin-top:2px}.ph-banner-cta{font-weight:700;white-space:nowrap;padding:6px 14px;background:#ffffff99;border-radius:20px;font-size:14px}
.beauty-help-modal{font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;color:#333;box-sizing:border-box}
.beauty-help-modal[hidden]{display:none!important}.beauty-help-modal.help-modal-enhanced{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;padding:12px}
.beauty-help-modal .page-help-modal-content{background:#fff;width:100%;max-width:720px;max-height:none;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 60px #0004}
.beauty-help-modal.help-modal-enhanced .page-help-modal-content{max-height:88dvh;width:90%}
.beauty-help-modal .ph-modal-header{padding:18px 24px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(135deg,#3b82f6 0%,#1d4ed8 100%)}
.beauty-help-modal .ph-modal-header h2{margin:0;font-size:20px;color:#fff;font-weight:700;line-height:1.3;border:0}
.beauty-help-modal .ph-level-badge{display:inline-block;font-size:12px;padding:3px 10px;border-radius:12px;background:#ffffff40;margin-right:6px;vertical-align:middle;font-weight:400}
.beauty-help-modal .ph-modal-close{background:#ffffff33;border:0;color:#fff;font-size:28px;width:38px;height:38px;min-height:38px;flex:none;margin:0;border-radius:50%;padding:0;line-height:1}
.beauty-help-modal .ph-modal-body{padding:20px 24px;overflow-y:auto;min-height:0;flex:1}
.beauty-help-modal .ph-section{display:flex;gap:14px;padding:14px 16px;margin:0 0 14px;background:#f8fafc;border-radius:8px;border-left:4px solid #1d4ed8}
.beauty-help-modal .ph-section-icon{font-size:24px;line-height:1.2;flex-shrink:0}.beauty-help-modal .ph-section-body{flex:1;min-width:0}
.beauty-help-modal .ph-section-body h3{margin:0 0 6px;font-size:15px;color:#1e293b;font-weight:700}.beauty-help-modal .ph-section-body p{margin:0;font-size:14px;color:#475569;line-height:1.6}
.beauty-help-modal .ph-steps,.beauty-help-modal .ph-tips{margin:6px 0 0;padding-left:20px;font-size:14px;color:#475569;line-height:1.7}.beauty-help-modal li{margin-bottom:4px}
.beauty-help-modal .ph-section-tips{border-left-color:#f59e0b;background:#fffbeb}.beauty-help-modal .ph-section-related{background:#fef9c3;border-left-color:#eab308;font-size:13px;color:#713f12;padding:10px 14px}
.beauty-help-modal .ph-related a{color:#854d0e;font-weight:700;text-decoration:none;margin:0 4px;overflow-wrap:anywhere}
.beauty-help-modal .ph-modal-footer{padding:14px 24px;background:#f8fafc;border-top:1px solid #e5e7eb;text-align:right}
.beauty-help-modal .ph-btn-ok{background:#1d4ed8;color:#fff;border:0;padding:10px 24px;border-radius:6px;font-size:15px;font-weight:700;width:auto;min-height:44px;margin:0}
.beauty-owner-help:not(.help-enhanced) .ph-modal-close,.beauty-owner-help:not(.help-enhanced) .ph-modal-footer{display:none}
body.beauty-help-open{overflow:hidden}
.beauty-help-modal .ph-video{margin-bottom:16px;padding:14px;background:#0f172a;border-radius:10px;color:#fff}.beauty-help-modal .ph-video h3{margin:0 0 10px;font-size:16px;color:#fff}
.beauty-help-modal .ph-video-stage{position:relative;aspect-ratio:16/9;background:#020617;border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.beauty-help-modal .ph-video-stage img,.beauty-help-modal .ph-video-stage iframe{width:100%;height:100%;border:0;object-fit:cover}
.beauty-help-modal .ph-video-stage>button{position:absolute;width:64px;height:48px;min-height:48px;margin:0;border:0;border-radius:14px;background:#dc2626;color:#fff;font-size:24px;cursor:pointer;padding:0}
.beauty-help-modal .ph-video-kind{font-size:13px}.beauty-help-modal .ph-video-chapters{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.beauty-help-modal .ph-video-chapters button{border:1px solid #475569;background:#1e293b;color:#fff;border-radius:999px;padding:6px 10px;cursor:pointer;font-size:13px;width:auto;min-height:36px;margin:0}
.preview-mode .owner-preview-tools{margin:0 0 20px}.preview-mode .beauty-owner-topbar{padding:12px;border-radius:8px}.preview-mode .beauty-owner-topbar a{color:#495057}
@media(max-width:700px){.owner-page.owner-food main{padding:24px 18px}.owner-page.owner-food h1{font-size:26px}.beauty-owner-topbar{padding:10px 16px;gap:10px;flex-wrap:wrap}.beauty-owner-account{gap:10px;font-size:12px}.beauty-owner-topbar .beauty-owner-home{font-size:18px}.owner-page.owner-food .control-panel{padding:20px 18px}.owner-page.owner-food .control-panel h2{font-size:22px}.owner-page.owner-food .nav-section-header{font-size:17px;letter-spacing:1px}.beauty-owner-help .page-help-banner{flex-wrap:wrap;padding:12px 14px}.ph-banner-cta{width:100%;text-align:center;margin-top:6px}.beauty-help-modal.help-modal-enhanced .page-help-modal-content{width:95%;max-height:92dvh}.beauty-help-modal .ph-modal-header{padding:16px}.beauty-help-modal .ph-modal-header h2{font-size:17px}.beauty-help-modal .ph-section{padding:12px;gap:10px}.beauty-help-modal .ph-modal-body{padding:16px}.beauty-help-modal .ph-modal-footer{padding:12px 16px}}

/* 每店預約編號；新元件不影響其他卡片。 */
.booking-number{margin:12px 0;display:flex;align-items:baseline;gap:12px;color:#154e75}.booking-number>strong{font-size:24px;font-weight:800;font-variant-numeric:tabular-nums}.booking-number-inline{font-weight:800;margin-inline-end:.4em;color:#0056b3;font-variant-numeric:tabular-nums}.booking-number-success{display:flex;flex-direction:column;align-items:center;gap:4px;margin:18px 0}.booking-number-success>strong{font-size:64px;line-height:1.2}.booking-number-pending{color:#555;font-size:14px}.booking-number-search p{font-size:14px;color:#555;margin:10px 0 0}.booking-number-search a{margin-left:12px}@media(max-width:600px){.booking-number-success>strong{font-size:52px}}

/* 作品集僅作用於新元件；沿用店家的主題色。 */
.booking-page .portfolio-card-action{margin:-4px 0 18px;text-align:right}.booking-page .portfolio-card-action .button{display:inline-flex;border-radius:24px;padding:9px 20px;min-height:42px}
.portfolio-page main{max-width:960px}.portfolio-page .portfolio-hero{background:#fff;border:1px solid #dce4df;border-radius:22px;padding:28px;text-align:center;box-shadow:0 6px 24px #173d2720}.portfolio-page .portfolio-back{display:block;text-align:left;margin:0 0 22px}.portfolio-page .portfolio-hero h1{font-size:32px;line-height:1.3;margin:14px 0 6px;overflow-wrap:anywhere}.portfolio-page .portfolio-hero p{margin:8px 0 16px}.portfolio-page .portfolio-avatar{display:block;width:108px;height:108px;border-radius:50%;object-fit:cover;margin:0 auto}.portfolio-page .portfolio-letter{display:grid;place-items:center;background:var(--bk-brand,#237e4f);color:var(--bk-brand-ink,#fff);font-size:42px;font-weight:700}.portfolio-page .portfolio-bio{max-width:600px;margin-inline:auto!important;white-space:pre-wrap;overflow-wrap:anywhere}.portfolio-page .portfolio-book{display:inline-flex;margin-top:12px;justify-content:center;max-width:100%;white-space:normal}.portfolio-page .portfolio-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.portfolio-page .portfolio-thumb{padding:0;border:0;border-radius:16px;overflow:hidden;aspect-ratio:1;background:#e7eae6;box-shadow:0 4px 12px #173d2714;cursor:zoom-in}.portfolio-page .portfolio-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s}.portfolio-page .portfolio-thumb:hover img{transform:scale(1.035)}.portfolio-page .portfolio-thumb:focus-visible{outline:3px solid var(--bk-brand,#237e4f);outline-offset:3px}
.portfolio-page .portfolio-lightbox{padding:14px;width:min(960px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:94dvh;border:0;border-radius:18px;background:#14201c;color:#fff;box-sizing:border-box}.portfolio-page .portfolio-lightbox[open]{display:grid;gap:8px}.portfolio-page .portfolio-lightbox::backdrop{background:#07150fe0}.portfolio-page .portfolio-lightbox-tools{display:flex;align-items:center;justify-content:space-between;gap:16px}.portfolio-page .portfolio-lightbox-tools p{margin:0;font-size:16px;color:#fff}.portfolio-page .portfolio-lightbox button{padding:0;width:44px;height:44px;min-width:44px;border:1px solid #ffffff70;border-radius:50%;background:#ffffff18;color:#fff;font-size:30px;line-height:1;cursor:pointer}.portfolio-page .portfolio-lightbox-stage{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px}.portfolio-page .portfolio-lightbox-stage img{display:block;max-width:100%;width:100%;height:auto;max-height:76dvh;object-fit:contain;min-width:0}.portfolio-page .portfolio-lightbox button:focus-visible{outline:3px solid #f4dc79;outline-offset:2px}
.owner-page .portfolio-editor .portfolio-edit-item{padding:16px 0;border-top:1px solid #d8e2eb}.owner-page .portfolio-editor .portfolio-edit-item img{display:block;width:160px;height:160px;object-fit:cover;border-radius:12px}.owner-page .portfolio-edit-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.owner-page .portfolio-edit-actions form{margin:0}.owner-page .portfolio-edit-actions button{width:auto;margin:0;padding:8px 12px}.owner-page .portfolio-editor details{margin:12px 0}.owner-page .portfolio-upload{border-top:1px solid #d8e2eb;padding-top:18px;margin-top:18px}
@media(max-width:600px){.portfolio-page .portfolio-hero{padding:22px 18px}.portfolio-page .portfolio-hero h1{font-size:28px}.portfolio-page .portfolio-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.portfolio-page .portfolio-lightbox{padding:10px}.portfolio-page .portfolio-lightbox-stage{grid-template-columns:36px minmax(0,1fr) 36px;gap:6px}.portfolio-page .portfolio-lightbox-stage button{width:36px;height:44px;min-width:36px}.portfolio-page .portfolio-lightbox-stage img{max-height:70dvh}}
@media(prefers-reduced-motion:reduce){.portfolio-page .portfolio-thumb img{transition:none}}

/* 僅設計師編輯頁：人員資料與相鄰照片／作品卡片同寬。 */
.owner-page main:has(> .staff-photo-editor) > .editor-card{max-width:none}

/* BEAUTYUX007：客人完整流程；所有規則限定booking-page，後台封面預覽另限定owner-page。 */
.booking-page{background:#f7f7f2;color:#252e28}.booking-page main{max-width:1040px;padding:0 24px 64px}.booking-page .salon-home{margin-top:12px;background:white;border:1px solid #e6e8df;border-radius:20px;overflow:hidden}.booking-page .salon-cover{height:350px;position:relative;background:#294c3c}.booking-page .salon-cover>img{width:100%;height:100%;object-fit:cover;display:block}.booking-page .salon-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 50%,#12251970)}.booking-page .salon-cover-label{position:absolute;bottom:24px;right:28px;color:#fff;z-index:1;font-size:14px;letter-spacing:.18em}.booking-page .salon-cover-empty{background:radial-gradient(ellipse at 80% 10%,#ffffff20,transparent 70%),linear-gradient(130deg,var(--bk-brand),#20382c);display:flex;align-items:center;justify-content:center}.booking-page .salon-cover-brand{font-size:48px;letter-spacing:.18em;color:var(--bk-brand-ink);opacity:.9}.booking-page .salon-profile{padding:0 32px 24px;display:grid;grid-template-columns:88px 1fr auto;gap:24px;align-items:center;position:relative}.booking-page .salon-logo{width:88px;height:88px;border:5px solid white;border-radius:50%;background:#e9ede3;color:#315c42;display:grid;place-items:center;font-size:36px;margin-top:-34px;align-self:start;position:relative;z-index:2}.booking-page .salon-profile-copy{padding-top:25px}.booking-page .salon-kicker{font-size:10px;letter-spacing:.2em;color:#61715e;font-weight:700;margin:0 0 8px}.booking-page .salon-profile h1{font-size:32px;letter-spacing:.06em;margin:0 0 10px;line-height:1.3}.booking-page .salon-intro{font-size:14px;line-height:1.8;color:#697366;margin:0 0 12px}.booking-page .salon-today{font-size:12px;margin:0;color:#506349}.booking-page .salon-today>span{display:inline-block;width:6px;height:6px;background:#528355;border-radius:50%;margin-right:5px}.booking-page .salon-book{min-width:144px;display:flex;justify-content:space-between;gap:24px;font-size:14px;border-radius:10px}.booking-page .salon-contact{display:flex;align-items:center;gap:12px;border-top:1px solid #f0f1eb;padding:18px 32px;flex-wrap:wrap}.booking-page .salon-contact>a{font-size:12px;color:#394d3c;border:1px solid #e1e6dc;border-radius:30px;padding:9px 14px;text-decoration:none}.booking-page .salon-contact>a>span{color:#6a7468;margin-left:8px;font-size:11px}.booking-page .salon-contact details{margin-left:auto;font-size:12px;color:#52644c}.booking-page .salon-announcement{background:#edf0e7;border:1px solid #dfe5d6;border-radius:12px;padding:16px 22px;margin:20px 0 36px}.booking-page .salon-announcement summary{display:flex;align-items:center;gap:12px;cursor:pointer;font-size:13px;font-weight:700}.booking-page .salon-announcement summary:after{content:"−";margin-left:auto}.booking-page .salon-announcement details:not([open]) summary:after{content:"+"}.booking-page .salon-announcement small{font-size:10px;font-weight:400;color:#6d7a63}.booking-page .salon-announcement p{font-size:13px;line-height:1.9;color:#59634f;margin:10px 0 0}.booking-page .salon-section-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:18px}.booking-page .salon-section-title h2{font-size:22px;margin:0;letter-spacing:.06em}.booking-page .salon-section-title>span{font-size:12px;color:#899180}.booking-page .salon-stylists{display:flex;gap:14px;overflow-x:auto;scrollbar-width:thin;padding-bottom:6px}.booking-page .salon-stylist{flex:1;min-width:240px;display:flex;gap:16px;background:white;border:1px solid #e5e8df;border-radius:14px;padding:22px}.booking-page .salon-stylist-letter{flex:none;width:58px;height:58px;display:grid;place-items:center;background:#f0f1e9;color:#74826c;border-radius:50%;font-size:22px}.booking-page .salon-stylist h3{font-size:16px;margin:0 0 6px}.booking-page .salon-stylist p{font-size:12px;color:#7e8776;margin:0 0 9px}.booking-page .salon-stylist a{font-size:11px;color:#405c3a}.booking-page .salon-booking-title{border-top:1px solid #e0e5d9;margin-top:36px;padding-top:36px}.booking-page .salon-booking-title h2{font-size:25px;letter-spacing:.04em;margin:8px 0}.booking-page .salon-booking-title>p:last-child{font-size:13px;color:#7d8775;margin:10px 0 24px}.booking-page .progress{background:white;border-radius:14px;border:1px solid #e4e8de;padding:18px 12px}.booking-page .page-title{font-size:20px}.booking-page .service-group{background:transparent;border:0;padding:0}.booking-page .service-group>h2{font-size:16px}.booking-page .service-choice{border-radius:12px;background:#fff;padding:18px}.booking-page .service-choice strong{font-size:15px}
@media(max-width:600px){.booking-page main{padding:0 16px 40px}.booking-page .salon-home{margin:8px -16px 0;border-radius:0;border-left:0;border-right:0}.booking-page .salon-cover{height:224px}.booking-page .salon-cover-label{font-size:10px;right:18px;bottom:18px;letter-spacing:.1em}.booking-page .salon-cover-brand{font-size:30px;letter-spacing:.12em}.booking-page .salon-profile{padding:0 22px 22px;display:block}.booking-page .salon-logo{width:70px;height:70px;font-size:28px;margin-top:-32px}.booking-page .salon-profile-copy{padding-top:16px}.booking-page .salon-profile h1{font-size:27px}.booking-page .salon-intro{font-size:13px;line-height:1.8;max-width:310px}.booking-page .salon-kicker{font-size:9px}.booking-page .salon-book{margin-top:20px;width:100%;min-height:46px;align-items:center;font-size:14px}.booking-page .salon-contact{padding:16px 22px;gap:9px}.booking-page .salon-contact>a{padding:9px 12px}.booking-page .salon-contact>a>span{display:none}.booking-page .salon-contact details{font-size:11px}.booking-page .salon-announcement{padding:15px 17px;margin:18px 0 30px}.booking-page .salon-announcement p{font-size:12px;line-height:1.9}.booking-page .salon-section-title h2{font-size:20px}.booking-page .salon-section-title>span{display:none}.booking-page .salon-stylist{flex:none;min-width:270px;max-width:300px;padding:18px}.booking-page .salon-stylist p{max-width:170px}.booking-page .salon-booking-title{margin-top:26px;padding-top:30px}.booking-page .salon-booking-title h2{font-size:22px}.booking-page .progress{padding:14px 5px}.booking-page .page-title{font-size:19px}}
/* 設計稿桌面寬度覆蓋原預約流程 560px，公告保留原生 details 語意。 */
.booking-page main{width:min(100%,1040px)}.booking-page .salon-announcement details,.booking-page .salon-contact details{margin:0;padding:0;background:transparent}.booking-page .salon-announcement summary{border-radius:0;background:transparent;padding:0}.booking-page .salon-announcement details[open]>summary{margin:0}
.booking-page .salon-logo img{width:100%;height:100%;object-fit:cover;border-radius:50%}.booking-page .salon-stylist-portrait{width:94px;height:112px;object-fit:cover;border-radius:10px;flex:none}.booking-page .salon-stylist{align-items:center}.booking-page .salon-work{margin-top:30px}.booking-page .salon-work-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.booking-page .salon-work-grid a{display:block;overflow:hidden;border-radius:12px}.booking-page .salon-work-grid img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;transition:transform .2s}.booking-page .salon-work-grid a:hover img{transform:scale(1.04)}.booking-page .salon-compact{display:flex;align-items:center;gap:12px;margin:16px 0 25px;padding-bottom:22px;border-bottom:1px solid #e2e7dc}.booking-page .salon-compact>img{border-radius:50%}.booking-page .salon-compact p{font-size:10px;color:#6f7c64;margin:0}.booking-page .salon-compact h1{font-size:19px;letter-spacing:.06em;margin:3px 0}.booking-page .salon-compact>a{margin-left:auto;font-size:12px;color:#5c6e52}.booking-page:has(.salon-compact) main{width:min(100%,760px)}.booking-page:has(.salon-compact) .booking-summary-card{border-radius:16px;background:#fff;border:1px solid #dfe6d8;padding:22px;box-shadow:0 3px 15px #23422104}.booking-page .summary-store{font-size:11px;letter-spacing:.12em;color:#718264}.booking-page .summary-designer{font-size:17px;font-weight:600;color:#31472f}.booking-page .summary p{line-height:1.8}.booking-page .staff-card .staff-photo{width:92px;height:112px;border-radius:12px;object-fit:cover}.booking-page .staff-card{padding:18px;gap:20px}.booking-page .staff-card strong{font-size:18px}.booking-page .staff-card small{margin-top:6px;font-size:13px}.booking-page .featured{border-style:dashed;border-color:#bac8af;background:#f0f3ea;padding:20px}.booking-page .staff-portfolio-entry{margin:0 0 20px}.booking-page .slot-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.booking-page .slot-grid .slot{border-radius:999px;min-height:48px;box-shadow:none;font-weight:600}.booking-page .slot-day{background:white;border:1px solid #e1e6da;border-radius:16px;padding:24px}.booking-page .slot-day h2{font-size:17px}.booking-page .slot-day h3{font-size:12px;color:#66765c;border-top:1px solid #edf0e8;padding-top:18px}.booking-page .date-strip{gap:9px}.booking-page .date-strip>a,.booking-page .date-strip>span{border-radius:14px;padding:14px 2px}.booking-page.step-4:not(:has(.success-mark)) form:has(input[name=name]){background:#fff;border:1px solid #e1e7d9;border-radius:16px;padding:24px}.booking-page .success-mark{width:78px;height:78px;margin-top:30px;background:#e2ecdc;color:#3e6838}.booking-page:has(.success-mark) .page-title{text-align:center}.booking-page:has(.success-mark) main>p,.booking-page:has(.success-mark) .success-time{text-align:center}.booking-page:has(.success-mark) .booking-number-success{margin-top:20px}.booking-page:has(.success-mark) .booking-number-success strong{font-size:48px;font-weight:500;letter-spacing:.06em}.booking-page .appointment-card{border-radius:16px;border-color:#e0e7d9;box-shadow:0 3px 20px #23422104}.booking-page .portfolio-gallery{gap:14px}.booking-page .portfolio-gallery img{border-radius:14px}.booking-page .service-choice small{display:inline-block;margin-top:8px;padding:3px 9px;border-radius:6px;background:#f0f3e9;font-size:12px;color:#5a6f4f}
@media(max-width:600px){.booking-page .salon-work-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.booking-page .salon-work .salon-section-title h2{font-size:19px}.booking-page .salon-stylist-portrait{width:84px;height:102px}.booking-page .salon-stylist{min-width:290px}.booking-page .salon-compact{margin-top:12px;padding-bottom:20px}.booking-page .salon-compact h1{font-size:17px}.booking-page .salon-compact>a{font-size:11px}.booking-page .staff-card .staff-photo{width:80px;height:100px}.booking-page .slot-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.booking-page .slot-day{padding:18px 14px}.booking-page.step-4:not(:has(.success-mark)) form:has(input[name=name]){padding:20px 16px}.booking-page .date-strip{gap:4px}.booking-page .date-strip>a,.booking-page .date-strip>span{padding:10px 1px}.booking-page .portfolio-gallery{gap:8px}}
.booking-page{font-family:"Microsoft JhengHei","Noto Sans TC",system-ui,sans-serif}.booking-page .booking-number-success{color:var(--bk-link)}.booking-page .salon-book{color:var(--bk-brand-ink)}

.booking-page main{width:min(100%,760px)}.booking-page:has(.salon-home) main{width:min(100%,1040px)}
.booking-page .salon-cover:after{display:none}.booking-page .salon-cover-empty{min-height:224px;isolation:isolate;background:var(--bk-brand);color:var(--bk-brand-ink)}
.booking-page .salon-cover-pattern{position:absolute;inset:-90px;z-index:-1;opacity:.15;background:repeating-radial-gradient(ellipse at 15% 20%,transparent 0 38px,currentColor 39px 40px,transparent 41px 80px);transform:rotate(-20deg)}
.booking-page .salon-cover-intro{color:var(--bk-brand-ink);font-size:22px;line-height:1.7;max-width:600px;text-align:center;padding:32px;letter-spacing:.06em;overflow-wrap:anywhere}
.booking-page .salon-logo{overflow:hidden}.booking-page .salon-logo>span{font-size:32px}.booking-page .salon-compact-logo{width:42px;height:42px;border-radius:50%;overflow:hidden;background:#e8eddf;display:grid;place-items:center;flex:none}.booking-page .salon-compact-logo img{width:100%;height:100%;object-fit:cover}.booking-page .salon-compact-logo>span{font-size:20px}
.booking-page .salon-today>span{background:#90978b}.booking-page .salon-today.is-open>span{background:#528355}.booking-page .salon-hours{flex:1 1 180px}.booking-page .salon-hours summary{min-height:40px;display:flex;align-items:center;font-size:12px}.booking-page .salon-hours dl{max-width:360px}.booking-page .salon-hours p{font-size:11px;max-width:360px}.booking-page .salon-intro,.booking-page .salon-stylist p,.booking-page .salon-profile h1{overflow-wrap:anywhere}.booking-page .salon-announcement p{white-space:pre-wrap;overflow-wrap:anywhere}.booking-page .salon-stylist>div{min-width:0}.booking-page .salon-stylist h3{overflow-wrap:anywhere}.booking-page .salon-stylists{scroll-snap-type:x proximity}.booking-page .salon-stylist{scroll-snap-align:start}.booking-page .salon-work-grid>span{display:block;overflow:hidden;border-radius:12px}
.booking-page .salon-contact .public-hours{margin:0;padding:0;border:0;background:transparent}.booking-page .salon-profile .salon-book{color:var(--bk-brand-ink)}
.booking-page .date-strip a[aria-current=date],.booking-page.has-store-theme .date-strip a[aria-current=date]{color:var(--bk-brand-ink);background:var(--bk-brand)}.booking-page .date-strip a[aria-current=date] span{color:inherit}
.booking-page .staff-choice-card{border:1px solid var(--bk-line);border-radius:16px;background:var(--bk-surface);margin-bottom:14px;overflow:hidden}.booking-page .staff-choice-card:has(input:checked){border-color:var(--bk-link,var(--bk-brand));box-shadow:inset 0 0 0 1px var(--bk-link,var(--bk-brand))}.booking-page .staff-choice-card .choice{border:0;margin:0;box-shadow:none;border-radius:0}.booking-page .staff-choice-card .choice:has(input:checked){border:0;box-shadow:none}.booking-page .staff-choice-card .portfolio-card-action{display:flex;justify-content:flex-end;margin:0;padding:0 20px 12px}.booking-page .staff-choice-card .portfolio-card-action a{min-height:36px;display:inline-flex;align-items:center;padding:3px 0;border:0;background:transparent;color:var(--bk-link,var(--bk-brand));font-size:13px;font-weight:500;box-shadow:none;border-radius:0}.booking-page .staff-choice-card .portfolio-card-action a:after{content:' ›'}
.booking-page .booking-receipt{margin:0}.booking-page .booking-receipt>div{display:grid;grid-template-columns:64px minmax(0,1fr);gap:18px;padding:12px 0;border-bottom:1px solid #eef0e9}.booking-page .booking-receipt dt{font-size:12px;color:#6b7861;font-weight:400}.booking-page .booking-receipt dd{margin:0;text-align:right;font-size:14px;color:#293b27;overflow-wrap:anywhere}.booking-page .booking-receipt dd small{display:block;font-size:12px;color:#718168;margin-top:4px}.booking-page .booking-receipt .summary-designer{font-size:14px;font-weight:600}.booking-page .booking-receipt .summary-when{font-size:13px;line-height:1.8}.booking-page .booking-receipt .is-pending{color:#74806d}.booking-page .booking-receipt .receipt-total{border:0;padding-bottom:0}.booking-page .booking-receipt .receipt-total dd{font-size:22px;font-weight:600;color:var(--bk-link,var(--bk-brand))}.booking-page .receipt-card .summary-store{border-bottom:1px solid #e6eadf;padding-bottom:14px;margin:0 0 2px;font-size:12px;color:#627656}
.booking-page .time-period-tabs{display:flex;gap:6px;padding:4px;background:#f0f2ea;border-radius:12px;margin:18px 0}.booking-page .time-period-tabs[hidden]{display:none}.booking-page .time-period-tabs button{flex:1;min-width:0;border:0;font-size:13px;background:transparent;color:#65755c;border-radius:9px;padding:9px 5px;min-height:44px}.booking-page .time-period-tabs button[aria-selected=true]{background:var(--bk-brand);color:var(--bk-brand-ink)}.booking-page [data-time-period][hidden]{display:none}.booking-page [data-time-period]>h3{padding-top:0;border:0;margin-bottom:14px}.booking-page .salon-booking-title{scroll-margin-top:20px}
.owner-page .branding-cover-preview{display:block;width:min(100%,640px);height:auto;max-height:320px;object-fit:cover;border-radius:14px;margin:12px 0}.owner-page #store-profile textarea,.owner-page #store-announcement textarea{width:100%}
@media(max-width:600px){.booking-page .salon-cover-intro{font-size:17px;padding:28px;line-height:1.8}.booking-page .salon-hours{flex:0 1 auto;margin-left:auto!important}.booking-page .salon-hours[open]{flex-basis:100%}.booking-page .salon-stylist{min-width:280px;max-width:300px}.booking-page .booking-receipt>div{grid-template-columns:54px minmax(0,1fr);gap:14px}.booking-page .salon-cover-empty{height:224px}.booking-page .salon-logo{width:70px;height:70px}}
.booking-page .staff-choice-card .portfolio-card-action a.button{width:auto;justify-content:flex-end}

/* BEAUTYUX008 B：所有客人頁共用的 LINE 身分狀態。 */
.booking-page .customer-status{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin:12px 0;padding:10px 14px;border:1px solid #dce7db;border-radius:14px;background:#fff;font-size:13px}
.booking-page .customer-status>span:first-child{margin-right:auto;color:#52624f}
.booking-page .customer-status-person{display:flex;align-items:center;gap:9px;min-width:0;margin-right:auto}
.booking-page .customer-status-person>span:last-child{display:grid;min-width:0;line-height:1.3}
.booking-page .customer-status-person small{color:#5d765d;font-size:11px}
.booking-page .customer-status-person strong{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.booking-page .customer-avatar{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:var(--bk-brand,#237e4f);color:var(--bk-brand-ink,#fff);font-size:17px;font-weight:700}
.booking-page .customer-status form{margin:0}
.booking-page .customer-status button{min-height:36px;padding:6px 11px;margin:0;font-size:12px}
.booking-page .customer-status a{white-space:nowrap;font-weight:600}
.booking-page .booking-line-person{margin:8px 0 16px;color:#315c3a;font-weight:700}
@media(max-width:600px){.booking-page .customer-status{gap:8px;padding:10px}.booking-page .customer-status-person{flex-basis:100%}.booking-page .customer-status-person strong{max-width:260px}.booking-page .customer-status>a{margin-left:auto}.booking-page .customer-status>span:first-child{margin-right:auto}}

/* BEAUTYUX008 C：開店精靈與開店後美化清單。 */
.owner-page.wizard-page main{max-width:1100px}
.owner-page .wizard-layout{display:grid;grid-template-columns:196px minmax(0,1fr);gap:24px;align-items:start}
.owner-page .wizard-main{min-width:0}
.owner-page .wizard-sidebar{position:sticky;top:16px}
.owner-page .wizard-menu{border:1px solid #dce6da;border-radius:12px;background:#fff;padding:12px}
.owner-page .wizard-menu summary{font-weight:700;cursor:pointer;min-height:40px;padding:8px}
.owner-page .wizard-menu nav{display:grid;gap:3px}
.owner-page .wizard-menu nav a{display:block;padding:10px 9px;border-radius:7px;font-size:13px;line-height:1.35}
.owner-page .wizard-menu nav a[aria-current=page]{background:#edf7f1;font-weight:700}
.owner-page .wizard-menu nav a:hover,.owner-page .wizard-menu nav a:focus-visible{background:#e3f0e6}
.owner-page .polish-checklist details{margin:0}
.owner-page .polish-checklist summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;font-size:18px}
.owner-page .polish-checklist summary span{font-size:13px;font-weight:400}
.owner-page .polish-checklist ul{list-style:none;padding:0;margin:12px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.owner-page .polish-checklist li{display:flex;gap:8px;align-items:center;border:1px solid #e0e8df;border-radius:9px;padding:9px 12px}
.owner-page .polish-checklist li.is-done{color:#356a48;background:#f1f8f1}
.owner-page .polish-checklist li.is-pending{color:#825c24;background:#fffaf0}
.owner-page .polish-checklist li a{overflow-wrap:anywhere}
@media(min-width:701px){.owner-page .wizard-menu summary{display:none}.owner-page .wizard-menu:not([open]) nav{display:grid}}
@media(max-width:700px){.owner-page .wizard-layout{grid-template-columns:minmax(0,1fr);gap:12px}.owner-page .wizard-sidebar{position:static}.owner-page .wizard-menu{padding:5px 10px}.owner-page .polish-checklist ul{grid-template-columns:minmax(0,1fr)}.owner-page .polish-checklist summary{flex-wrap:wrap}}

/* BEAUTYUX008 E：設計師本人工作首頁與團隊帳號。 */
.owner-page.staff-home .staff-home-intro{margin:8px 0 18px}
.owner-page.staff-home .staff-home-intro h2{margin:4px 0}
.owner-page .staff-today-card{display:grid;gap:10px}
.owner-page .staff-today-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}
.owner-page .staff-today-card form{margin:0}
.owner-page .staff-home-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 28px}
.owner-page .staff-home-actions a{text-align:center}
.owner-page .team-link-result input{width:100%;overflow-wrap:anywhere}
.owner-page .team-account-card{display:grid;gap:10px}
.owner-page .team-account-card form{margin:0}
@media(max-width:600px){.owner-page .staff-home-actions{grid-template-columns:minmax(0,1fr)}.owner-page .staff-today-card>div:first-child{align-items:flex-start;flex-wrap:wrap}}

/* BEAUTYUX009: daily work first; all entries still come from the permission-filtered registry. */
body.owner-page.owner-food.owner-home main{max-width:1100px}
.owner-page.owner-food .owner-store-name{margin:12px 0;color:#596778;font-size:14px;text-align:left}
.owner-page.owner-food .home-next-step{text-align:left;border:1px solid #dbe5f4;border-top:4px solid #2563eb;box-shadow:0 6px 24px #1e3a5f08;padding:24px;margin:16px 0 28px}
.home-next-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.home-next-heading .eyebrow{margin:0;color:#315c9c;font-weight:700}
.home-booking-state{padding:5px 10px;border-radius:20px;background:#f1f3f6;color:#526174;font-size:12px}
.home-booking-state.is-open{background:#e8f5ed;color:#246341}
.owner-page.owner-food .home-next-step h2{font-size:26px;margin:12px 0 8px;line-height:1.45;text-align:left}
.home-next-step>p{color:#526174;line-height:1.7}
.home-next-step progress{display:block;width:100%;height:10px;margin:18px 0;accent-color:#2563eb}
.owner-page.owner-food .home-next-step .home-primary{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 22px;background:#2463d6;color:#fff;border-radius:10px;font-size:16px;font-weight:700;text-decoration:none}
.home-next-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:18px 0}
.owner-page.owner-food .home-next-step .home-primary{width:auto}
.home-secondary{display:inline-flex;align-items:center;min-height:44px;color:#315c9c;font-weight:700}
.home-booking-controls{margin:18px 0 0;background:#f7f9fc;border:0;padding:0 14px}
.home-booking-controls>summary{display:flex;align-items:center;min-height:44px;cursor:pointer;font-size:14px;color:#526174;gap:8px}
.home-booking-controls>summary:before{content:'＋';font-size:17px}.home-booking-controls[open]>summary:before{content:'−'}
.home-booking-controls p{font-size:13px;color:#526174}
.home-next-step .status-buttons{justify-content:flex-start;gap:10px;margin:12px 0}
.home-next-step .status-buttons button{min-height:44px;font-size:15px;border-radius:9px}
.home-next-step .status-buttons button:disabled{display:none}
.home-resume-control{margin:18px 0}
.home-day-summary{border-top:1px solid #e4e9f1;margin-top:22px;padding-top:16px}
.owner-page.owner-food .home-day-summary .home-today-counts{justify-content:flex-start;gap:24px;flex-wrap:wrap;margin:0;font-size:14px}
.home-day-summary .home-today-counts strong{font-size:24px;color:#244e83;margin-left:6px}
.home-count-note{font-size:12px;color:#6a7686;margin:8px 0 12px}
.home-next-person{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:10px 0 4px;font-size:14px}
.home-next-person>span{color:#6a7686}.home-next-services{color:#6a7686;font-size:13px;margin:0}
.owner-page.owner-food .home-function-cards{text-align:left}
.owner-page.owner-food .home-function-cards>section{margin:0 0 24px}
.owner-page.owner-food .home-section-title{font-size:18px;color:#2c3d54;margin:0 0 12px;padding:0;border:0;text-align:left;letter-spacing:0}
.owner-page.owner-food .home-function-cards .function-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
.owner-page.owner-food .home-function-cards .common-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.owner-page.owner-food .home-function-cards li{margin:0;min-width:0}
.owner-page.owner-food .home-function-cards li a{display:flex;align-items:flex-start;gap:12px;height:100%;min-height:104px;padding:18px 14px;background:#fff;border:1px solid #dfe5ed;color:#273b55;border-radius:12px;text-align:left;font-size:15px;line-height:1.5;box-shadow:0 2px 6px #253a5104;transition:background .15s,border-color .15s}
.owner-page.owner-food .home-function-cards li a:hover{background:#f3f7ff;border-color:#9eb9e5}
.owner-page.owner-food .home-function-cards .common-card-grid a{background:#edf4ff;border-color:#c9daf5;min-height:132px;flex-wrap:wrap;gap:8px}
.function-card-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border-radius:8px;background:#f0f4fa;color:#315e9e;font-size:22px;font-weight:500}
.common-card-grid .function-card-icon{background:#dfeaff}
.function-card-copy{display:block;flex:1;min-width:0}.function-card-copy strong{display:block;font-size:15px;color:inherit}
.function-card-copy small{display:block;margin-top:5px;font-size:12px;font-weight:400;line-height:1.6;color:#65748a}
.function-card-arrow{color:#91a2b9;align-self:center;font-size:22px}
.common-card-grid .function-card-copy{flex-basis:100%}.common-card-grid .function-card-arrow{display:none}
.owner-page.owner-food .home-nav-disclosure{background:transparent;border:1px solid #dfe5ed;border-radius:12px;padding:0 16px;margin:0}
.home-nav-disclosure>summary{min-height:60px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;cursor:pointer;padding:12px 0;color:#2c3d54}
.home-nav-disclosure>summary:before{content:'＋';color:#587399}.home-nav-disclosure[open]>summary:before{content:'−'}
.home-nav-disclosure>summary>span{font-size:17px;font-weight:700}.home-nav-disclosure>summary>small{font-size:12px;font-weight:400;color:#65748a}
.home-nav-disclosure[open]>.function-card-grid{padding-bottom:16px!important}
.owner-page.owner-food .polish-checklist{margin-top:26px;padding:18px;text-align:left}
.polish-checklist summary{min-height:44px;align-content:center}
.home-appearance-link{font-size:13px;text-align:left}.home-appearance-link a{display:inline-flex;align-items:center;min-height:44px}
.home-next-step a:focus-visible,.home-nav-disclosure>summary:focus-visible,.home-booking-controls>summary:focus-visible{outline:3px solid #224c88;outline-offset:4px}
@media(max-width:700px){
 .owner-page.owner-food .home-next-step{padding:20px 16px;margin-bottom:24px}
 .owner-page.owner-food .home-next-step h2{font-size:23px}
 .owner-page.owner-food .home-next-step .home-primary{width:100%}
 .home-next-actions{display:block}.home-secondary{margin-top:6px}
 .home-day-summary .home-today-counts{gap:12px;font-size:12px}.home-day-summary .home-today-counts strong{font-size:22px}
 .owner-page.owner-food .home-function-cards .function-card-grid,.owner-page.owner-food .home-function-cards .common-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .owner-page.owner-food .home-function-cards li a{padding:14px 12px;min-height:130px;flex-wrap:wrap;gap:8px}
 .function-card-copy{flex-basis:100%}.function-card-arrow{display:none}
 .function-card-copy strong{font-size:14px}.function-card-copy small{font-size:12px}
 .owner-page.owner-food .home-nav-disclosure{padding:0 12px}
 .home-nav-disclosure>summary{gap:8px}.home-nav-disclosure>summary>small{flex-basis:100%;padding-left:24px}
}


/* BEAUTYUX009: authenticated errors offer a way back; closed shops retain contact details. */
.owner-page.owner-food .owner-back-home a{display:inline-flex;align-items:center;min-height:44px}
.owner-denied-guidance{margin:16px 0;padding:24px;text-align:left}
.owner-denied-guidance .button{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.empty-setup-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.empty-setup-links .button{min-height:44px;display:inline-flex;align-items:center}
.booking-page .salon-closed{margin:24px 0 18px;padding:28px;background:#fff;border:1px solid #e2e7df;border-radius:18px}
.salon-closed-heading{display:flex;align-items:center;gap:18px;min-width:0}
.booking-page .salon-closed .salon-logo{margin:0;flex:none;width:72px;height:72px;font-size:30px}
.booking-page .salon-closed h1{margin:4px 0;font-size:28px;line-height:1.4;overflow-wrap:anywhere}
.booking-page .salon-closed .salon-kicker{margin:0;color:var(--bk-muted,#52635a)}
.salon-closed-contact{display:grid;gap:12px;margin-top:24px}
.booking-page .salon-closed-contact a.button{min-height:46px;display:flex;align-items:center;justify-content:center;white-space:normal;overflow-wrap:anywhere;text-align:center}
.booking-page .salon-closed-contact .salon-hours{margin:0!important;max-width:100%;width:100%;flex-basis:auto}
.booking-page .salon-closed-contact .salon-hours>summary{min-height:44px;display:flex;align-items:center;padding:8px 0}
.booking-page .closed-booking-notice{border-radius:14px;padding:24px;background:#edf2eb;border:1px solid #dce5d8}
.booking-page .closed-booking-notice h2{font-size:21px;margin:0 0 10px}
.booking-page .closed-booking-notice p{margin:0;color:var(--bk-muted,#52635a);line-height:1.8}
@media(max-width:600px){.booking-page .salon-closed{padding:22px 18px}.booking-page .salon-closed h1{font-size:24px}.salon-closed-heading{gap:12px}.booking-page .salon-closed .salon-logo{width:58px;height:58px;font-size:26px}.empty-setup-links{display:grid;grid-template-columns:1fr}}


/* BEAUTYUX009: appointments share a readable card layout without changing available actions. */
body.owner-page.owner-food.owner-agenda-page main{max-width:1100px}
.appointment-list-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;margin:18px 0}
.appointment-list-grid>.owner-appointment-card,.appointment-list-grid>.appointment-search-result>.owner-appointment-card{margin:0;height:auto}
.owner-page .owner-appointment-card{display:flex;flex-direction:column;min-width:0;padding:20px;border:1px solid #dce4ee;border-radius:16px;box-shadow:0 4px 16px #20385606}
.owner-appointment-card .appointment-card-head{gap:12px;flex-wrap:wrap;align-items:flex-start}
.owner-appointment-card .appointment-when{min-width:0;flex:1}
.owner-appointment-card .appointment-local-date{margin:0 0 4px;font-size:12px;color:#6a788b}
.owner-appointment-card .appointment-card-head strong{margin:0;font-size:16px;line-height:1.55;color:#2d405b;overflow-wrap:anywhere}
.owner-appointment-card .status-pill{font-size:12px;padding:7px 10px;line-height:1.5;white-space:normal;max-width:100%}
.owner-appointment-card .appointment-state-requested{background:#fff0c7;color:#775614}
.owner-appointment-card .appointment-state-confirmed{background:#e4efff;color:#24579d}
.owner-appointment-card .appointment-state-checked_in{background:#eee7ff;color:#66439d}
.owner-appointment-card .appointment-state-awaiting-checkout{background:#ffead9;color:#995522}
.owner-appointment-card .appointment-state-paid{background:#e3f4e9;color:#286643}
.owner-appointment-card .appointment-state-cancelled{background:#eef0f3;color:#626b79}
.owner-appointment-card .appointment-state-no_show{background:#ffe4e7;color:#a23848}
.appointment-customer{display:flex;align-items:center;gap:12px;margin:14px 0 10px;flex-wrap:wrap}
.owner-appointment-card .appointment-customer h2{font-size:22px;margin:0;text-align:left;flex:1;min-width:0;line-height:1.45;color:#26394f;overflow-wrap:anywhere}
.owner-appointment-card .appointment-customer a{display:inline-flex;align-items:center;min-height:44px;flex:none;padding:0 6px;margin:0;text-decoration:none;color:#3d6290;font-size:14px}
.appointment-service-summary{margin:0;padding:0;display:grid;gap:10px}
.appointment-service-summary>div{display:grid;grid-template-columns:62px minmax(0,1fr);gap:10px;font-size:14px;line-height:1.7}
.appointment-service-summary dt{color:#758296;font-weight:400}.appointment-service-summary dd{margin:0;color:#34465e;overflow-wrap:anywhere}
.appointment-service-summary .appointment-estimate{margin-top:2px;padding-top:10px;border-top:1px solid #edf0f5;align-items:center}
.appointment-service-summary .appointment-estimate dd{font-size:20px;font-weight:700}
.owner-appointment-card .appointment-phone{margin:8px 0 0}.appointment-phone a{display:inline-flex;align-items:center;min-height:44px;font-size:13px}
.owner-appointment-card .appointment-note,.owner-appointment-card .appointment-resource{font-size:13px;margin:6px 0;overflow-wrap:anywhere}
.owner-appointment-card .primary-action{margin-top:auto;padding-top:14px}
.owner-appointment-card .primary-action .button,.owner-appointment-card .primary-action button{min-height:46px;border-radius:10px;display:flex;align-items:center;justify-content:center;white-space:normal}
.owner-appointment-card .appointment-more{padding:0 12px;margin-top:12px}
.owner-appointment-card .appointment-more summary{min-height:44px;display:flex;align-items:center;cursor:pointer;line-height:1.6;gap:8px}
.owner-appointment-card .appointment-more summary:before{content:'＋'}.owner-appointment-card .appointment-more details[open]>summary:before,.owner-appointment-card .appointment-more[open]>summary:before{content:'−'}
.owner-appointment-card .appointment-more details{padding:0 10px}.owner-appointment-card .appointment-more button{min-height:44px}
.agenda-action-help{margin:10px 0 18px;padding:0 14px}.agenda-action-help>summary{display:flex;align-items:center;min-height:44px;cursor:pointer;gap:8px}.agenda-action-help>summary:before{content:'＋'}.agenda-action-help[open]>summary:before{content:'−'}
.agenda-state-summary{font-size:16px;font-weight:650;color:#334d70}
.owner-slot-period{border:1px solid #e0e6ef;border-radius:12px;padding:14px;margin:16px 0;min-width:0}
.owner-slot-period legend{font-weight:700;color:#344c6c;padding:0 6px;font-size:16px}.owner-slot-period legend small{font-weight:400;font-size:12px;color:#738096;margin-left:8px}
.owner-slot-period .slot-choice{min-height:46px}.owner-slot-period .slot-grid{margin:0}
.owner-appointment-card a:focus-visible,.owner-appointment-card summary:focus-visible{outline:3px solid #315f9b;outline-offset:3px}
@media(max-width:700px){.appointment-list-grid{grid-template-columns:minmax(0,1fr);gap:16px}.owner-page .owner-appointment-card{padding:18px 16px}.owner-appointment-card .appointment-card-head strong{font-size:15px}.owner-appointment-card .appointment-customer h2{font-size:21px}.owner-slot-period{padding:12px 10px}}


/* BEAUTYUX009: a missing photograph uses a compact, content-sized brand header. */
.booking-page .salon-cover-empty{height:auto;min-height:140px}
.booking-page .salon-cover-empty .salon-cover-intro{margin:0;padding:24px 32px 56px;max-width:650px;line-height:1.7}
@media(max-width:600px){.booking-page .salon-cover-empty{height:auto;min-height:104px}.booking-page .salon-cover-empty .salon-cover-intro{font-size:16px;line-height:1.7;padding:24px 24px 48px}}

/* BEAUTYRWD001 1A：共用殼與手機優先 tokens；不套用客人頁。 */
body.owner-page.owner-food.beauty-rwd{--bx-primary:#19775a;--bx-text:#23372e;--bx-muted:#52665c;--bx-border:#dce5df;--bx-warning:#92400e;margin:0;padding:0 0 calc(var(--bx-footer-height,96px) + 16px + env(safe-area-inset-bottom));background:#f4f6f3;color:var(--bx-text);font-size:16px;line-height:1.6}
body.owner-page.owner-food.beauty-rwd *{box-sizing:border-box}
body.owner-page.owner-food.beauty-rwd main{width:100%;max-width:1100px;margin:0 auto;padding:20px 16px 32px;background:transparent;border:0;box-shadow:none;min-width:0;text-align:left}
body.owner-page.owner-food.beauty-rwd.bx-form-page main{max-width:720px}
body.owner-page.owner-food.beauty-rwd h1{font-size:22px;line-height:1.4;letter-spacing:0;color:var(--bx-text);text-align:left;margin:0;border:0;padding:0}
body.owner-page.owner-food.beauty-rwd h2{font-size:18px}
body.owner-page.owner-food.beauty-rwd :is(input,select,textarea){font-size:16px;max-width:100%;min-width:0}
body.owner-page.owner-food.beauty-rwd :where(button,.button,input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select){min-height:44px}
body.owner-page.owner-food.beauty-rwd :is(button,.button){font-size:16px;white-space:normal;overflow-wrap:anywhere}
body.owner-page.owner-food.beauty-rwd :is(.card,.control-panel){border:1px solid var(--bx-border);border-radius:14px;box-shadow:0 3px 12px #20382b05}
body.owner-page.owner-food.beauty-rwd :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.beauty-rwd .bx-skip{position:fixed;left:16px;top:-100px;z-index:100;background:#fff;padding:12px;border:2px solid #19775a;border-radius:8px}
.beauty-rwd .bx-skip:focus{top:8px}
.beauty-rwd .bx-header{position:relative;z-index:25;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;min-height:64px;padding:8px 16px;background:#fff;border-bottom:1px solid var(--bx-border)}
.beauty-rwd .bx-store{min-width:0;margin:0;padding:0;border:0;background:none;position:relative}
.beauty-rwd .bx-store summary{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:44px;padding:10px 0;font-size:16px;font-weight:750;list-style:none;cursor:pointer}
.beauty-rwd .bx-store summary::-webkit-details-marker{display:none}
.beauty-rwd .bx-store p{position:absolute;top:100%;left:0;width:min(75vw,340px);padding:12px;background:#fff;border:1px solid var(--bx-border);border-radius:10px;box-shadow:0 8px 24px #20382b20;overflow-wrap:anywhere}
.beauty-rwd .bx-account{display:flex;align-items:center;gap:8px;min-width:0}
.beauty-rwd .bx-account-name{font-size:14px;max-width:112px;overflow-wrap:anywhere;color:var(--bx-muted)}
.beauty-rwd .bx-account form{margin:0}
body.owner-page.owner-food.beauty-rwd .bx-logout{width:auto;margin:0;min-width:44px;padding:8px;background:#fff;border:1px solid var(--bx-border);color:var(--bx-muted);border-radius:8px;font-size:14px}
.beauty-rwd .bx-help{margin:0;padding:0;border:0;background:transparent;align-self:center}
.beauty-rwd .bx-help-trigger{display:flex;align-items:center;justify-content:center;gap:2px;min-height:44px;padding:8px;border:1px solid var(--bx-border);border-radius:9px;list-style:none;white-space:nowrap;color:#155c45;font-size:14px;cursor:pointer;background:#fff}
.beauty-rwd .bx-help-trigger::-webkit-details-marker{display:none}
.beauty-rwd .bx-help-trigger::after{display:none}
.beauty-rwd .bx-video-revision{padding:12px;border:1px solid #e8d3a9;border-radius:9px;background:#fffbef;color:var(--bx-warning);font-size:14px}
.beauty-rwd .bx-page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 24px;flex-wrap:wrap;min-width:0}
body.owner-page.owner-food.beauty-rwd .bx-new{width:auto;min-height:48px;padding:10px 14px;background:var(--bx-primary);color:#fff;text-decoration:none;border-radius:10px;font-size:14px;flex-shrink:0}
.beauty-rwd .bx-sidebar{display:none}
.beauty-rwd .bx-bottom-nav{position:fixed;inset:auto 0 0;z-index:30;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;min-height:64px;padding:4px 8px calc(4px + env(safe-area-inset-bottom));border-top:1px solid var(--bx-border);background:#fff;box-shadow:0 -4px 20px #20382b08}
.beauty-rwd .bx-bottom-nav a{display:flex;min-width:0;min-height:56px;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:4px 0;text-decoration:none;color:var(--bx-muted);background:transparent;border-radius:9px;line-height:1.4}
.beauty-rwd .bx-bottom-nav a[aria-current=page]{color:#135b44;background:#eaf5ee;font-weight:750}
.beauty-rwd .bx-bottom-nav svg{width:23px;height:23px;flex-shrink:0}
.beauty-rwd .bx-bottom-nav span{font-size:12px;overflow-wrap:anywhere;text-align:center}
.beauty-rwd .bx-more-grid{display:grid;gap:12px}
.beauty-rwd .bx-more-group{padding:16px;margin:0}
.beauty-rwd .bx-more-group h2{margin:0 0 8px}
.beauty-rwd .bx-more-group ul{list-style:none;margin:0;padding:0}
body.owner-page.owner-food.beauty-rwd .bx-more-group a{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:10px 0;text-decoration:none;border-bottom:1px solid #edf1ed;color:var(--bx-text)}
.beauty-rwd .bx-more-help{font-size:14px;color:var(--bx-muted);margin-top:24px}
.beauty-rwd .bx-focus-bar{display:none}
@media(max-width:375px){.beauty-rwd .bx-header{grid-template-columns:minmax(0,1fr) auto;row-gap:0}.beauty-rwd .bx-account{grid-column:1/-1;justify-content:space-between}.beauty-rwd .bx-account-name{max-width:none}.beauty-rwd .bx-page-heading{gap:8px}}
@media(max-width:1023px){
 .beauty-rwd.bx-focus-mode .bx-bottom-nav{display:none}
 .beauty-rwd.bx-focus-mode .bx-focus-bar{position:fixed;inset:auto 0 0;display:flex;align-items:center;gap:12px;z-index:30;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--bx-border);box-shadow:0 -4px 20px #20382b08}
 body.owner-page.owner-food.beauty-rwd .bx-focus-bar a{display:flex;align-items:center;justify-content:center;min-height:48px;min-width:80px;text-decoration:none;color:var(--bx-muted);font-size:14px}
 body.owner-page.owner-food.beauty-rwd .bx-focus-bar button{margin:0;min-height:48px;flex:1;padding:10px 12px;background:var(--bx-primary);color:#fff;border-radius:10px}
 .beauty-rwd.bx-focus-mode #bx-focus-form>.sale-submit,.beauty-rwd.bx-focus-mode #bx-focus-form .actions>button[type=submit]{display:none}
}
@media(min-width:768px) and (max-width:1023px){
 body.owner-page.owner-food.beauty-rwd:not(.bx-focus-mode){padding-bottom:0}
 .beauty-rwd .bx-header{position:sticky;top:0}
 .beauty-rwd .bx-bottom-nav{position:sticky;inset:auto;top:64px;box-shadow:none;border-top:0;border-bottom:1px solid var(--bx-border);padding:4px 16px}
 .beauty-rwd .bx-bottom-nav a{flex-direction:row;gap:10px;min-height:48px}
 .beauty-rwd .bx-bottom-nav span{font-size:14px}
}
@media(min-width:1024px){
 body.owner-page.owner-food.beauty-rwd{padding:0 0 0 232px}
 .beauty-rwd .bx-sidebar{display:block;position:fixed;inset:0 auto 0 0;width:232px;z-index:25;overflow-y:auto;padding:20px 16px 32px;background:#fff;border-right:1px solid var(--bx-border)}
 .beauty-rwd .bx-brand{display:block;text-decoration:none;color:var(--bx-text);font-size:18px;font-weight:750;overflow-wrap:anywhere;margin-bottom:24px}
 .beauty-rwd .bx-brand small{display:block;font-size:14px;font-weight:400;color:var(--bx-muted)}
 .beauty-rwd .bx-sidebar{display:flex;flex-direction:column;height:100dvh;overflow:hidden}
 .beauty-rwd .bx-brand{flex-shrink:0;max-height:110px;overflow:hidden}
 .beauty-rwd .bx-side-workspaces{display:grid;gap:8px;flex-shrink:0}
 .beauty-rwd .bx-side-workspaces a{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 12px;border-radius:9px;background:transparent;color:var(--bx-text);text-decoration:none;font-size:16px}
 .beauty-rwd .bx-side-workspaces svg{width:22px;height:22px;flex-shrink:0}
 .beauty-rwd .bx-side-workspaces a[aria-current=page]{background:#eaf5ee;color:#135b44;font-weight:750;box-shadow:inset 3px 0 #19775a}
 .beauty-rwd .bx-current-links{flex:1;min-height:0;overflow-y:auto;margin-top:20px;padding-top:12px;border-top:1px solid var(--bx-border)}
 .beauty-rwd .bx-current-links a{display:flex;align-items:center;min-height:44px;margin-bottom:8px;padding:10px 12px;border-radius:8px;background:transparent;color:var(--bx-muted);text-decoration:none;font-size:14px}
 .beauty-rwd .bx-current-links a[aria-current=page]{background:#eaf5ee;color:#135b44;font-weight:750}
 .beauty-rwd .bx-bottom-nav{display:none}
 body.owner-page.owner-food.beauty-rwd main{padding:24px}
 .beauty-rwd .bx-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

body.owner-page.owner-food.beauty-rwd :is(small,.muted,.function-card-copy small){font-size:14px}
.beauty-rwd .bx-help:not(.help-enhanced)[open] .beauty-help-modal{position:absolute;left:16px;right:16px;top:100%;width:auto;max-height:75dvh;overflow:auto;z-index:40}
@media(max-width:1023px){.beauty-rwd.bx-focus-mode [data-bx-focus-original]{display:none}}

.beauty-rwd .bx-workspace-tools{margin:0 0 20px;padding:0;border:1px solid var(--bx-border);border-radius:10px;background:#fff}
.beauty-rwd .bx-workspace-tools summary{min-height:44px;padding:10px 14px;font-size:14px;color:var(--bx-muted)}
.beauty-rwd .bx-workspace-tools nav{display:flex;flex-wrap:wrap;gap:8px;padding:0 12px 12px}
body.owner-page.owner-food.beauty-rwd .bx-workspace-tools a{display:flex;align-items:center;min-height:44px;padding:8px 12px;background:#edf5ef;border-radius:8px;font-size:14px;text-decoration:none;color:#135b44}
@media(min-width:1024px){.beauty-rwd .bx-workspace-tools{display:none}}

.beauty-rwd .beauty-help-modal .ph-modal-close{width:44px;height:44px;min-width:44px;min-height:44px}
body.owner-page.owner-food.beauty-rwd :is(input,select,textarea){scroll-margin-top:16px;scroll-margin-bottom:calc(var(--bx-footer-height,96px) + 16px)}
.beauty-rwd .bx-more-group form{margin:0;padding:0;background:none;border:0;box-shadow:none}
body.owner-page.owner-food.beauty-rwd .bx-menu-logout{width:100%;margin:0;padding:10px 0;text-align:left;background:#fff;color:var(--bx-muted);border:0;border-radius:0;font-weight:400;min-height:48px}

/* BEAUTYRWD001 1B：今天工作中心。 */
body.owner-page.owner-food.beauty-rwd.bx-today-page main{padding-top:16px}
.beauty-rwd.bx-today-page .bx-page-heading{margin-bottom:4px;gap:8px;flex-wrap:nowrap}
body.owner-page.owner-food.beauty-rwd.bx-today-page .bx-page-heading h1{font-size:22px;min-width:0;overflow-wrap:anywhere}
.beauty-rwd .bx-today-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}
.beauty-rwd .bx-search-open{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid var(--bx-border);background:#fff;border-radius:9px}
.beauty-rwd .bx-search-open svg{width:20px;height:20px}
.beauty-rwd .bx-today-caption{font-size:14px;line-height:20px;color:var(--bx-muted);margin:0 0 4px}
.beauty-rwd .bx-week-strip{display:grid;padding:0;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:0 0 8px}
body.owner-page.owner-food.beauty-rwd .bx-week-strip a{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:3px 0;border-radius:9px;color:var(--bx-muted);background:transparent;text-decoration:none;line-height:1.2}
.beauty-rwd .bx-week-strip small{font-size:12px}
.beauty-rwd .bx-week-strip strong{font-size:16px}
body.owner-page.owner-food.beauty-rwd .bx-week-strip a[aria-current=date]{background:#19775a;color:#fff}
.beauty-rwd .bx-status-filters{display:flex;gap:8px;flex-wrap:nowrap;max-width:100%;min-width:0;overflow-x:auto;padding:0;margin:0 0 8px;scrollbar-width:none}
body.owner-page.owner-food.beauty-rwd .bx-status-filters a{display:flex;align-items:center;gap:5px;flex:0 0 auto;min-height:44px;padding:8px 12px;border:1px solid var(--bx-border);border-radius:22px;color:var(--bx-muted);background:#fff;text-decoration:none;font-size:14px;white-space:nowrap}
body.owner-page.owner-food.beauty-rwd .bx-status-filters a[aria-current=page]{background:#eaf5ee;color:#135b44;border-color:#19775a;font-weight:750}
.beauty-rwd .bx-work-list{display:grid;gap:12px;min-width:0}
body.owner-page.owner-food.beauty-rwd .bx-work-card{padding:16px;margin:0;min-width:0;background:#fff}
.beauty-rwd .bx-card-caption{font-size:14px;font-weight:750;color:#135b44;margin:0 0 8px}
.beauty-rwd .bx-work-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.beauty-rwd .bx-work-card-head>strong{font-size:16px}
.beauty-rwd .bx-work-card-head .status-pill{font-size:14px;white-space:nowrap;padding:4px 8px;border:1px solid transparent;border-radius:20px}
.beauty-rwd .bx-work-customer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}
body.owner-page.owner-food.beauty-rwd .bx-work-customer h2{margin:0;padding:0;min-width:0;font-size:18px;color:var(--bx-text)}
.beauty-rwd .bx-work-customer a{font-size:14px;flex-shrink:0;min-height:44px;display:flex;align-items:center}
.beauty-rwd .bx-work-services{font-size:16px;margin:0 0 4px;overflow-wrap:anywhere}
.beauty-rwd .bx-work-meta{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:14px;color:var(--bx-muted);margin:0 0 12px}
.beauty-rwd .bx-work-primary{margin:0}
body.owner-page.owner-food.beauty-rwd .bx-card-actions>.bx-work-primary,body.owner-page.owner-food.beauty-rwd .bx-work-primary button{width:100%;min-height:48px;margin:0;background:#19775a;color:#fff;border-radius:10px;text-decoration:none;display:flex;align-items:center;justify-content:center;font-size:16px}
.beauty-rwd .bx-work-more{padding:0;margin:0;border:0;background:transparent}
.beauty-rwd .bx-work-more>summary{position:absolute;right:0;top:0;width:104px;min-height:48px;padding:10px 8px;font-size:14px;color:var(--bx-muted);border:1px solid var(--bx-border);border-radius:10px;text-align:center;list-style:none}
.beauty-rwd .bx-work-more>.card{margin:8px 0 0}
.beauty-rwd .bx-booking-search{margin:0 0 16px;padding:12px;background:#fff;border:1px solid var(--bx-border);border-radius:12px}
.beauty-rwd .bx-booking-search>summary{min-height:44px;font-size:14px}
.beauty-rwd.bx-js .bx-booking-search:not([open]){display:none}
.beauty-rwd .bx-booking-search form{margin:0}
.beauty-rwd .bx-record-count{font-size:14px;color:var(--bx-muted);margin:16px 0 0}
.beauty-rwd .bx-today-empty{margin:0;padding:24px 16px}
.beauty-rwd .bx-empty-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.beauty-rwd .bx-booking-banner{padding:12px 16px;border:1px solid #eed29b;border-radius:12px;background:#fffbef;color:#92400e;margin-bottom:12px;font-size:14px;display:flex;gap:8px;flex-wrap:wrap}
.beauty-rwd .bx-neutral-home p{margin:8px 0}
.beauty-rwd .bx-opening-grid{display:grid;gap:12px}
.beauty-rwd .bx-opening-card{padding:16px;margin:0}
.beauty-rwd .bx-opening-card h2{margin:8px 0}
.beauty-rwd .bx-opening-card p{font-size:14px;color:var(--bx-muted)}
.beauty-rwd .bx-opening-state{font-size:14px;color:#52665c}
@media(min-width:1024px){.beauty-rwd .bx-work-list,.beauty-rwd .bx-opening-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.beauty-rwd .bx-work-card .appointment-state-requested{background:#fff0c7;color:#775614}
.beauty-rwd .bx-work-card .appointment-state-confirmed{background:#e4efff;color:#24579d}
.beauty-rwd .bx-work-card .appointment-state-checked_in{background:#eee7ff;color:#66439d}
.beauty-rwd .bx-work-card .appointment-state-awaiting-checkout{background:#ffead9;color:#995522}
.beauty-rwd .bx-work-card .appointment-state-paid{background:#e3f4e9;color:#286643}
.beauty-rwd .bx-work-card .appointment-state-cancelled{background:#eef0f3;color:#626b79}
.beauty-rwd .bx-work-card .appointment-state-no_show{background:#ffe4e7;color:#a23848}

.beauty-rwd .bx-work-card-head{min-height:32px;flex-wrap:nowrap}
body.owner-page.owner-food.beauty-rwd .bx-work-card-head h2{font-size:18px;margin:0;flex:1;min-width:0;overflow-wrap:anywhere}
.beauty-rwd .bx-work-card-head>strong{white-space:nowrap;font-size:14px}
.beauty-rwd .bx-work-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:44px;margin:0 0 8px;color:var(--bx-muted);font-size:14px}
.beauty-rwd .bx-work-summary a{min-height:44px;display:flex;align-items:center;margin-left:auto;font-size:14px}
.beauty-rwd .bx-card-actions{position:relative;min-height:48px}
body.owner-page.owner-food.beauty-rwd .bx-card-actions>.bx-work-primary{width:calc(100% - 112px)}
.beauty-rwd .bx-work-more[open]{padding-top:12px}

.beauty-rwd .bx-status-filters::-webkit-scrollbar{display:none}

.beauty-rwd .bx-today-actions .bx-new{margin:0}

.beauty-rwd .bx-booking-banner{padding:0 10px;min-height:44px;align-items:center;flex-wrap:nowrap;margin-bottom:8px;gap:8px}
.beauty-rwd .bx-booking-banner strong{flex-shrink:0;font-size:14px}
.beauty-rwd .bx-booking-banner span{font-size:14px;min-width:0}
.beauty-rwd .bx-booking-banner a{display:flex;align-items:center;min-height:44px;margin-left:auto;flex-shrink:0}
.beauty-rwd .bx-booking-banner+.bx-today-caption{display:none}

/* BEAUTYRWD001 1C: checkout presentation only. */
body.beauty-rwd .bx-ended-records{margin:16px 0}body.beauty-rwd .bx-ended-records>summary{min-height:44px;padding:12px;cursor:pointer;background:#fff;border-radius:12px}
body.beauty-rwd .bx-opening-state{color:#64756e}body.beauty-rwd .bx-opening-card .muted{margin-bottom:0}
body.beauty-rwd .bx-checkout{max-width:760px;margin-inline:auto;padding:20px;display:block}
body.beauty-rwd .bx-checkout>details{margin:12px 0;border:1px solid #dce5df;border-radius:12px;padding:12px}
body.beauty-rwd .bx-checkout summary{min-height:44px;cursor:pointer;font-weight:600;overflow-wrap:anywhere}
body.beauty-rwd .bx-checkout h2{font-size:18px;margin:20px 0 12px}
body.beauty-rwd .bx-checkout-customer{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-bottom:1px solid #dce5df;padding-bottom:12px}
body.beauty-rwd .bx-checkout-customer>strong{font-size:20px}body.beauty-rwd .bx-checkout-customer .booking-number{margin:0}
body.beauty-rwd .bx-checkout .bx-sale-line{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,140px);gap:10px;align-items:center;border-bottom:1px solid #e8eeeb;padding:10px 0}
body.beauty-rwd .bx-checkout .bx-sale-line>details{grid-column:1/-1}
body.beauty-rwd .bx-checkout .bx-addon-line{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,140px);gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #e8eeeb}
body.beauty-rwd .bx-addon-line>.bx-card-panel{grid-column:1/-1}body.beauty-rwd .bx-checkout .sale-service-choice{display:flex;gap:8px;align-items:center;margin:0}
body.beauty-rwd .bx-checkout-total{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;background:#f0f7f3;border-radius:12px;padding:16px;margin:16px 0}
body.beauty-rwd .bx-checkout-total strong{font-size:32px;line-height:1.2;color:#176d52}body.beauty-rwd .bx-checkout-total p{flex-basis:100%;margin:0}
body.beauty-rwd .bx-payment-method{display:flex;gap:18px;border:0;padding:0;margin:12px 0;flex-wrap:wrap}body.beauty-rwd .bx-payment-method[hidden]{display:none}body.beauty-rwd .bx-payment-method label{display:flex;gap:8px;align-items:center;min-height:44px}
body.beauty-rwd .bx-cash-received{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}body.beauty-rwd .bx-cash-received[hidden]{display:none}body.beauty-rwd .bx-cash-received p{grid-column:1/-1;margin:0}
body.beauty-rwd .bx-checkout .share-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 110px;gap:8px;border-bottom:1px solid #e8eeeb;padding:8px 0}
body.beauty-rwd .bx-checkout .share-row .check{display:flex;gap:6px;align-items:center}body.beauty-rwd .bx-checkout :is(input,select){min-width:0;max-width:100%}
body.beauty-rwd .bx-checkout [data-checkout-message]:not(:empty){border:1px solid #ddb654;padding:12px;background:#fff9e8;border-radius:10px;margin:12px 0}
body.beauty-rwd .bx-checkout-recovery:not([hidden]),body.beauty-rwd .bx-sale-next{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}body.beauty-rwd .bx-sale-next form{margin:0}
body.beauty-rwd .bx-checkout-note{font-size:12px;line-height:1.5}body.beauty-rwd .bx-checkout .sale-submit{width:100%;min-height:52px}
@media(max-width:767px){body.beauty-rwd .bx-checkout{padding:14px}body.beauty-rwd .bx-checkout .share-row{grid-template-columns:minmax(0,1fr) 100px}body.beauty-rwd .bx-checkout .share-row>.check{grid-column:1/-1}body.beauty-rwd .bx-checkout .bx-addon-line,body.beauty-rwd .bx-checkout .bx-sale-line{grid-template-columns:minmax(0,1fr) 110px}}

body.beauty-rwd .bx-checkout [hidden]{display:none}
body.beauty-rwd .bx-checkout input:is([type=radio],[type=checkbox]){width:20px;min-height:20px;height:20px;flex:0 0 20px;padding:0}
body.beauty-rwd .bx-payment-method label{min-width:80px;white-space:nowrap}
body.beauty-rwd .bx-checkout>details{padding:0 12px}
body.beauty-rwd .bx-checkout>details>summary{display:list-item;line-height:24px;padding:10px 0;min-height:44px}
body.beauty-rwd .bx-checkout>details[open]{padding-bottom:12px}

body.beauty-rwd .bx-checkout-customer .booking-number{display:inline-flex;gap:6px;padding:0;margin:0;align-items:baseline}body.beauty-rwd .bx-checkout-customer .booking-number strong{font-size:16px}body.beauty-rwd .bx-checkout-customer .booking-number span{font-size:12px}

/* BEAUTYRWD001 1D + G1/G2: presentation only; guest styles have explicit scopes. */
body.beauty-rwd .bx-provider-choice{border:0;margin:12px 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}body.beauty-rwd .bx-provider-choice[hidden]{display:none}body.beauty-rwd .bx-provider-choice legend{font-weight:600;margin-bottom:8px}body.beauty-rwd .bx-provider-choice label{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid #cbd8d0;border-radius:12px;margin:0;cursor:pointer}body.beauty-rwd .bx-provider-choice label:has(input:checked){background:#eaf6ef;border-color:#19775a;color:#14573f}body.beauty-rwd .bx-provider-choice p{flex-basis:100%;margin:0;font-size:14px}
body.beauty-rwd .bx-sale-success>strong{font-size:22px;color:#176d52}body.beauty-rwd .bx-refund-disclosure{padding:12px;border:1px solid #dce5df;border-radius:12px;margin:16px 0}body.beauty-rwd .bx-refund-disclosure>summary{min-height:44px;cursor:pointer;font-weight:600}body.beauty-rwd .bx-refund-disclosure:not([open]) .danger-zone{display:none}
.rwd-locale-menu{position:relative;margin:4px 0 8px auto;width:fit-content;max-width:100%;z-index:30}.rwd-locale-menu>summary{cursor:pointer;min-height:44px;padding:10px 12px;border:1px solid var(--bk-line,#d1ddd5);border-radius:12px;background:var(--bk-surface,#fff);list-style:none}.rwd-locale-menu>summary::-webkit-details-marker{display:none}.rwd-locale-menu .beauty-locale-switch{position:absolute;right:0;top:100%;width:240px;max-width:calc(100vw - 32px);display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px;margin:4px 0;background:var(--bk-surface,#fff);border:1px solid var(--bk-line,#d1ddd5);box-shadow:0 6px 20px #10241c1a;border-radius:12px}.rwd-locale-menu:not([open]) .beauty-locale-switch{display:none}.rwd-locale-menu .beauty-locale-switch button{min-height:44px;min-width:0;overflow-wrap:anywhere}
.booking-page .customer-status{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;padding:4px 0;margin:0 0 4px;font-size:14px;min-height:44px}.booking-page .customer-status form{margin:0;flex:0 0 auto}.booking-page .customer-status button,.booking-page .customer-status>a{font-size:14px;min-height:44px;white-space:nowrap}.booking-page .customer-status-person{display:flex;gap:4px;min-width:0;flex:1}.booking-page .customer-status-person>span:last-child{display:flex;align-items:center;gap:4px;min-width:0}.booking-page .customer-status-person strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:160px}.booking-page .customer-status-person small{display:none}.booking-page .customer-avatar{width:24px;height:24px;flex:0 0 24px;font-size:12px}
.booking-page.rwd-guest{padding-bottom:calc(var(--rwd-footer-height,150px) + 24px)}.booking-page.rwd-guest main{padding-top:8px}.rwd-guest .rwd-store-header{margin:8px 0 12px;padding:12px 0;border-bottom:1px solid var(--bk-line,#d1ddd5)}.rwd-guest .rwd-store-brand{display:flex;align-items:center;gap:12px}.rwd-guest .rwd-store-brand h1{font-size:22px;line-height:1.3;margin:0}.rwd-guest .rwd-store-brand .salon-today{margin:4px 0 0;font-size:14px}.rwd-guest .salon-compact-logo{width:48px;height:48px;flex:0 0 48px}.rwd-guest .salon-compact-logo img{width:48px;height:48px;object-fit:contain}.rwd-guest .rwd-store-intro{font-size:14px;margin:8px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rwd-guest .rwd-store-info-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px}.rwd-guest .rwd-announcement{margin:8px 0;padding:8px 12px;background:var(--bk-surface,#fff);border:1px solid var(--bk-line,#d1ddd5);border-radius:12px}.rwd-guest .rwd-announcement summary{min-height:44px;cursor:pointer}.rwd-guest .progress{margin:10px 0 12px;padding:0}.rwd-guest .page-title{font-size:22px;margin:12px 0}.rwd-guest .rwd-line-early{font-size:14px;line-height:1.5;padding:10px 12px;margin:0 0 16px;border:1px solid var(--bk-line,#d1ddd5);border-radius:12px;background:var(--bk-surface,#fff)}
.rwd-guest .service-group{margin:16px 0}.rwd-guest .service-group h2{font-size:18px;margin:12px 0}.rwd-guest .service-choice{cursor:pointer;display:flex;align-items:center;gap:12px;padding:16px;margin:12px 0;min-height:72px;border-radius:14px}.rwd-guest .service-choice:has(input:checked){outline:2px solid var(--bk-brand,#19775a);outline-offset:-2px}.rwd-guest .service-choice input{flex:0 0 20px;width:20px;height:20px;min-height:20px}.rwd-guest .service-choice>span{min-width:0}.rwd-guest .service-choice strong{font-size:16px}.rwd-guest .service-choice small{font-size:14px}.rwd-guest .service-choice em:empty{display:none}
.rwd-guest .rwd-compact-summary{padding:10px 12px;margin:12px 0;border-radius:12px}.rwd-guest .rwd-summary-line{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:0;font-size:14px;line-height:22px}.rwd-guest .rwd-compact-summary>details>summary{min-height:44px;cursor:pointer;font-size:14px;padding-top:10px}.rwd-guest .rwd-compact-summary .booking-receipt{margin-top:8px}.rwd-guest .rwd-store-information{margin:24px 0 16px;border-top:1px solid var(--bk-line,#d1ddd5);padding-top:12px}.rwd-guest .rwd-store-information>summary{min-height:44px;cursor:pointer;font-weight:600}.rwd-guest .rwd-store-information .salon-home{margin-top:12px}.rwd-guest .rwd-privacy-summary{font-size:14px;margin:12px 0}.rwd-guest #booking-privacy-notice>summary{min-height:44px;cursor:pointer}.rwd-guest .consent{font-size:14px;line-height:1.5;display:flex;align-items:flex-start;gap:10px;min-height:44px;margin:12px 0}.rwd-guest .consent input{width:20px;height:20px;min-height:20px;flex:0 0 20px;margin-top:3px}.rwd-guest .policy{font-size:14px;line-height:1.5}.rwd-guest .rwd-line-transfer{font-size:14px;line-height:1.4;margin:0;flex-basis:100%}.rwd-guest .slot.rwd-selected-time{outline:3px solid var(--bk-brand,#19775a);outline-offset:2px}.rwd-guest .slot{min-height:48px}
.rwd-guest .rwd-booking-bar{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;background:var(--bk-surface,#fff);padding:12px;border:1px solid var(--bk-line,#d1ddd5);border-radius:14px;position:sticky;bottom:0;z-index:20}.rwd-guest .rwd-booking-bar>.booking-tally{flex:1;min-width:0;border:0;padding:0;margin:0;background:transparent}.rwd-guest .rwd-booking-bar output{font-size:14px;line-height:1.5;overflow-wrap:anywhere;flex:1;min-width:0}.rwd-guest .rwd-booking-bar button{min-height:52px;min-width:88px;flex:0 0 auto}.rwd-guest .rwd-time-bar button{margin:0}.rwd-guest .rwd-time-bar output{display:block}
@media(max-width:767px){.rwd-guest .rwd-booking-bar,.rwd-guest.step-2 .actions,.rwd-guest.step-4 .actions{position:fixed;bottom:0;left:0;right:0;z-index:50;display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-radius:0;border:0;border-top:1px solid var(--bk-line,#d1ddd5);background:var(--bk-surface,#fff)}.rwd-guest .rwd-booking-bar{flex-wrap:nowrap}.rwd-guest.step-2 .actions>a,.rwd-guest.step-4 .actions>a{flex:0 1 auto;min-width:0}.rwd-guest.step-2 .actions>button,.rwd-guest.step-4 .actions>button{flex:1;min-width:0;min-height:52px;white-space:normal}.rwd-guest .rwd-store-information .salon-cover{min-height:180px}.rwd-guest .rwd-store-information .salon-profile{padding:16px}.rwd-guest .rwd-store-information .salon-highlights{margin-top:16px}}

.booking-page .rwd-locale-menu{padding:0;background:transparent;border:0;margin:0 0 8px auto}.booking-page .rwd-locale-menu>summary{margin:0}
.booking-page.rwd-guest .rwd-booking-bar button{width:auto;max-width:45%;flex:0 0 96px;padding-inline:12px}
.booking-page.rwd-guest .rwd-booking-bar .booking-tally{width:auto;display:block;flex:1 1 0;min-width:0}
.booking-page.rwd-guest .rwd-booking-bar .booking-tally output{font-size:14px;line-height:1.5;margin:0}
.booking-page.rwd-guest .rwd-compact-summary{padding:8px 12px;margin:10px 0}
.booking-page.rwd-guest .rwd-compact-summary>details{padding:0;background:transparent;border:0;margin:0}
.booking-page.rwd-guest .rwd-compact-summary>details>summary{display:flex;align-items:center;gap:10px;min-height:44px;margin:0;padding:0;background:transparent;border:0}
.booking-page.rwd-guest .rwd-summary-line{flex:1;min-width:0}.booking-page.rwd-guest .rwd-summary-toggle{flex:0 0 auto;font-size:14px;color:var(--bk-link,var(--bk-brand));text-decoration:underline}
.booking-page.rwd-guest .salon-compact{margin:8px 0 12px;padding:8px 0}

.booking-page .customer-status button{background:transparent;color:var(--bk-link,var(--bk-brand));border:1px solid var(--bk-line);font-weight:500}
.booking-page.rwd-guest .week-nav{margin:8px 0;padding:0}.booking-page.rwd-guest .week-nav .button{min-height:44px;padding-block:10px}
.booking-page.rwd-guest .date-strip{margin:10px 0}.booking-page.rwd-guest .slot-day{padding:14px}.booking-page.rwd-guest .slot-day>h2{font-size:18px;margin:8px 0 12px}.booking-page.rwd-guest .time-period-tabs{margin:8px 0}.booking-page.rwd-guest .time-period h3{font-size:14px;margin:8px 0}
@media(max-width:767px){.booking-page.rwd-guest.step-2 .actions>a,.booking-page.rwd-guest.step-4 .actions>a{width:auto;flex:0 1 96px;min-height:52px;white-space:normal}.booking-page.rwd-guest.step-2 .actions>button,.booking-page.rwd-guest.step-4 .actions>button{width:auto;flex:1 1 0}}

.booking-page.rwd-guest .slot-day{padding-top:6px}

/* BEAUTYRWD001 review H1/H2: complete final confirmation, compact earlier steps. */
.booking-page.rwd-guest .rwd-confirm-summary{padding:14px;margin:12px 0}
.booking-page.rwd-guest .rwd-confirm-summary .booking-receipt{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.booking-page.rwd-guest .rwd-confirm-summary .booking-receipt>div{min-width:0;display:grid;grid-template-columns:max-content minmax(0,1fr);gap:10px;padding:8px 0;margin:0}
.booking-page.rwd-guest .rwd-confirm-summary .booking-receipt>div:has(.summary-when),.booking-page.rwd-guest .rwd-confirm-summary .receipt-total{grid-column:1/-1}
.booking-page.rwd-guest .rwd-confirm-summary .booking-receipt dd{margin:0;min-width:0;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.booking-page.rwd-guest .rwd-confirm-summary .booking-receipt dt{font-size:14px;align-self:start}
.booking-page.rwd-guest .rwd-confirm-summary .summary-when{white-space:normal;overflow:visible;text-overflow:clip}
@media(max-width:767px){.booking-page.rwd-guest .rwd-confirm-summary .booking-receipt{grid-template-columns:minmax(0,1fr)}.booking-page.rwd-guest.step-4 .actions>a{flex:0 0 auto;width:auto;min-width:80px;white-space:nowrap}}

/* BEAUTYRWD001 C1-C12: shared presentation tokens; original business forms remain native. */
body.beauty-rwd{--bx-state-requested-bg:#fff0c7;--bx-state-requested-ink:#775614;--bx-state-confirmed-bg:#e4efff;--bx-state-confirmed-ink:#24579d;--bx-state-serving-bg:#eee7ff;--bx-state-serving-ink:#66439d;--bx-state-checkout-bg:#ffead9;--bx-state-checkout-ink:#995522;--bx-state-paid-bg:#e3f4e9;--bx-state-paid-ink:#286643;--bx-state-ended-bg:#eef0f3;--bx-state-ended-ink:#626b79;--bx-state-noshow-bg:#ffe4e7;--bx-state-noshow-ink:#a23848}
body.beauty-rwd input:is([type=checkbox],[type=radio]){accent-color:#19775a}
body.beauty-rwd .card{border-radius:16px;padding:16px;border-width:1px}
body.beauty-rwd .bx-work-card .appointment-state-requested{background:var(--bx-state-requested-bg);color:var(--bx-state-requested-ink)}
body.beauty-rwd .bx-work-card .appointment-state-confirmed{background:var(--bx-state-confirmed-bg);color:var(--bx-state-confirmed-ink)}
body.beauty-rwd .bx-work-card .appointment-state-checked_in{background:var(--bx-state-serving-bg);color:var(--bx-state-serving-ink)}
body.beauty-rwd .bx-work-card .appointment-state-awaiting-checkout{background:var(--bx-state-checkout-bg);color:var(--bx-state-checkout-ink)}
body.beauty-rwd .bx-work-card .appointment-state-paid{background:var(--bx-state-paid-bg);color:var(--bx-state-paid-ink)}
body.beauty-rwd .bx-work-card .appointment-state-cancelled{background:var(--bx-state-ended-bg);color:var(--bx-state-ended-ink)}
body.beauty-rwd .bx-work-card .appointment-state-no_show{background:var(--bx-state-noshow-bg);color:var(--bx-state-noshow-ink)}
.beauty-rwd .bx-staff-filters{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.beauty-rwd .bx-staff-filters a{border:1px solid #cbd9d1;border-radius:24px;min-height:44px;padding:9px 16px;color:#344e43;text-decoration:none;font-size:14px;background:#fff}
.beauty-rwd .bx-staff-filters a[aria-current]{border-color:#19775a;background:#eaf5ef;color:#155b44;font-weight:700}
.beauty-rwd .bx-day-layout{display:flex;flex-direction:column;gap:20px;min-width:0}
.beauty-rwd .bx-day-summary{padding:16px;border:1px solid #d6e2db;border-radius:16px;background:#f6faf7;min-width:0;display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;align-items:start}
.beauty-rwd .bx-day-summary>h2{grid-column:1/-1;font-size:16px;margin:0}
.beauty-rwd .bx-day-summary h3{font-size:14px;margin:0 0 6px;display:flex;gap:8px;align-items:center}
.beauty-rwd .bx-day-summary h3 span{font-size:14px;color:#155b44;background:#e0f0e6;border-radius:16px;padding:2px 8px}
.beauty-rwd .bx-pending-group{min-width:0}.beauty-rwd .bx-pending-group ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.beauty-rwd .bx-pending-group li a{display:grid;grid-template-columns:auto 1fr;gap:2px 6px;align-items:center;padding:5px 0;min-height:44px;font-size:14px;color:#273c32;text-decoration:none}
.beauty-rwd .bx-pending-group li span{grid-column:2;color:#42584c;font-size:14px}.beauty-rwd .bx-pending-group li strong{min-width:0;overflow-wrap:anywhere}
.beauty-rwd .bx-see-all{display:inline-flex;min-height:40px;align-items:center;font-size:14px;color:#166348}
.beauty-rwd .bx-day-received{margin:0;font-size:14px;display:grid;gap:4px}.beauty-rwd .bx-day-received strong{font-size:20px}.beauty-rwd .bx-day-received small{font-size:12px;color:#526357}
.beauty-rwd .bx-day-summary>.button{font-size:14px;min-height:44px;width:100%;margin:0}
.beauty-rwd .bx-day-timeline{min-width:0}.beauty-rwd .bx-timeline-title{font-size:18px;margin:0 0 12px}
.beauty-rwd .bx-work-list{grid-template-columns:minmax(0,1fr)}
.beauty-rwd .bx-work-summary{color:#334b3e;font-size:14px}.beauty-rwd .bx-work-summary>a[data-booking-number]{font-size:12px;color:#58685e}
body.owner-page.owner-food.beauty-rwd .bx-work-primary button.secondary,body.owner-page.owner-food.beauty-rwd .bx-card-actions>a.bx-work-primary.secondary{background:#fff;color:#246048;border:1px solid #b8d0c0;box-shadow:none}
.beauty-rwd .bx-completed-records,.beauty-rwd .bx-ended-records{margin-top:16px;border-top:1px solid #d6e2db;padding-top:12px}
.beauty-rwd .bx-completed-records>summary,.beauty-rwd .bx-ended-records>summary{font-size:14px;min-height:44px;cursor:pointer;padding:10px 0}
.beauty-rwd .bx-menu-state{margin-left:auto;font-size:14px;color:#52665a;white-space:nowrap}.beauty-rwd .bx-more-group a{gap:8px}.beauty-rwd .bx-more-group a>span:first-child{min-width:0}
.beauty-rwd .bx-checkout-options{border-top:1px solid #d6e2db;margin:16px 0;padding:8px 0}.beauty-rwd .bx-checkout-options>summary{font-size:14px;font-weight:600;min-height:44px;padding:10px 0;cursor:pointer}
.beauty-rwd .bx-checkout-options>details{margin:12px 0}.beauty-rwd .bx-checkout-options>details>summary{list-style:none;cursor:default;font-weight:600;font-size:14px;pointer-events:none}
.beauty-rwd .bx-original-provider{font-size:14px;color:#304d3d;margin:12px 0}.beauty-rwd .bx-checkout-total{margin-top:16px}
.beauty-rwd .bx-addon-line{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px 0;align-items:center}.beauty-rwd .bx-addon-line .bx-addon-price-editor{grid-column:1/-1}.beauty-rwd .bx-addon-line:not(:has(.sale-addon:checked))>.bx-addon-price-editor,.beauty-rwd .bx-addon-line:not(:has(.sale-addon:checked))>.bx-card-panel{display:none}
.beauty-rwd .bx-service-list-price{font-size:14px;font-weight:600;color:#304d3d}.beauty-rwd .bx-service-selected{background:#edf7f0;border-radius:12px;padding:14px 12px;border:1px solid #19775a}
.beauty-rwd .bx-checkout:not(:has(.sale-price)):not(:has(.sale-addon:checked)) .bx-checkout-stage,.beauty-rwd .bx-checkout:not(:has(.sale-price)):not(:has(.sale-addon:checked)) .sale-submit{display:none}
.beauty-rwd .bx-receipt-reference{font-size:12px;color:#52665a;margin:8px 0 16px}.beauty-rwd .sale-total>.eyebrow{display:none}.beauty-rwd .sale-total>strong{font-size:20px}
.beauty-rwd .bx-service-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;background:#fff!important;min-width:0}.beauty-rwd .bx-service-copy{flex:1;min-width:140px}.beauty-rwd .bx-service-copy strong{font-size:16px}.beauty-rwd .bx-service-copy small{display:block;font-size:14px;color:#344c3e;margin-top:8px}.beauty-rwd .bx-service-edit{font-size:14px;display:flex;align-items:center;min-height:44px;text-decoration:none;color:#166348;white-space:nowrap}.beauty-rwd .bx-service-row .catalog-status{font-size:14px;white-space:normal;max-width:100%}
.booking-page.rwd-guest input:is([type=checkbox],[type=radio]){accent-color:var(--bk-brand,#19775a)}
.rwd-guest .rwd-shop-topline{display:flex;align-items:center;gap:12px;min-height:56px;margin:0 0 10px;border-bottom:1px solid var(--bk-line,#d1ddd5);position:relative}
.rwd-guest .rwd-shop-topline>.rwd-store-header,.rwd-guest .rwd-shop-topline>.salon-compact{flex:1;min-width:0;padding:4px 0;margin:0;border:0}
.rwd-guest .rwd-shop-topline .rwd-store-brand h1,.rwd-guest .rwd-shop-topline .salon-compact h1{font-size:18px;line-height:1.3;letter-spacing:0;overflow-wrap:anywhere}
.rwd-guest .rwd-shop-topline .salon-compact-logo{height:40px;width:40px;flex-basis:40px}.rwd-guest .rwd-shop-topline .salon-compact-logo img{height:40px;width:40px}
.rwd-guest .rwd-shop-topline .salon-today,.rwd-guest .rwd-shop-topline .rwd-store-intro,.rwd-guest .rwd-shop-topline .rwd-store-info-link,.rwd-guest .rwd-shop-topline .salon-compact>div>p,.rwd-guest .rwd-shop-topline .salon-compact>a{display:none}
.rwd-guest .rwd-shop-topline .rwd-locale-menu{margin:0;flex:none;position:static}.rwd-guest .rwd-shop-topline .rwd-locale-menu>summary{font-size:14px;min-height:44px;display:flex;align-items:center}.rwd-guest .rwd-shop-topline .rwd-locale-menu[open]>.beauty-locale-switch{position:absolute;right:0;top:52px;z-index:40;max-width:min(340px,calc(100vw - 32px));background:var(--bk-surface,#fff)}
.rwd-guest .customer-status{margin:0 0 8px;padding:0;border:0;min-height:32px;background:transparent;font-size:12px;gap:8px;flex-wrap:wrap}.rwd-guest .customer-status-person{font-size:12px;display:block;min-width:0}.rwd-guest .customer-status-person>span{font-size:12px}.rwd-guest .customer-status a,.rwd-guest .customer-status button{font-size:12px;min-height:32px;padding:4px 8px}
.rwd-guest .rwd-line-early{font-size:14px;line-height:1.45;padding:8px 12px;margin:0 0 12px;border-radius:16px}.rwd-guest .progress{margin:8px 0}.rwd-guest .page-title{font-size:20px;margin:10px 0}.rwd-guest .service-group{margin:12px 0}.rwd-guest .service-group h2{margin:8px 0;font-size:16px}
.rwd-guest .service-choice{min-height:80px;border-radius:16px;padding:16px;border:1px solid var(--bk-line,#d1ddd5)}.rwd-guest .service-choice:has(input:checked){background:color-mix(in srgb,var(--bk-brand,#19775a) 9%,var(--bk-surface,#fff));border-color:var(--bk-brand,#19775a)}.rwd-guest .service-choice small{color:var(--bk-text,#304d3d);font-size:14px}
.rwd-guest .rwd-time-selection{display:block;font-size:16px;font-weight:600;margin:12px 0;color:var(--bk-text,#304d3d)}.rwd-guest .rwd-earliest{font-size:14px;color:var(--bk-text,#304d3d);margin:12px 0}.rwd-guest .rwd-time-bar{display:flex;gap:12px;justify-content:space-between;align-items:center}.rwd-guest .rwd-time-bar>a{flex:0 0 auto;min-width:80px;width:auto;white-space:nowrap}.rwd-guest .rwd-time-bar>button{flex:1;max-width:320px}.rwd-guest .rwd-phone-note{font-size:14px;line-height:1.5;margin:4px 0 16px;color:var(--bk-text,#304d3d)}
@media(min-width:1024px){.beauty-rwd .bx-day-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;align-items:start}.beauty-rwd .bx-day-summary{grid-column:2;grid-row:1;display:block;position:sticky;top:88px}.beauty-rwd .bx-day-summary>h2{margin-bottom:16px}.beauty-rwd .bx-pending-group{margin-bottom:20px}.beauty-rwd .bx-day-received{margin-bottom:20px}.beauty-rwd .bx-day-timeline{grid-column:1;grid-row:1}.beauty-rwd .bx-work-list{grid-template-columns:minmax(0,1fr)}}
@media(max-width:767px){.beauty-rwd .bx-pending-group li:nth-child(n+2){display:none}.beauty-rwd .bx-day-received{display:none}.beauty-rwd .bx-day-summary>.button{grid-column:1/-1}.beauty-rwd .bx-day-summary{gap:4px 16px}.beauty-rwd .bx-menu-state{font-size:12px}.rwd-guest .rwd-shop-topline .rwd-locale-menu>summary{padding:8px}.rwd-guest .rwd-shop-topline{gap:6px}.rwd-guest .rwd-shop-topline .rwd-store-brand{gap:8px}}

.booking-page.rwd-guest .rwd-time-bar>button{flex:1 1 auto;max-width:320px;min-width:0;white-space:nowrap}

/* MS-015: original optional early LINE login stays in the compact shop header. */
.booking-page.rwd-guest .rwd-shop-topline{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px;align-items:center}
.rwd-guest .rwd-shop-topline>.rwd-store-header,.rwd-guest .rwd-shop-topline>.salon-compact{grid-column:1;grid-row:1}
.rwd-guest .rwd-shop-topline>.rwd-locale-menu{grid-column:2;grid-row:1}
.rwd-guest .rwd-shop-topline>.customer-status{grid-column:3;grid-row:1;margin:0;min-height:44px;width:auto;display:block;min-width:0}
.rwd-guest .rwd-shop-topline>.rwd-announcement{grid-column:1/-1;grid-row:2;margin:0 0 8px;min-width:0}
.rwd-guest .rwd-shop-topline .rwd-store-brand>div:last-child{min-width:0}.rwd-guest .rwd-shop-topline .rwd-store-brand h1,.rwd-guest .rwd-shop-topline .salon-compact h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rwd-guest .rwd-header-login button{font-size:14px;white-space:nowrap;min-height:44px;margin:0;padding:8px 10px}
.rwd-guest .rwd-header-account{max-width:112px;position:relative}.rwd-guest .rwd-account-menu{position:relative}.rwd-guest .rwd-account-menu>summary{display:block;max-width:112px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;min-height:24px;line-height:24px;cursor:pointer}
.rwd-guest .rwd-account-menu[open]>form{position:absolute;right:0;top:25px;z-index:50;background:var(--bk-surface,#fff);border:1px solid var(--bk-line,#d1ddd5);border-radius:12px;padding:8px;box-shadow:0 4px 16px #0001}.rwd-guest .rwd-account-menu>form button{min-height:44px;white-space:nowrap}
.rwd-guest .rwd-header-account>a{display:flex;justify-content:flex-end;align-items:center;min-height:28px;font-size:14px;white-space:nowrap;padding:0}
.rwd-guest.step-1 .progress{margin:4px 0}.rwd-guest.step-1 .page-title{margin:8px 0}.rwd-guest.step-1 .rwd-line-early{margin-bottom:8px}.rwd-guest.step-1 .service-group h2{margin:6px 0}
@media(max-width:767px){.rwd-guest .rwd-shop-topline .salon-compact-logo{display:none}.rwd-guest .rwd-shop-topline .rwd-store-brand h1,.rwd-guest .rwd-shop-topline .salon-compact h1{font-size:16px}.rwd-guest .rwd-shop-topline .salon-compact{display:block}.rwd-guest .rwd-shop-topline .rwd-header-login button{font-size:12px;padding:8px}.rwd-guest .rwd-shop-topline .rwd-locale-menu>summary{padding:8px 6px}.rwd-guest .rwd-header-account>a{font-size:12px}}

.booking-page.rwd-guest .rwd-header-account .rwd-account-menu{margin:0;padding:0;border:0;background:transparent}
.booking-page.rwd-guest .rwd-header-account .rwd-account-menu>summary{margin:0;padding:0;border:0;min-height:24px;line-height:24px;background:transparent;border-radius:0}

.booking-page.rwd-guest .rwd-header-account .rwd-account-menu>summary{display:flex;gap:4px;align-items:center}
.rwd-guest .rwd-account-name{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rwd-guest .rwd-account-menu>summary>small{font-size:12px;flex:none}

/* MS015 signed-in state visibility */
.booking-page.rwd-guest .rwd-header-account .rwd-account-menu>summary>small{display:inline-block;color:inherit}

.booking-page.rwd-guest .rwd-header-account>a{background:transparent;color:var(--bk-text,#304d3d)}

/* BEAUTYRWD001 D1: unpaid completed appointments remain active work. */
.beauty-rwd .bx-day-summary h2 small{display:block;font-size:14px;font-weight:400;margin-top:6px;color:#3d5748}.beauty-rwd #bx-timeline{scroll-margin-top:88px}.beauty-rwd .bx-pending-group[data-pending-state="awaiting-checkout"] li{display:list-item}

/* BEAUTYRWD001 D2/D6/D7: truthful copy; no past slots; one clear selection. */
.booking-page.rwd-guest .service-choice input[type=checkbox]{width:24px;height:24px;min-height:24px;flex-basis:24px}
.booking-page.rwd-guest.step-1 .rwd-line-early{border:0;background:transparent;border-radius:0;padding:0;font-size:14px;line-height:1.5;margin:4px 0 10px}
.booking-page.rwd-guest [data-time-period][role=tabpanel]>h3{display:none}
.booking-page.rwd-guest .slot.rwd-selected-time{border:2px solid var(--bk-brand,#19775a);background:color-mix(in srgb,var(--bk-brand,#19775a) 10%,var(--bk-surface,#fff));color:var(--bk-text,#304d3d);outline:0;box-shadow:none}
.booking-page.rwd-guest .slot.rwd-selected-time:after{content:'✓';margin-left:4px;font-weight:700}
.booking-page.rwd-guest .week-nav>button:disabled{opacity:.55;cursor:not-allowed}

/* BEAUTYRWD001 D3/D4/D8: progressive walk-in steps, same successful controls. */
.beauty-rwd .d-checkout-steps{display:flex;gap:10px;align-items:center;margin:0 0 16px;padding:12px 0;border-bottom:1px solid #d6e2db;font-size:14px}.beauty-rwd .d-checkout-steps span{padding:6px 8px;color:#52665a}.beauty-rwd .d-checkout-steps [aria-current]{color:#155b44;background:#e9f5ee;border-radius:8px;font-weight:700}
.beauty-rwd .d-service-provider{grid-column:1/-1;font-size:14px}.beauty-rwd .d-service-provider select{margin-top:6px}.beauty-rwd .bx-addon-line:not(:has(.sale-addon:checked))>.d-service-provider{display:none}
.beauty-rwd .d-walkin-review{padding:0 0 16px;border-bottom:1px solid #d6e2db}.beauty-rwd .d-walkin-review h2{font-size:18px;margin:0 0 12px}.beauty-rwd .d-walkin-review ul{list-style:none;padding:0;margin:0 0 12px;display:grid;gap:10px;font-size:14px;line-height:1.6}.beauty-rwd .d-walkin-review p{font-size:14px;color:#304d3d}
.beauty-rwd .bx-addon-line:has(.sale-addon:checked){background:#edf7f0;border-radius:12px;padding:14px 12px;border:1px solid #19775a}

/* BEAUTYRWD001 D5/D9: compact timeline; original card mode remains available. */
.beauty-rwd .d-list-columns,.beauty-rwd .d-view-switch{display:none}.beauty-rwd .d-time-end{display:inline}
.beauty-rwd .d-staff-totals{margin:20px 0}.beauty-rwd .d-staff-totals h3{font-size:14px}.beauty-rwd .d-staff-totals ul{list-style:none;padding:0;margin:0}.beauty-rwd .d-staff-totals a{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:40px;font-size:14px;text-decoration:none;color:#304d3d}
.beauty-rwd .d-pending-setup{margin:0 0 20px}.beauty-rwd .d-pending-setup h2{font-size:16px;margin:0 0 8px}.beauty-rwd .d-pending-setup ul{margin:0;padding:0;list-style:none}.beauty-rwd .d-pending-setup a{display:flex;align-items:center;gap:12px;min-height:44px;padding:6px 0;font-size:14px;text-decoration:none;color:#304d3d}.beauty-rwd .d-pending-setup small{margin-left:auto;color:#68551f;font-size:14px}
.beauty-rwd .bx-service-row .catalog-status{border:0!important;border-radius:0;background:transparent!important;padding:0;min-height:0;box-shadow:none;font-size:14px;color:#52665a;cursor:default}.beauty-rwd .bx-service-row .catalog-status:before{content:'•';margin-right:4px}.beauty-rwd .bx-service-row .d-capability-count{font-size:14px;color:#465c50}
.beauty-rwd.d-payment-step .d-walkin-customer-picker,.beauty-rwd.d-payment-step .bx-optional-customer{display:none}.beauty-rwd.d-payment-step .d-checkout-steps{margin-bottom:12px;padding:6px 0}.beauty-rwd.d-payment-step .d-walkin-review{padding-bottom:12px}.beauty-rwd.d-payment-step .d-walkin-review h2{font-size:16px}.beauty-rwd.d-payment-step .d-walkin-review p{margin:8px 0}.beauty-rwd.d-payment-step .d-walkin-review ul{gap:6px;margin-bottom:8px}.beauty-rwd.d-payment-step .d-walkin-review button{min-height:44px}
@media(min-width:1024px){
 .beauty-rwd .d-timeline-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.beauty-rwd .d-timeline-heading h2{margin:0}.beauty-rwd .d-view-switch{display:flex;gap:4px;background:#e9efeb;padding:3px;border-radius:10px}.beauty-rwd .d-view-switch a{font-size:14px;padding:8px;min-height:40px;text-decoration:none;color:#42594c;display:flex;align-items:center;white-space:nowrap}.beauty-rwd .d-view-switch [aria-current]{background:#fff;border-radius:8px;color:#155b44;box-shadow:0 1px 4px #0001}
 .beauty-rwd.d-today-compact .d-list-columns,.beauty-rwd.d-today-compact .bx-day-timeline .bx-work-card{display:grid;grid-template-columns:minmax(58px,.9fr) minmax(56px,1fr) minmax(56px,1.2fr) minmax(32px,.65fr) minmax(64px,.8fr) minmax(72px,1fr) 32px;gap:6px;align-items:center}
 .beauty-rwd.d-today-compact .d-list-columns{padding:8px 12px;font-size:12px;color:#52665a}.beauty-rwd.d-today-compact .bx-work-list{gap:0}
 body.owner-page.owner-food.beauty-rwd.d-today-compact .bx-day-timeline .bx-work-card{padding:10px 12px;border-radius:0;min-height:68px;border-bottom-width:0}.beauty-rwd.d-today-compact .bx-work-list>.bx-work-card:first-child{border-radius:12px 12px 0 0}.beauty-rwd.d-today-compact .bx-work-list>.bx-work-card:last-child{border-bottom-width:1px;border-radius:0 0 12px 12px}
 .beauty-rwd.d-today-compact .bx-work-card-head,.beauty-rwd.d-today-compact .bx-work-summary,.beauty-rwd.d-today-compact .bx-card-actions{display:contents}
 .beauty-rwd.d-today-compact .bx-work-card-head>strong{grid-column:1;grid-row:1;font-size:14px;white-space:nowrap;line-height:1.4}.beauty-rwd.d-today-compact .d-time-end{display:block;font-size:12px;color:#52665a}
 body.owner-page.owner-food.beauty-rwd.d-today-compact .bx-work-card-head h2{grid-column:2;grid-row:1;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
 .beauty-rwd.d-today-compact .d-work-service{grid-column:3;grid-row:1;font-size:14px;line-height:1.5;min-width:0;overflow-wrap:anywhere}.beauty-rwd.d-today-compact .d-work-staff{grid-column:4;grid-row:1;font-size:14px;overflow-wrap:anywhere}
 .beauty-rwd.d-today-compact .d-work-estimate,.beauty-rwd.d-today-compact .bx-work-summary>a{display:none}.beauty-rwd.d-today-compact .bx-work-card-head>.status-pill{grid-column:5;grid-row:1;font-size:14px;padding:3px 4px;max-width:100%;white-space:normal;text-align:center;justify-self:start;line-height:1.4}
 body.owner-page.owner-food.beauty-rwd.d-today-compact .bx-card-actions>.bx-work-primary{grid-column:6;grid-row:1;width:100%;min-width:0;min-height:40px;font-size:14px;padding:6px;line-height:1.4}.beauty-rwd.d-today-compact .bx-work-primary button{font-size:14px!important;min-height:40px!important;padding:6px!important;line-height:1.4}
 .beauty-rwd.d-today-compact .bx-work-more{grid-column:7;grid-row:1;position:static;padding:0;min-width:0}.beauty-rwd.d-today-compact .bx-work-more>summary{position:static;width:32px;min-height:40px;padding:6px 0;font-size:0;border:0;background:transparent}.beauty-rwd.d-today-compact .bx-work-more>summary:after{content:'⋯';font-size:22px;line-height:28px;color:#42594c}
 .beauty-rwd.d-today-compact .bx-work-more[open]{grid-column:1/-1;grid-row:2}.beauty-rwd.d-today-compact .bx-work-more[open]>summary{margin-left:auto}.beauty-rwd.d-today-compact .bx-card-caption{grid-column:1/-1}
}

@media(min-width:1024px){body.owner-page.owner-food.beauty-rwd.d-today-compact .bx-card-actions>form.bx-work-primary{padding:0}.beauty-rwd.d-today-compact .bx-card-caption{grid-row:2}.beauty-rwd.d-today-compact .bx-work-card:has(.bx-card-caption) .bx-work-more[open]{grid-row:3}}

/* BEAUTYRWD001 D5: designer totals belong to the desktop sidebar. */
@media(max-width:1023px){.beauty-rwd .d-staff-totals{display:none}}

/* BEAUTYRWD001 E1/E8: compact mobile work entry; read-only overdue marker. */
.beauty-rwd .e-mobile-status,.beauty-rwd .e-mobile-pending{display:none}.beauty-rwd .e-overdue{display:block;color:#875323;font-size:12px;line-height:1.5;font-weight:500}.beauty-rwd .e-allocation-version{font-size:14px;color:#52665a}
@media(max-width:1023px){
 .beauty-rwd.bx-today-page .bx-status-filters,.beauty-rwd.bx-today-page .bx-day-summary{display:none}
 .beauty-rwd .e-mobile-status{display:flex;gap:6px;align-items:center;margin:10px 0;flex-wrap:wrap}.beauty-rwd .e-mobile-status>a,.beauty-rwd .e-other-status>summary{display:flex;align-items:center;gap:5px;padding:7px 10px;min-height:44px;border:1px solid #d1ddd5;border-radius:22px;background:#fff;color:#304d3d;font-size:14px;text-decoration:none;cursor:pointer}.beauty-rwd .e-mobile-status [aria-current]{background:#eaf5ee;border-color:#19775a;color:#155b44}.beauty-rwd .e-other-status{position:relative}.beauty-rwd .e-other-status>summary{list-style:none}.beauty-rwd .e-other-status[open]>div{position:absolute;right:0;top:48px;z-index:15;min-width:180px;display:grid;padding:8px;border:1px solid #d1ddd5;border-radius:12px;background:#fff;box-shadow:0 4px 16px #20382b15}.beauty-rwd .e-other-status a{padding:10px;min-height:44px;font-size:14px;color:#304d3d;text-decoration:none}
 .beauty-rwd .e-mobile-pending{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;padding:10px 12px;margin:0 0 12px;border:1px solid #d1ddd5;border-radius:12px;background:#edf5ef}.beauty-rwd .e-mobile-pending>small{grid-column:1/-1;font-size:12px;color:#52665a}.beauty-rwd .e-mobile-pending>a{display:flex;align-items:center;gap:8px;min-height:36px;text-decoration:none;color:#304d3d;font-size:14px}.beauty-rwd .e-mobile-pending strong{font-size:18px;color:#155b44}.beauty-rwd .e-mobile-pending a>span{margin-left:auto;font-size:12px;color:#52665a}.beauty-rwd.bx-today-page .bx-staff-filters{margin-bottom:8px}.beauty-rwd.bx-today-page .bx-timeline-title{margin:8px 0;font-size:16px}.beauty-rwd.bx-today-page .bx-day-layout{gap:0}.beauty-rwd.bx-today-page .bx-work-card{padding:12px}
}
@media(min-width:1024px){.beauty-rwd.d-today-compact .d-list-columns,.beauty-rwd.d-today-compact .bx-day-timeline .bx-work-card{grid-template-columns:minmax(58px,.9fr) minmax(56px,1fr) minmax(56px,1.2fr) minmax(32px,.65fr) minmax(64px,.8fr) minmax(72px,1fr) 48px}.beauty-rwd.d-today-compact .bx-work-more>summary{width:48px;font-size:14px;min-height:44px;display:flex;align-items:center;justify-content:center}.beauty-rwd.d-today-compact .bx-work-more>summary:after{content:none}}

/* BEAUTYRWD001 E2/E7: compact service editing, original payment fields. */
.beauty-rwd .e-other-kind{font-size:14px}.beauty-rwd .e-other-kind select{margin-top:6px}.beauty-rwd .e-walkin-tally{display:block;font-size:14px;font-weight:600;color:#155b44;margin:8px 0}.beauty-rwd.d-payment-step .e-walkin-tally{display:none}
.beauty-rwd [data-walkin-flow] .bx-addon-line:has(.sale-addon:checked){display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.85fr) minmax(0,1.25fr);gap:8px;padding:12px 8px;align-items:end;margin:8px 0}
.beauty-rwd [data-walkin-flow] .bx-addon-line:has(.sale-addon:checked)>.sale-service-choice{grid-column:1;grid-row:1;min-width:0;display:flex;align-items:center;gap:6px;min-height:48px;margin:0;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.beauty-rwd [data-walkin-flow] .bx-addon-line:has(.sale-addon:checked)>.bx-addon-price-editor{grid-column:2;grid-row:1;margin:0;font-size:12px;min-width:0;line-height:1.4}.beauty-rwd [data-walkin-flow] .bx-addon-price-editor small{font-size:12px;margin-left:4px;color:#52665a}
.beauty-rwd [data-walkin-flow] .bx-addon-line:has(.sale-addon:checked)>.d-service-provider{grid-column:3;grid-row:1;margin:0;min-width:0;font-size:12px;line-height:1.4}
.beauty-rwd [data-walkin-flow] .bx-addon-line:has(.sale-addon:checked)>.bx-service-list-price{display:none}.beauty-rwd [data-walkin-flow] .bx-addon-line:has(.sale-addon:checked)>.bx-card-panel{grid-column:1/-1}
.beauty-rwd [data-walkin-flow] :is(.sale-addon-price,[data-service-provider]){min-width:0;width:100%;min-height:44px;margin-top:4px;padding:8px;font-size:16px}.beauty-rwd [data-walkin-flow] .sale-addon-price{appearance:textfield}.beauty-rwd [data-walkin-flow] .sale-addon-price::-webkit-inner-spin-button{appearance:none}
@media(max-width:1023px){.beauty-rwd.bx-focus-mode:has([data-walkin-flow]) .bx-focus-bar{display:grid;grid-template-columns:84px minmax(0,1fr);gap:4px 12px}.beauty-rwd .bx-focus-bar .e-walkin-tally{grid-column:1/-1;margin:0;font-size:13px}.beauty-rwd .bx-focus-bar>a{grid-column:1;grid-row:2}.beauty-rwd .bx-focus-bar>button{grid-column:2;grid-row:2}.beauty-rwd #bx-focus-form>.e-walkin-tally{display:none}.beauty-rwd.d-payment-step .bx-focus-bar>a,.beauty-rwd.d-payment-step .bx-focus-bar>button{grid-row:1}}

/* BEAUTYRWD001 E4/E5: truthful reservation and required-field feedback. */
.rwd-guest .e-slot-note{font-size:14px;line-height:1.5;color:var(--bk-text,#304d3d);margin:4px 0 12px}.rwd-guest .e-required{display:inline-block;margin-left:8px;font-size:12px;color:var(--bk-text,#304d3d);font-weight:500}.rwd-guest .e-field-error{display:block;color:#943e2c;font-size:14px;line-height:1.5;margin:6px 0}.rwd-guest .e-field-error[hidden]{display:none}.rwd-guest input[aria-invalid=true]{border:2px solid #a34330}.rwd-guest .e-contact-policy{margin:12px 0;font-size:14px;line-height:1.5}

/* BEAUTYRWD001 E6: read-only setup readiness, no notification action. */
.beauty-rwd .d-pending-setup .e-setting-copy{display:block;min-width:0;flex:1}.beauty-rwd .d-pending-setup .e-setting-copy strong{display:block;font-size:14px;font-weight:600}.beauty-rwd .d-pending-setup .e-setting-copy small{display:block;margin:4px 0 0;font-size:13px;line-height:1.6;color:#52665a}.beauty-rwd .d-pending-setup .e-setting-kind{font-size:12px;flex-shrink:0;background:#edf3ee;border-radius:6px;padding:4px 6px;color:#42594c}.beauty-rwd .bx-more-group .e-line-state{display:grid;grid-template-columns:minmax(0,1fr) 16px;gap:6px;align-items:start}.beauty-rwd .e-line-state>span:first-child{grid-column:1;font-size:14px;line-height:1.5}.beauty-rwd .e-line-state>.bx-menu-state{grid-column:1;margin:0;font-size:13px;line-height:1.5;white-space:normal}.beauty-rwd .e-line-state>span:last-child{grid-column:2;grid-row:1/3}

/* E7: keep price caption and return link readable at phone width. */
.beauty-rwd [data-walkin-flow] .bx-addon-price-editor small{display:block;margin-left:0}
@media(max-width:1023px){.beauty-rwd.bx-focus-mode:has([data-walkin-flow]) .bx-focus-bar{grid-template-columns:100px minmax(0,1fr)}.beauty-rwd .bx-focus-bar>a{white-space:nowrap;font-size:14px}}

/* E5: in a short error viewport, let actions follow the form so all required text remains readable. */
@media(max-height:500px){body.booking-page.rwd-guest.step-4.e-inline-errors form .actions{position:static;inset:auto;box-shadow:none;border:0;padding:12px 0}}

body.booking-page.rwd-guest.step-4.e-inline-errors.e-short-error-viewport form .actions{position:static;inset:auto;box-shadow:none;border:0;padding:12px 0}

/* BEAUTYRWD001 F1-F3: current receipt state and compact confirmation; no transaction rules. */
.beauty-rwd .bx-sale-success>strong>span{display:block}.beauty-rwd .f-receipt-status{font-size:20px;line-height:1.5}.beauty-rwd .f-receipt-amount{font-size:22px;line-height:1.5;margin-top:6px;overflow-wrap:anywhere}.beauty-rwd .bx-sale-success[data-receipt-state=void]{background:#f4f5f4;border-color:#ccd4cf}.beauty-rwd .bx-sale-success[data-receipt-state=void]>strong{color:#52665a}.beauty-rwd .bx-sale-success[data-receipt-state=refunded]>strong{color:#875323}
.rwd-guest .f-price-reason{font-size:14px;line-height:1.5;margin:10px 0 0;color:var(--bk-text,#304d3d)}.rwd-guest .f-booking-information{margin:12px 0;border:1px solid var(--bk-line,#d1ddd5);border-radius:10px;padding:0 12px}.rwd-guest .f-booking-information>summary{min-height:44px;display:list-item;padding:10px 0;font-size:14px;line-height:1.5;cursor:pointer}.rwd-guest .f-booking-information .rwd-line-transfer{margin:12px 0;font-size:14px;line-height:1.5}.rwd-guest .f-booking-information>p{font-size:14px;line-height:1.7}
@media(max-width:767px){.booking-page.rwd-guest .rwd-confirm-summary .booking-receipt{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.booking-page.rwd-guest .rwd-confirm-summary .booking-receipt>div{display:block;padding:4px 0}.booking-page.rwd-guest .rwd-confirm-summary .booking-receipt dt{font-size:12px;margin:0 0 4px;overflow-wrap:anywhere}.booking-page.rwd-guest .rwd-confirm-summary .booking-receipt dd{text-align:left;font-size:14px}.booking-page.rwd-guest .rwd-confirm-summary .booking-receipt .summary-when{font-size:14px;line-height:1.5}.booking-page.rwd-guest .rwd-confirm-summary .receipt-total dd{font-size:22px}.booking-page.rwd-guest .rwd-confirm-summary{padding:12px}.booking-page.rwd-guest.step-4 form>.policy{font-size:13px;line-height:1.5}.booking-page.rwd-guest.step-4 .actions>a{min-width:64px;padding-left:12px;padding-right:12px}}

/* BEAUTYRWD002 B3: original URL steps, three visible progress items. */
.booking-page.rwd-guest .progress.b3-progress{grid-template-columns:repeat(3,minmax(0,1fr))}.booking-page.rwd-guest .summary-designer{overflow-wrap:anywhere}

/* BEAUTYRWD002 B2: weekly overview and native selected-day preview. */
.owner-page.beauty-rwd.b2-hours .b2-intro{margin-bottom:16px}.owner-page.beauty-rwd.b2-hours .b2-week-list{border:1px solid #d9e4dd;border-radius:14px;background:white;overflow:hidden;margin-bottom:20px}.owner-page.beauty-rwd.b2-hours .b2-day-row{display:grid;grid-template-columns:minmax(88px,auto) minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #e3eae6}.owner-page.beauty-rwd.b2-hours .b2-day-row:last-child{border-bottom:0}.owner-page.beauty-rwd.b2-hours .b2-day-select{display:flex;align-items:center;gap:8px;min-height:44px;margin:0}.owner-page.beauty-rwd.b2-hours .b2-day-select input{width:24px;height:24px;margin:0;flex:none}.owner-page.beauty-rwd.b2-hours .b2-day-row p{margin:4px 0 0;overflow-wrap:anywhere}.owner-page.beauty-rwd.b2-hours .b2-day-status{font-size:14px;color:#405c4f}.owner-page.beauty-rwd.b2-hours .b2-day-row .button{min-width:56px;padding:10px}.owner-page.beauty-rwd.b2-hours .b2-operations{display:grid;gap:8px}.owner-page.beauty-rwd.b2-hours .b2-segment{border:1px solid #d9e4dd;border-radius:12px;padding:12px;margin:12px 0}.owner-page.beauty-rwd.b2-hours .b2-preview-day{border-bottom:1px solid #e3eae6;padding:12px 0}.owner-page.beauty-rwd.b2-hours .b2-preview-day dl>div{display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px;margin:8px 0}.owner-page.beauty-rwd.b2-hours .b2-preview-day dd{margin:0;overflow-wrap:anywhere}.owner-page.beauty-rwd.b2-hours .b2-form-actions{display:grid;grid-template-columns:minmax(88px,.42fr) minmax(0,1fr);gap:12px;align-items:center;margin-top:20px}.owner-page.beauty-rwd.b2-hours .b2-form-actions>*{width:100%;min-width:0;margin:0;padding:10px;text-align:center;white-space:normal}.owner-page.beauty-rwd.b2-hours .b2-form-actions button{flex:1}.owner-page.beauty-rwd.b2-hours .b2-legacy{margin-top:24px}.owner-page.beauty-rwd.b2-hours [hidden]{display:none}.owner-page.beauty-rwd.b2-focus-page .bx-bottom-nav{display:none}@media(max-width:767px){body.owner-page.owner-food.beauty-rwd.b2-focus-page{padding-bottom:calc(160px + env(safe-area-inset-bottom))}.owner-page.beauty-rwd.b2-focus-page input{scroll-margin-bottom:180px}.owner-page.beauty-rwd.b2-focus-page .b2-form-actions{position:fixed;bottom:0;left:0;right:0;z-index:35;background:#fff;border-top:1px solid #d9e4dd;padding:12px 16px calc(12px + env(safe-area-inset-bottom));margin:0}.owner-page.beauty-rwd.b2-hours .b2-day-row{gap:8px;grid-template-columns:minmax(88px,auto) minmax(0,1fr) auto}.owner-page.beauty-rwd.b2-hours .b2-day-select{gap:6px}.owner-page.beauty-rwd.b2-hours .b2-day-row .button{min-width:44px;padding:10px 8px}.owner-page.beauty-rwd.b2-hours .b2-form-actions button{min-height:52px}.owner-page.beauty-rwd.b2-hours .b2-day-row strong{font-size:16px}}

/* RWD002 package 2B: native move, calendar and scoped detail panel. */
.b-calendar-page .b-calendar-caption { margin:4px 0 12px; color:#52635a; font-size:14px; }
.b-calendar-page .b-calendar-date { display:flex; align-items:end; gap:12px; margin:16px 0; }
.b-calendar-page .b-calendar-date label { margin:0; flex:1; max-width:240px; }
.b-calendar-page .b-calendar-date button { width:auto; }
.b-calendar-page .b-mini-month { margin:12px 0; border:1px solid #dce5de; border-radius:12px; padding:10px; }
.b-calendar-page .b-mini-month>summary,.b-calendar-page .b-calendar-advanced>summary,.b-calendar-page .b-quick-arrange>summary { min-height:44px; padding:10px 0; font-weight:700; cursor:pointer; }
.b-calendar-page .b-calendar-person { margin:16px 0 24px; }
.b-calendar-page .b-calendar-advanced { margin:20px 0; }
.b-move-page .b-move-slots { display:grid; grid-template-columns:repeat(auto-fit,minmax(100px,1fr)); gap:10px; }
.b-move-page .b-move-slots button { min-height:48px; margin:0; }
.b-move-page dl>div,.b-appointment-peek dl>div { padding:12px 0; border-bottom:1px solid #dce5de; }
.b-move-page dt,.b-appointment-peek dt { font-size:14px; color:#52635a; }
.b-move-page dd,.b-appointment-peek dd { margin:6px 0 0; line-height:1.7; overflow-wrap:anywhere; }
.b-move-page .b-move-footer { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:20px; }
.b-move-page .b-move-footer>* { margin:0; min-width:0; }
.b-move-page .b-move-entry { margin:12px 0; }
.b-detail-drawer { position:fixed; inset:0 0 0 auto; margin:0; width:min(480px,45vw); height:100dvh; max-height:100dvh; border:0; padding:24px; overflow:auto; border-radius:0; box-shadow:-10px 0 40px #18332733; }
.b-detail-drawer::backdrop { background:#172b2355; }
.b-detail-drawer>button { width:auto; min-height:44px; }
.b-detail-drawer a { overflow-wrap:anywhere; }
.b-schedule-page .b-month-marker { display:none; }
.b-schedule-page .schedule-month-grid { min-width:0; }
.b-schedule-page .schedule-month-scroll { overflow:visible; }
.b-schedule-page .month-swipe { display:none; }
.b-schedule-page .b-schedule-edit { align-self:center; min-width:0; }
.b-schedule-edit-page .schedule-day-editor { width:100%; padding:12px 0; }
.b-schedule-edit-page .schedule-week-row { display:block; }
@media(max-width:767px) {
 .b-calendar-page .appointment-month-grid { grid-template-columns:repeat(7,minmax(0,1fr)); gap:2px; }
 .b-calendar-page .appointment-month-day { min-width:0; min-height:58px; padding:5px 2px; }
 .b-calendar-page .appointment-month-closed { display:none; }
 .b-calendar-page .appointment-month-heading { flex-wrap:wrap; gap:8px; }
 .b-calendar-page .appointment-month-heading nav { display:flex; flex-wrap:wrap; gap:8px; }
 .b-calendar-page .appointment-month-count { font-size:12px; min-width:18px; padding:1px 3px; }
 .b-calendar-page .b-mini-month { padding:6px; }
 .b-calendar-page .appointment-list-grid { display:block; }
 .b-schedule-page .schedule-month-grid { min-width:0; grid-template-columns:repeat(7,minmax(0,1fr)); }
 .b-schedule-page .month-weekday { font-size:12px; padding:8px 1px; overflow-wrap:anywhere; }
 .b-schedule-page a.month-day,.b-schedule-page .month-blank { min-height:68px; padding:5px 2px; align-items:center; gap:3px; min-width:0; }
 .b-schedule-page .month-day .month-status,.b-schedule-page .month-day .month-time,.b-schedule-page .month-day .month-note,.b-schedule-page .month-day .month-tag,.b-schedule-page .month-day .month-appointments { display:none; }
 .b-schedule-page .b-month-marker { display:block; font-size:12px; line-height:18px; color:#246440; }
 .b-schedule-page .month-heading { flex-wrap:wrap; gap:10px; }
 .b-schedule-page .month-filter { grid-template-columns:1fr; gap:10px; }
 .b-schedule-page .schedule-day-summary { min-width:0; }
 .b-schedule-page .schedule-week-row { flex-wrap:wrap; }
 .b-schedule-page .b-schedule-edit { width:auto; }
 .b-move-page { padding-bottom:100px; }
 .b-move-page .bx-bottom-nav { display:none; }
 .b-move-page .b-move-footer { position:fixed; bottom:0; left:0; right:0; padding:12px 16px max(12px,env(safe-area-inset-bottom)); background:#fff; box-shadow:0 -3px 20px #18332722; z-index:30; }
}

/* RWD002 package 2A: opening outcomes and settings. */
.a-opening-intro { margin:0 0 20px; }
.a-opening-intro h2 { display:flex; align-items:baseline; flex-wrap:wrap; gap:12px; }
.a-opening-intro small { color:#52635a; font-size:14px; }
.a-opening-intro progress { width:100%; height:10px; accent-color:#19775a; }
.a-opening-intro p,.a-opening-card li { color:#405c4f; line-height:1.7; }
.a-opening-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr)); gap:16px; }
.a-opening-grid .a-opening-card { margin:0; padding:20px; }
.a-opening-card h3 { margin:0 0 12px; }
.a-opening-card ul { padding-left:20px; }
.a-opening-card .button { width:100%; }
.a-opening-overview { margin:12px 0 20px; }
.a-opening-overview>summary { min-height:44px; padding:12px; border:1px solid #dce5de; border-radius:10px; cursor:pointer; }
.a-opening-overview .a-opening-intro { margin-top:16px; }
.a-staff-page .a-staff-card { gap:16px; }
.a-staff-page .a-staff-card>span:not(.a-staff-portrait) { min-width:0; }
.a-staff-portrait { width:64px; height:64px; object-fit:cover; border-radius:14px; flex:none; }
.a-staff-initial { display:flex; align-items:center; justify-content:center; background:#e8f1eb; color:#246048; font-size:24px; font-weight:700; }
.a-staff-section { margin:20px 0; border-top:1px solid #dce5de; padding-top:8px; }
.a-staff-section>summary { min-height:48px; padding:12px 0; font-size:18px; font-weight:700; cursor:pointer; }
.a-staff-form .service-cap { padding:12px; border:1px solid #dce5de; border-radius:10px; margin:10px 0; }
.a-staff-form>button { min-height:52px; }
.a-theme-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; }
.a-theme-tabs>a { padding:10px 14px; background:#e8f1eb; border-radius:999px; color:#246048; text-decoration:none; min-height:44px; }
.a-theme-media { margin:24px 0; }
.a-theme-media-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:16px; }
.a-theme-media-grid .card { margin:0; min-width:0; }
.a-theme-page [data-theme-area] { scroll-margin-top:80px; }
.a-history-page .a-notification-filter { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; align-items:end; }
.a-history-page .a-notification-filter label { margin:0; }
.a-history-page .a-notification-legend { margin:20px 0; }
.a-history-page .a-notification-legend summary { padding:12px 0; min-height:44px; }
.a-history-page .a-history-pages { display:flex; gap:12px; flex-wrap:wrap; margin:24px 0; }
.a-history-page .a-history-pages a { width:auto; }
.b2-hours .b2-day-row .b2-hour-part { display:block; white-space:nowrap; }
.b2-hours .b2-confirm-form label.check { display:flex; align-items:center; gap:12px; min-height:48px; cursor:pointer; }
.b2-hours .b2-confirm-form [name=replace_ack] { width:24px; height:24px; min-width:24px; margin:0; flex:none; }
.bx-work-more .a-today-move { display:flex; width:100%; margin:4px 0 16px; min-height:48px; }
.a-original-price { display:block; font-size:13px; color:#52635a; font-weight:400; }
@media(max-width:767px) {
 .a-staff-page .a-staff-card { flex-wrap:wrap; padding:16px; gap:12px; }
 .a-staff-page .a-staff-card>.catalog-status { margin-left:76px; }
 .a-history-page .a-notification-filter { grid-template-columns:1fr; }
 .a-opening-grid { grid-template-columns:1fr; }
 .a-theme-media-grid { grid-template-columns:1fr; }
}

.a-staff-page .a-staff-card>.a-staff-copy { flex:1; min-width:0; }

@media(max-width:767px) {
 .owner-page.beauty-rwd.b2-hours .b2-day-row { grid-template-columns:minmax(0,1fr) auto; }
 .owner-page.beauty-rwd.b2-hours .b2-day-row>div { grid-column:1 / -1; grid-row:2; }
 .owner-page.beauty-rwd.b2-hours .b2-day-row>.button { grid-column:2; grid-row:1; }
 .owner-page.beauty-rwd.b2-hours .b2-day-row>.b2-day-select { grid-column:1; grid-row:1; }
}

/* RWD002 review: clear save scopes, compact history and native time groups. */
.b2-hours .b2-day-status:empty { display:none; }
.b2-hours .b2-day-row>.button { width:96px; min-height:44px; padding:8px; white-space:normal; text-align:center; }
.b2-hours .b2-day-row>div>p { margin:0; }
.b2-hours .b2-effective-note { line-height:1.7; }
.a-services-page .bx-service-row>.status-pill { cursor:default; pointer-events:none; }
.a-services-page .bx-service-edit { min-width:96px; min-height:44px; padding:10px 12px; text-align:center; }
.g-staff-editor { padding-bottom:180px!important; }
.g-staff-editor .bx-bottom-nav { display:none; }
.g-staff-editor .g-staff-inline-save { display:none; }
.g-staff-save-bar { position:fixed; z-index:45; bottom:0; left:0; right:0; display:grid; grid-template-columns:minmax(72px,.4fr) minmax(0,1fr); gap:8px; padding:10px 16px calc(10px + env(safe-area-inset-bottom)); background:#fff; border-top:1px solid #bdcec2; box-shadow:0 -4px 20px #173c2014; }
.g-staff-save-bar p { grid-column:1 / -1; margin:0; color:#715018; font-size:14px; }
.g-staff-save-bar .button,.g-staff-save-bar button { min-width:0; min-height:48px; margin:0; padding:10px 8px; white-space:normal; }
.g-staff-editor input,.g-staff-editor textarea,.g-staff-editor details { scroll-margin-bottom:180px; }
.g-cap-summary { margin:6px 0 10px; line-height:1.6; color:#3f5548; }
.g-separate-save { display:inline-block; padding:4px 8px; border-radius:6px; color:#425e50; background:#edf2ef; font-size:14px; font-weight:400; }
.g-theme-state { margin:14px 0 6px; color:#526044; font-weight:700; }
.g-color-swatch { display:inline-flex; justify-content:center; align-items:center; padding:4px 8px; border-radius:5px; margin-right:6px; }
.owner-page .theme-presets a { width:auto; min-height:48px; display:flex; align-items:center; }
.g-color-advanced { margin:16px 0; }
.g-color-advanced>summary { min-height:44px; padding:10px 0; cursor:pointer; }
.a-history-page .g-history-search { grid-column:1 / -1; }
.a-history-page .a-notification-job { margin:0; border:0; border-bottom:1px solid #dce5de; border-radius:0; padding:0; background:#fff; }
.a-history-page .a-notification-job>summary { display:block; cursor:pointer; padding:14px 12px; list-style:none; min-height:72px; }
.a-history-page .a-notification-job>summary::-webkit-details-marker { display:none; }
.g-history-top,.g-history-bottom { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.g-history-top { margin-bottom:6px; }
.g-history-top .status-pill { padding:4px 8px; flex-shrink:0; font-size:13px; }
.g-history-bottom { font-size:13px; color:#52635a; }
.g-history-bottom>span:first-child { min-width:0; overflow-wrap:anywhere; }
.g-history-expand { flex-shrink:0; text-decoration:underline; color:#246048; }
.g-history-detail { padding:0 16px 16px; background:#f5f8f6; }
.g-history-detail>p:first-child { padding-top:16px; }
.a-notification-job[open] .g-history-expand::after { content:' ▴'; }
.a-notification-job:not([open]) .g-history-expand::after { content:' ▾'; }
.b-move-page .b-move-slots { display:flex; flex-wrap:wrap; gap:8px; }
.b-move-page .b-move-slots>button { flex:0 1 calc((100% - 16px)/3); min-width:4.5em; max-width:100%; width:auto; padding:10px 6px; }
.g-move-period { margin:20px 0; }
.g-move-period h3 { margin:0 0 10px; }
.b-move-preview dl>div.g-move-old { background:#f2f4f3; border:1px solid #dce1dd; padding:14px; border-radius:10px; }
.b-move-preview dl>div.g-move-new { background:#edf8ef; border:1px solid #a9cbb1; padding:14px; border-radius:10px; }
.g-recent-slots { padding:12px 0 16px; margin-bottom:16px; border-bottom:1px solid #d6e1da; }
.g-recent-slots h2 { font-size:18px; margin:0 0 10px; }
.rwd-guest .g-recent-slots .slot-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.rwd-guest .g-recent-slots .slot { min-height:48px; padding:10px 4px; }
@media(min-width:1024px) { .g-staff-save-bar { left:232px; padding-left:32px; padding-right:32px; grid-template-columns:1fr auto auto; align-items:center; } .g-staff-save-bar p { grid-column:auto; } }
@media(max-width:767px) { .a-services-page .bx-service-row>.status-pill { justify-self:start; } .a-services-page .bx-service-edit { justify-self:end; width:auto; } }

.beauty-rwd.a-services-page .bx-service-row>.catalog-status.status-pill { background:#edf3ef!important; border:1px solid #d6e3d9!important; border-radius:999px; padding:6px 10px; color:#245c3e; }
.beauty-rwd.a-services-page .bx-service-row>.catalog-status.status-pill::before { content:none; }

.a-history-page .a-history-pages>a { max-width:100%; min-width:0; white-space:normal; text-align:center; }

.b2-hours .b2-day-row>div>p { display:flex; flex-wrap:wrap; column-gap:12px; row-gap:4px; }

/* Preset samples use the allowed external stylesheet; original CSP stays intact. */
.theme-presets [data-theme-primary] .g-color-swatch { color:#fff; }
.theme-presets [data-theme-primary="#237E4F"] .g-color-swatch { background:#237E4F; }
.theme-presets [data-theme-primary="#8D3958"] .g-color-swatch { background:#8D3958; }
.theme-presets [data-theme-primary="#765239"] .g-color-swatch { background:#765239; }
.theme-presets [data-theme-primary="#385E78"] .g-color-swatch { background:#385E78; }
.theme-presets [data-theme-primary="#222222"] .g-color-swatch { background:#222222; }

/* H1-H4 final task confirmations, scoped to their original routes. */
.b2-hours .b2-confirm-form button:disabled { background:#dce3de; border-color:#bdc9c0; color:#526158; opacity:1; cursor:not-allowed; box-shadow:none; }
.h-move-identity { font-weight:700; overflow-wrap:anywhere; }
.h-slug-page { padding-bottom:170px!important; }
.h-slug-page .bx-bottom-nav { display:none; }
.h-slug-review dd { margin:8px 0 20px; overflow-wrap:anywhere; }
.h-slug-review .check { display:flex; align-items:flex-start; gap:12px; }
.h-slug-review .check input { width:24px; min-width:24px; height:24px; margin-top:4px; }
.h-slug-actions { position:fixed; z-index:45; bottom:0; left:0; right:0; display:grid; grid-template-columns:minmax(72px,.6fr) minmax(0,1fr); gap:8px; background:#fff; border-top:1px solid #bdcec2; padding:12px 16px calc(12px + env(safe-area-inset-bottom)); }
.h-slug-actions button { min-width:0; white-space:normal; min-height:48px; margin:0; padding:10px 8px; }
@media(min-width:1024px) { .h-slug-actions { left:232px; padding-left:32px; padding-right:32px; } }
