/* Mira retains its native geometry; presets supply semantic color and type roles. */
html.sector-shell[data-luna-preset]{--paper:var(--luna-bg);--ink:var(--luna-ink);--muted:var(--luna-muted);--accent:var(--luna-accent);--line:var(--luna-line);--soft:var(--luna-soft);--card:var(--luna-surface);--hero-panel:var(--luna-hero);--contact-panel:var(--luna-contact);--public-bg:var(--luna-bg);--public-ink:var(--luna-ink);--public-surface:var(--luna-surface);--public-muted:var(--luna-muted);--public-soft:var(--luna-soft);--public-accent:var(--luna-accent);--public-line:var(--luna-line);--public-contact:var(--luna-contact);--public-button:var(--luna-accent);--public-button-text:var(--luna-on-accent)}
html.sector-shell[data-luna-preset] .sector-hero{background:transparent;color:var(--luna-hero-ink)}
html.sector-shell[data-luna-preset] .sector-intro{background:transparent;color:var(--luna-hero-ink)}
html.sector-shell[data-luna-preset] .sector-hero-frame{background-color:var(--luna-hero);background-image:linear-gradient(130deg,color-mix(in srgb,var(--luna-hero),var(--luna-surface) 8%),var(--luna-hero))}
html.sector-shell[data-luna-preset] .sector-intro>p:not(.sector-kicker){color:var(--luna-hero-muted)}
html.sector-shell[data-luna-preset] .sector-hero :is(h1 em,.sector-learn){color:var(--luna-hero-button)}
html.sector-shell[data-luna-preset] .sector-hero .sector-kicker{color:var(--luna-hero-ink)}
html.sector-shell[data-luna-preset] .sector-book{background:var(--luna-accent);color:var(--luna-on-accent)}
html.sector-shell[data-luna-preset] .sector-hero .sector-book{background:var(--luna-hero-button);color:var(--luna-hero-button-ink)}
html.sector-shell[data-luna-preset] .contact{background:var(--luna-contact);color:var(--luna-contact-ink)}
html.sector-shell[data-luna-preset] .contact :is(.sector-kicker,h2 em){color:var(--luna-contact-accent)}
html.sector-shell[data-luna-preset] .contact .sector-heading>p:not(.sector-kicker){color:var(--luna-contact-muted)}
html.sector-shell[data-luna-preset] .contact-info{background:var(--luna-surface);color:var(--luna-ink)}
html.sector-shell[data-luna-preset] .sector-contact-intro .sector-book{background:var(--luna-contact-button);color:var(--luna-contact-button-ink)}
html.sector-shell[data-luna-preset] :is(.sector-wordmark,.sector-footer-wordmark){font-family:var(--luna-type-heading);font-weight:var(--luna-brand-weight)}
html.sector-shell[data-luna-preset] .sector-wordmark small{font-family:var(--luna-type-body)}
html.sector-shell [hidden]{display:none!important}
html.sector-shell [data-luna-multiline],html.sector-shell :is(.team-detail>p,.sector-service-copy p,.sector-heading>p,.sector-hero-photo figcaption){white-space:pre-line}
html.sector-shell .sector-hero[data-mira-no-image]{grid-template-columns:minmax(0,1fr)}
html.sector-shell .sector-wordmark{min-inline-size:0;overflow-wrap:anywhere}
html.sector-shell .mira-site-logo{max-inline-size:64px;max-block-size:52px;object-fit:contain;float:inline-start;margin-inline-end:10px}
html.sector-shell .mira-team-initials{display:grid;place-items:center;background:var(--soft);color:var(--accent);font:600 4rem/1 var(--luna-type-heading)}
/* Three clear statements replace the cramped, letter-spaced flat strip. */
html.sector-shell .sector-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;border:0;padding:0;margin:0 var(--pad) clamp(22px,4vw,48px);background:transparent;color:var(--ink);font-size:clamp(.82rem,1vw,.96rem);font-weight:600;letter-spacing:.015em;line-height:1.55;text-align:start}
html.sector-shell .sector-values > span{display:flex;align-items:center;gap:12px;min-inline-size:0;min-block-size:76px;padding:16px 20px;border:1px solid var(--line);border-radius:14px;background:var(--soft);overflow-wrap:anywhere;white-space:pre-line}
html.sector-shell .sector-values > span::before{content:'';flex:0 0 6px;inline-size:6px;block-size:6px;border-radius:50%;background:var(--accent)}
html.sector-shell .service-tabs{scrollbar-width:none}html.sector-shell .service-tabs::-webkit-scrollbar{display:none}
html.sector-shell .sector-price-list .sector-service-book,html.sector-shell .services-list>.sector-book{display:none}
html.sector-shell .luna-review-controls{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-block-start:24px}
html.sector-shell .luna-review-controls button{min-block-size:44px;padding:10px 18px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);font:inherit;cursor:pointer}
html.sector-shell .mira-review-rating{color:var(--accent);letter-spacing:.12em}
html.sector-shell .luna-announcement{position:sticky;top:var(--luna-sticky-nav-height,84px);z-index:2;margin:0;padding:12px var(--pad);background:var(--soft);color:var(--ink);white-space:pre-line;text-align:center;max-block-size:160px;overflow:auto;border-block-end:1px solid var(--line)}
html.sector-shell .luna-closed-badge{display:inline-block;margin-block:8px;padding:5px 10px;border-radius:99px;background:var(--accent);color:var(--luna-on-accent);font-size:.82rem;font-weight:600}
html.sector-shell .mira-media-viewport{position:relative;min-inline-size:0;max-inline-size:100%}
html.sector-shell :is(.mira-gallery-grid,.mira-showcase-grid){display:grid;gap:18px;min-inline-size:0;max-inline-size:100%}
html.sector-shell .mira-gallery-grid{grid-auto-flow:column;grid-auto-columns:calc((100% - 36px)/3);overflow-x:auto;scroll-snap-type:inline mandatory;scrollbar-width:none;overscroll-behavior-inline:contain}
html.sector-shell .mira-gallery-grid::-webkit-scrollbar{display:none}
html.sector-shell .mira-gallery-grid[data-count="1"]{grid-auto-columns:100%}
html.sector-shell .mira-gallery-grid[data-count="2"]{grid-auto-columns:calc((100% - 18px)/2)}
html.sector-shell .mira-showcase-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
html.sector-shell .mira-showcase-grid[data-count="1"]{grid-template-columns:minmax(0,1fr);max-inline-size:760px;margin-inline:auto}
html.sector-shell .mira-showcase-grid[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
html.sector-shell :is(.mira-gallery-grid,.mira-showcase-grid)>figure{margin:0;min-inline-size:0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--card);scroll-snap-align:start}
html.sector-shell :is(.mira-gallery-grid,.mira-showcase-grid) figcaption{padding:16px 20px;white-space:pre-line;overflow-wrap:anywhere;color:var(--ink)}
html.sector-shell .mira-media-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
html.sector-shell .mira-media-photo{display:block;padding:0;border:0;inline-size:100%;aspect-ratio:4/3;background:var(--soft);cursor:pointer}
html.sector-shell .mira-media-photo img{inline-size:100%;block-size:100%;object-fit:cover}
html.sector-shell :is(.mira-gallery-prev,.mira-gallery-next){position:absolute;inset-block-start:calc(50% - 22px);inline-size:44px;block-size:44px;border:1px solid var(--line);border-radius:50%;background:var(--card);color:var(--ink);font-size:30px;line-height:1;cursor:pointer;box-shadow:0 4px 18px #0002}
html.sector-shell .mira-gallery-prev{inset-inline-start:8px}html.sector-shell .mira-gallery-next{inset-inline-end:8px}
html.sector-shell .mira-media-dialog{position:fixed;max-inline-size:min(900px,calc(100% - 32px));max-block-size:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--card);color:var(--ink)}
html.sector-shell .mira-media-dialog::backdrop{background:#000a}
html.sector-shell .mira-media-dialog>img{inline-size:100%;max-block-size:75dvh;object-fit:contain}
html.sector-shell .mira-media-close{position:absolute;inset-block-start:8px;inset-inline-end:8px;inline-size:44px;block-size:44px;border:1px solid var(--line);border-radius:50%;background:var(--card);color:var(--ink);font-size:24px;cursor:pointer}
html.sector-shell body.mira-modal-open{overflow:hidden}
@media(max-width:760px){html.sector-shell .sector-values{grid-template-columns:minmax(0,1fr);gap:0;padding:2px 16px;border:1px solid var(--line);border-radius:16px;background:var(--soft)}html.sector-shell .sector-values > span{min-block-size:54px;padding:12px 0;border:0;border-block-end:1px solid var(--line);border-radius:0;background:transparent}html.sector-shell .sector-values > span:last-child{border-block-end:0}}
@media(max-width:640px){html.sector-shell .mira-gallery-grid[data-count]{grid-auto-columns:100%}html.sector-shell .mira-showcase-grid[data-count]{grid-template-columns:minmax(0,1fr)}}

/* Keep the selected preset authoritative over the native heading specificity. */
html.sector-shell[data-luna-preset] :is(h1,h2){font-family:var(--luna-type-heading);font-weight:var(--luna-heading-weight);letter-spacing:var(--luna-heading-tracking)}
html.sector-shell[data-luna-preset] h1{font-weight:var(--luna-hero-weight)}
html.sector-shell .sector-hero[data-mira-no-image] .sector-hero-frame{grid-template-columns:minmax(0,1fr)}

/* Keep the authored category label and native scrolling in the original loaded graph. */
html[data-public-brand="mira"] .services :is(.service-tabs,.price-tabs){scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-inline:contain}
html[data-public-brand="mira"] .services :is(.service-tabs,.price-tabs)::-webkit-scrollbar{display:none;width:0;height:0}
html[data-public-brand="mira"] .services .service-tabs .sector-category-label{display:inline;visibility:visible}
html[data-public-brand="mira"] .services .service-tabs .sector-category-label-short{display:none}

/* Business-local schedule status stays opposite its hours heading. */
html[data-public-brand] .luna-hours-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-block-end:10px;min-inline-size:0}
html[data-public-brand] .luna-hours-heading>h4{margin:0;min-inline-size:0;line-height:1.4}
html[data-public-brand] .luna-hours-heading>[data-luna-schedule-badge]{display:inline-flex;align-items:center;flex:none;max-inline-size:65%;margin:0;padding:5px 9px;border:1px solid transparent;border-radius:99px;font-size:.76rem;line-height:1.4;font-weight:600;white-space:normal;text-align:center;background:#e5f4e9;color:#1d633b!important}
html[data-public-brand] .luna-hours-heading>[data-luna-schedule-closed=true]{background:#fff0e9;color:#9b3d25!important}
html[data-public-brand][data-public-theme=dark] .luna-hours-heading>[data-luna-schedule-badge]{background:#173d2a;color:#9de3b6!important}
html[data-public-brand][data-public-theme=dark] .luna-hours-heading>[data-luna-schedule-closed=true]{background:#44281f;color:#ffbe9d!important}

/* One authored WhatsApp label remains readable within every existing button. */
[data-book],[data-booking],[data-luna-team-book],#lightbox-book{min-inline-size:0;max-inline-size:100%;white-space:normal;overflow-wrap:anywhere}
.header [data-book],.sector-header [data-booking]{max-inline-size:min(28vw,22rem)}

/* Authored contact channels keep a compact layout even when every field is filled. */
html[data-public-brand] :is(.contact-card,.studio-info,.contact-info){min-inline-size:0}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels){min-inline-size:0;max-inline-size:100%;padding-block:8px}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels):not(:has(.sector-contact-action)){display:none}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-links{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;justify-content:flex-start;gap:6px 8px;margin:0;min-inline-size:0;max-inline-size:100%}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-social{display:contents}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-action{order:2;min-inline-size:0;max-inline-size:100%;min-block-size:36px;height:auto;margin:0;padding:7px 11px;border:1px solid color-mix(in srgb,currentColor 28%,transparent);border-radius:999px;white-space:normal;overflow-wrap:anywhere;line-height:1.45;justify-content:flex-start}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-action:is([href^="tel:"],[href^="mailto:"]){flex-basis:100%;border:0;border-radius:0;padding:4px 0}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-action[href^="tel:"]{order:0;unicode-bidi:plaintext}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-action[href^="mailto:"]{order:1}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) :is(.sector-contact-map,[data-sector-contact="location"]){order:3;flex-basis:100%;border:0;border-radius:0;padding:4px 0}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-label{min-inline-size:0;max-inline-size:100%;overflow-wrap:anywhere}

/* Phone and location share the leading contact row; authored links stay unchanged. */
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-action[href^="tel:"]{flex:1 1 0}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) :is(.sector-contact-map,[data-sector-contact="location"]){order:0;flex:0 1 auto}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-links:has([href^="tel:"]) :is(.sector-contact-map,[data-sector-contact="location"]){margin-inline-start:auto}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-links:not(:has([href^="mailto:"])):has(:is([href^="tel:"],.sector-contact-map,[data-sector-contact="location"])):has(.sector-contact-action:not([href^="tel:"],[href^="mailto:"],.sector-contact-map,[data-sector-contact="location"]))::before{content:"";order:1;flex-basis:100%;block-size:0;margin-block:-3px}

