/* Chrome is independent of palette and fonts. Loaded last in every app shell. */
:root[data-chrome="calm"] {
  --bw: 1px; --bw-sm: 1px;
  --edge: color-mix(in srgb, var(--text) 14%, var(--bg));
  --edge-strong: color-mix(in srgb, var(--text) 28%, var(--bg));
  --shadow-xs: 0 1px 2px rgb(0 0 0 / .05);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .05), 0 2px 8px rgb(0 0 0 / .04);
  --shadow-md: 0 1px 2px rgb(0 0 0 / .05), 0 8px 24px rgb(0 0 0 / .06);
  --shadow-lift: 0 2px 4px rgb(0 0 0 / .05), 0 16px 40px rgb(0 0 0 / .08);
  --shadow-press: none;
  --shadow-focus: 0 0 0 3px color-mix(in srgb, var(--focus) 35%, transparent);
  --shadow-chrome-xs: var(--shadow-xs); --shadow-chrome-sm: var(--shadow-sm);
  --shadow-chrome-md: var(--shadow-md); --shadow-chrome-lift: var(--shadow-lift);
  --radius-sm: 8px; --radius-card: 14px; --radius-lg: 18px;
  --dur-wiggle: 0ms;
  --calm-text: var(--text); --calm-muted: var(--muted);
  --calm-bg: var(--bg); --calm-surface: var(--surface);
  --calm-surface-2: var(--surface-2);
  --type-heading-size: 20px; --type-heading-line: 1.4; --type-heading-tracking: -.01em;
  --type-small-size: 14px; --type-small-line: 1.57; --type-label-size: 12.5px;
  /* The older profile panels still consume these aliases. */
  --border: var(--edge); --border-2: var(--edge-strong); --border-glow: var(--edge-strong);
  --text-muted: var(--muted); --surface-inset: var(--surface-2);
  --accent-soft: var(--surface-2);
  --gap: 24px; --step-3: 36px;
}
:root[data-chrome="calm"][data-theme="dark"] {
  --edge: color-mix(in srgb, var(--text) 16%, var(--bg));
  --shadow-xs: 0 1px 2px rgb(0 0 0 / .3);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .3), 0 2px 8px rgb(0 0 0 / .3);
  --shadow-md: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .3);
  --shadow-lift: 0 2px 4px rgb(0 0 0 / .3), 0 16px 40px rgb(0 0 0 / .3);
}
[data-chrome="calm"] body {
  background: var(--bg); font-size: 17px; line-height: 28px; font-weight: 400;
}
[data-chrome="calm"] :is(h1,h2,h3,h4) { letter-spacing: -.02em; }
[data-chrome="calm"] :is(.hero-title,.page-hero h1,.hx-mfst-title,.hx-bill-title,.hx-term-title,.sf-title) { font-size: 56px; line-height: 60px; letter-spacing: -.02em; }
[data-chrome="calm"] :is(.section-head h2,.social-copy h2,.cta-band h2,.sf h2,.xp-h2) { font-size: 36px; line-height: 42px; letter-spacing: -.02em; }
[data-chrome="calm"] :is(.pop-shell__main h1,.adm-head h1) { font-size: 36px; line-height: 42px; }
[data-chrome="calm"] :is(.pop-shell__main h2,.pop-shell__main h3,.section h3) { font-size: 20px; line-height: 28px; }
[data-chrome="calm"] :is(.hero-sub,.page-hero-sub,.section-head p,.social-copy p) { font-size: 17px; line-height: 28px; max-width: 60ch; }
[data-chrome="calm"] :is(h1,h2,h3) :is(mark,.grad),
[data-chrome="calm"] :is(h1,h2,h3).grad { background: none; color: inherit; padding: 0; border-radius: 0; }
[data-chrome="calm"] .section { padding-block: 112px; }
[data-chrome="calm"] .section + .section { padding-top: 112px; }
[data-chrome="calm"] :is(.section-inner,.hero-inner) { max-width: 1168px; }
[data-chrome="calm"] .section-alt { background: var(--surface); border-color: var(--edge); margin: 0; }

/* Controls retain their behaviours, with a quiet hover and an explicit focus ring. */
[data-chrome="calm"] :is(.pop-btn,.button,.pop-iconbtn,.floating-cta) {
  border: 1px solid var(--control-edge, var(--muted)); border-radius: 10px;
  box-shadow: none; transform: none; font-weight: 600;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}
