/* Items 13/14/16. Opt-in role migration; no copy, prices, forms or hero logic. */
:root{
  --ss-radius-xs:4px;--ss-radius-sm:6px;--ss-radius-md:10px;
  --ss-radius-lg:12px;--ss-radius-xl:16px;--ss-radius-xxl:24px;
  --ss-radius:10px;--ss-radius-pill:9999px;
  --ss-shadow-md:0 1px 2px 0 rgb(15 23 42 / .04),0 0 0 0 rgb(15 23 42 / 0);
  --ss-shadow-section:var(--ss-shadow-md);
  --ss-primary-hover:#1d4ed8;
  --ss-button-shadow:none;--ss-button-hover-lift:0px;
  --ss-svg-on-chip:#fff;
}
/* A09: readable semantic ink on the actual nested illustration surface.
   Dark marketing diagrams invert these chips to pale blue, not dark paper. */
html[data-ss-theme=dark]{--ss-svg-on-chip:#0f172a}
html body .mph-svg text:is([y="344"],[y="368"]){fill:var(--ss-success-text)}
html body [data-ss-owner-motion="pricing-3"] text[fill="#fff"],
html body [data-ss-owner-motion="partners-0"] text:is([y="136"],[y="147"]){fill:var(--ss-svg-on-chip)}
/* Active legacy alias consumers: card=lg, illustration stage=xl, inputs=base.
   Existing authored hero, diagram, pill and raised-surface corners stay intact. */
html body .ss-card{border-radius:var(--ss-radius-lg)}
html body .ss-home-feature-art{border-radius:var(--ss-radius-xl);box-shadow:var(--ss-shadow-section)}
/* Standard controls no longer inherit pre-phase-2 MUI elevation/lift.
   Do not flatten illustration/card hover choreography or change inverse fills. */
html body :is(.ss-button,.wp-block-button__link,.ss-chrome-primary,.pricing-action),
html body :is(.ss-button,.wp-block-button__link,.ss-chrome-primary,.pricing-action):is(:hover,:active){box-shadow:var(--ss-button-shadow)!important;transform:none!important}
html body .ss-native-chrome .ss-native-primary .wp-block-button__link:hover,
html body .ss-chrome-primary:hover,
html body.ss-view-partners .ss-partners-ctas .wp-block-button:first-child .wp-block-button__link:hover,
html body.ss-view-for-agencies .ss-agency-hero .wp-block-button:first-child .wp-block-button__link:hover,
html body.ss-view-404 .ss-not-found-actions .wp-block-button:first-child .wp-block-button__link:hover,
html body.ss-view-pricing .is-recommended .pricing-action:hover{background:var(--ss-primary-hover)!important}
/* Booking's current request/verification form remains untouched. */
html body.ss-view-book-demo .entry-content .ss-book-hero h1{font-size:48px;line-height:52.8px;font-weight:800;letter-spacing:-.02em}
html body.ss-view-book-demo .entry-content .ss-book-hero .ss-owner-title-art{width:64px;margin-bottom:12px}
html body.ss-view-book-demo .ss-book-hero>.wp-block-group__inner-container{display:flex;flex-direction:column;align-items:center;gap:12px}
html body.ss-view-book-demo .ss-book-hero>.wp-block-group__inner-container>*{margin-block:0}
html body.ss-view-book-demo .ss-book-hero .ss-owner-title-art{order:-1}
/* Legal hero rows retain all native text, dates and links; the pseudo-element
   spans the header tracks only, rather than guessing its height from old copy. */
html body:is(.ss-view-privacy,.ss-view-terms) .entry-content>.ss-legal{padding-top:104px}
html body:is(.ss-view-privacy,.ss-view-terms) .ss-legal>.wp-block-group__inner-container{position:relative;isolation:isolate}
html body:is(.ss-view-privacy,.ss-view-terms) .ss-legal>.wp-block-group__inner-container:before{content:"";position:absolute;grid-column:1/-1;grid-row:1/7;inset:-48px auto 40px 50%;width:100vw;min-width:0;transform:translateX(-50%);background:linear-gradient(180deg,#eef4ff 0%,#f8fafc 100%);border-bottom:1px solid var(--ss-line);z-index:-1;pointer-events:none}
html body:is(.ss-view-privacy,.ss-view-terms) .ss-legal .ss-owner-title-art{grid-row:1;margin:0 auto}
html body:is(.ss-view-privacy,.ss-view-terms) .ss-legal .ss-legal-eyebrow{grid-row:2;margin:12px 0 8px}
html body:is(.ss-view-privacy,.ss-view-terms) .ss-legal h1{grid-row:3;font-size:48px;line-height:55.2px;font-weight:800;letter-spacing:-.02em;margin:0 0 16px}
html body:is(.ss-view-privacy,.ss-view-terms) .ss-legal .ss-legal-intro{grid-row:4}
html body:is(.ss-view-privacy,.ss-view-terms) .ss-legal .ss-legal-date{grid-row:5;margin-bottom:0}
html body:is(.ss-view-privacy,.ss-view-terms) .ss-legal .ss-legal-tabs{grid-row:6;justify-content:center;gap:0;flex-wrap:nowrap;overflow-x:auto;margin:32px 0 40px;padding:0;border:0;box-shadow:inset 0 -1px 0 var(--ss-line)}
html body:is(.ss-view-privacy,.ss-view-terms) .ss-legal .ss-legal-tabs a{position:relative;flex:none;height:44px;min-height:44px;padding:0 16px;border:0;border-radius:0;background:transparent;color:var(--ss-muted);font-size:14px;font-weight:600;line-height:1;text-decoration:none;box-shadow:none}
html body:is(.ss-view-privacy,.ss-view-terms) .ss-legal .ss-legal-tabs a:is(:hover,[aria-current=page]){color:var(--ss-link);background:transparent}
html body:is(.ss-view-privacy,.ss-view-terms) .ss-legal .ss-legal-tabs a[aria-current=page]:after{content:"";position:absolute;inset:auto 0 0;height:2px;border-radius:2px 2px 0 0;background:var(--ss-primary)}
html[data-ss-theme=dark] body:is(.ss-view-privacy,.ss-view-terms) .ss-legal>.wp-block-group__inner-container:before{background:var(--ss-background)}
html[data-ss-theme=dark] body:is(.ss-view-privacy,.ss-view-terms) .ss-legal .ss-legal-tabs a[aria-current=page]:after{background:var(--ss-info)}
/* Explicit mobile artwork roles. The already-authored mobile product drawing
   must win over the generic display:block SVG foundation in reduced motion too. */
/* Resource title artwork keeps the same compact dimensions on desktop; its
   painted-label floor therefore applies at every viewport, not only phones. */
html body.ss-view-resources svg.mkc-rb text[font-size="11"]{font-size:17px}
html body.ss-view-resource svg.mkc-rd text[font-size="13"]{font-size:26px;transform:translateY(5px)}
html body.ss-view-resource svg.mkc-rd text[font-size="11"]{font-size:26px;transform:translateY(16px)}
@media(min-width:601px){html body svg[data-ss-owner-motion="product-0"].mph-mob{display:none!important}}
@media(max-width:600px){
  html body.ss-view-book-demo .entry-content .ss-book-hero h1{font-size:32px;line-height:35.2px}
  html body:is(.ss-view-privacy,.ss-view-terms) .entry-content>.ss-legal{padding-top:88px}
  html body:is(.ss-view-privacy,.ss-view-terms) .ss-legal>.wp-block-group__inner-container:before{top:-32px}
  html body:is(.ss-view-privacy,.ss-view-terms) .ss-legal h1{font-size:36px;line-height:41.4px}
  html body svg[data-ss-owner-motion="product-0"].mph-dsk{display:none!important}
  html body svg[data-ss-owner-motion="product-0"].mph-mob{display:block!important}
  html body.ss-view-home svg[data-ss-owner-motion] text:is([font-size="11"],[font-size="12"]){font-size:14px}
  html body.ss-view-partners svg[data-ss-owner-motion]:not([data-ss-owner-motion="partners-0"]) text:is([font-size="11"],[font-size="12"]){font-size:13px}
}