/* Public footer identity, policies and back-to-top remain one compact row. */
html[data-public-brand] footer:not(.policy-footer){display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px 18px}
html[data-public-brand] footer:not(.policy-footer)>:is(.footer-brand,.sector-footer-wordmark){grid-column:1/-1;grid-row:1;margin-inline:0}
html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta){display:contents}
html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>span:first-child{grid-column:1;grid-row:2;min-inline-size:0;width:auto;margin:0;text-align:start;overflow-wrap:anywhere}
html[data-public-brand] footer .sector-policy-links{grid-column:2;grid-row:2;justify-content:center;justify-self:center;min-inline-size:0;margin:0;text-align:center}
html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>a{grid-column:3;grid-row:2;justify-self:end;min-block-size:44px;display:inline-flex;align-items:center;white-space:normal;text-align:end}
html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>:is(span:nth-child(2),small){grid-column:1/-1;grid-row:3;margin:0;min-inline-size:0;text-align:center;overflow-wrap:anywhere}
html[data-public-brand] footer>.demo-notice{grid-column:1/-1;grid-row:4;margin:0;justify-self:center}
html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>:is(span,small):empty{display:none}
@media(max-width:650px){
 html[data-public-brand] footer:not(.policy-footer){grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}
 html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>span:first-child{grid-column:1/-1;grid-row:2;text-align:center;justify-self:center}
 html[data-public-brand] footer .sector-policy-links{grid-column:1;grid-row:3}
 html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>a{grid-column:2;grid-row:3}
 html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>:is(span:nth-child(2),small){grid-row:4}
 html[data-public-brand] footer>.demo-notice{grid-row:5}
}