[data-chrome="calm"] :is(.pop-btn,.button,.pop-iconbtn,.floating-cta):is(:hover,:active) { transform: none; box-shadow: none; background: color-mix(in srgb, var(--surface) 94%, var(--text)); color: var(--text); }
[data-chrome="calm"] :is(.pop-btn--primary,.button-primary,.floating-cta) { background: var(--primary-fill, var(--text)); color: var(--primary-label, var(--bg)); border-color: transparent; }
[data-chrome="calm"] :is(.pop-btn--primary,.button-primary,.floating-cta):is(:hover,:active,:focus-visible) { background: var(--primary-hover-fill, var(--text)); color: var(--primary-label, var(--bg)); }
[data-chrome="calm"] :is(.pop-btn--ghost,.button-ghost) { background: transparent; color: var(--text); border: 1px solid var(--control-edge, var(--muted)); }
[data-chrome="calm"] .pop-btn--ink { background: var(--text); color: var(--bg); border-color: transparent; }
[data-chrome="calm"] .pop-btn--ink:hover { background: color-mix(in srgb, var(--text) 94%, var(--bg)); color: var(--bg); }
[data-chrome="calm"] .pop-btn--lg { min-height: 48px; font-size: 16px; padding: 12px 24px; }
[data-chrome="calm"] :is(.pop-btn,.button,.pop-iconbtn):focus-visible { outline: none; box-shadow: var(--shadow-focus); }
[data-chrome="calm"] .pop-btn--danger { background: var(--red); color: #111111; }
[data-chrome="calm"] :is(.pop-iconbtn,.pop-tag) :is(svg,.pop-icon) { transform: none; }
[data-chrome="calm"] :is(.pop-tag,.sf-chips li,.signal-chip,.chipwall-chip,.prompt-chip,.mapp-chip) { border: 1px solid var(--edge); background: var(--surface); color: var(--text); box-shadow: none; font-size: 13px; font-weight: 600; transform: none; }
[data-chrome="calm"] :is(.pop-tag,.mapp-chip).is-on { background: var(--surface-2); color: var(--text); border-color: var(--edge-strong); }
[data-chrome="calm"] :is(.pop-tag,.prompt-chip,.mapp-chip):is(:hover,:active) { transform: none; box-shadow: none; background: var(--surface-2); color: var(--text); }
[data-chrome="calm"] :is(.pop-label,.section-kicker,.eyebrow,.offer-ribbon-tag,.app-tag,.st-model,.m-showcase-landing-eyebrow,.hx-mfst-kicker,.hx-bill-kicker,.agent-cta-kicker,.dev-lab-tag) {
  border: 0; border-radius: 0; padding: 0; background: none; color: var(--calm-muted);
  font: 600 12.5px/16px var(--font-body); letter-spacing: .08em; text-transform: uppercase; white-space: normal;
}
[data-chrome="calm"] .pop-badge { border: 0; box-shadow: none; font-weight: 600; }

/* Neutral surfaces share one card treatment. Status colours stay inside product UI. */
[data-chrome="calm"] :is(.pop-card,.panel,.pop-stat,.pop-price,.bento-card,.demo-card,.dsg-card,.guide-card,.pipe-stage,.versus-col,.proof-stat,.statband-stat,.stack-stat,.usecase,.spotlight-card,.cms-show-feats li,.faq-item,.pop-acc__item,.signin-card,.app-window,.cms-show-mock,.refshow-mock,.console,.studio-mock,.vps-col,.dep-col,.am-tool,.mapp-res-card) {
  border-width: 1px; border-color: var(--edge); border-radius: 14px; box-shadow: var(--shadow-sm);
}
[data-chrome="calm"] :is(.pop-card--yellow,.pop-card--pink,.pop-card--mint,.pop-card--lilac,.pop-card--blue,.pop-card--red,.pop-stat,.pop-price--featured,.pop-price--mint,.statband-stat,.cmetric,.cta-band,.hx-billboard,.agent-cta,.demo-card.is-featured) {
  --text: var(--calm-text); --text-soft: var(--calm-muted); --text-faint: var(--calm-muted);
  background: var(--calm-surface); color: var(--calm-text);
}
[data-chrome="calm"] :is(.statband-stat,.cmetric,.hx-billboard,.cta-band) :is(p,h1,h2,strong,b,em,span) { color: inherit; }
[data-chrome="calm"] :is(.feature-ico,.usecase-ico,.spotlight-num,.pipe-node,.wired-cap-ico,.sf-mini-ico) { background: var(--surface-2); color: var(--text); border: 1px solid var(--edge); box-shadow: none; }
[data-chrome="calm"] :is(.pop-price__flag,.cms-plan-flag) { position: static; justify-self: start; rotate: none; border: 0; box-shadow: none; background: var(--surface-2); color: var(--text); }
[data-chrome="calm"] .pop-price__list .pop-icon { background: none; border: 0; color: var(--accent-text, var(--text)); }
[data-chrome="calm"] :is(.pop-acc__item.is-open,.pop-acc__item.is-open .pop-acc__body) { background: var(--surface); color: var(--text); }
[data-chrome="calm"] :is(.faq-q .ico,.pop-acc__plus) { background: var(--surface-2); border: 1px solid var(--edge); color: var(--text); }
[data-chrome="calm"] .faq-q .ico::before,[data-chrome="calm"] .faq-q .ico::after { background: var(--text); }

/* A bar, rather than a pill, anchors the public site. */
[data-chrome="calm"] .pop-header { padding: 0 24px; background: var(--bg); }
[data-chrome="calm"] .pop-header__bar { max-width: 1120px; min-height: 80px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
[data-chrome="calm"] .pop-header__brand { font-size: 21px; letter-spacing: -.02em; white-space: nowrap; }
[data-chrome="calm"] .pop-header__link { font-weight: 500; border-radius: 8px; }
[data-chrome="calm"] .pop-header__link:is(.is-active,:hover) { background: var(--surface-2); color: var(--text); }
[data-chrome="calm"] .pop-header__cta { background: transparent; color: var(--text); border: 1px solid var(--control-edge, var(--muted)); }
[data-chrome="calm"] .pop-header__menu { border: 1px solid var(--edge); border-radius: 12px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
[data-chrome="calm"] .pop-header.is-scrolled { border-bottom: 1px solid var(--edge); }
[data-chrome="calm"] .pop-footer { background: var(--surface); border-top: 1px solid var(--edge); color: var(--text); }
[data-chrome="calm"] .pop-footer :is(a,p,h3,.pop-footer__bottom) { color: var(--muted); }
[data-chrome="calm"] .pop-footer .pop-footer__brand { color: var(--text); }
[data-chrome="calm"] .pop-footer__bottom { border-top: 1px solid var(--edge); }
[data-chrome="calm"] .pop-footer__bottom .pop-tag { color: var(--text); background: var(--surface-2); border: 1px solid var(--edge); box-shadow: none; }

[data-chrome="calm"] :is(.pop-tablewrap,.pop-search,.pop-input,.pop-select select,.pop-textarea,.mapp-search,.adm-input--sm,.adm-select--sm select,.studio-composer,.composer-prompt,.seg,.cms-input,.cms-select,.cms-textarea) { border-width: 1px; border-color: var(--edge); border-radius: 8px; box-shadow: none; }
[data-chrome="calm"] :is(.pop-table,.mapp-table) thead th { background: var(--surface-2); color: var(--muted); }
[data-chrome="calm"] :is(.pop-table,.mapp-table) tbody td { border-top-width: 1px; border-color: var(--edge); }
[data-chrome="calm"] :is(.pop-table,.mapp-table) tbody tr:hover td { background: var(--surface-2); }
[data-chrome="calm"] :is(.pop-tabs__list,.pop-seg,.studio-tabs,.cms-tabs) { border: 1px solid var(--edge); border-radius: 8px; box-shadow: none; background: var(--surface); }
[data-chrome="calm"] :is(.pop-tabs__tab,.pop-seg__btn,.studio-tab,.cms-tab) { border-radius: 6px; color: var(--text); background: transparent; }
[data-chrome="calm"] .pop-tabs__tab[aria-selected="true"] { color: var(--text); background: transparent; box-shadow: inset 0 -2px var(--accent); }
[data-chrome="calm"] :is(.pop-seg__thumb,.studio-tab.is-on,.seg.is-on,.cms-tab.is-on,.mapp-chip.is-on) { background: var(--surface-2); color: var(--text); box-shadow: none; }
[data-chrome="calm"] .pop-seg__btn[aria-pressed="true"] { color: var(--text); }
[data-chrome="calm"] :is(input,select,textarea):focus-visible { outline: none; box-shadow: var(--shadow-focus); }
[data-chrome="calm"] :is(.pop-side,.pop-shell__topbar) { border-width: 1px; }
[data-chrome="calm"] .pop-side__link { border: 0; border-radius: 8px; }
[data-chrome="calm"] .pop-side__link:is(.is-active,:hover) { background: rgb(255 255 255 / .1); color: var(--side-text); box-shadow: none; transform: none; }
[data-chrome="calm"] .pop-side__link:is(.is-active,:hover) .pop-icon { color: var(--side-text); transform: none; }
[data-chrome="calm"] .pop-side__foot { border-top-width: 1px; border-top-style: solid; }
[data-chrome="calm"] :is(.pop-side__user,.pop-side__credits) { border-width: 1px; border-radius: 8px; }
[data-chrome="calm"] .pop-avatar { box-shadow: none; }

/* Remove decorative motion without disturbing drawer, carousel or toggle state. */
[data-chrome="calm"] *,[data-chrome="calm"] *::before,[data-chrome="calm"] *::after { animation: none !important; }
[data-chrome="calm"] :is(.pop-spinner,.lazy-billing-slot .spinner) { animation: pop-spin .7s linear infinite !important; }
[data-chrome="calm"] :is([data-pop],[data-stagger],.reveal) { opacity: 1 !important; transform: none !important; }
[data-chrome="calm"] :is(.pop-sticker,.mk-sticker,.hero-sticker,.hero-float,.hx-bill-toast,.hx-bill-mark) { display: none; }
[data-chrome="calm"] :is(.app-window,.signin-card,.shot-phone,.scene-app .phone,.hx-key-panel,.iphone-frame,.cms-show-mock,.refshow-mock,.dsg-card,.chipwall-chip,.hx-bill-stats span,.wired-cap,.usecase-tag,.cms-quote,.cms-price,.cms-stat,.prompt-chip) { transform: none !important; rotate: none !important; }
[data-chrome="calm"] :is(.pop-card,.pop-price,.pop-stat,.dsg-card,.demo-card,.guide-card,.bento-card,.statband-stat,.usecase,.am-tool,.mapp-chip,.cms-cg-card):is(:hover,:active) { transform: none; box-shadow: var(--shadow-sm); }
[data-chrome="calm"] :is(.chipwall,.hero-proof,.hx-key-tags,.dep-chips) { display: flex; flex-wrap: wrap; gap: 8px; margin-inline: auto; }
[data-chrome="calm"] .chipwall { padding-block: 24px; max-width: 1120px; }
[data-chrome="calm"] :is(.chipwall-chip,.hx-key-tags span,.dep-chips span) { transform: none; margin: 0; padding: 5px 12px; background: var(--surface); color: var(--text); border: 1px solid var(--edge); box-shadow: none; }
[data-chrome="calm"] .dev-lab { display: none; }
[data-chrome="calm"] .floating-cta { font-size: 13px; min-height: 42px; padding: 8px 14px; box-shadow: var(--shadow-sm); }
[data-chrome="calm"] .floating-cta .cta-price { border: 0; background: transparent; color: inherit; }

/* Profile chart aliases restore the meaningful UI after the legacy CSS split. */
[data-chrome="calm"] :is(.shell-member,.shell-admin) { --success: var(--accent-text); --warning: var(--accent-text); --danger: var(--text); --info: var(--accent-text); --surface-raised: var(--surface); --surface-hover: var(--surface-2); --accent-3: var(--muted); }
[data-chrome="calm"] .m-subscription-saas-chart svg { fill: none; }
[data-chrome="calm"] .m-subscription-saas-chart :is(.m-subscription-saas-area) { fill: var(--accent); opacity: .1; }
[data-chrome="calm"] .pop-shell__main :is(.m-subscription-saas-stats,.m-subscription-saas-grid) { gap: 24px; }
@media (max-width: 760px) {
  [data-chrome="calm"] body { font-size: 16px; line-height: 26px; }
  [data-chrome="calm"] :is(.hero-title,.page-hero h1,.hx-mfst-title,.hx-bill-title,.hx-term-title,.sf-title) { font-size: 38px; line-height: 42px; }
  [data-chrome="calm"] :is(.section-head h2,.social-copy h2,.cta-band h2,.sf h2,.xp-h2,.pop-shell__main h1,.adm-head h1) { font-size: 28px; line-height: 34px; }
  [data-chrome="calm"] :is(.hero-sub,.page-hero-sub,.section-head p,.social-copy p) { font-size: 16px; line-height: 26px; }
  [data-chrome="calm"] .section,[data-chrome="calm"] .section + .section { padding-block: 72px; }
  [data-chrome="calm"] .pop-header { padding-inline: 20px; }
  [data-chrome="calm"] .pop-header__bar { min-height: 72px; }
  [data-chrome="calm"] :is(.pop-btn,.button) { white-space: normal; text-align: center; }
  [data-chrome="calm"] .floating-cta { right: 12px; bottom: 12px; }
  [data-chrome="calm"] .adm-filter { margin-left: 0; width: 100%; }
  [data-chrome="calm"] .adm-filter__search { min-width: 0; }
}

/* Animated chart paths must keep their finished state when idle motion is off. */
[data-chrome="calm"] :is(.m-subscription-saas-spark-line,.m-image-studio-spark-line) { stroke-dashoffset: 0; }
[data-chrome="calm"] :is(.m-subscription-saas-spark-area,.m-image-studio-spark-area) { opacity: .12; fill: var(--accent); }
[data-chrome="calm"] :is(.m-appbk-call-line,.m-api-product-landing-logline) { opacity: 1; transform: none; }
[data-chrome="calm"] .sf-storefront .sf-feature .sf-browser { box-shadow: var(--shadow-md); }
/* Keep header sign-in legible even when it also carries a primary class. */
[data-chrome="calm"] .pop-header .pop-header__cta { color: var(--text); background: transparent; border: 1px solid var(--control-edge, var(--muted)); }
[data-chrome="calm"] .m-subscription-saas-spark-line { stroke-dasharray: none; stroke: var(--text); }
[data-chrome="calm"] :is(.auth-card,.xp-card,.xp-frame,.xp-feature,.xp-flow li,.xp-shot,.xp-read,.xp-other,.xp-demo-links a,.cookie-banner,.modal-card,.pop-modal__card,.app-menu,.nav-demo-dropdown) { border-width: 1px; border-color: var(--edge); border-radius: 14px; box-shadow: var(--shadow-sm); }
[data-chrome="calm"] :is(.xp-kicker,.xp-ico) { background: var(--surface-2); color: var(--text); border-width: 1px; box-shadow: none; }
[data-chrome="calm"] :is(.xp-card,.xp-other,.xp-demo-links a):hover { transform: none; box-shadow: var(--shadow-sm); }

/* The profile scenes use their existing reduced-motion end states in calm. */
[data-chrome="calm"] {

  .m-digital-downloads-cover-shine,
  .m-digital-downloads-license,
  .m-digital-downloads-lock-closed,
  .m-digital-downloads-lock-open,
  .m-digital-downloads-status-locked,
  .m-digital-downloads-status-unlocked,
  .m-digital-downloads-bar-fill,
  .m-digital-downloads-bar-pct,
  .m-digital-downloads-spark,
  .m-dd-cursor,
  .m-dd-pay,
  .m-dd-pay-idle,
  .m-dd-pay-done,
  .m-dd-toast,
  .m-dd-log,
  .m-dd-ticker-track {
    animation: none !important;
  }
  /* Settle the storyboard at its END-state (paid + unlocked + logged) so the
     whole story still reads without any motion. */
  .m-digital-downloads-cover-shine { display: none; }
  .m-digital-downloads-lock-closed { opacity: 0; }
  .m-digital-downloads-lock-open { opacity: 1; transform: none; color: var(--accent-text); }
  .m-digital-downloads-status-locked { opacity: 0; }
  .m-digital-downloads-status-unlocked { opacity: 1; transform: none; }
  .m-digital-downloads-bar-fill { width: 100%; }
  .m-digital-downloads-bar-pct { color: var(--accent-ink); }
  .m-dd-cursor { opacity: 0; }
  .m-dd-pay-idle { opacity: 0; }
  .m-dd-pay-done { opacity: 1; transform: none; }
  .m-dd-toast { opacity: 1; transform: none; }
  .m-dd-log { opacity: 1; transform: none; }
  /* ticker: static row, first entries visible, the rest clipped */
  .m-dd-ticker-track { transform: none; }
  .m-digital-downloads-list-row:hover,
  .m-digital-downloads-card:hover,
  .m-digital-downloads-list-dl:hover {
    transform: none;
  }

}
[data-chrome="calm"] {

  .m-showcase-dot,
  .m-showcase-pulse-dot,
  .m-showcase-bar-fill,
  .m-showcase-gauge-fg,
  .m-showcase-spark-bar,
  .m-showcase-meter-fill,
  .m-showcase-orb-1,
  .m-showcase-orb-2,
  .m-showcase-card,
  .m-showcase-card-meter-fill,
  .m-showcase-card-ledger span,
  .m-showcase-cursor,
  .m-showcase-typed,
  .m-showcase-card-dl-bar {
    animation: none !important;
  }
  .m-showcase-bar-fill,
  .m-showcase-meter-fill,
  .m-showcase-spark-bar { transform: none; }
  .m-showcase-gauge-fg { stroke-dashoffset: 30; }
  .m-showcase-card-meter-fill { transform: scaleX(0.7); }
  .m-showcase-card-ledger span:nth-child(1) { transform: scaleY(0.72); }
  .m-showcase-card-ledger span:nth-child(2) { transform: scaleY(0.95); }
  .m-showcase-card-ledger span:nth-child(3) { transform: scaleY(0.58); }
  .m-showcase-card-ledger span:nth-child(4) { transform: scaleY(1); }
  .m-showcase-card-dl-bar { transform: scaleX(0.8); }

}
[data-chrome="calm"] {

  .m-subscription-saas-live i,
  .m-subscription-saas-spark-line,
  .m-subscription-saas-spark-area,
  .m-subscription-saas-bar i,
  .m-subscription-saas-seg,
  .m-subscription-saas-gauge i,
  .m-subscription-saas-od-strip,
  .m-subscription-saas-landing-bar,
  .m-subscription-saas-ticker-track {
    animation: none !important;
  }
  .m-subscription-saas-spark-line { stroke-dashoffset: 0; }
  .m-subscription-saas-spark-area { opacity: 1; }
  .m-subscription-saas-bar i,
  .m-subscription-saas-seg,
  .m-subscription-saas-gauge i,
  .m-subscription-saas-landing-bar { transform: none; }

}
[data-chrome="calm"] {

  .m-credit-usage-meter i,
  .m-credit-usage-bar-track i,
  .m-credit-usage-spark-line,
  .m-credit-usage-spark-area,
  .m-credit-usage-gauge-fill,
  .m-credit-usage-gauge-needle,
  .m-credit-usage-counter,
  .m-credit-usage-ticker-track {
    animation: none !important;
  }
  .m-credit-usage-spark-line { stroke-dashoffset: 0; }
  .m-credit-usage-spark-area { opacity: 1; }
  .m-credit-usage-gauge-fill { stroke-dashoffset: 63; }
  .m-credit-usage-gauge-needle { transform: rotate(45deg); }

}
[data-chrome="calm"] {

  .m-api-product-meter i,
  .m-api-product-spark i,
  .m-api-product-bd-row i::after,
  .m-api-product-live i { animation: none; }
  .m-api-product-meter i { transform: none; }
  .m-api-product-spark i { transform: none; opacity: 1; }
  .m-api-product-bd-row i::after { animation: none; }

  .m-api-product-term-typed {
    animation: none;
    width: 100%;
    white-space: normal;
  }
  .m-api-product-term-caret { animation: none; opacity: 0; }
  .m-api-product-tl2,
  .m-api-product-tl3,
  .m-api-product-tl4,
  .m-api-product-tl5,
  .m-api-product-tl6 {
    animation: none;
    opacity: 1;
    transform: none;
  }

}
[data-chrome="calm"] {

  .m-image-studio-stat-spark,
  .m-image-studio-allow-fill,
  .m-image-studio-spark-line,
  .m-image-studio-spark-area,
  .m-image-studio-bar-fill,
  .m-image-studio-preview-scan,
  .m-image-studio-landing-meter-from,
  .m-image-studio-landing-meter-to,
  .m-image-studio-landing-meter-tick,
  .m-image-studio-landing-typed,
  .m-image-studio-landing-caret,
  .m-image-studio-landing-image,
  .m-image-studio-landing-noise,
  .m-image-studio-landing-scan,
  .m-image-studio-landing-shimmer,
  .m-image-studio-landing-progress-fill,
  .m-image-studio-landing-status-dot,
  .m-image-studio-landing-status-rendering,
  .m-image-studio-landing-status-complete {
    animation: none !important;
  }
  /* keep end states legible without motion */
  .m-image-studio-allow-fill,
  .m-image-studio-bar-fill,
  .m-image-studio-landing-progress-fill { transform: scaleX(1); }
  .m-image-studio-spark-line { stroke-dashoffset: 0; }
  .m-image-studio-spark-area { opacity: 1; }
  .m-image-studio-landing-image { opacity: 1; filter: none; transform: scale(1); }
  .m-image-studio-landing-noise { opacity: 0; }
  .m-image-studio-landing-meter-from { opacity: 0; }
  .m-image-studio-landing-meter-to { opacity: 1; }
  .m-image-studio-landing-typed { width: 100%; }
  .m-image-studio-landing-status-rendering { opacity: 0; }
  .m-image-studio-landing-status-complete { opacity: 1; }

}
[data-chrome="calm"] {

  .m-appbk-spark i,
  .m-appbk-phone,
  .m-appbk-call-line { animation: none; opacity: 1; transform: none; }

}

[data-chrome="calm"] .m-subscription-saas-spark-line { stroke-dasharray: none; stroke: var(--text); }
[data-chrome="calm"] .m-subscription-saas-spark-area { opacity: .1; fill: var(--accent); }
[data-chrome="calm"] :is(.cms-eyebrow,.cms-hero-eyebrow) { background: none; border: 0; border-radius: 0; padding: 0; rotate: none; box-shadow: none; color: var(--c-soft,var(--muted)); font: 600 12.5px/16px var(--font-body); letter-spacing: .08em; }
[data-chrome="calm"] .cms-hero.has-bg .pop-btn--ghost { color: var(--c-text); border-color: var(--c-text); }
[data-chrome="calm"] .adm-editor > .cms-toolbar { border-radius: 12px; }
[data-chrome="calm"] .adm-editor > .cms-toolbar :is(.cms-tabs,.cms-assimple,.cms-wbtn,.cms-tab) { border-radius: 8px; box-shadow: none; }
[data-chrome="calm"] .adm-editor > .cms-toolbar :is(.cms-tab.is-on,.cms-wbtn.is-on,.cms-assimple.is-on) { background: var(--surface-2); color: var(--text); box-shadow: none; }
[data-chrome="calm"] :is(.auth-head h1,.auth-card h1) { font-size: 36px; line-height: 42px; letter-spacing: -.02em; }

/* CMS headings use their band colour, including image-backed white text. */
[data-chrome="calm"] .cms-hero .cms-hero-title .grad { background: none; color: inherit; padding: 0; -webkit-text-fill-color: currentColor; }
[data-chrome="calm"] .cms-hero.has-bg .cms-hero-eyebrow { color: var(--c-soft); }
[data-chrome="calm"] .cms-hero-title { font-size: 56px; line-height: 60px; letter-spacing: -.02em; text-shadow: none; }
[data-chrome="calm"] .cms-hero-sub { font-size: 17px; line-height: 28px; text-shadow: none; }
@media (max-width:760px) {
  [data-chrome="calm"] .cms-hero-title { font-size: 38px; line-height: 42px; }
  [data-chrome="calm"] .cms-hero-sub { font-size: 16px; line-height: 26px; }
}
/* The purchase card has two real columns; its former floating flag spans them. */
[data-chrome="calm"] .is-storefront-product > .pop-price__flag { grid-column: 1 / -1; justify-self: start; }
[data-chrome="calm"] :is(.product-steps li strong,.product-lifetime,.product-plan .pop-price__note,.product-plan .home-buy-fineprint) { color: var(--text); }
[data-chrome="calm"] .product-plan .home-buy-fineprint { color: var(--muted); }
[data-chrome="calm"] .product-stats li { background: var(--surface-2); color: var(--text); border-width: 1px; border-radius: 8px; }
[data-chrome="calm"] .product-plan .pop-badge { background: var(--surface-2); color: var(--text); }
[data-chrome="calm"] .fine-print-grid > .pop-card { border: 0; border-radius: 0; box-shadow: none; background: none; }
[data-chrome="calm"] .billing-toggle { border: 1px solid var(--edge); border-radius: 8px; box-shadow: none; }
[data-chrome="calm"] .billing-toggle a { border-radius: 6px; }
[data-chrome="calm"] .billing-toggle a.is-active { background: var(--surface-2); color: var(--text); }
[data-chrome="calm"] .billing-save { border: 0; }
[data-chrome="calm"] .xp .sf-title :is(.sf-lead,mark) { display: block; }
[data-chrome="calm"] .dg-hero-sub code { display: inline-block; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
/* Long API examples scroll inside the code panel, rather than widening a phone. */
[data-chrome="calm"] :is(.m-api-product-steps,.m-api-product-step,.m-api-product-step-body,.m-appbk-steps,.m-appbk-step,.m-appbk-step-body) { min-width: 0; max-width: 100%; }
[data-chrome="calm"] :is(.m-api-product-step-body,.m-appbk-step-body) { overflow-wrap: anywhere; }
[data-chrome="calm"] :is(.m-api-product-code-block,.m-appbk-code) { min-width: 0; max-width: 100%; overflow-x: auto; }
[data-chrome="calm"] :is(.m-api-product-code-block,.m-appbk-code) pre { min-width: 0; max-width: 100%; overflow-x: auto; }
[data-chrome="calm"] :is(.shell-member,.shell-admin) { --success: var(--accent-text,var(--text)); --warn: var(--accent-text,var(--text)); }
@media (max-width:560px) {
  [data-chrome="calm"] .dl-file-row { flex-wrap: wrap; }
  [data-chrome="calm"] .dl-file-row .pop-btn { margin-left: 0; }
  [data-chrome="calm"] .download-card { min-width: 0; }
  [data-chrome="calm"] .download-card .pop-card__title { overflow-wrap: anywhere; }
}
[data-chrome="calm"] .pop-shell__main .panel { min-width: 0; }
@media (max-width:560px) {
  [data-chrome="calm"] .m-showcase-tree li { flex-wrap: wrap; gap: 4px 12px; }
  [data-chrome="calm"] .m-showcase-tree .muted { white-space: normal; overflow-wrap: anywhere; }
  [data-chrome="calm"] .m-showcase-tree code { max-width: 100%; overflow-wrap: anywhere; }
}
[data-chrome="calm"] .xp .sf-close-card h2 :is(.sf-lead,mark) { display: block; }
[data-chrome="calm"] .pop-shell.is-open .pop-side { box-shadow: var(--shadow-md); }
/* Long-form reading and the 404 use the same content measure and type scale. */
[data-chrome="calm"] .legal-page :is(p,li) { font-size: 17px; line-height: 28px; }
[data-chrome="calm"] .notfound { max-width: 1168px; margin: 0 auto; padding: 112px 24px; min-height: 60vh; display: grid; align-content: center; justify-items: start; gap: 20px; }
[data-chrome="calm"] .notfound-code { color: var(--muted); font: 600 12.5px/16px var(--font-body); letter-spacing: .08em; }
[data-chrome="calm"] .notfound h1 { font-size: 56px; line-height: 60px; letter-spacing: -.02em; }
[data-chrome="calm"] .notfound p { max-width: 60ch; color: var(--muted); font-size: 17px; line-height: 28px; }
@media (max-width:760px) {
  [data-chrome="calm"] .legal-page :is(p,li),[data-chrome="calm"] .notfound p { font-size: 16px; line-height: 26px; }
  [data-chrome="calm"] .notfound { padding: 72px 20px; }
  [data-chrome="calm"] .notfound h1 { font-size: 38px; line-height: 42px; }
}
[data-chrome="calm"] :is(.cms-plan-ribbon,.vps-vs,.dep-vs,.auth-cursor,.thanks-check,.thanks-wait,.dz-keypanel) { transform: none; rotate: none; }
[data-chrome="calm"] .cms-plan-ribbon { border: 0; box-shadow: none; background: var(--surface-2); color: var(--text); }
[data-chrome="calm"] :is(.hx-term-btn,.auth-mock-btn,.ios-btn,.shot-phone-btn) { border-width: 1px; border-radius: 10px; box-shadow: none; }
[data-chrome="calm"] .hx-term-btn:is(:hover,:active) { transform: none; box-shadow: none; }
/* Beat the house-only board selector, including member/admin shells without a pack. */
:root[data-chrome="calm"] body { background-image: none; background-color: var(--bg); background-size: auto; }
/* Injected billing HTML uses ID-scoped legacy rules. Geometry and labels follow
   the same chrome contract even there; focus remains a real visible ring. */
[data-chrome="calm"] :is(.pop-btn,.button) { border-width: 1px !important; border-radius: 10px !important; box-shadow: none !important; transform: none !important; }
[data-chrome="calm"] :is(.pop-btn,.button):focus-visible { box-shadow: var(--shadow-focus) !important; }
[data-chrome="calm"] :is(.pop-label,.eyebrow,.section-kicker) { background: none !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; box-shadow: none !important; color: var(--calm-muted) !important; font-size: 12.5px !important; font-weight: 600 !important; letter-spacing: .08em !important; }

/* Plan flags keep an opaque, readable face in featured and current cards. */
[data-chrome="calm"] .pop-price__flag { align-self: start; display: inline-flex; width: fit-content; padding: 5px 10px; font-size: 13px; line-height: 20px; background: var(--calm-text); color: var(--calm-bg); }
[data-chrome="calm"] :is(.demo-design > summary,.nav-demo-btn) { border: 1px solid var(--edge); border-radius: 8px; background: var(--surface); color: var(--text); box-shadow: none; transform: none; min-height: 44px; }
[data-chrome="calm"] .demo-design-menu { border: 1px solid var(--edge); border-radius: 10px; box-shadow: var(--shadow-md); }
[data-chrome="calm"] :is(.pop-header__link,.pop-header__burger,.pop-header__cta,.sf-switch-chips .pop-tag) { min-height: 44px; }
[data-chrome="calm"] :is(.hero-mock,.hx-key-panel,.hx-center-panel,.m-showcase-landing-visual,.m-subscription-saas-landing-mock) { transform: none !important; rotate: none !important; }

/* The storefront mark follows Vital's teal and neutral type in either theme. */
[data-chrome="calm"] .ss-logo path:nth-child(1) { stroke: none; }
[data-chrome="calm"] .ss-logo path:nth-child(2) { stroke: var(--text); }
[data-chrome="calm"] .ss-logo path:nth-child(3) { stroke: var(--accent); }

[data-chrome="calm"] :is(.seg.is-on .seg-sub,.m-api-product-trend) { color: var(--text); }
[data-chrome="calm"] .offer-ribbon { background: var(--surface); color: var(--text); border: 1px solid var(--edge); border-radius: 10px; box-shadow: none; transform: none; }
[data-chrome="calm"] .offer-ribbon-tag { color: var(--text); }

[data-chrome="calm"] .cms-plan { border-width: 1px; border-radius: 14px; box-shadow: var(--shadow-sm); }
[data-chrome="calm"] .cms-plan.is-featured { background: var(--calm-surface); color: var(--calm-text); }
[data-chrome="calm"] .cms-plan.is-featured :is(.cms-plan-desc,.cms-plan-per) { color: var(--calm-muted); }
[data-chrome="calm"] .cms-plan.is-featured .cms-plan-cta.pop-btn--primary,
[data-chrome="calm"] .cms-plan.is-featured .cms-plan-cta.pop-btn--primary:is(:hover,:active,:focus-visible) { background: var(--primary-fill); color: var(--primary-label); }


/* Neutral stat faces must also reset the contrast layer's accent foregrounds. */
[data-chrome="calm"] .pop-stat:not(.pop-stat--paper):not(.pop-stat--mint):not(.pop-stat--pink):not(.pop-stat--lilac) {
  color: var(--calm-text); --text: var(--calm-text); --text-soft: var(--calm-muted); --text-faint: var(--calm-muted);
}
/* One profile feature group replaces the duplicate generic and long chip clouds. */
[data-chrome="calm"] .hero-proof { display: none; }
[data-chrome="calm"] .chipwall-chip:nth-child(n+7) { display: none; }
[data-chrome="calm"] .pop-stat .pop-stat__note { color: var(--calm-muted); }
[data-chrome="calm"] .pop-header__brand { min-height: 44px; }
@media(max-width:760px) {
  [data-chrome="calm"] .sf a:not(.pop-btn),
  [data-chrome="calm"] .pop-footer :is(a,button) { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; }
}
@media(max-width:360px) {
  [data-chrome="calm"] .is-demo .pop-header { padding-inline: 12px; }
  [data-chrome="calm"] .is-demo .pop-header__brand { font-size: 14px; gap: 6px; }
  [data-chrome="calm"] .is-demo .pop-header__brand .ss-logo { width: 24px !important; height: 24px !important; }
  [data-chrome="calm"] .is-demo .demo-design-mobile { min-width: 0; }
  [data-chrome="calm"] .is-demo .demo-design-mobile summary { max-width: 110px; white-space: normal; }
}
@media(max-width:360px) {
  [data-chrome="calm"] .is-demo .demo-design-mobile .demo-design-menu { position: fixed; top: 72px; left: 12px; right: 12px; width: auto; }
}

/* Review fixes: semantic app surfaces, proportional reading type, full-height chrome. */
:root[data-chrome="calm"] {
  --radius: var(--radius-card);
  --side: var(--calm-side, var(--surface)); --side-text: var(--calm-side-text, var(--text));
  --side-muted: var(--muted); --side-hover: var(--surface-2);
  --success: var(--calm-success, var(--accent)); --warn: var(--calm-warning, var(--accent));
  --warning: var(--warn); --info: var(--calm-info, var(--accent)); --danger: var(--calm-danger, var(--accent));
  --mint: color-mix(in srgb, var(--success) 14%, var(--surface));
  --pink: color-mix(in srgb, var(--warn) 14%, var(--surface));
  --lilac: color-mix(in srgb, var(--info) 14%, var(--surface));
  --red: color-mix(in srgb, var(--danger) 14%, var(--surface));
  --status-ink: var(--text); --accent-soft: color-mix(in srgb, var(--accent) 14%, var(--surface));
}
[data-chrome="calm"] :is(h3,h4,.pop-stat__value,.pop-price__amount,[class$="-stat-v"]) { letter-spacing: max(-.01em, var(--type-heading-tracking, 0em)); }
[data-chrome="calm"][data-design="plinth"] :is(h3,h4,.pop-price__name) { font-size: max(20px, 1.1rem); line-height: 1.4; }
[data-chrome="calm"] :is(p,.pop-card__body,.dg-card-pitch,.bento-card p,.social-note) { font-family: var(--font-body), system-ui, sans-serif; }
[data-chrome="calm"] .dg-hero h1 em { background: none; color: inherit; padding: 0; line-height: 1.2; }
[data-chrome="calm"] .dg-card { content-visibility: visible; }
[data-chrome="calm"] .dg-card .pop-badge { background: var(--surface-2); color: var(--text); }
[data-chrome="calm"] :is(.pop-side,.pop-shell__topbar) { background: var(--side); color: var(--side-text); border-color: var(--edge); }
[data-chrome="calm"] .pop-side :is(.pop-side__logo,.pop-side__link,.pop-side__user,.pop-icon,.pop-side__usermeta strong) { color: var(--side-text); }
[data-chrome="calm"] .pop-side :is(.pop-side__link.is-active,.pop-side__link:hover) { background: color-mix(in srgb, var(--side-text) 10%, var(--side)); color: var(--side-text); }
[data-chrome="calm"] .pop-side__foot { border-color: var(--edge); }
[data-chrome="calm"] :is(.pop-avatar--pink,.pop-avatar--mint,.pop-avatar--lilac,.pop-stat--mint,.pop-stat--pink,.pop-stat--lilac,.pop-badge--mint,.pop-badge--pink,.pop-badge--lilac,.pop-badge--red,.pop-alert--danger,.pop-alert--success,.pop-feed__ico--red,.pop-feed__ico--mint,.pop-feed__ico--pink,.pop-feed__ico--lilac,.pop-field__msg i,.dep-chips span:nth-child(n+2),.pop-btn--danger,.key-reveal code) { color: var(--text); }
[data-chrome="calm"] :is(.auth-success,.auth-check,.auth-success-sub,.app-status,.app-status .dot) { background: var(--mint); color: var(--text); }
[data-chrome="calm"] .auth-success { gap: 10px; }
[data-chrome="calm"] .auth-success strong { white-space: nowrap; flex: none; }
[data-chrome="calm"] .auth-success-sub { font-family: var(--font-body); line-height: 1.4; }
[data-chrome="calm"] .xp-flow li::after { height: 1px; background: var(--edge-strong); }
/* One neutral stat tile style across the seven apps. */
[data-chrome="calm"] :is(.m-subscription-saas-stat,.m-image-studio-stat,.m-credit-usage-stat,.m-api-product-stat,.m-appbk-stat,.m-showcase-stat,.m-digital-downloads-stat) {
  border: 1px solid var(--edge); border-radius: 14px; background: var(--surface); color: var(--text); padding: 18px; box-shadow: var(--shadow-sm);
}
[data-chrome="calm"] :is(.m-subscription-saas-stat,.m-image-studio-stat,.m-credit-usage-stat,.m-api-product-stat,.m-appbk-stat,.m-showcase-stat,.m-digital-downloads-stat) :is(strong,b) { color: var(--text); }
/* Profile feature panels align with the same 1120px column as the rest of the landing. */
[data-chrome="calm"] :is(.m-subscription-saas-landing,.m-image-studio-landing,.m-digital-downloads-landing,.m-credit-usage-landing,.m-api-product-landing,.m-appbk-landing,.m-showcase-landing) { padding: 96px 24px; margin: 0; overflow: hidden; }
[data-chrome="calm"] :is(.m-subscription-saas-landing-inner,.m-image-studio-landing-inner,.m-digital-downloads-landing-inner,.m-credit-usage-landing-inner,.m-api-product-landing-inner,.m-appbk-landing-inner,.m-showcase-landing-inner) { width: 100%; max-width: 1120px; margin-inline: auto; min-width: 0; }
[data-chrome="calm"] .m-api-product-landing-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; }
[data-chrome="calm"] :is(.m-api-product-term,.m-api-product-landing-copy) { min-width: 0; max-width: 100%; }
[data-chrome="calm"] .m-api-product-term { overflow: auto; }
[data-chrome="calm"] .m-credit-usage-landing { padding-bottom: 64px; }
[data-chrome="calm"] .m-credit-usage-landing-log { overflow: visible; }
/* Phone buttons and the response panel each have their own space. */
[data-chrome="calm"] .m-appbk-phone { width: 240px; }
[data-chrome="calm"] .m-appbk-phone-screen { padding-inline: 14px; }
[data-chrome="calm"] .m-appbk-phone .ios-btn { white-space: nowrap; font-size: 13px; }
[data-chrome="calm"] .m-appbk-call { position: relative; inset: auto; width: min(300px,100%); margin: 20px 0 0 auto; }
[data-chrome="calm"] .m-appbk-table { border-collapse: collapse; table-layout: fixed; }
[data-chrome="calm"] .m-appbk-table :is(th,td) { text-align: left; padding: 12px; }
[data-chrome="calm"] .m-appbk-table :is(th,td):first-child { width: 38%; }
[data-chrome="calm"] .m-appbk-table :is(th,td):last-child { width: 26%; }

[data-chrome="calm"] .m-dd-pay { background: var(--text); color: var(--bg); }
[data-chrome="calm"] .m-dd-pay :is(span,b,strong) { background: transparent; color: inherit; }
[data-chrome="calm"] .is-demo .offer-ribbon { display: none; }
@media(max-width:760px) {
  [data-chrome="calm"] :is(.m-subscription-saas-landing,.m-image-studio-landing,.m-digital-downloads-landing,.m-credit-usage-landing,.m-api-product-landing,.m-appbk-landing,.m-showcase-landing) { padding: 64px 20px; }
  [data-chrome="calm"] .m-api-product-landing-inner { grid-template-columns: minmax(0,1fr); gap: 32px; }
  [data-chrome="calm"] .demo-design-mobile summary { white-space: nowrap !important; max-width: none !important; font-family: var(--font-body); font-size: 12px; padding-inline: 8px; }
  [data-chrome="calm"] .is-demo .pop-header__brand { font-size: 16px; }
  [data-chrome="calm"] .auth-success-sub { font-size: 12px; }
}

[data-chrome="calm"] :is(.m-credit-usage-spark-area,.m-image-studio-spark-area) { fill: var(--accent); opacity: .14; }
[data-chrome="calm"] :is(.m-credit-usage-spark-line,.m-image-studio-spark-line) { fill: none; stroke: var(--text); opacity: .65; }
[data-chrome="calm"] .m-showcase-gauge-svg { display: none; }
[data-chrome="calm"] .m-showcase-gauge-mid { position: static; transform: none; }
[data-chrome="calm"] .m-showcase-gauge { display: grid; min-height: 120px; place-items: center; }
[data-chrome="calm"] .m-showcase-bar-row { grid-template-columns: minmax(0,1fr) auto; }
[data-chrome="calm"] .m-appbk-landing-stage { flex-direction: column; }
[data-chrome="calm"] .m-appbk-call { max-width: 100%; margin: 24px auto 0; }
[data-chrome="calm"] :is(.m-appbk-signin-google,.m-appbk-signin-apple) { white-space: nowrap; font-size: 13px; }
/* The shared kit’s fixed house status foregrounds follow tinted pack surfaces. */
[data-chrome="calm"] :is(.skip-link,.console-path,.console-live,.status-pill,.pipe-node,.billing-save,.ledger-type,.pop-avatar,.xm-toast,.xm-item.is-done,.xm-pro,.xm-badge,.xm-stats span,.xm-stats b,.versus-head,.key-btn--danger,.cms-eyebrow,.pill.is-on,.pill.is-on span) { color: var(--text); opacity: 1; }
[data-chrome="calm"] .skip-link { background: var(--surface); }
[data-chrome="calm"] .pop-side :is(.pop-side__user,.pop-side__credits,.pop-side__user:hover,.pop-side__credits:hover) { background: var(--side); color: var(--side-text); }
[data-chrome="calm"] .pop-side__usermeta span { color: var(--muted); }
[data-chrome="calm"] :is(.scene-api .term,.scene-app .api-card,.console) { background: var(--surface); color: var(--text); }
[data-chrome="calm"] :is(.scene-api .term,.scene-app .api-card,.console) :is(span,em,b) { color: var(--text); opacity: 1; }
[data-chrome="calm"] :is(.term-tag,.pill-201) { background: var(--surface-2); color: var(--text); }
[data-chrome="calm"] .xm-code .c { color: var(--muted); }
[data-chrome="calm"] .th-designs-link { background: var(--surface); color: var(--text); border-color: var(--edge); }
[data-chrome="calm"] .pipe-stage .pipe-node { color: var(--text); }
[data-chrome="calm"] :is(.terminal,.sig-terminal) :is(.tl-comment,.tl-out),
[data-chrome="calm"] :is(.tl.tl-comment,.tl.tl-out) { color: var(--muted); opacity: 1; }
[data-chrome="calm"] .pop-side__credits span { color: var(--muted); }
[data-chrome="calm"] .pop-avatar { background: var(--surface-2); color: var(--text); }
[data-chrome="calm"] .xm-stats > span { background: var(--surface-2); color: var(--text); }
[data-chrome="calm"] .pricing-grid { grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); }
/* Tables keep their complete compact summary inside narrow content columns. */
[data-chrome="calm"] .adm-users-table { container-type: inline-size; }
@container (max-width:850px) { .adm-users-table .adm-optional { display: none; } }
@container (max-width:500px) { .adm-users-table .adm-detail { display: none; } }
[data-chrome="calm"] .adm-users-table .pop-table { min-width: 0; width: 100%; }
[data-chrome="calm"] .adm-users-table :is(th,td) { padding-inline: 12px; }
[data-chrome="calm"] .adm-users-table .pop-table__who { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
[data-chrome="calm"] .adm-users-table .adm-sub { overflow-wrap: anywhere; }
:root[data-chrome="calm"],
:root[data-chrome="calm"]:not([data-design])[data-accent][data-theme] {
  --text: var(--calm-safe-text); --muted: var(--calm-safe-muted);
  --accent-text: var(--calm-safe-accent);
  --success-soft: var(--mint); --info-soft: var(--lilac); --danger-soft: var(--red);
  --warning-soft: var(--pink); --warn-soft: var(--pink); --surface-3: var(--surface-2);
}
[data-chrome="calm"] .xm-json { background: var(--surface); color: var(--text); }
[data-chrome="calm"] :is(.m-subscription-saas-counter-card,.m-credit-usage-tile) { background: var(--surface); border: 1px solid var(--edge); border-radius: 14px; }
[data-chrome="calm"] .m-subscription-saas-tick em { color: var(--text); }
[data-chrome="calm"] :is(.m-appbk-status-200,.m-appbk-jv,.m-api-product-status-200,.m-api-product-jk,.m-api-product-jv) { color: var(--text); }
[data-chrome="calm"] .pipe-stage:nth-child(n) .pipe-node { background: var(--surface-2); color: var(--text); }
[data-chrome="calm"] [class*="m-"]:is([class*="-pill"],[class*="-badge"],[class*="-tag"],[class*="-chip"],[class*="-kind"],[class*="-verb"],[class*="-code"],[class*="-auth"]) { color: var(--text); }
[data-chrome="calm"] .m-subscription-saas-gauge i { background: var(--accent) !important; opacity: .65; }
[data-chrome="calm"] .m-subscription-saas-meter:nth-child(2n) .m-subscription-saas-gauge i { background: var(--text) !important; opacity: .4; }

/* Completed sample illustrations make the studio scene useful at a glance. */
[data-chrome="calm"] .scene-studio .st-tile:not(.st-gening) { background: var(--surface-2); }
[data-chrome="calm"] .scene-studio .st-tile:not(.st-gening)::before { content: ''; position: absolute; background: var(--accent); }
[data-chrome="calm"] .scene-studio :is(.st-i1,.st-i5)::before { width: 62%; height: 62%; border-radius: 50%; left: 19%; top: 19%; }
[data-chrome="calm"] .scene-studio .st-i2::before { inset: 35% -10% -25% 10%; border-radius: 50% 50% 0 0; }
[data-chrome="calm"] .scene-studio .st-i3::before { inset: 18%; border-radius: 50%; box-shadow: inset 14px 0 var(--surface-2); }
[data-chrome="calm"] .scene-studio .st-i6::before { inset: 25%; transform: rotate(45deg); }
[data-chrome="calm"] .m-pack :is(.stat,[class*="-stat"],[class*="-tile"]) > strong { letter-spacing: max(-.01em, var(--type-heading-tracking, 0em)); }

/* Nine demo links form balanced rows rather than stranding the final example. */
[data-chrome="calm"] .product-demo-strip .demo-pills { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 880px; margin-inline: auto; }
[data-chrome="calm"] .product-demo-strip .demo-pills .pop-tag { justify-content: center; white-space: normal; text-align: center; }
@media (max-width:600px) { [data-chrome="calm"] .product-demo-strip .demo-pills { grid-template-columns: 1fr; } }

/* Review 5: accent scenes, honest mobile crops and consistent type details. */
[data-chrome="calm"] .bento-card:nth-child(6) .feature-ico { background: var(--accent); color: var(--accent-ink); }
[data-chrome="calm"] .bento-card:not(:nth-child(6)) .feature-ico { background: var(--surface-2); color: var(--text); }
[data-chrome="calm"] .adm-users-table .pop-table__who { white-space: nowrap; overflow-wrap: normal; }
[data-chrome="calm"] .adm-users-table .adm-sub { overflow-wrap: normal; }
[data-chrome="calm"] .demo-closing { padding-block: 64px; }
[data-chrome="calm"] .pop-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
[data-chrome="calm"] .pop-footer__col h3 { font: 600 12px/20px var(--font-body); letter-spacing: .04em; margin-bottom: 4px; }
[data-chrome="calm"] .pop-footer__col a { display: block; margin: 0; }
[data-chrome="calm"] .xp-kicker { margin-bottom: 20px; }
[data-chrome="calm"] .xm-bars i { background: var(--accent); }
[data-chrome="calm"] .xm-tile { overflow: hidden; }
[data-chrome="calm"] .xm-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
[data-chrome="calm"] .xp-card-shot { display: grid; place-items: center; }
[data-chrome="calm"] .xp-card-shot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
[data-chrome="calm"] .dg-card-meta { display: none; }
[data-chrome="calm"] .product-stats { margin-top: 24px; }
[data-chrome="calm"][data-design="plinth"] .m-pack :is(.stat,[class*="-stat"]) > strong { font-size: 32px; line-height: 1.2; letter-spacing: 0; }
[data-chrome="calm"][data-design="plinth"] .m-pack :is(h2,h3) { font-size: 20px; line-height: 28px; letter-spacing: 0; }
[data-design="shipyard"] :is(.pop-price__amount,.stat,.m-pack,.plan-price-note,.billing-toggle) { font-feature-settings: "zero" 0; }
@media(max-width:760px) { [data-chrome="calm"] .sf-guides { display: grid; gap: 16px; } }

[data-chrome="calm"] .dg-card-top .pop-badge { display: none; }
[data-chrome="calm"] .is-demo .cms-band:has(.cms-ctaband) { padding-block: 64px; }

[data-chrome="calm"] .m-pack :is(.eyebrow,.pop-label) { display: block; }

/* Hero-scene mocks (live audit, 13 Nov 2026): status tints follow the pack, so their labels use
   the pack text colour, and tints are never used as a text colour. */
html[data-chrome="calm"] :is(.hx-key-pill,.hx-term-live) { background: var(--surface-2); color: var(--text); border-color: var(--edge); }
html[data-chrome="calm"] :is(.hx-key-pill,.hx-term-live) i { background: var(--text); }
html[data-chrome="calm"] .hx-key-kpi:nth-child(n+2) { background: var(--surface-2); color: var(--text); }
html[data-chrome="calm"] .hx-key-kpi:nth-child(1) { background: var(--accent); color: var(--accent-ink); }
html[data-chrome="calm"] .hx-key-kpi :is(span,b,em) { color: inherit; opacity: 1; }
html[data-chrome="calm"] :is(.hx-term-ps,.hx-term-flag,.hx-term-pitch) { color: var(--muted); }
html[data-chrome="calm"] .hx-bill-btn:not(.hx-bill-btn-ghost) { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
html[data-chrome="calm"] .hx-bill-btn-ghost { background: transparent; color: var(--text); border-color: var(--edge-strong); }

/* Buyer showcase (subscription mode): tint aliases can become dark colour-mix()
   fills. Keep the reference chips and comparison labels on a semantic surface,
   and use each terminal/comparison face's own readable text. */
html[data-chrome="calm"] :is(.refshow-chip,.vps-col-head,.vps-free) { background: var(--surface-2); color: var(--text); }
html[data-chrome="calm"] .refshow-term .t-punc { color: inherit; opacity: 1; }
html[data-chrome="calm"] :is(.vps-vs,.dep-vs) { color: var(--side-text); }
/* Keep each design's accent where it carries meaning: the selected reference
   chip and the Simple Stack side of the cost comparison. --accent-ink is the
   computed readable label for an accent fill in every pack and theme. */
html[data-chrome="calm"] .refshow-chip:nth-child(5n),
html[data-chrome="calm"] :is(.vps-col-us .vps-col-head,.vps-free) { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
