/* T372a: isolated design 3 tokens and medallions. No Classic/Clear selector changes. */
[data-editorial] {
  --ed-bg:#f7f3ea; --ed-surface:#fffcf5; --ed-ink:#202a24; --ed-muted:#5e665e;
  --ed-accent-light:#254f3f; --ed-accent-dark:#b8d8b5; --ed-soft-light:#e3ebdf; --ed-soft-dark:#2c4032;
  --ed-line:#bac2b6; --ed-edge:#768572; --ed-accent:var(--ed-accent-light); --ed-on-accent:#fffdf6;
  --ed-soft:var(--ed-soft-light); --ed-danger:#9e302e; --ed-danger-bg:#f8e9e5; --ed-veil:rgb(12 20 15 / .56);
  --ed-shadow:0 -4px 24px rgb(22 36 26 / .08);
  --ed-font-body:var(--font-sans),Inter,Arial,sans-serif;
  /* T399b: headings use the bundled Gelasio (the shell's font variable, src/lib/fonts-editorial.ts); Georgia and the
     system serif stay as the fallback, also where the variable is missing. */
  --ed-font-display:var(--font-editorial-display,Georgia,'Times New Roman',serif);
  --ed-display-weight:400; --ed-display-leading:1.18; --ed-display-tracking:-.035em;
  --ed-text:1rem; --ed-small:.875rem; --ed-caption:.75rem; --ed-title:2rem; --ed-hero:2.25rem;
  --ed-s1:4px; --ed-s2:8px; --ed-s3:12px; --ed-s4:16px; --ed-s5:20px; --ed-s6:24px; --ed-s8:32px;
  --ed-radius:6px; --ed-target:44px; --ed-cta:48px;
  /* T399b: one side gutter (--ed-right) and the step thread in its A3 form. The medallion stands in the gutter
     column, the thread's axis runs through its centre and the step texts start 12 px after it; the step content
     below the heading uses the whole width between the gutters. */
  --ed-right:16px; --ed-seal:40px; --ed-thread:6px;
  --ed-axis:calc(var(--ed-right) + var(--ed-seal)/2); --ed-content:calc(var(--ed-right) + var(--ed-seal) + 12px);
  --ed-dock-height:0px; --ed-draw:280ms; --ed-stamp:220ms; --ed-chip:240ms; --ed-settle:260ms;
  color-scheme:light;
}
[data-editorial][data-clear-theme=dark], html[data-theme=dark] [data-editorial][data-ed-embed=true] {
  --ed-bg:#151d19; --ed-surface:#1d2922; --ed-ink:#f4f2e8; --ed-muted:#b4beb2;
  --ed-line:#45594a; --ed-edge:#7f9784; --ed-accent:var(--ed-accent-dark); --ed-on-accent:#172a1d;
  --ed-soft:var(--ed-soft-dark); --ed-danger:#f3b3a9; --ed-danger-bg:#402924; --ed-veil:rgb(4 9 6 / .75);
  --ed-shadow:0 -4px 24px rgb(0 0 0 / .2); color-scheme:dark;
}
[data-editorial][data-ed-palette=blue]{--ed-accent-light:#2e4b67;--ed-accent-dark:#b7d2ec;--ed-soft-light:#e6ecf3;--ed-soft-dark:#283949}
[data-editorial][data-ed-palette=plum]{--ed-accent-light:#67425c;--ed-accent-dark:#e5bdd7;--ed-soft-light:#f0e6ed;--ed-soft-dark:#3e2b38}
[data-editorial][data-ed-font=bricolage]{--ed-font-display:'Bricolage Grotesque',Inter,sans-serif;--ed-display-weight:600;--ed-display-leading:1.18;--ed-display-tracking:-.035em}
[data-editorial][data-ed-font=inter]{--ed-font-display:var(--font-sans),Inter,Arial,sans-serif;--ed-display-weight:600;--ed-display-leading:1.24;--ed-display-tracking:-.035em}
/* T399b: where the browser enlarges text alone (text zoom), it has already enlarged this text; the fixed size is
   only for an enlarged root size. */
[data-editorial][data-ed-large-text=true]:not([data-ed-text-zoom=true]){font-size:32px}
/* The storefront page widens its gutter from 390 px up; the embedded view keeps 16 px. */
@media(min-width:390px){[data-editorial]:not([data-ed-embed=true]){--ed-right:20px}}
@media(prefers-reduced-motion:reduce){[data-editorial]{--ed-draw:0ms;--ed-stamp:0ms;--ed-chip:0ms;--ed-settle:0ms}}

@font-face{font-family:Bricolage Grotesque;font-style:normal;font-weight:200 800;font-stretch:100%;font-display:optional;src:url(/fonts/editorial/c7e0cf6c760983e7-s.p.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}
@font-face{font-family:Bricolage Grotesque;font-style:normal;font-weight:200 800;font-stretch:100%;font-display:optional;src:url(/fonts/editorial/9d5a263311222317-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}
/* The public Inter instance stays shared. Only a selected Bricolage pair uses its two subsets. */
[data-editorial] {
  --clear-bg:var(--ed-bg); --clear-surface:var(--ed-surface); --clear-ink:var(--ed-ink); --clear-muted:var(--ed-muted);
  --clear-line:var(--ed-line); --clear-edge:var(--ed-edge); --clear-accent:var(--ed-accent); --clear-on-accent:var(--ed-on-accent); --clear-error:var(--ed-danger);
  --fg:var(--ed-ink); --muted:var(--ed-muted); --card:var(--ed-surface); --card-solid:var(--ed-surface); --card-2:var(--ed-soft); --border:var(--ed-line); --accent:var(--ed-accent); --danger:var(--ed-danger);
  --clear-type-body-size:1rem; --clear-type-body-line:1.5; --clear-type-meta-size:.875rem; --clear-type-meta-line:1.4; --clear-type-section-size:2rem; --clear-type-section-line:1.18; --clear-type-service-size:1rem; --clear-type-service-line:1.4; --clear-control-radius:6px;
  box-sizing:border-box; color:var(--ed-ink); background:var(--ed-bg); font-family:var(--ed-font-body); font-size:1rem; line-height:1.5;
}
:is([data-editorial],[data-editorial] [data-clear-widget]) {
  --clear-bg:var(--ed-bg)!important; --clear-surface:var(--ed-surface)!important; --clear-ink:var(--ed-ink)!important; --clear-muted:var(--ed-muted)!important; --clear-line:var(--ed-line)!important; --clear-edge:var(--ed-edge)!important; --clear-accent:var(--ed-accent)!important; --clear-on-accent:var(--ed-on-accent)!important; --clear-error:var(--ed-danger)!important;
  --clear-type-body-size:1rem; --clear-type-body-line:1.5; --clear-type-meta-size:.875rem; --clear-type-meta-line:1.4; --clear-type-section-size:2rem; --clear-type-section-line:1.18; --clear-type-service-size:1rem; --clear-type-service-line:1.4; --clear-control-radius:6px;
}
[data-editorial][data-editorial] [hidden] {display:none!important}
main.booking-flow[data-editorial]::before,[data-ed-embed-shell][data-editorial]::before {content:"";position:fixed;inset:0;z-index:-1;background:var(--ed-bg);pointer-events:none}
body:has([data-editorial].booking-flow)::before,body:has([data-ed-embed-shell][data-editorial])::before {display:none}
main.booking-flow[data-editorial], [data-ed-embed-shell][data-editorial] {padding:0!important;max-width:720px!important;margin:0 auto!important;min-width:0;min-height:100dvh;border-inline:1px solid var(--ed-line);isolation:isolate}
/* T399b: while the page column fills the screen its side lines would sit on the screen edge and cost the content 2 px. */
@media(max-width:721px){main.booking-flow[data-editorial]{border-inline:0}}
div[data-ed-embed-shell][data-editorial]:not(#bk-book):has(> .booking-widget[data-clear-widget="flow-v2"]) {border:0;width:100%;max-width:720px!important;padding:0!important}
[data-editorial] > :is(.storefront-theme-bg,.bk-skin-bg) {display:none}
[data-editorial][data-editorial] :is(button,input,textarea,a,summary) {font-family:var(--ed-font-body);box-sizing:border-box}
[data-editorial][data-editorial] :is(button,a,summary) {min-height:44px;min-width:44px;cursor:pointer;overflow-wrap:normal;word-break:normal;hyphens:manual}
[data-editorial][data-editorial] :is(h1,h2,h3,p,span,label,strong,dt,dd,button,a) {overflow-wrap:normal;word-break:normal;hyphens:manual;min-width:0}
[data-editorial][data-editorial] :is(input,textarea,button) {color:var(--ed-ink);background:var(--ed-surface);border-color:var(--ed-edge);border-radius:6px}
[data-editorial][data-editorial] :is(a,button,input,textarea,summary):focus-visible {outline:3px solid var(--ed-accent);outline-offset:3px;box-shadow:0 0 0 2px var(--ed-bg)}
[data-editorial] :is(.ed-atom,.svc-price,.clear-service-facts>.meta,.ed-summary-price) {white-space:nowrap;flex:none;text-overflow:clip;overflow:visible}
[data-editorial] .ed-topbar {display:flex;align-items:center;gap:12px;padding:8px var(--ed-right);min-height:61px;border-bottom:1px solid var(--ed-line)}
[data-editorial] .ed-logo {width:44px;height:44px;flex:none;object-fit:contain}
[data-editorial] .ed-logo-mono {display:grid;place-items:center;border:1px solid var(--ed-accent);border-radius:50%;color:var(--ed-accent);font:.875rem/1 var(--ed-font-display)}
/* T399a: the bar name wraps whole instead of one cut line (the compact embed bar keeps its two-line limit below). */
[data-editorial][data-editorial] .ed-compact-name {flex:1;min-width:0;white-space:normal;hyphens:auto;overflow-wrap:anywhere;font-size:.875rem;line-height:1.4}
/* T399b: the languages are one group of three in the bar (one frame, the current one filled softly). */
[data-editorial] .bk-lang-switcher {flex:none;flex-wrap:nowrap;gap:0;border:1px solid var(--ed-line);border-radius:6px;background:var(--ed-surface);overflow:hidden}
[data-editorial][data-editorial] .bk-lang-switcher a.bk-lang-opt:not(.btn-primary):not(.book-btn):not(.ed-primary) {display:inline-flex;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:0 4px;border:0;border-radius:0;background:transparent;color:var(--ed-muted)!important;font-size:.8125rem;line-height:1.25;font-weight:600;text-decoration:none}
[data-editorial][data-editorial] .bk-lang-switcher a.bk-lang-opt + a.bk-lang-opt {border-left:1px solid var(--ed-line)}
[data-editorial][data-editorial] .bk-lang-switcher a.bk-lang-opt[aria-current]:not(.btn-primary):not(.book-btn):not(.ed-primary) {background:var(--ed-soft);color:var(--ed-accent)!important}
[data-editorial][data-editorial] .bk-lang-switcher a.bk-lang-opt:focus-visible {outline-offset:-3px}
[data-editorial] .ed-cover {position:relative;aspect-ratio:350/132;margin:20px var(--ed-right) 24px;background:var(--ed-soft);border-radius:4px;display:grid;place-items:center;overflow:hidden;color:var(--ed-accent);font:3rem var(--ed-font-display)}
[data-editorial] .ed-cover>* {grid-area:1/1}
[data-editorial] .ed-cover img {position:absolute;inset:0;min-width:0;min-height:0;width:100%;height:100%;object-fit:cover;object-position:50% 42%}
[data-editorial] .ed-cover img[data-ed-cover-invalid] {visibility:hidden}
[data-editorial] .ed-cover:has(img:not([data-ed-cover-invalid]))>span {visibility:hidden}
[data-editorial] .ed-hero :is(h1,h2) {min-width:0;hyphens:auto;overflow-wrap:anywhere;font-family:var(--ed-font-display);font-weight:var(--ed-display-weight);font-size:2.25rem;line-height:var(--ed-display-leading);letter-spacing:var(--ed-display-tracking);margin:0 var(--ed-right) 12px}
[data-editorial] .ed-hero-facts {display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 var(--ed-right) 12px;font-size:.875rem;color:var(--ed-muted)}
[data-editorial] .ed-hero-facts:empty {display:none}
[data-editorial] .ed-hero-facts a {color:var(--ed-accent);display:inline-flex;align-items:center}
[data-editorial][data-ed-stage]:not([data-ed-stage=service]):not([data-ed-stage=location]) .ed-hero-expanded,[data-editorial]:has(.ed-thread) .ed-hero-expanded {display:none}
[data-editorial][data-ed-stage]:not([data-ed-stage=service]):not([data-ed-stage=location]) .ed-hero-facts {display:none}
[data-editorial] .ed-hero[data-ed-compact] .ed-topbar {padding:8px var(--ed-right)}
/* T399b: the embedded bar shows the whole name as well (it used to stop after two lines). */
[data-editorial] .ed-hero[data-ed-compact] .ed-compact-name {white-space:normal;hyphens:auto;overflow-wrap:anywhere}
[data-editorial] .ed-hero[data-ed-compact] .ed-hero-facts {margin:8px var(--ed-right) 0}
/* T399a: one side gutter (--ed-right) for every block of the page: header rows, notices, the demo band, the embed's
   language row, footer actions and the closing line. */
[data-editorial] > :is(.bk-header,.bk-actions,.booking-flow-footer,.account-entry-desktop) {padding-inline:var(--ed-right)}
main.booking-flow[data-editorial] > p.muted {padding-inline:var(--ed-right)}
[data-editorial][data-editorial] > .clear-widget-notice {width:auto;max-width:none;margin:12px var(--ed-right) 0;--clear-notice-lines:4}
/* T399b (variant A): a notice of the business is read whole in its block, up to four lines; only a longer one is cut,
   with "More" beside it. Two lines hid the end of the demo's second notice on a 360 px phone once the gutter came
   (T399a gate, P2-1). A notice without "More" has the whole width of the block for its text. */
[data-editorial][data-editorial] > .clear-widget-notice:not(:has(> button)) {grid-template-columns:minmax(0,1fr)}
/* T399b: two notices of the business read as one block with a dividing line (each notice brings its own <style>). */
[data-editorial][data-editorial] > .clear-widget-notice:has(+ style + .clear-widget-notice) {margin-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}
[data-editorial][data-editorial] > .clear-widget-notice + style + .clear-widget-notice {margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}
[data-ed-embed-shell][data-editorial] > div:has(> .bk-lang-switcher) {padding-inline:var(--ed-right)}
[data-editorial] .booking-flow-footer .bk-mobile-facts {display:none}
[data-editorial] > #bk-book {padding:0;margin:0}
.booking-widget[data-editorial][data-editorial] {position:relative;max-width:720px;display:flow-root;min-height:0;padding:0;margin:0;background:var(--ed-bg)}
.booking-widget[data-editorial][data-editorial] > .booking-step {max-width:none;width:100%;padding:0 var(--ed-right) 24px!important;margin:0;box-shadow:none;border:0;background:var(--ed-bg);border-radius:0;overflow:visible}
/* The adapter owns Editorial visibility, including a reopened add-on step
   while Clear's contact-ready state is intentionally preserved. */
.booking-widget[data-editorial][data-editorial] > .booking-step:not([hidden]) {display:block!important}
.booking-widget[data-editorial][data-editorial] > .booking-step[hidden] {display:none!important}
.booking-widget[data-editorial] .is-collapsed {display:none}
.booking-widget[data-editorial] .bk-draft-restored:empty {display:none}
/* T399a: the demo band and the restored-selection message sit above the thread, inside the side gutter. The
   message keeps its own width (the Clear reserve gives it 100 %, which the gutters would push off the screen). */
.booking-widget[data-editorial] > [role=note] {margin-inline:var(--ed-right);margin-top:12px}
/* Other root-level messages (rebook offer, availability and branch errors, payment state) share the gutter; some
   carry inline margins, hence the priority. */
.booking-widget[data-editorial] > :is(p,.card:not(.booking-step)) {margin-inline:var(--ed-right)!important}
.booking-widget[data-editorial] .ed-notice {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}
.booking-widget[data-editorial] .ed-notice:has(> .bk-draft-restored:not(:empty)) {margin:12px var(--ed-right) 0;padding-left:12px;border:1px solid var(--ed-line);border-radius:6px;background:var(--ed-surface)}
.booking-widget[data-editorial] .ed-notice[data-ed-closed] {display:none}
.booking-widget[data-editorial] .ed-notice .bk-draft-restored {width:auto;max-width:none;margin:0;padding-block:10px;font-size:.875rem;line-height:1.45}
.booking-widget[data-editorial][data-editorial] .ed-notice-close {display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--ed-muted)}
[data-editorial] .ed-thread {position:relative;margin:16px 0 0;padding:0 var(--ed-right) 0 0}
[data-editorial] .ed-thread ol {padding:0;margin:0;list-style:none;display:grid;gap:0}
/* T399a: the thread is drawn per stamp, from medallion to medallion. It reaches below the last stamp only when the
   open step shows its own medallion, so the line never runs through a band or ends in the air.
   T399b (A3): a 6 px line, 40 px filled medallions with a bold number, 52 px stamp rows without gaps. The line of
   the last stamp ends in the centre of the open step's medallion (12 px heading margin + 5 px + half a medallion). */
[data-editorial] .ed-thread li {position:relative}
[data-editorial] .ed-thread li::before {content:"";position:absolute;left:calc(var(--ed-axis) - var(--ed-thread)/2);top:0;bottom:0;width:var(--ed-thread);background:var(--ed-accent);pointer-events:none;transform-origin:top}
[data-editorial] .ed-thread li:first-child::before {top:50%}
[data-editorial] .ed-thread li:last-child::before {bottom:50%}
.booking-widget[data-editorial]:has(> .booking-step:not([hidden]) .ed-medallion-active) .ed-thread li:last-child::before {bottom:calc(-17px - var(--ed-seal)/2)}
[data-editorial][data-editorial] .ed-thread button {width:100%;display:grid;grid-template-columns:var(--ed-content) minmax(0,1fr) 24px;align-items:center;gap:0;min-height:52px;padding:4px 0;background:transparent;border:0;box-shadow:none;text-align:left;border-radius:0;backdrop-filter:none;-webkit-backdrop-filter:none;filter:none}
/* The number grows with the text up to three quarters of the medallion, so it stays inside at enlarged text. */
[data-editorial] .ed-medallion {display:grid;place-items:center;position:relative;margin-left:calc(var(--ed-axis) - var(--ed-seal)/2);width:var(--ed-seal);height:var(--ed-seal);border-radius:50%;border:0;background:var(--ed-accent);color:var(--ed-on-accent);font:700 min(1rem,calc(var(--ed-seal)*.75))/1 var(--ed-font-body);font-variant-numeric:tabular-nums;flex:none;box-sizing:border-box}
[data-editorial] .ed-choice {min-width:0}
[data-editorial] .ed-choice-label {display:block;font-size:.875rem;line-height:1.35;font-weight:700;color:var(--ed-ink)}
/* T399a: a stamp shows its whole value (a long date and time wraps instead of being cut after two lines; a word
   longer than the column breaks, which needs more weight than the shared no-break rule for spans above). */
[data-editorial][data-editorial] .ed-choice-value {display:block;overflow-wrap:anywhere;margin-top:0;font:1.125rem/1.3 var(--ed-font-display);color:var(--ed-ink)}
[data-editorial] .ed-thread svg {color:var(--ed-accent)}
/* The open step's heading sits in the thread's text column; its medallion stands in the gutter column, filled like
   the stamps and marked as the current one by a ring (3 px of page colour, then a 2 px accent line). */
[data-editorial] .ed-step-heading {position:relative;margin:12px 0;padding:0 0 0 calc(var(--ed-content) - var(--ed-right));min-height:calc(var(--ed-seal) + 10px)}
[data-editorial] .ed-medallion-active {position:absolute;left:0;top:5px;margin-left:0;box-shadow:0 0 0 3px var(--ed-bg),0 0 0 5px var(--ed-accent);animation:ed-halo 280ms ease-out 1}
[data-editorial] .ed-step-label {display:block;font-size:.875rem;line-height:1.4;font-weight:700;letter-spacing:.1em;color:var(--ed-accent);text-transform:uppercase}
[data-editorial][data-editorial] .ed-step-heading :is(h1,h2) {margin:2px 0 0;font-family:var(--ed-font-display);font-weight:var(--ed-display-weight);font-size:2rem;line-height:var(--ed-display-leading);letter-spacing:var(--ed-display-tracking);overflow-wrap:anywhere;hyphens:auto}
[data-editorial] .ed-thread li[data-ed-new]::before {animation:ed-draw 280ms ease-out}
[data-editorial] .ed-thread li[data-ed-new] .ed-choice {animation:ed-stamp 220ms ease-out}
[data-editorial] .ed-text-probe {position:absolute;inline-size:1rem;block-size:1rem;visibility:hidden;pointer-events:none}
/* T399b: a second probe carries text at a fixed 100 px, so a browser that enlarges only the text (not the root
   size) is detected from the real height of a line. */
[data-editorial] .ed-text-scale {inline-size:auto;block-size:auto;font:400 6.25rem/1 var(--ed-font-body);white-space:nowrap}
/* Cards retain their existing detail actions, prices and service selection handler. */
[data-editorial][data-editorial] .svc-grid {display:grid;grid-template-columns:minmax(0,1fr);gap:8px;max-height:none;overflow:visible;padding:0;margin:0}
[data-editorial][data-editorial] :is(.clear-service-row,.clear-service-choice) {width:100%;min-width:0;max-width:none;margin:0}
/* T399a: one frame per service. The row owns the border; the card and the details control sit inside it,
   the details control as a quiet 44 px target without its own column line. The name is never cut. */
[data-editorial][data-editorial] .clear-service-row {min-height:72px}
[data-editorial][data-editorial] .clear-service-skeleton {min-height:72px!important;background:var(--ed-surface);border-color:var(--ed-edge);border-radius:6px}
[data-editorial][data-editorial] .clear-service-choice {display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;border:1px solid var(--ed-edge);border-radius:6px;background:var(--ed-surface)}
[data-editorial] .clear-service-choice:has(.clear-service-card[aria-disabled=true]) {border-style:dashed}
[data-editorial][data-editorial] .clear-service-card {padding:10px 0 10px 12px;min-width:0;max-width:100%;height:auto;min-height:70px;display:flex;align-items:center;gap:12px;border:0;border-radius:6px;background:transparent;text-align:left;outline:none}
[data-editorial][data-editorial] .clear-service-card .svc-main {display:block;min-width:0;width:100%}
[data-editorial][data-editorial] .clear-service-card .nm {font-size:1rem;line-height:1.4;font-weight:600;display:block;overflow:visible;white-space:normal}
[data-editorial][data-editorial] .clear-service-facts {display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:4px}
[data-editorial][data-editorial] .clear-service-card .svc-price::before {content:none}
[data-editorial][data-editorial] .clear-service-facts :is(.meta,.svc-price) {font-size:.875rem;line-height:1.4;white-space:nowrap;flex:none;max-width:none;font-weight:400;color:var(--ed-muted)}
[data-editorial][data-editorial] .clear-service-facts .svc-price {color:var(--ed-accent)}
[data-editorial][data-editorial] .clear-service-detail {position:static;inset:auto;margin:0;height:44px;width:44px;padding:0;display:grid;place-items:center;border:0;border-radius:6px;background:transparent;color:var(--ed-accent)}
[data-editorial] .clear-service-choice:has(.sel) {border-color:var(--ed-accent);box-shadow:inset 0 0 0 1px var(--ed-accent)}
[data-editorial][data-editorial] .clear-selected-mark {display:none}
[data-editorial][data-editorial] .clear-service-card img {width:48px;height:48px;object-fit:cover;flex:none;border-radius:4px}
[data-editorial][data-editorial] :is(.clear-service-dialog,.clear-branch-dialog,.ed-dialog) {box-sizing:border-box;width:min(560px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:90dvh;overflow-y:auto;padding:20px 16px;border:1px solid var(--ed-edge);border-radius:6px;background:var(--ed-surface);color:var(--ed-ink)}
[data-editorial][data-editorial] :is(.clear-service-dialog,.clear-branch-dialog,.ed-dialog)::backdrop {background:var(--ed-veil)}
[data-editorial][data-editorial] :is(.clear-service-dialog,.clear-branch-dialog,.ed-dialog) h2 {font-family:var(--ed-font-display);font-size:1.25rem;line-height:1.35;font-weight:var(--ed-display-weight);margin-top:0}
[data-editorial][data-editorial] .clear-branch-dialog img {width:100%;height:auto;aspect-ratio:350/132;object-fit:cover}
[data-editorial] .clear-service-photo {max-width:100%;height:auto;object-fit:cover}
[data-editorial] .ed-staff {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;container-type:inline-size}
[data-editorial][data-editorial] .ed-worker-any {grid-column:1/-1;display:flex;align-items:center;gap:12px;padding:12px;text-align:left}
[data-editorial] .ed-worker-any small {display:block;font-size:.75rem;line-height:1.5;color:var(--ed-muted);margin-top:4px}
[data-editorial] .ed-worker {min-width:0;border:1px solid var(--ed-edge);border-radius:6px;background:var(--ed-surface)}
[data-editorial][data-editorial] .ed-worker-select {width:100%;border:0;padding:12px 8px;display:grid;justify-items:center;gap:10px;background:transparent}
[data-editorial] .ed-avatar {display:grid;place-items:center;width:56px;height:56px;flex:none;object-fit:cover;object-position:50% 35%;border-radius:50%;background:var(--ed-soft);color:var(--ed-accent);font:1.25rem/1 var(--ed-font-display)}
[data-editorial] .ed-worker-name {display:block;width:100%;white-space:nowrap;text-align:center;font-size:.875rem;line-height:1.4}
[data-editorial][data-editorial] .ed-worker-detail {width:100%;min-height:44px;border:0;border-top:1px solid var(--ed-line);border-radius:0;display:flex;align-items:center;justify-content:center;gap:6px;font-size:.75rem;padding:8px 4px;background:transparent}
[data-editorial][data-editorial] .ed-worker-detail svg {flex:none}
[data-editorial] .ed-worker:has([aria-pressed=true]),[data-editorial] .ed-worker-any[aria-pressed=true] {border-color:var(--ed-accent);box-shadow:inset 0 0 0 1px var(--ed-accent)}
/* Each logical week owns its 4+3 reflow; weekday identity never depends on a global header. */
[data-editorial][data-editorial] .ed-calendar {container-type:inline-size;padding:0;margin:0;width:100%;max-width:none}
[data-editorial][data-editorial] .ed-calendar .bk-cal-nav {display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:4px;align-items:center;margin:0 0 8px}
[data-editorial][data-editorial] .ed-calendar .bk-cal-nav strong {text-align:center;font-size:1rem;line-height:1.4}
[data-editorial][data-editorial] .ed-calendar .bk-cal-nav button {width:44px;min-height:44px;justify-content:center;padding:0}
[data-editorial][data-editorial] .ed-calendar .bk-cal-grid {display:grid;grid-template-columns:minmax(0,1fr);gap:2px;padding:0}
[data-editorial] .ed-calendar-week {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}
[data-editorial][data-editorial] .ed-calendar .bk-cal-day {width:100%;min-height:44px;min-width:44px;padding:2px;display:flex;flex-direction:column;gap:0;line-height:1.25;font-size:1rem;border:1px solid var(--ed-edge);border-radius:6px;background:var(--ed-surface);color:var(--ed-ink);outline:none}
[data-editorial] .ed-calendar-empty {min-height:44px}
/* T399b: on a phone a day is 44 px high whatever its width, so a month of five weeks takes 280 px with its
   navigation row; wider calendars keep their square days. */
@container (max-width:479px) {
 [data-editorial][data-editorial] .ed-calendar .bk-cal-day {aspect-ratio:auto}
}
/* T399b: the weekday inside a day cell is 12 px (it was 10 px); the cell stays 44 px high. */
[data-editorial] .ed-calendar .bk-cal-day span {font-size:.75rem;line-height:1.25;color:inherit}
[data-editorial] .ed-calendar .bk-cal-day strong {font-size:1rem;line-height:1.25;font-weight:500}
[data-editorial][data-editorial] .ed-calendar .bk-cal-day.sel {background:var(--ed-accent);color:var(--ed-on-accent);border-color:var(--ed-accent)}
[data-editorial][data-editorial] .ed-calendar .bk-cal-day.today:not(.sel) {box-shadow:inset 0 0 0 1px var(--ed-accent);border-color:var(--ed-accent)}
[data-editorial][data-editorial] .ed-calendar .bk-cal-day[data-availability=unknown] {border-style:dashed}
[data-editorial][data-editorial] .ed-calendar .bk-cal-day[data-availability=unavailable] {background:var(--ed-soft);color:var(--ed-muted);border-color:var(--ed-line);border-style:solid}
[data-editorial] .ed-calendar .bk-cal-day[data-day-state=closed] strong {text-decoration:line-through}
[data-editorial] .ed-calendar-note {font-size:.75rem;line-height:1.5;color:var(--ed-muted);margin:8px 0 0}
[data-editorial] .ed-calendar-wrap-hint {display:none}
[data-editorial] .ed-timezone {font-size:.75rem;color:var(--ed-muted);margin:12px 0}
[data-editorial] [data-ed-step=bk-step-slot] {container-type:inline-size}
[data-editorial][data-editorial] .ed-slots {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:0;overflow:visible;max-height:none}
[data-editorial][data-editorial] .ed-slots[data-ed-variable] {grid-template-columns:repeat(3,minmax(0,1fr))}
[data-editorial][data-editorial] .ed-slots .slot {min-height:44px;width:100%;padding:10px 4px;font-size:1rem;line-height:1.25;border:1px solid var(--ed-edge);border-radius:6px;background:var(--ed-surface);color:var(--ed-ink);outline:none}
[data-editorial] .slot-time {display:block;font-variant-numeric:tabular-nums;white-space:nowrap}
[data-editorial][data-editorial] .ed-slots .slot[data-ed-earliest] {background:var(--ed-soft);border-color:var(--ed-accent)}
[data-editorial][data-editorial] .ed-slots .slot.sel {background:var(--ed-accent);border-color:var(--ed-accent);color:var(--ed-on-accent);animation:ed-chip 240ms ease-out}
[data-editorial] .ed-slots .px {display:block;font-size:.875rem;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
/* T399b: on a phone times with a price of their own (a discount, a surcharge) keep the four columns of plain
   times; the price stands under the time on two short lines and never leaves its button. */
@container (max-width:479px) {
 [data-editorial][data-editorial] .ed-slots[data-ed-variable] {grid-template-columns:repeat(4,minmax(0,1fr))}
 [data-editorial] .ed-slots .px {font-size:.75rem;line-height:1.4}
}
[data-editorial][data-editorial] .ed-slots small {font-size:.75rem!important;line-height:1.5}
/* One growing summary; the form itself never moves. */
[data-editorial] .ed-dock-space {min-width:0}
[data-editorial][data-editorial] .ed-summary {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:12px var(--ed-right) max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--ed-line);background:var(--ed-surface);color:var(--ed-ink);box-sizing:border-box;min-width:0}
/* T393: an open cookie bar is a fixed band at the bottom (clear-widget-flow.css); the dock sits on top of it. */
[data-editorial] .ed-summary[data-ed-dock=fixed] {position:fixed;bottom:var(--widget-cookie-band,0px);left:50%;transform:translateX(-50%);width:100%;max-width:720px;z-index:30;box-shadow:var(--ed-shadow)}
[data-editorial] .ed-summary-detail {min-width:0}
[data-editorial][data-editorial] .ed-summary-detail summary {font-size:.875rem;font-weight:600;line-height:1.4;display:flex;align-items:center}
[data-editorial] .ed-summary-detail summary strong {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
[data-editorial] .ed-summary-detail[open] {grid-column:1/-1}
[data-editorial] .ed-summary-detail p {font-size:.875rem;line-height:1.5}
[data-editorial] .ed-summary-price {font:1.25rem/1.3 var(--ed-font-display);align-self:center}
[data-editorial] .ed-summary-facts {grid-column:1/-1;margin:0;display:flex;flex-wrap:wrap;gap:4px 8px;font-size:.75rem;line-height:1.5;color:var(--ed-muted)}
[data-editorial] .ed-summary-note {grid-column:1/-1;margin:0;font-size:.75rem;line-height:1.5}
[data-editorial][data-editorial] :is(.ed-primary,.book-btn) {background:var(--ed-accent)!important;color:var(--ed-on-accent)!important;border:1px solid var(--ed-accent)!important;border-radius:6px;font-size:1rem;line-height:1.4;font-weight:600;min-height:48px;padding:12px;width:100%;grid-column:1/-1}
[data-editorial] .ed-primary[aria-disabled=true] {opacity:1;background:var(--ed-soft)!important;color:var(--ed-muted)!important;cursor:default}
[data-editorial][data-editorial] .clear-info-step {display:block;height:auto!important;max-height:none!important}
[data-editorial][data-editorial] .clear-info-body {overflow:visible;max-height:none;padding:0;margin:0}
[data-editorial][data-editorial] .clear-info-body :is(input:not([type=checkbox]):not([type=radio]),textarea) {font-size:1rem;min-height:48px;line-height:1.5;background:var(--ed-surface);color:var(--ed-ink);border:1px solid var(--ed-edge)}
[data-editorial][data-editorial] [data-clear-footer] {position:static;display:grid;background:var(--ed-surface);border-top:1px solid var(--ed-line);margin:16px calc(-1 * var(--ed-right)) -24px;padding:0 var(--ed-right) max(12px,env(safe-area-inset-bottom));height:auto;min-height:0}
[data-editorial][data-editorial] [data-clear-footer] .ed-summary {border:0;padding:12px 0 0}
/* T399b: the closing rows of the contact step as in the chosen layout: the summary 16 px under the consents, the main
   button 12 px under the summary (the row's own gap; the button's general top margin made it 22 px). */
[data-editorial][data-editorial] [data-clear-footer] .book-btn {margin-top:0}
/* T399b: the result screen keeps its own geometry (a 64 px seal on a thin line); the step thread's new sizes stop here. */
[data-editorial] .ed-result {--ed-axis:20px;--ed-content:48px;--ed-right:20px;--ed-thread:3px}
[data-editorial][data-ed-embed=true] .ed-result {--ed-axis:12px;--ed-content:36px;--ed-right:16px;--ed-thread:2px}
@media(max-width:359px){[data-editorial]:not([data-ed-embed=true]) .ed-result {--ed-right:16px}}
[data-editorial] .ed-result {position:relative;padding:24px var(--ed-right) 24px var(--ed-content)}
[data-editorial] .ed-result::before {content:"";position:absolute;left:calc(var(--ed-axis) - var(--ed-thread)/2);top:0;height:58px;width:var(--ed-thread);background:var(--ed-accent);pointer-events:none}
[data-editorial] .ed-result>header {position:relative;padding:0 0 20px}
[data-editorial] .ed-result>header::before {content:"";position:absolute;left:calc(var(--ed-axis) - var(--ed-content));top:32px;height:var(--ed-thread);width:calc(var(--ed-content) - var(--ed-axis));background:var(--ed-accent);pointer-events:none}
[data-editorial] .ed-seal {display:grid;place-items:center;width:64px;height:64px;border-radius:50%;border:2px solid var(--ed-accent);color:var(--ed-accent);background:var(--ed-bg)}
[data-editorial] .ed-seal-confirmed {border:0;background:var(--ed-accent);color:var(--ed-on-accent);animation:ed-seal 260ms ease-out}
[data-editorial] .ed-seal svg {width:36px;height:36px}
[data-editorial][data-editorial] .ed-result h1 {font:var(--ed-display-weight) 1.375rem/var(--ed-display-leading) var(--ed-font-display);letter-spacing:var(--ed-display-tracking);margin:16px 0 8px}
[data-editorial][data-editorial] .ed-result>.card {padding:16px!important;border:1px solid var(--ed-accent)!important;border-radius:6px;background:var(--ed-surface);box-shadow:none}
/* T399b: the closing screen of the demo has no seal for the line to lead to. No line there (it ended in the air), the
   card between the page's gutters, and its title set like every result title: at 32 px bold it was wider than a
   phone at enlarged text. */
[data-editorial][data-editorial] .ed-result[data-ed-result=demo] {--ed-right:inherit;padding-inline:var(--ed-right)}
[data-editorial] .ed-result[data-ed-result=demo]::before {content:none}
[data-editorial][data-editorial] .ed-result[data-ed-result=demo]>.card h2 {font:var(--ed-display-weight) 1.375rem/var(--ed-display-leading) var(--ed-font-display);letter-spacing:var(--ed-display-tracking);overflow-wrap:anywhere}
[data-editorial] .ed-result :is(.booking-success-when,.ed-confirmed-when) {font:1.75rem/1.3 var(--ed-font-display);color:var(--ed-ink)}
[data-editorial] .ed-confirmed-when .ed-timezone {display:block;font: .875rem/1.5 var(--ed-font-body);color:var(--ed-muted)}
[data-editorial] .ed-result .booking-request-success>.big {display:none}
[data-editorial] .ed-result .booking-success-panel {min-width:0;background:transparent;border-color:var(--ed-line)}
[data-editorial][data-editorial] .ed-result .booking-success-panel {padding:16px 0;border:0;border-top:1px solid var(--ed-line);border-radius:0;box-shadow:none;box-sizing:border-box}
[data-editorial] .ed-result .booking-success-recap {grid-template-columns:minmax(0,1fr)}
[data-editorial] .ed-result .booking-success-date {display:none}
[data-editorial] .ed-result .booking-success-section-title {display:block}
[data-editorial] .ed-result .booking-success-recap dl {flex-direction:column}
[data-editorial] .ed-result .booking-success-recap dl>div:nth-last-child(-n+2) dd {white-space:nowrap}
[data-editorial][data-editorial] .ed-result .booking-success-remember .btn-secondary {padding:12px 4px;width:100%;background:var(--ed-surface);color:var(--ed-ink)}
[data-editorial][data-editorial] .ed-result :is(a,button).btn-primary {background:var(--ed-accent)!important;color:var(--ed-on-accent)!important;border-color:var(--ed-accent)!important;box-shadow:none}
[data-editorial][data-editorial] .ed-result .booking-success-footer .btn-primary+.btn-primary {background:var(--ed-surface)!important;color:var(--ed-accent)!important;border-color:var(--ed-line)!important}
[data-editorial][data-editorial] .ed-result .clear-visit {padding:16px 0;border:0;border-top:1px solid var(--ed-line);border-radius:0}
[data-editorial][data-ed-large-text=true] .ed-result .clear-visit-facts {flex-direction:column;align-items:flex-start;gap:8px}
[data-editorial] .ed-result .clear-visit-price {white-space:nowrap}
@container (max-width:319px) {
 [data-editorial] .ed-calendar-week {grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:6px 0 4px;border-top:1px solid var(--ed-line)}
 [data-editorial] .ed-calendar-wrap-hint {display:inline}
 /* T399b: where a week is split into Monday to Thursday and Friday to Sunday, a half without a day takes no row. */
 [data-editorial] .ed-calendar-week:not(:has(button:nth-child(-n+4))) .ed-calendar-empty:nth-child(-n+4) {display:none}
 [data-editorial] .ed-calendar-week:not(:has(button:nth-child(n+5))) .ed-calendar-empty:nth-child(n+5) {display:none}
}
/* T399b: four columns of times down to a 340 px screen (308 px of content), three below it. */
@container (max-width:307px) {
 [data-editorial][data-editorial] :is(.ed-slots,.ed-slots[data-ed-variable]) {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:700px) {[data-editorial] .ed-staff {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:359px) {[data-editorial] .ed-topbar{gap:8px}}
[data-editorial][data-ed-large-text=true] .ed-calendar-week {grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:6px 0 4px;border-top:1px solid var(--ed-line)}
[data-editorial][data-ed-large-text=true] .ed-calendar-wrap-hint {display:inline}
[data-editorial][data-ed-large-text=true] .ed-calendar-week:not(:has(button:nth-child(-n+4))) .ed-calendar-empty:nth-child(-n+4) {display:none}
[data-editorial][data-ed-large-text=true] .ed-calendar-week:not(:has(button:nth-child(n+5))) .ed-calendar-empty:nth-child(n+5) {display:none}
[data-editorial][data-editorial][data-ed-large-text=true] .ed-calendar :is(.bk-cal-day,.ed-calendar-empty) {min-height:68px}
[data-editorial][data-ed-large-text=true] .ed-staff {grid-template-columns:minmax(0,1fr)}
[data-editorial][data-ed-large-text=true] .ed-worker-any {flex-direction:column;align-items:flex-start}
[data-editorial] .ed-worker-any > span:last-child {min-width:0}
[data-editorial][data-ed-large-text=true] .ed-slots {grid-template-columns:repeat(2,minmax(0,1fr))!important}
[data-editorial][data-ed-large-text=true] .ed-slots .slot {padding-block:12px}
[data-editorial][data-ed-large-text=true] .ed-summary {grid-template-columns:minmax(0,1fr)}
[data-editorial][data-ed-large-text=true] .ed-summary-price {grid-column:1}
[data-editorial][data-ed-large-text=true] .clear-service-facts {flex-direction:column;align-items:flex-start}
[data-editorial][data-ed-large-text=true] .ed-seal {width:72px;height:72px}
[data-editorial][data-ed-large-text=true] .ed-topbar {flex-wrap:wrap;column-gap:12px;row-gap:12px}
[data-editorial][data-ed-large-text=true] .ed-compact-name {flex-basis:calc(100% - 56px)}
[data-editorial][data-ed-large-text=true] .ed-topbar .bk-lang-switcher {margin-left:auto}
[data-editorial][data-ed-embed=true] .ed-step-heading :is(h1,h2) {font-size:1.75rem}
/* T399a: an /embed page visited on its own docks the summary like the storefront; inside a host frame it stays in flow. */
[data-editorial][data-ed-embed=true] .ed-summary:not([data-ed-dock=fixed]) {position:static;transform:none;width:auto}
[data-editorial][data-ed-embed=true] :is(.clear-service-dialog,.clear-branch-dialog,.ed-dialog) {position:absolute;inset-block:var(--ed-dialog-top,12px) auto;margin-block:0;max-height:min(90dvh,600px)}
@keyframes ed-draw {from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes ed-stamp {from{opacity:0}to{opacity:1}}
@keyframes ed-halo {from{box-shadow:0 0 0 3px var(--ed-bg),0 0 0 3px var(--ed-accent)}to{box-shadow:0 0 0 3px var(--ed-bg),0 0 0 5px var(--ed-accent)}}
@keyframes ed-chip {from{box-shadow:inset 0 0 0 2px var(--ed-accent)}to{box-shadow:inset 0 0 0 0 var(--ed-accent)}}
@keyframes ed-seal {from{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce) {[data-editorial],[data-editorial] *,[data-editorial] *::before,[data-editorial] *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Saved/system theme uses these same tokens before hydration. */
html[data-clear-saved-theme=dark] [data-editorial]:not([data-ed-embed=true]):not([data-clear-theme=light]) {
  --ed-bg:#151d19; --ed-surface:#1d2922; --ed-ink:#f4f2e8; --ed-muted:#b4beb2;
  --ed-line:#45594a; --ed-edge:#7f9784; --ed-accent:var(--ed-accent-dark); --ed-on-accent:#172a1d;
  --ed-soft:var(--ed-soft-dark); --ed-danger:#f3b3a9; --ed-danger-bg:#402924; --ed-veil:rgb(4 9 6 / .75);
  --ed-shadow:0 -4px 24px rgb(0 0 0 / .2); color-scheme:dark;
}
@media(prefers-color-scheme:dark){html:not([data-clear-saved-theme=light]) [data-editorial]:not([data-ed-embed=true]):not([data-clear-theme=light]) {
  --ed-bg:#151d19; --ed-surface:#1d2922; --ed-ink:#f4f2e8; --ed-muted:#b4beb2;
  --ed-line:#45594a; --ed-edge:#7f9784; --ed-accent:var(--ed-accent-dark); --ed-on-accent:#172a1d;
  --ed-soft:var(--ed-soft-dark); --ed-danger:#f3b3a9; --ed-danger-bg:#402924; --ed-veil:rgb(4 9 6 / .75);
  --ed-shadow:0 -4px 24px rgb(0 0 0 / .2); color-scheme:dark;
}}

/* Selected dates inherit the same reviewed accent as times and medallions. */
[data-editorial][data-editorial] .bk-cal-day.sel {background:var(--ed-accent)!important;color:var(--ed-on-accent)!important;border-color:var(--ed-accent)!important;box-shadow:none!important}
[data-editorial][data-editorial] .bk-cal-day.sel :is(span,strong) {color:inherit!important}
[data-editorial][data-editorial] .bk-cal-day.today:not(.sel) {border:2px solid var(--ed-accent)!important}
/* T399b: the price of a time may wrap (it used to be one unbreakable line, which left its button on a phone and
   widened the page at enlarged text). */
/* The existing Clear card includes defensive !important rules; override only inside Editorial. */
[data-editorial][data-editorial] .clear-service-card {min-height:70px!important;padding:10px 0 10px 12px!important;border:0!important;background:transparent!important;box-shadow:none!important;transform:none}
[data-editorial][data-editorial] .clear-service-card :is(.meta,.svc-price) {overflow-wrap:normal!important;word-break:normal!important;hyphens:manual!important}
[data-editorial][data-editorial] .clear-service-card .nm {white-space:normal!important;display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;overflow-wrap:anywhere!important;word-break:normal!important;hyphens:manual!important}
[data-editorial][data-editorial] .clear-service-choice {background:var(--ed-surface)!important;box-shadow:none!important}
[data-editorial][data-editorial] .clear-service-choice:has(.sel) {border-color:var(--ed-accent);background:var(--ed-soft)!important;box-shadow:inset 0 0 0 1px var(--ed-accent)!important}
[data-editorial][data-editorial] .clear-service-detail {position:static!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:0!important;box-sizing:border-box!important;background:transparent!important}
[data-editorial][data-editorial] :is(.clear-service-choice,.clear-service-card)::before,[data-editorial][data-editorial] :is(.clear-service-choice,.clear-service-card)::after {display:none!important}
[data-editorial][data-editorial] .bk-cat-scroll {flex-wrap:wrap;overflow:visible;white-space:normal}
[data-editorial] .ed-thread li {background:transparent}
[data-editorial] .ed-thread li[data-ed-new] .ed-choice {animation:ed-stamp 220ms ease-out,ed-settle 260ms ease-out}
@keyframes ed-settle {from{transform:translateY(-5px)}to{transform:translateY(0)}}
[data-editorial][data-editorial] .ed-slots .slot:focus-visible {outline:3px solid var(--ed-accent);outline-offset:3px;box-shadow:0 0 0 2px var(--ed-bg)}
[data-editorial][data-editorial] .ed-calendar .bk-cal-day:focus-visible {outline:3px solid var(--ed-accent);outline-offset:2px;box-shadow:0 0 0 2px var(--ed-bg)}
/* Saved owner variables remain on the shared shell for a reversible Classic preview. */
[data-editorial] {--fg:var(--ed-ink)!important;--muted:var(--ed-muted)!important;--card:var(--ed-surface)!important;--card-solid:var(--ed-surface)!important;--card-2:var(--ed-soft)!important;--border:var(--ed-line)!important;--accent:var(--ed-accent)!important;--danger:var(--ed-danger)!important;color:var(--ed-ink)!important;background:var(--ed-bg)!important}
[data-editorial] .ed-error {margin:16px var(--ed-right);padding:16px;background:var(--ed-danger-bg);color:var(--ed-danger);border:1px solid var(--ed-danger);border-radius:6px}
[data-editorial] .ed-error p {margin-bottom:0}
[data-editorial][data-editorial] .btn-ghost {background:var(--ed-surface)!important;color:var(--ed-ink)!important;border-color:var(--ed-edge)!important}
[data-editorial][data-editorial] a:not(.btn-primary):not(.book-btn):not(.ed-primary) {color:var(--ed-accent)!important}

/* Long contact tokens wrap; ordinary names and price atoms keep their typography. */
[data-editorial][data-editorial] :is(a[href^="mailto:"],a[href^="http"],.bk-contact a,.booking-confirmation-status,.booking-confirmation-status p,.booking-success-panel p,.booking-success-hero,.booking-success-hero *,.booking-success-recap-body,.booking-success-recap-body *) {overflow-wrap:anywhere;word-break:normal;min-width:0;max-width:100%}
[data-editorial][data-editorial] :is(.bk-contact,.booking-success-panel,.booking-confirmation-status,.bk-service-unavailable-contact)>* {min-width:0}
[data-editorial][data-editorial] .ed-calendar .bk-cal-day.today strong {text-decoration:none}
[data-editorial][data-editorial] .ed-calendar .bk-cal-day[data-day-state=closed] strong {text-decoration:line-through}
[data-editorial] .ed-step-heading {scroll-margin-top:16px}

/* Keep footer actions below the initial loading viewport until an actual choice.
   T393: the first step reserves only the rest of the first screen below the widget (EditorialRuntime publishes
   --ed-widget-top), not 1200 px of empty page; the loading skeleton keeps its scroll range, and a visitor who
   scrolled while it loaded keeps that range until back at the top (useClearCatalogueHeight). */
.booking-widget[data-editorial]:is([data-ed-stage=location],[data-ed-stage=service]:not(:has(.ed-thread))):not([aria-busy=true]) {min-height:max(0px,calc(100svh - var(--ed-widget-top,0px)))}

.booking-widget[data-editorial][aria-busy=true] {min-height:max(1200px,100dvh)}
.booking-widget[data-editorial][aria-busy=true] .ed-medallion-active {animation:none}

/* T399a: phone fixes that do not depend on the layout variant. */
/* Category filters are pills with one selected state. The row runs to the screen edges and fades out, so a cut
   pill reads as "more to the side"; the 44 px target carries a 36 px visible pill (transparent block borders). */
[data-editorial][data-editorial] .catalogue-search .bk-cat-pills {gap:8px;margin:2px calc(-1 * var(--ed-right));padding:6px calc(var(--ed-right) + 24px) 6px var(--ed-right);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scroll-padding-inline:var(--ed-right) calc(var(--ed-right) + 24px);scrollbar-width:none;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 16px,#000 calc(100% - 40px),transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 16px,#000 calc(100% - 40px),transparent 100%)}
[data-editorial][data-editorial] .catalogue-search .bk-cat-pills::-webkit-scrollbar {display:none}
[data-editorial][data-editorial] .catalogue-search .bk-cat-pill {min-height:44px;padding:0 14px;border:solid transparent;border-width:4px 0;border-radius:999px;background:var(--ed-surface);background-clip:padding-box;box-shadow:inset 0 0 0 1px var(--ed-line);color:var(--ed-ink);font-size:.875rem;line-height:1.25rem;font-weight:500;white-space:nowrap;scroll-snap-align:start}
[data-editorial][data-editorial] .catalogue-search .bk-cat-pill[aria-pressed=true] {background-color:var(--ed-accent);box-shadow:none;color:var(--ed-on-accent)}
[data-editorial][data-editorial] .catalogue-search .bk-cat-pill:focus-visible {outline:3px solid var(--ed-accent);outline-offset:2px;box-shadow:inset 0 0 0 1px var(--ed-line)}
[data-editorial][data-editorial] .catalogue-search .bk-cat-pill[aria-pressed=true]:focus-visible {box-shadow:none}
@media (hover:hover) and (pointer:fine) {[data-editorial][data-editorial] .catalogue-search .bk-cat-pills {scrollbar-width:thin}}
/* Enlarged text: the filters wrap inside the column instead of scrolling sideways. */
[data-editorial][data-editorial][data-ed-large-text=true] .catalogue-search .bk-cat-pills {flex-wrap:wrap;margin-inline:0;padding-inline:0;overflow:visible;-webkit-mask-image:none;mask-image:none}
[data-editorial][data-editorial][data-ed-large-text=true] .catalogue-search .bk-cat-pill {white-space:normal;overflow-wrap:anywhere;padding-block:4px}
/* The step's own main action is the one filled button of the screen (add-ons Continue, Select in the details). */
[data-editorial][data-editorial] :is(.clear-continue,.clear-service-select) {background:var(--ed-accent)!important;color:var(--ed-on-accent)!important;border:1px solid var(--ed-accent)!important;border-radius:6px;font-size:1rem;line-height:1.4;font-weight:600;min-height:48px}
[data-editorial][data-editorial] .clear-continue:disabled {background:var(--ed-soft)!important;color:var(--ed-muted)!important;border-color:var(--ed-line)!important}
/* Every step shares the thread's axis. A Clear rule that centres the service step at 672 px outweighed the Editorial
   full-width rule, so from 673 px up that step (and its medallion) sat 24 px beside the thread. */
.booking-widget[data-editorial][data-editorial] > .booking-step.clear-widget-services[data-clear-widget] {width:100%;max-width:none;margin-inline:0}
/* One selected state per choice: the worker card owns the frame, its inner button adds none. */
[data-editorial][data-editorial] .ed-worker-select[aria-pressed=true] {box-shadow:none}
/* Step titles are 24 px on phones (32 px and 28 px stay from 480 px up). */
@media (max-width:479px) {[data-editorial][data-editorial] .ed-step-heading :is(h1,h2),[data-editorial][data-ed-embed=true] .ed-step-heading :is(h1,h2) {font-size:1.5rem}}
/* Texts that used to be cut at enlarged text: the voucher action wraps; the docked summary title wraps once the
   widget is in its large-text layout (otherwise its own disclosure opens the full text). */
[data-editorial][data-editorial] .bk-gift-label {display:block;-webkit-line-clamp:unset;overflow:visible}
[data-editorial][data-ed-large-text=true] .ed-summary-detail summary strong {display:block;-webkit-line-clamp:unset;overflow:visible}

/* T399b: the date step. The chosen worker is one row above the calendar; its Change control opens the worker step. */
[data-editorial] .ed-worker-row {display:flex;align-items:center;gap:12px;min-height:56px;margin:0 0 12px;padding:6px 0 6px 12px;border:1px solid var(--ed-line);border-radius:6px;background:var(--ed-surface)}
[data-editorial] .ed-worker-row .ed-avatar {width:40px;height:40px;font-size:1rem}
[data-editorial] .ed-worker-row-text {flex:1;min-width:0;font-size:.875rem;line-height:1.35}
[data-editorial][data-editorial] .ed-worker-row-text strong {display:block;font-size:1rem;font-weight:600;overflow-wrap:anywhere}
[data-editorial][data-editorial] .ed-worker-row-text small {display:block;font-size:.875rem;color:var(--ed-muted);overflow-wrap:anywhere}
/* At enlarged text Change goes under the name, so the name and its hint keep the width of the row. */
[data-editorial][data-ed-large-text=true] .ed-worker-row {flex-wrap:wrap;gap:0 12px;padding-right:12px}
[data-editorial][data-ed-large-text=true] .ed-worker-row-text {flex-basis:calc(100% - 52px)}
[data-editorial][data-ed-large-text=true] .ed-worker-row .ed-link {margin-left:40px}
/* A secondary action is a text link with a 44 px target, not a second framed button. */
[data-editorial][data-editorial] .ed-link {flex:none;display:inline-grid;place-items:center;min-height:44px;min-width:44px;padding:0 12px;border:0;background:transparent;color:var(--ed-accent);font-size:.875rem;line-height:1.4;font-weight:600;text-decoration:underline;text-underline-offset:.2em}
/* Times are grouped by part of the day; every group is its own four-column grid. */
[data-editorial] .ed-part {margin:16px 0 8px;font-size:.75rem;line-height:1.4;letter-spacing:.08em;text-transform:uppercase;color:var(--ed-muted)}
/* The first part of the day starts right under the date step (its 24 px foot is the gap): with 12 px more, the third
   row of times missed the first screen of a 375 x 775 phone by one pixel. */
[data-editorial] .ed-times > div:first-child > .ed-part {margin-top:0}

/* T399b: the docked summary is one row: the price with one line under it and the main button on the right
   (75 px; 87 px when the line wraps). The service, worker and place open on demand; the stamps above show them too. */
[data-editorial][data-editorial] .ed-dock {align-items:center;gap:0 12px;padding:12px var(--ed-right) max(14px,env(safe-area-inset-bottom))}
[data-editorial][data-editorial] .ed-dock .ed-summary-detail summary {display:grid;align-content:center;gap:2px;min-height:48px;font-weight:400}
[data-editorial][data-editorial] .ed-dock .ed-summary-price {display:block;font:1.25rem/1.2 var(--ed-font-display);-webkit-line-clamp:unset;overflow:visible}
[data-editorial] .ed-summary-line {display:block;font-size:.75rem;line-height:1.4;color:var(--ed-muted);overflow-wrap:anywhere}
[data-editorial][data-editorial] .ed-dock .ed-primary {grid-column:auto;width:auto;min-width:148px;padding:0 16px}
[data-editorial] .ed-dock .ed-summary-detail[open] {padding-bottom:12px}
[data-editorial][data-editorial] .ed-dock .ed-summary-detail[open] ~ .ed-primary {grid-column:1/-1;width:100%}
[data-editorial] .ed-summary-title {margin:8px 0 4px;font-size:.875rem;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
[data-editorial][data-ed-large-text=true] .ed-dock .ed-primary {width:100%;min-width:0;padding:12px}

/* T399b: the contact form. Labels are 14 px in the text colour, the fields follow each other in one 12 px step and
   the secondary actions (note, voucher code) are text links in one row instead of two framed buttons. */
[data-editorial][data-editorial] .clear-info-body .field {margin:12px 0 0}
[data-editorial][data-editorial] .clear-info-body .field-row {gap:0}
[data-editorial][data-editorial] .clear-info-body .field > label {margin-bottom:4px;font-size:.875rem;line-height:1.4;font-weight:600;color:var(--ed-ink)}
[data-editorial][data-editorial] .clear-info-body p:has(> button.btn-ghost[aria-controls]) {display:inline-block;margin:8px 16px 0 0!important}
/* The line about an appointment today or tomorrow reads as a subtitle of the step: one line with 8 px above and below.
   With its general margins it added 30 px and took the demo business's contact step over 935 px at 360 px. */
[data-editorial][data-editorial] .clear-info-body .bk-appt-relative {margin:-4px 0!important;line-height:1.2}
/* Two secondary links that do not fit one line stand directly under each other (44 px targets, no gap between). */
[data-editorial][data-editorial] .clear-info-body p:has(> button.btn-ghost[aria-controls]) + p:has(> button.btn-ghost[aria-controls]) {margin-top:0!important}
[data-editorial][data-editorial] .clear-info-body p > button.btn-ghost[aria-controls] {min-height:44px;padding:0!important;border:0!important;background:transparent!important;color:var(--ed-accent)!important;font-size:.875rem;line-height:1.4;font-weight:600;text-align:left;text-decoration:underline;text-underline-offset:.2em}
/* T399b: the bundled heading typeface (Gelasio) draws lining figures by default; Georgia, which it replaces and
   falls back to, draws old-style ones. Its old-style figures have the same widths, so prices, dates and times in
   headings look as they did in Georgia and nothing changes width when the font arrives. Equal-width (tabular)
   figures are not used in this typeface: Georgia has none, the widths would differ. Other presets are untouched. */
[data-editorial]:not([data-ed-font=bricolage]):not([data-ed-font=inter]) :is(.ed-hero :is(h1,h2),.ed-choice-value,.ed-step-heading :is(h1,h2),.ed-summary-price,.ed-result h1,.ed-result :is(.booking-success-when,.ed-confirmed-when),:is(.clear-service-dialog,.clear-branch-dialog,.ed-dialog) h2,.ed-logo-mono,.ed-cover,.ed-avatar) {font-variant-numeric:oldstyle-nums}