/* Reserve the same timestamp metadata rows before and after device-time conversion. */
html[data-public-brand] :is(.luna-public-review-time,.luna-public-owner-response>time[data-viewer-time]){min-block-size:2.8em}

/* Server and draft previews use identical conservative width classes: no text truncation or late resizing. */
html[data-public-brand] footer:not(.policy-footer){container-type:inline-size}
html[data-public-brand] footer .footer-name-fit{--footer-width-1:0;--footer-width-2:0;--footer-width-4:0;--footer-width-8:0;--footer-width-16:0;--footer-width-32:0;--footer-width-64:0;--footer-width-128:0;--footer-name-base:clamp(2.25rem,9.2vw,9rem);--footer-name-reserve:0px;--footer-name-units:calc(var(--footer-width-1) + var(--footer-width-2) + var(--footer-width-4) + var(--footer-width-8) + var(--footer-width-16) + var(--footer-width-32) + var(--footer-width-64) + var(--footer-width-128));font-size:min(var(--footer-name-base),calc((100cqi - var(--footer-name-reserve))/var(--footer-name-units)));white-space:nowrap;text-wrap:nowrap;overflow-wrap:normal;max-inline-size:100%}
html[data-public-brand] footer .footer-name-fit.footer-width-1{--footer-width-1:1}
html[data-public-brand] footer .footer-name-fit.footer-width-2{--footer-width-2:2}
html[data-public-brand] footer .footer-name-fit.footer-width-4{--footer-width-4:4}
html[data-public-brand] footer .footer-name-fit.footer-width-8{--footer-width-8:8}
html[data-public-brand] footer .footer-name-fit.footer-width-16{--footer-width-16:16}
html[data-public-brand] footer .footer-name-fit.footer-width-32{--footer-width-32:32}
html[data-public-brand] footer .footer-name-fit.footer-width-64{--footer-width-64:64}
html[data-public-brand] footer .footer-name-fit.footer-width-128{--footer-width-128:128}
html[data-public-brand] footer .footer-name-fit:has(.luna-site-logo){--footer-name-reserve:calc(clamp(48px,9vw,110px) + clamp(14px,2vw,32px))}
html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>:is(span:nth-child(2),small),html[data-public-brand] footer>.demo-notice{text-align:start;justify-self:start}
@media(max-width:650px){
 html[data-public-brand] footer:not(.policy-footer){grid-template-columns:minmax(0,1fr) auto auto;column-gap:12px;row-gap:8px}
 html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>span:first-child{grid-column:1;grid-row:2;text-align:start;justify-self:start;font-size:.7rem;letter-spacing:0;line-height:1.5}
 html[data-public-brand] footer .sector-policy-links{grid-column:2;grid-row:2;gap:10px;align-self:center;font-size:.7rem;letter-spacing:0;line-height:1.5}
 html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>a{grid-column:3;grid-row:2;font-size:.7rem;letter-spacing:0;line-height:1.5}
 html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>:is(span:nth-child(2),small){grid-column:1/-1;grid-row:3;text-align:start;justify-self:start}
 html[data-public-brand] footer>.demo-notice{grid-column:1/-1;grid-row:4;text-align:start;justify-self:start}
}
@media(max-width:374px){
 html[data-public-brand] footer:not(.policy-footer){grid-template-columns:minmax(0,1fr) auto}
 html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>span:first-child{grid-column:1/-1;grid-row:2}
 html[data-public-brand] footer .sector-policy-links{grid-column:1;grid-row:3;justify-self:start}
 html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>a{grid-column:2;grid-row:3}
 html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>:is(span:nth-child(2),small){grid-row:4}
 html[data-public-brand] footer>.demo-notice{grid-row:5}
}


