/* The same watercolor studio, from daylight to blue hour. */
:root{color-scheme:light;--control-edge:#bfd4e4;--control-shadow:#d1e1ec;--focus:#245e99}
.theme-toggle{width:46px;height:46px;min-width:46px;flex-shrink:0;border:1px solid var(--control-edge);border-radius:50%;display:grid;place-items:center;background:var(--white);color:var(--ink);box-shadow:0 3px 0 var(--control-shadow);transition:background .2s,translate .2s;cursor:pointer}
.theme-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.theme-toggle .theme-sun{display:none}
.theme-toggle:focus-visible{outline:3px solid var(--focus);outline-offset:4px}.theme-toggle:active{translate:0 2px;box-shadow:0 1px 0 var(--control-shadow)}
.header{gap:22px}.header-actions{margin-left:auto}.login-theme-toggle{position:absolute;right:max(24px,env(safe-area-inset-right));top:max(24px,env(safe-area-inset-top))}.admin-login{position:relative}
.mobile-book-bar{display:none}body:has(dialog[open]){overflow:hidden}
input,textarea,select{scroll-margin-block:90px}dialog{overscroll-behavior:contain;scroll-padding-bottom:100px}
@media(max-width:1150px) and (min-width:801px){body:not(.admin-mode) .header nav{display:none}.header .brand>span{font-size:30px}.header-actions{gap:16px}}

:root[data-theme="dark"]{color-scheme:dark;--paper:#101e2e;--ink:#e2edf8;--muted:#b0c3d3;--blue:#91c7ff;--blue-light:#223e58;--line:#35516a;--sage:#192f43;--white:#192d40;--control-edge:#43617a;--control-shadow:#0a1522;--focus:#acd9ff}
[data-theme="dark"] .theme-toggle .theme-moon{display:none}[data-theme="dark"] .theme-toggle .theme-sun{display:block}
[data-theme="dark"] .topline{background:#183e65;color:#e3f1ff}
[data-theme="dark"] .hero:before{background:linear-gradient(115deg,#101e2ee8,#112a46d9),url('/assets/petal-wash.jpg') center/cover;opacity:1}
[data-theme="dark"] .hero h1 em{color:#a3d0ff}[data-theme="dark"] .hero h1 em:after{background:#68b5ef35}
[data-theme="dark"] :is(.intro,.hero-note,.garden-note,.sidebar-note p,.legend,.week-empty,.time-choice-heading>span+span){color:var(--muted)}
[data-theme="dark"] .photo-frame>img{filter:brightness(.8) saturate(.9)}[data-theme="dark"] .seal{background:#1e3852;color:#c1e2ff;outline-color:#5e88b0;box-shadow:0 8px 30px #0004}
[data-theme="dark"] .ribbon{background:#172c41;border-color:var(--line)}[data-theme="dark"] .ribbon-flower{color:#8fc8ff}
[data-theme="dark"] :is(.menu-invitation,.tag){background:var(--blue-light);border-color:var(--line)}
[data-theme="dark"] :is(.studio-art,.closing){background:linear-gradient(115deg,#19334ce8,#142b43eb),url('/assets/petal-wash.jpg') center/cover}
[data-theme="dark"] .studio-art:before,[data-theme="dark"] .studio-art:after{border-color:#7fb0dc30}
[data-theme="dark"] .button{--button-top:#87bff0;--button-bottom:#64a4da;--button-edge:#315d80;color:#0a2033;border-color:#83b9e6;border-top-color:#b9e1ff;box-shadow:inset 0 1px 0 #ffffff30,0 4px 0 var(--button-edge),0 9px 20px #0003}
[data-theme="dark"] .button.secondary{--button-top:#29445e;--button-bottom:#20374d;--button-edge:#0a1725;color:#deeeff;border-color:#45647e}
[data-theme="dark"] .button.danger{--button-top:#b36867;--button-bottom:#934c4c;--button-edge:#552c30;color:#fff;border-color:#c28b89}
[data-theme="dark"] .button:disabled{opacity:.5;box-shadow:0 2px 0 #1a344a}
[data-theme="dark"] :is(a,button,input,select,textarea):focus-visible{outline-color:var(--focus)}
[data-theme="dark"] .treatment button.treatment-reserve{background:linear-gradient(145deg,#254c6b,#1c374e);color:#d7edff;border-color:#456b8b;box-shadow:inset 0 1px 0 #aad8ff20,0 3px 0 #0b2033,0 8px 20px #0002}
[data-theme="dark"] .price-from{color:#c3d9eb}[data-theme="dark"] .price-book{border-color:#456b8b}
[data-theme="dark"] :is(input,textarea,select){background:var(--white);border-color:var(--line);color:var(--ink)}
[data-theme="dark"] ::placeholder{color:#9eb5c8;opacity:1}
[data-theme="dark"] dialog{border-color:#45647f;box-shadow:0 24px 90px #0008}[data-theme="dark"] dialog::backdrop{background:#020a14ad}
[data-theme="dark"] :is(.service-option small,.selected-service span,.help){color:var(--muted)}
[data-theme="dark"] .service-option.selected{background:#24445f}[data-theme="dark"] .service-option .radio{border-color:#7d9db6}[data-theme="dark"] .service-option.selected .radio{border-color:#91c7ff}
[data-theme="dark"] .step.active b{background:#8abff0;color:#10283f;border-color:#8abff0}
[data-theme="dark"] :is(.date-shortcuts button,.date-shortcuts .date-other){background:#1b3248;color:var(--ink);border-color:#47657f;box-shadow:inset 0 1px 0 #b1dfff12,0 3px 0 #0b1724}
[data-theme="dark"] .date-shortcuts .date-today{background:linear-gradient(120deg,#214663ee,#1e4262d9),url('/assets/petal-wash.jpg') center/cover}
[data-theme="dark"] .date-shortcuts :is(.date-today,.date-other).is-selected{color:#ecf7ff;border-color:#85b9df;box-shadow:inset 0 0 0 1px #85b9df,0 4px 0 #0d263c,0 9px 24px #0002}
[data-theme="dark"] .today-stamp{background:#122e45c9;color:#e6f4ff;border-color:#6187a5;box-shadow:0 2px 6px #0002}
[data-theme="dark"] .date-shortcuts .date-check{color:#b2ddff}
[data-theme="dark"] .date-calendar{background:linear-gradient(#172d43f0,#1b344ae8),url('/assets/petal-wash.jpg') center/cover;border-color:#43627c;box-shadow:0 8px 24px #0002}
[data-theme="dark"] .date-month-nav>button{background:#24435d;border-color:#456680;color:#d7edff}
[data-theme="dark"] .date-month-fields :is(select,input){background:transparent;color:#dfedfa;border-color:#45627b}
[data-theme="dark"] .date-weekdays{color:#b0c7da}[data-theme="dark"] .date-day{color:#d8e8f5}
[data-theme="dark"] .date-day.is-selected{color:#102a40;background:linear-gradient(#a1d4ff,#80b9e8);border-color:#b2ddff;box-shadow:0 2px 0 #45759b}
[data-theme="dark"] .date-day:disabled,[data-theme="dark"] .date-month-nav>button:disabled{color:#8499ab}
[data-theme="dark"] .date-calendar-note{color:#b1c9dc;border-color:#35516a}[data-theme="dark"] .date-calendar-note>span:first-child{background:#91c7ff}
[data-theme="dark"] .time-periods button{color:#b9d1e4}[data-theme="dark"] .time-periods button[aria-pressed="true"]{background:#294c6c;border-color:#5b89ae;color:#eef7ff}
[data-theme="dark"] .time-button{background:#1b3247;border-color:#426079;color:#deedf8;box-shadow:0 2px 0 #091728}
[data-theme="dark"] .time-button.selected{background:#87c2ef;border-color:#b3deff;color:#0b2539;box-shadow:0 2px 0 #3b6c93}
[data-theme="dark"] .time-choices .no-times{background:var(--sage)}
[data-theme="dark"] .confirmation-symbol{background:#254536;border-color:#5d846d;color:#c1e9ce}
[data-theme="dark"] :is(.booking-error,.cancel-confirm){background:#472c30;color:#ffe1da}[data-theme="dark"] .booking-error{border:1px solid #8f5757}
[data-theme="dark"] #toast{background:#d5eaff;color:#152f46}
[data-theme="dark"] .admin-mode .header{background:linear-gradient(115deg,#18314bea,#10283fe6),url('/assets/petal-wash.jpg') center/cover;border-color:#45647d}
[data-theme="dark"] .admin-mode .desk-heading .eyebrow{color:#a9d5ff}[data-theme="dark"] .admin-mode-badge{background:#244f76;border-color:#5d85a4;box-shadow:0 3px 0 #0d2237;color:#eff8ff}
[data-theme="dark"] .stats{background:var(--white)}[data-theme="dark"] .view-toggle{background:#102336;border-radius:8px}
[data-theme="dark"] .view-toggle button.active{background:#2e506d;color:#ecf7ff}
[data-theme="dark"] .schedule-subhead{background:#203a51;color:#b4cee3}
[data-theme="dark"] .day-timeline{background:repeating-linear-gradient(to bottom,transparent 0,transparent 179px,#35516a 179px,#35516a 180px)}
[data-theme="dark"] .provider-column-line{border-color:#35516a}
[data-theme="dark"] :is(.appointment-block,.week-appointment){background:#264c6c;color:#ecf5ff;border-color:#8ac5ff}
[data-theme="dark"] :is(.appointment-block.checked-in,.week-appointment.checked-in){background:#49412c;border-color:#d6c18b}
[data-theme="dark"] :is(.appointment-block.completed,.week-appointment.completed){background:#244835;border-color:#97c8a8}
[data-theme="dark"] :is(.appointment-info,.appointment-block .appointment-info,.week-appointment small,.week-appointment span){color:#d3e2ec}
[data-theme="dark"] .badge{border-color:#9ab7cd66}
[data-theme="dark"] .week-day-heading.today b,[data-theme="dark"] .mini-days button.selected{background:#91c7ff;color:#112b40}
[data-theme="dark"] :is(.today-button,.mini-calendar){background:linear-gradient(#1b3852eb,#1b344be8),url('/assets/petal-wash.jpg') center/cover;color:#e2f1ff;border-color:#4b6d89;box-shadow:0 3px 0 #0b1c2d}
[data-theme="dark"] .today-button[aria-pressed="true"]{outline-color:#a0ccf0}
[data-theme="dark"] :is(.service-editor,.studio-card,.provider-editor){background:var(--white);border-color:var(--line);box-shadow:0 8px 30px #0001}
[data-theme="dark"] :is(.family-provider:not(.owner-provider),.studio-share-card){background:linear-gradient(135deg,#203c54,#172c40)}
[data-theme="dark"] :is(.family-role,.family-provider>p,.family-card-foot,.form-status,.earnings-day,.history-empty){color:#b6cde0}
[data-theme="dark"] .family-card-foot,[data-theme="dark"] .provider-choices{border-color:var(--line)}
[data-theme="dark"] .owner-provider{background:linear-gradient(135deg,#245e9de8,#173e6ff0),url('/assets/petal-wash.jpg') center/cover;border-color:#5c94c5;box-shadow:0 5px 0 #102844,0 16px 35px #0002}
[data-theme="dark"] .owner-provider .family-role{color:#f7e4b7}[data-theme="dark"] .owner-provider>p,[data-theme="dark"] .owner-provider .family-card-foot{color:#dfeefa}
[data-theme="dark"] .studio-tabs button{color:#bcd1e3}[data-theme="dark"] .studio-tabs button.active{background:#294d6c;color:#e7f4ff;box-shadow:inset 0 0 0 1px #567f9f}
[data-theme="dark"] .earnings-card{background:linear-gradient(130deg,#1b405ee8,#1c344aeb),url('/assets/petal-wash.jpg') center/cover;border-color:#446883;box-shadow:0 8px 30px #0002}
[data-theme="dark"] .earnings-card>strong{color:#e2f2ff}[data-theme="dark"] .earnings-card :is(p,small),[data-theme="dark"] .earnings-card>span:not(.earnings-spark){color:#c1d7e8}
[data-theme="dark"] .earnings-split{border-color:#53758d}[data-theme="dark"] .earnings-spark{color:#b6ddfc}
[data-theme="dark"] .kindness-note{background:#20382d}[data-theme="dark"] .kindness-note p{color:#c5dccb}[data-theme="dark"] .kindness-note>span{color:#afd0aa}
[data-theme="dark"] .history-table :is(th,td){border-color:var(--line)}[data-theme="dark"] .history-table :is(th,small){color:#b0c8da}[data-theme="dark"] .history-table button{color:#a5d2f8}
[data-theme="dark"] .outcome.given{background:#294d36;color:#c6edcc}[data-theme="dark"] .outcome.not-given{background:#453d32;color:#e4d3bb}
[data-theme="dark"] .admin-login{background:linear-gradient(120deg,#12283ee8,#0f2033eb),url('/assets/petal-wash.jpg') center/cover}
[data-theme="dark"] .login-card{background:#172d40ed;border-color:#45647c;box-shadow:0 15px 60px #0004}
@media(hover:hover) and (pointer:fine){
 .theme-toggle:hover{translate:0 -2px;background:var(--blue-light)}
 [data-theme="dark"] .treatment button.treatment-reserve:hover{background:linear-gradient(145deg,#2e587a,#24455f);box-shadow:0 6px 0 #0b2033,0 12px 25px #0003}
 [data-theme="dark"] :is(.date-day:not(:disabled):not(.is-selected),.date-month-nav>button:not(:disabled),.time-periods button,.studio-tabs button):hover{background:#2c4c68;color:#f1f8ff}
 [data-theme="dark"] .date-shortcuts button:not(:disabled):hover{border-color:#acd7f7}
}

/* Phone booking: thumb-sized controls and one natural scroll through each step. */
@media(max-width:800px){
 .header{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;gap:10px;height:94px;min-height:0;align-items:center;margin:0 5%}
 .header>.brand{grid-column:1;grid-row:1;min-width:0;gap:8px}.header .brand>svg{width:28px;height:49px}.header .brand>span{font-size:29px}.header .brand small{font-size:10px;letter-spacing:2.2px;margin-top:8px}
 .header>nav{display:none}.header>.header-actions{grid-column:2;grid-row:1;min-width:0;margin:0;display:flex}.header-actions .button{display:none}
 .header .desk-link{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--control-edge);border-radius:50%;background:var(--white)}.header .desk-link svg{width:20px;height:20px}
 .header .desk-link span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .header>.theme-toggle{grid-column:3;grid-row:1;width:44px;height:44px;min-width:44px}
 .admin-mode .header{grid-template-columns:minmax(0,1fr) 44px;height:auto;min-height:0;padding:20px 0 18px;gap:16px 10px}
 .admin-mode .header>.theme-toggle{grid-column:2;grid-row:1}.admin-mode .header>.brand{grid-column:1;grid-row:1;flex-basis:auto}
 .admin-mode .header>nav{display:flex;grid-column:1/-1;grid-row:2;order:0}.admin-mode .header-actions{display:flex;grid-column:1/-1;grid-row:3;order:0;justify-content:space-between;width:100%;gap:8px}
 .admin-mode-badge{font-size:16px;min-height:44px;padding:10px 15px}.admin-public-link{font-size:15px;min-height:44px;align-items:center}.admin-mode .header-actions .subtle-button{min-height:44px;font-size:15px}
 .mobile-book-bar{display:flex;position:fixed;z-index:4;left:0;right:0;bottom:0;gap:16px;align-items:center;justify-content:space-between;padding:12px max(20px,env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));background:var(--paper);border-top:1px solid var(--line);box-shadow:0 -7px 28px #173e6f12}
 .mobile-book-bar>a{font-size:15px;line-height:1.3;display:flex;align-items:center;min-height:48px;text-decoration:underline;text-underline-offset:4px}.mobile-book-bar .button{min-height:48px;font-size:16px;padding:12px 18px;gap:13px;flex-shrink:0}
 body:not(.desk-mode)>footer{padding-bottom:calc(96px + env(safe-area-inset-bottom))}.desk-mode .mobile-book-bar{display:none}body:has(dialog[open]) .mobile-book-bar{visibility:hidden}
 body:not(.desk-mode) #toast{bottom:calc(105px + env(safe-area-inset-bottom))}
 .studio-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;border:0;padding-bottom:0}.studio-tabs button{min-height:48px;font-size:16px;padding:10px;border:1px solid var(--line);border-radius:12px}
 .desk-toolbar .button{flex:1;min-height:50px;font-size:16px}.desk-toolbar .subtle-button{min-height:48px}
 .date-nav{gap:8px}.icon-button{width:44px;height:44px}.view-toggle button{min-height:44px;padding:10px 17px;font-size:15px}.today-button{min-height:44px}
 .mini-days button{min-height:40px}.history-table button{min-width:44px;min-height:44px}.provider-filter select{min-height:50px}
 .service-editor [data-add-variant]{min-height:44px}.variant-row .subtle-button{min-width:44px;min-height:44px}.check-label{min-height:44px}
 .login-theme-toggle{top:18px;right:18px}.admin-login{padding-top:84px}
}
@media(max-width:540px){
 .header{gap:7px}.header .brand>span{font-size:27px}.header .brand>svg{width:24px}.topline{height:34px}
 .hero{padding-top:28px;padding-bottom:58px}.hero h1{font-size:clamp(45px,13.5vw,66px);letter-spacing:-2.5px}.hero .eyebrow{font-size:12px;letter-spacing:1px;gap:8px}.hero .small-line{width:18px;flex-shrink:0}
 .hero .button{min-height:54px;font-size:16px}.hero-visual{height:320px;min-height:320px}.intro{font-size:17px}
 .treatment{gap:15px}.treatment h3{font-size:25px;overflow-wrap:anywhere}.treatment button.treatment-reserve{width:97px;min-height:138px}.treatment .meta{line-height:1.5}.treatment .tag{white-space:normal;line-height:1.4}
 dialog,#booking-dialog,#history-dialog{width:100%;max-width:100%;max-height:calc(100dvh - 12px);margin:auto 0 0;padding:22px 20px calc(20px + env(safe-area-inset-bottom));border:1px solid var(--line);border-bottom:0;border-radius:22px 22px 0 0;scroll-padding-top:70px}
 dialog .close{position:sticky;float:right;top:0;right:auto;width:44px;height:44px;min-width:44px;margin:-7px -7px 0 6px;border-radius:50%;background:var(--paper);border:1px solid var(--line);z-index:5;font-size:27px;box-shadow:0 2px 8px #183f6110}
 dialog .eyebrow{padding-top:4px;font-size:12px;letter-spacing:1px;margin-bottom:12px}dialog h2{font-size:33px;letter-spacing:-1.2px;line-height:1.15;margin-bottom:12px;clear:both}
 .steps{margin:16px 0 19px;clear:both}.step{font-size:13px;padding:11px 0}.step b{width:22px;height:22px;font-size:12px;margin-right:4px}
 .service-option{min-height:82px;padding:16px 12px;border-radius:10px}.service-option strong{font-size:23px}.service-option small{font-size:15px}.selected-service{padding:14px;margin:14px 0 18px;border-radius:11px}.selected-service strong{font-size:23px}.selected-service span{font-size:15px}
 .booking-preferences{gap:12px}.booking-preferences label{font-size:15px}.booking-preferences select{min-height:50px;font-size:16px;padding:12px 8px}
 .date-picker legend{font-size:16px}.date-shortcuts .date-today{min-height:96px}.date-shortcuts .date-other{min-height:58px}
 .date-month-nav>button{width:40px;height:44px}.date-day{height:44px;font-size:16px}.date-weekdays{font-size:12px}.date-month-fields input{min-height:44px}
 .time-periods{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.time-periods button{min-height:44px;font-size:14px;padding:7px 3px}
 .time-choices .times{grid-template-columns:repeat(3,minmax(0,1fr));max-height:none;overflow:visible;padding:3px 2px 6px;gap:10px}.time-button{min-height:50px;font-size:16px}
 #booking-form>.dialog-actions{position:sticky;bottom:calc(-20px - env(safe-area-inset-bottom));z-index:3;background:var(--paper);padding:15px 0 calc(18px + env(safe-area-inset-bottom));margin-top:22px;box-shadow:0 -10px 18px var(--paper);border-top:1px solid var(--line);flex-wrap:nowrap;gap:12px}
 #booking-form>.dialog-actions>.help{display:none}#booking-form>.dialog-actions>.button{font-size:16px;min-height:52px;padding:12px 18px}#booking-form>.dialog-actions>[type="submit"]{flex:1;margin:0}#booking-back{min-width:86px}
 .confirmation .dialog-actions{display:grid;grid-template-columns:1fr}.confirmation .dialog-actions .button{width:100%;margin:0;min-height:50px;font-size:16px}.confirmation .dialog-actions #view-calendar{grid-row:1}
 .appointment-actions .button{min-height:48px;font-size:15px}.appointment-actions .subtle-button{min-height:44px}.detail-row{font-size:16px;gap:12px}
 .history-heading .button{width:100%;min-height:50px;margin-bottom:15px}.earnings-card>strong{font-size:40px}.earnings-card small{font-size:14px}
 .login-card{padding:28px 22px;border-radius:18px}.login-card .button{font-size:16px;min-height:52px}
}
@media(max-width:360px){.header .brand>span{font-size:24px}.header .brand small{font-size:9px;letter-spacing:1.7px}.header .brand>svg{width:21px}.header{gap:6px}.mobile-book-bar{gap:10px;padding-left:14px;padding-right:14px}.mobile-book-bar>a{font-size:14px}.mobile-book-bar .button{padding:12px 14px;gap:8px}dialog,#booking-dialog,#history-dialog{padding-left:14px;padding-right:14px}.step{font-size:12px}.step b{margin-right:3px}.treatment h3{font-size:23px}.treatment{gap:12px}.treatment button.treatment-reserve{width:91px}}
/* Keep dismissal outside the booking form's scrolling area. */
#booking-dialog{padding:0;overflow:hidden}
#booking-dialog[open]{display:flex;flex-direction:column}
.booking-dialog-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px 12px 42px;background:var(--paper);border-bottom:1px solid var(--line)}
#booking-dialog .booking-dialog-header .eyebrow{margin:0;padding:0;font-size:12px;letter-spacing:1px}
#booking-dialog .booking-dialog-header .close{position:static;float:none;flex-shrink:0;width:44px;height:44px;min-width:44px;margin:0;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink);box-shadow:0 2px 8px #183f6110;display:grid;place-items:center;line-height:1}
#booking-dialog .booking-dialog-header .close:hover{background:var(--blue-light)}
.booking-dialog-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px 42px 42px;scroll-padding-block:20px 100px}
@media(max-width:540px){
 .booking-dialog-header{padding:10px 13px 10px 20px}
 .booking-dialog-body{padding:20px 20px calc(20px + env(safe-area-inset-bottom))}
}
@media(max-width:360px){.booking-dialog-header{padding-left:14px}.booking-dialog-body{padding-left:14px;padding-right:14px}}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none;translate:none!important}}
@media print{.theme-toggle,.mobile-book-bar{display:none!important}:root[data-theme="dark"]{color-scheme:light;--paper:#fff;--ink:#223e60;--muted:#556a7a;--blue:#2f6bb9;--line:#cedde6;--white:#fff}#print-area{background:#fff;color:#223e60}}