/* Clinical short features use one themed strip rather than individual chips. */
html[data-public-brand] .sector-values[data-luna-feature-strip]{margin-inline:0;padding:22px var(--pad);border-block:1px solid var(--line);border-inline:0;border-radius:0;background:var(--luna-feature,var(--soft));color:var(--luna-feature-ink,var(--ink));gap:24px;line-height:1.55}
html[data-public-brand] .sector-values[data-luna-feature-strip]>[data-luna-feature-item]{position:relative;display:block;min-block-size:0;padding:0;border:0;border-radius:0;background:transparent;text-align:center}
html[data-public-brand] .sector-values[data-luna-feature-strip]>[data-luna-feature-item]::before{content:none}
@media(min-width:601px){html[data-public-brand] .sector-values[data-luna-feature-strip]>[data-luna-feature-item]:has(~[data-luna-feature-item]:not([hidden]))::after{content:"";position:absolute;inset-inline-end:-12px;inset-block:15%;inline-size:1px;background:currentColor;opacity:.25}}
@media(max-width:600px){html[data-public-brand] .sector-values[data-luna-feature-strip]{padding:18px var(--pad);gap:12px}}

html[data-public-brand] .sector-values[data-luna-feature-count="1"]{grid-template-columns:minmax(0,1fr)}
html[data-public-brand] .sector-values[data-luna-feature-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){html[data-public-brand] .sector-values[data-luna-feature-strip][data-luna-feature-count]{grid-template-columns:minmax(0,1fr)}}

/* Team rows keep one or two profiles horizontal and three profiles vertical.
   Stable portrait tracks and top-aligned copy keep mixed biographies aligned. */
html[data-public-brand] :is(.luna-public-team-grid,.team-grid){display:grid;inline-size:100%;max-inline-size:1140px;margin-inline:auto;gap:20px;align-items:stretch;grid-template-columns:minmax(0,1fr)}
html[data-public-brand] :is(.luna-public-team-grid,.team-grid):has(>:is(.luna-public-team-card,.team-card):only-child){max-inline-size:760px}
html[data-public-brand] :is(.luna-public-team-card,.team-card){display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:minmax(0,1fr);min-inline-size:0;padding:0;gap:0;overflow:hidden;align-items:stretch}
html[data-public-brand] :is(.luna-public-team-portrait,.luna-public-team-placeholder,.team-photo){inline-size:100%;block-size:100%;min-block-size:170px;max-block-size:none;aspect-ratio:auto;object-fit:cover;object-position:center 25%;background:var(--luna-soft,var(--soft));align-self:stretch;border-radius:0}
html[data-public-brand] .luna-public-team-portrait{position:relative;overflow:hidden}
html[data-public-brand] .luna-public-team-portrait img{position:absolute;inset:0;inline-size:100%;block-size:100%;object-fit:cover;object-position:center 25%}
html[data-public-brand] :is(.luna-public-team-copy,.team-detail){padding:clamp(16px,2vw,24px);min-inline-size:0;align-self:start}
html[data-public-brand] :is(.luna-public-team-copy,.team-detail) h3{font-size:clamp(1.1rem,2vw,1.4rem);line-height:1.25;overflow-wrap:anywhere}
html[data-public-brand] :is(.luna-public-team-bio,.team-detail>p){font-size:.9rem;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere}
html[data-public-brand] .luna-public-team-bio{margin:12px 0}
html[data-public-brand] .luna-public-team-services{margin:10px 0 0}
@media(min-width:701px) and (max-width:1100px){html[data-public-brand] :is(.luna-public-team-grid,.team-grid){grid-template-columns:repeat(2,minmax(0,1fr))}html[data-public-brand] :is(.luna-public-team-grid,.team-grid):has(>:is(.luna-public-team-card,.team-card):only-child){grid-template-columns:minmax(0,1fr)}html[data-public-brand] :is(.luna-public-team-grid,.team-grid)>:is(.luna-public-team-card,.team-card):nth-child(odd):last-child{grid-column:1/-1;inline-size:100%;max-inline-size:760px;justify-self:center}}
@media(min-width:1101px){
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid),html[data-public-brand] :is(.luna-public-team-grid,.team-grid):has(>:is(.luna-public-team-card,.team-card):only-child),html[data-public-brand] :is(.luna-public-team-grid,.team-grid):has(>:is(.luna-public-team-card,.team-card):nth-child(2):last-child){grid-template-columns:repeat(6,minmax(0,1fr))}
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid)>:is(.luna-public-team-card,.team-card){grid-column:span 2;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid)>:is(.luna-public-team-card,.team-card) :is(.luna-public-team-portrait,.luna-public-team-placeholder,.team-photo){aspect-ratio:1;block-size:auto;min-block-size:0}
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid)>:is(.luna-public-team-card,.team-card):nth-child(3n+2):last-child,
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid):has(>:is(.luna-public-team-card,.team-card):nth-child(3n+2):last-child)>:nth-last-child(2){grid-column:span 3;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:minmax(0,1fr)}
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid)>:is(.luna-public-team-card,.team-card):nth-child(3n+1):last-child{grid-column:2/span 4;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:minmax(0,1fr)}
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid)>:is(.luna-public-team-card,.team-card):only-child{grid-column:1/-1}
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid):has(>:is(.luna-public-team-card,.team-card):nth-child(4):last-child)>:is(.luna-public-team-card,.team-card){grid-column:span 3;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:minmax(0,1fr)}
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid)>:is(.luna-public-team-card,.team-card):nth-child(3n+2):last-child :is(.luna-public-team-portrait,.luna-public-team-placeholder,.team-photo),
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid):has(>:is(.luna-public-team-card,.team-card):nth-child(3n+2):last-child)>:nth-last-child(2) :is(.luna-public-team-portrait,.luna-public-team-placeholder,.team-photo),
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid)>:is(.luna-public-team-card,.team-card):nth-child(3n+1):last-child :is(.luna-public-team-portrait,.luna-public-team-placeholder,.team-photo),
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid):has(>:is(.luna-public-team-card,.team-card):nth-child(4):last-child)>:is(.luna-public-team-card,.team-card) :is(.luna-public-team-portrait,.luna-public-team-placeholder,.team-photo){aspect-ratio:auto;block-size:100%;min-block-size:200px}
}
@media(max-width:600px){
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid){gap:18px}
 html[data-public-brand] [data-luna-feature-strip][data-luna-feature-count]{grid-template-columns:minmax(0,1fr);gap:0;padding:10px clamp(20px,5vw,32px);font-size:clamp(.85rem,3.6vw,.95rem);line-height:1.45;letter-spacing:0;white-space:normal}
 html[data-public-brand] [data-luna-feature-strip]>[data-luna-feature-item]{grid-column:auto;padding-block:9px;text-align:start;font-size:inherit;line-height:inherit;letter-spacing:inherit;white-space:pre-line}
 html[data-public-brand] [data-luna-feature-strip] [data-luna-feature-copy]{font-size:inherit;line-height:inherit;letter-spacing:inherit}
 html[data-public-brand] [data-luna-feature-strip]>[data-luna-feature-item]:not([hidden])~[data-luna-feature-item]:not([hidden]){border-block-start:1px solid color-mix(in srgb,currentColor 18%,transparent)}
 html[data-public-brand] [data-luna-feature-strip] [data-luna-feature-separator]{display:none!important}
}

/* Each clinical identity has a quiet signature within the same full-width feature ribbon. */
html[data-public-brand] .sector-values[data-luna-feature-strip]{font-size:clamp(.75rem,1vw,.88rem);letter-spacing:.075em;font-weight:650;line-height:1.55;gap:24px}
html[data-public-brand] .sector-values[data-luna-feature-strip]>[data-luna-feature-item]{display:flex;align-items:center;justify-content:center;gap:12px;min-inline-size:0}
html[data-public-brand] .sector-values[data-luna-feature-strip]>[data-luna-feature-item]::before{content:"";display:block;flex:none;inline-size:12px;block-size:12px;position:static;transform:none;background:currentColor;opacity:.8}
html[data-public-brand=liva] .sector-values[data-luna-feature-strip]>[data-luna-feature-item]::before{background:linear-gradient(currentColor,currentColor) center/3px 100% no-repeat,linear-gradient(currentColor,currentColor) center/100% 3px no-repeat;border-radius:1px}
html[data-public-brand=vera] .sector-values[data-luna-feature-strip]>[data-luna-feature-item]::before{border-radius:12px 2px 12px 2px;transform:rotate(-12deg)}
html[data-public-brand=mira] .sector-values[data-luna-feature-strip]>[data-luna-feature-item]::before{background:transparent;border:1.5px solid currentColor;border-radius:50%;inline-size:11px;block-size:11px}
@media(max-width:600px){
 html[data-public-brand] .sector-values[data-luna-feature-strip][data-luna-feature-count]{padding:10px clamp(20px,5vw,32px);gap:0;font-size:.85rem;letter-spacing:.025em}
 html[data-public-brand] .sector-values[data-luna-feature-strip]>[data-luna-feature-item]{justify-content:flex-start;padding-block:12px;gap:12px}
 html[data-public-brand] .sector-values[data-luna-feature-strip]>[data-luna-feature-item]::after{content:none}
}

/* On phones every employee profile uses one full-width portrait above its copy. */
@media(max-width:700px){
 html[data-public-brand] :is(.luna-public-team-card,.team-card){grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
 html[data-public-brand] :is(.luna-public-team-portrait,.luna-public-team-placeholder,.team-photo){aspect-ratio:1;block-size:auto;min-block-size:0;object-fit:cover;object-position:center 25%}
 html[data-public-brand] :is(.luna-public-team-copy,.team-detail){inline-size:100%;box-sizing:border-box}
}

/* The complete selected category stays inside the touch-scrollable strip. */
html[data-public-brand] :is(.price-tabs,.service-tabs){min-inline-size:0;max-inline-size:100%;align-items:flex-start;scroll-behavior:auto;overflow-anchor:none}
html[data-public-brand] :is(.price-tabs,.service-tabs)>button:is([aria-selected="true"],[aria-pressed="true"]){box-sizing:border-box;flex:0 0 auto;min-inline-size:0;max-inline-size:calc(100% - 8px);min-block-size:44px;block-size:auto;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
html[data-public-brand] :is(.price-tabs,.service-tabs)>button:is([aria-selected="true"],[aria-pressed="true"])>:is(bdi,.sector-category-label){display:block;min-inline-size:0;max-inline-size:100%;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}

/* Mira keeps the same horizontal category strip above its mobile breakpoint. */
html.sector-shell[data-public-brand=mira] .services .service-tabs{flex-wrap:nowrap;overflow-x:auto}
html.sector-shell[data-public-brand=mira] .services .service-tabs>button{flex-shrink:0}
html.sector-shell[data-public-brand=mira] .services .service-tabs>button:not([aria-selected="true"]){white-space:nowrap}

html[data-nav-bootstrap] :is(.header,.sector-header)[data-nav-fit=pending]>nav{visibility:hidden;position:absolute;pointer-events:none}
html[data-nav-bootstrap] :is(.header,.sector-header)[data-nav-fit=pending] :is([data-menu],.menu-toggle,.sector-menu){visibility:hidden}

/* Menu layout follows the space required by the visible authored labels. */
html[data-public-brand] .sector-header:is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])>.header-book{flex:0 0 auto}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending]){display:flex;flex-wrap:nowrap;height:auto;min-block-size:var(--nav-header-min,100px)}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])>:is(.brand,.wordmark,.sector-wordmark){flex:0 0 auto;min-inline-size:0;max-inline-size:calc(50% - 32px);white-space:normal;overflow-wrap:anywhere}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])>:is(.brand,.wordmark,.sector-wordmark) :is([data-brand],small){white-space:normal;overflow-wrap:anywhere}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])>.header-actions{flex:0 0 auto;min-inline-size:0;max-inline-size:50%;margin-inline-start:auto}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])>nav{font-size:var(--nav-full-font,.875rem)}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=full]>nav,
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-measuring]>nav{display:flex;flex-flow:row nowrap;align-items:center;position:static;inset:auto;inline-size:max-content;max-inline-size:none;max-block-size:none;overflow:visible;margin:0 0 0 auto;padding:0;border:0;border-radius:0;box-shadow:none;font-size:var(--nav-full-font,.875rem);gap:var(--nav-full-gap,27px);text-align:start;flex:0 0 auto}
html[dir=rtl][data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=full]>nav{margin-inline-start:auto;margin-inline-end:0}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=full]>nav a,
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-measuring]>nav a{display:flex;align-items:center;white-space:nowrap;overflow-wrap:normal;flex:none;min-block-size:44px;padding:0}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=full] :is(.menu-toggle,.sector-menu),
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-measuring] :is(.menu-toggle,.sector-menu){display:none}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=compact]:not([data-nav-measuring]) :is(.menu-toggle,.sector-menu){display:block;flex:none;min-inline-size:44px;min-block-size:44px}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=compact]:not([data-nav-measuring])>nav{display:none;position:absolute;inset:100% 0 auto;inline-size:auto;max-inline-size:none;margin:0;padding:var(--nav-compact-padding,12px var(--pad,5%));background:var(--paper,var(--background));border:1px solid var(--line);border-radius:var(--nav-compact-radius,0 0 16px 16px);box-shadow:var(--nav-compact-shadow,0 18px 32px #0002);font-size:var(--nav-compact-font,.9rem);max-block-size:min(70dvh,calc(100dvh - 100px));overflow:auto;z-index:30}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=compact]:not([data-nav-measuring])>nav.open{display:flex;flex-flow:column nowrap;align-items:stretch;gap:4px}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=compact]:not([data-nav-measuring])>nav a{display:flex;align-items:center;white-space:normal;overflow-wrap:anywhere;min-block-size:48px;padding:var(--nav-compact-link-padding,0px 12px);border-radius:8px}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=pending]>nav,
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-measuring]>nav{position:fixed;inset:-100000px auto auto 0;visibility:hidden;pointer-events:none}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=pending] :is(.menu-toggle,.sector-menu){visibility:hidden}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-empty=true]>nav,
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-empty=true] :is(.menu-toggle,.sector-menu){display:none}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-measuring]>nav{display:flex}

@media(max-width:700px){html[data-public-brand] .header:is([data-nav-ready],[data-nav-fit=pending])>.header-actions{max-inline-size:40%}html[data-public-brand] .header:is([data-nav-ready],[data-nav-fit=pending])>:is(.brand,.wordmark){max-inline-size:calc(100% - 128px)}}

html[data-public-brand] .sector-header:is([data-nav-ready],[data-nav-fit=pending])>.sector-wordmark{max-inline-size:35%}
html[data-public-brand] .sector-header:is([data-nav-ready],[data-nav-fit=pending]){--nav-header-min:83px;--nav-full-font:.9rem;--nav-full-gap:clamp(10px,2vw,26px)}
@media(max-width:1100px){html[data-public-brand] .sector-header:is([data-nav-ready],[data-nav-fit=pending]){--nav-header-min:67px}html[data-public-brand] .sector-header:is([data-nav-ready],[data-nav-fit=pending])>.sector-wordmark{max-inline-size:55%}}

/* Keep the authored desktop navigation and action cluster in flow before fitting.
   Measurement is synchronous and is the only state allowed off screen. */
html[data-public-brand] :is(.header,.sector-header)[data-nav-fit=pending]:not([data-nav-measuring]){display:flex;flex-wrap:nowrap}
html[data-public-brand] :is(.header,.sector-header)[data-nav-fit=pending]:not([data-nav-measuring])>.header-actions{flex:0 0 auto;margin-inline-start:auto}
@media(min-width:1101px){
html[data-public-brand] :is(.header,.sector-header)[data-nav-fit=pending]:not([data-nav-measuring])>nav{display:flex;flex-flow:row nowrap;align-items:center;position:static;inset:auto;visibility:visible;pointer-events:auto;inline-size:max-content;max-inline-size:none;max-block-size:none;overflow:visible;margin:0 0 0 auto;padding:0;border:0;border-radius:0;box-shadow:none;font-size:var(--nav-full-font,.875rem);gap:var(--nav-full-gap,27px);text-align:start;flex:0 0 auto}
html[data-public-brand] :is(.header,.sector-header)[data-nav-fit=pending]:not([data-nav-measuring])>nav a{display:flex;align-items:center;white-space:nowrap;flex:none;min-block-size:44px;padding:0}
html[data-public-brand] :is(.header,.sector-header)[data-nav-fit=pending]:not([data-nav-measuring]) :is(.menu-toggle,.sector-menu){display:none}
}
@media(max-width:1100px){
html[data-public-brand] :is(.header,.sector-header)[data-nav-fit=pending]:not([data-nav-measuring])>nav{display:none}
html[data-public-brand] :is(.header,.sector-header)[data-nav-fit=pending]:not([data-nav-measuring]) :is(.menu-toggle,.sector-menu){display:block;visibility:visible;min-inline-size:44px;min-block-size:44px}
}
