/* Shared component contracts. Geometry belongs here; page layout stays in its owner. */
body.tst-redesign {
  --paper:var(--tst-canvas);
  --ink:var(--tst-ink);
  --muted:var(--tst-muted);
  --green:var(--tst-accent);
  --lime:var(--tst-accent-soft);
  --line:var(--tst-line);
  --surface:var(--tst-surface-subtle);
  --soft-green:var(--tst-accent-soft);
  --warning:var(--tst-warning);
  --error:var(--tst-error);
  --nav-shadow:var(--tst-shadow-nav);
  background:var(--paper);
  font-family:var(--tst-font-sans);
  font-size:var(--tst-type-body);
  line-height:var(--tst-leading-body);
}
.tst-redesign .tstd-shell {background:transparent}
/* Heading/card/price/button roles share Space Grotesk; reading/form/navigation use Be Vietnam Pro. */
.tst-redesign :is(h1,h2,h3,h4,h5,h6) {font-family:var(--tst-font-display);font-weight:700;letter-spacing:0;overflow-wrap:anywhere;text-transform:none}
.tst-redesign :is(.tst-product-price,.summary>.price) {font-family:var(--tst-font-display);font-weight:700}
.tst-redesign :is(.tstd-search-field,.tstd-city) {background:var(--tst-field-bg,var(--tst-surface));border:var(--tst-border-input) solid var(--tst-field-border,var(--tst-field-edge,var(--tst-input-border)));border-radius:var(--tst-radius-input);box-shadow:var(--tst-field-shadow,var(--tst-shadow-input))}
.tst-redesign :is(.product-picture,.tstd-card-media>a,.tst-saved-media,.tst-action-card,.tst-reading-card,.tstd-detail aside,.tst-empty-state,.tracking-empty,.woocommerce form.login,.woocommerce form.register):where(:not(.tst-card--product-featured .tst-card-image-link)) {border-radius:var(--tst-radius-card)}
.tst-redesign :is(.tstd-hero,.tstd-hero-media>img,.tstd-cover,.tst-auth-art,.editorial-media) {border-radius:var(--tst-radius-feature)}
.tst-redesign :is(.badge,.tstd-life,.tstd-card-tags span,.tst-status-pill) {border-radius:var(--tst-radius-badge)}
.tst-redesign :is(.main-nav,.main-nav>a,.nav-tools,.tstd-bottom,.tstd-bottom>a,.tstd-filter-toolbar button,.tst-shop-links>a) {border-radius:var(--tst-radius-pill)}
.tst-redesign .tstd-card-media .tstd-save {border-radius:var(--tst-radius-round)!important}
.tst-redesign .main-nav,
.tst-redesign .nav-tools {background:var(--surface);border-color:var(--line)}
.tst-redesign .main-nav a {color:var(--muted)}
.tst-redesign .main-nav a[aria-current=page] {color:var(--green);background:var(--tst-surface)}
.tst-redesign :is(.tst-me-link,.tracking-callout) {background:var(--surface)}
.tstd-shortcut-weekend {--tst-shortcut-color:var(--tst-shortcut-weekend)}
.tstd-shortcut-free {--tst-shortcut-color:var(--tst-shortcut-free)}
.tstd-shortcut-upcoming {--tst-shortcut-color:var(--tst-shortcut-upcoming)}
.tstd-shortcut-exhibition {--tst-shortcut-color:var(--tst-shortcut-exhibition)}
.tst-redesign .tstd-shortcut-icon>.tst-icon {filter:none}
.tst-redesign .tstd-shortcut small {color:var(--tst-ink)}
.tst-redesign .tstd-card p {color:var(--muted)}
.tst-redesign .tstd-hero {background:var(--tst-surface-feature)}
.tst-redesign .tstd-hero :is(.tstd-kicker,.tstd-hero-description) {color:var(--tst-ink)}
.tst-redesign .tstd-hero-copy h1 {color:var(--ink)}
.tst-redesign .tracking-empty {padding:var(--tst-space-6);border-style:solid}
.tst-redesign .tracking-help {display:grid;gap:var(--tst-space-3)}
.tst-redesign .tst-reading-card {background:var(--tst-surface);border-color:var(--line)}
.tst-redesign :is(a,button,input,select,textarea,summary):focus-visible {outline:2px solid var(--tst-focus);outline-offset:2px}

/* Field boundaries are neutral; actions/choice glyphs keep their own Ink token. */
.tst-redesign :where(input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea,.select2-selection--single,.tstd-search-field,.tstd-city):where(:not(:focus):not(:focus-within)) {border-color:var(--tst-field-border,var(--tst-field-edge,var(--tst-input-border)))}
@media(hover:hover) and (pointer:fine) {
  .tst-redesign :where(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]),select,textarea,.select2-selection--single,.tstd-search-field,.tstd-city,.tst-pop-input-group,.wc-block-components-quantity-selector):where(:not(:disabled):not(:focus):not(:focus-within)):hover {--tst-field-edge:var(--tst-input-border-hover)}
}
/* Single-select chrome is shared; native option menus and keyboard behavior stay intact. */
.tst-brand-pop {
  /* Nested preview geometry keeps the same global semantic palette. */
  --ink:var(--tst-ink);--muted:var(--tst-muted);--green:var(--tst-accent);
  --lime:var(--tst-accent-soft);--line:var(--tst-line);--surface:var(--tst-surface);
  --soft-green:var(--tst-accent-soft);
}
.tst-redesign :is(.tstd-shell,.tst-system-section,.filters,.tst-catalog-form,.tracking-form,.tst-journey-dialog) select:not([multiple]):not([size]) {
  appearance:none;-webkit-appearance:none;
  background-image:url("icons/vuesax/chevron-down.svg");background-repeat:no-repeat;
  background-position:right var(--tst-space-3) center;background-size:var(--tst-space-4);
  padding-right:calc(var(--tst-space-3) + var(--tst-space-4) + var(--tst-space-2))!important;
  min-width:0;max-width:100%;box-sizing:border-box;
}
/* The composite frame owns all chrome, including focus; its select is only content. */
.tst-redesign .tstd-city select:not([multiple]):not([size]) {
  flex:1;width:0;min-height:var(--tst-touch-min);margin:0;
  border:0;border-radius:0;background-color:transparent;box-shadow:none;
}
@media(forced-colors:active) {
  .tst-redesign :is(.tstd-shell,.tst-system-section,.filters,.tst-catalog-form,.tracking-form,.tst-journey-dialog) select:not([multiple]):not([size]) {appearance:auto;-webkit-appearance:auto;background-image:none}
}
/* Composite fields own focus feedback; no second ring around their inner control. */
.tst-redesign :is(.tstd-search-field,.tstd-city):focus-within {--tst-field-shadow:var(--tst-shadow-input-focus),inset 0 0 0 var(--tst-input-focus-inset) var(--tst-field-border,var(--tst-input-focus));border-color:var(--tst-field-border,var(--tst-input-focus));outline:none}
.tst-redesign :is(.tstd-search-field,.tstd-city) :is(input,select):not([type=checkbox]):not([type=radio]):focus {outline:none;box-shadow:none}
.tst-redesign .skip-link {z-index:1200}

.tst-redesign .tstd-hero-media {overflow:hidden;border-radius:var(--tst-radius-feature)}
.tst-redesign .tstd-hero-copy {padding:var(--tst-space-6)}
/* Base style.css owns display:flex; preserve route exclusions such as the full-screen map. */
.tst-redesign .tracking-callout {align-items:center;gap:var(--tst-heading-gap);margin-block:0 var(--tst-section-gap);padding:var(--tst-panel-padding);border:1px solid var(--tst-support-surface);border-radius:var(--tst-radius-card);background:var(--tst-support-surface)}
.tst-redesign .tracking-callout-copy {flex:1;min-width:0}
.tst-redesign .tracking-callout .eyebrow {margin:0 0 var(--tst-inline-gap)}
.tst-redesign .tracking-callout h2 {font-size:var(--tst-type-section);line-height:var(--tst-leading-heading);margin:0 0 var(--tst-copy-gap)}
.tst-redesign .tracking-callout p {margin:0;max-width:62ch;font-size:var(--tst-type-body);line-height:var(--tst-leading-body)}
.tst-redesign .tracking-callout .button {flex:none;white-space:nowrap}
.tst-redesign .tstd-privacy {max-width:var(--page-width);margin:var(--tst-space-4) auto 0;color:var(--muted);font-size:var(--tst-type-label)}
.tst-redesign .tstd-privacy p {max-width:64ch;font-size:var(--tst-type-reading);line-height:var(--tst-leading-body);margin:var(--tst-space-2) 0 var(--tst-space-3)}
.tst-redesign .tstd-privacy .tstd-analytics-consent {margin:0;font-size:var(--tst-type-label)!important;min-height:44px;align-items:center;gap:var(--tst-space-3)}
.tst-redesign button:disabled {cursor:not-allowed}
.tst-redesign [aria-busy=true] button:disabled {cursor:progress}
@media(min-width:601px) {
  .tst-redesign .tstd-shortcut {border:1px solid var(--tst-shortcut-color);background:var(--tst-shortcut-color)}
}
@media(min-width:1101px) {
  .tst-redesign .tstd-hero-copy {padding:var(--tst-space-7)}
  .tst-redesign .tstd-hero-copy h1 {font-size:var(--tst-type-display)}
}
@media(min-width:601px) and (max-width:900px) {.tst-redesign .tstd-hero-copy {padding:var(--tst-space-5)}}
@media(max-width:600px) {
  .tst-redesign .tstd-shortcut {background:transparent}
  .tst-redesign .tstd-shortcut-icon {background:var(--tst-shortcut-color);border:1px solid var(--tst-shortcut-color);border-radius:var(--tst-radius-card)}
  .tst-redesign .tstd-hero-media::after {content:"";position:absolute;inset:0;background:var(--tst-feature-overlay);pointer-events:none}
  .tst-redesign .tstd-hero-copy {width:76%;padding:var(--tst-space-5)}
  .tst-redesign .tstd-hero-copy h1,.tst-redesign .tstd-hero-meta {text-shadow:none;color:var(--ink)}
  .tst-redesign .tstd-hero-badge {background:var(--green);border-radius:var(--tst-radius-badge)}
  .tst-redesign .tracking-empty {padding:var(--tst-space-5)}
  .tst-redesign .tracking-callout {align-items:flex-start;flex-direction:column}
  .tst-redesign .tracking-callout .button {width:100%;justify-content:center}
}

/* Reusable primitives for new templates. Semantic states stay with the feature. */
/* White surface primitive; purchase aliases retain their native React/fieldset roots.
   Segment joining and responsive geometry belong to checkout-blocks.css. */
.tst-surface,
body.tst-redesign.tst-purchase-focus :is(.wc-block-cart__main,.wp-block-woocommerce-cart-order-summary-block:not([data-tst-cart-price-summary]),.wp-block-woocommerce-checkout-order-summary-block,
 .wc-block-checkout__form>:is(.wp-block-woocommerce-checkout-contact-information-block,.wp-block-woocommerce-checkout-shipping-address-block,.wp-block-woocommerce-checkout-billing-address-block,.wp-block-woocommerce-checkout-shipping-method-block:not(:empty),.wp-block-woocommerce-checkout-pickup-options-block:not(:empty),.wp-block-woocommerce-checkout-shipping-methods-block,.wp-block-woocommerce-checkout-payment-block,.wp-block-woocommerce-checkout-order-note-block)) {padding:var(--tst-panel-padding);border:1px solid var(--line);border-radius:var(--tst-radius-card);background:var(--tst-surface)}
.tst-stack {display:grid;gap:var(--tst-group-gap)}
.tst-cluster {display:flex;align-items:center;flex-wrap:wrap;gap:var(--tst-inline-gap)}
.tst-divider {border:0;border-top:1px solid var(--line);margin:var(--tst-space-6) 0}
/* Reading roles: one default for long copy; embedded components keep their own roles.
   The old compact class remains a compatibility alias, with no smaller reading scale. */
.tst-redesign .tst-reading-flow {max-width:var(--tst-reading-width)}
.tst-redesign :is(.tstd-prose,.tst-story-body,.tst-support-content,.tst-product-content-section,.woocommerce-product-details__short-description,.tst-reading-flow,.tst-reading-flow--compact) {font-size:var(--tst-type-reading);line-height:var(--tst-leading-reading)}
.tst-redesign :is(.tstd-prose,.tst-story-body,.tst-support-content,.tst-product-content-section,.woocommerce-product-details__short-description,.tst-reading-flow,.tst-reading-flow--compact)>:where(p,ul,ol,blockquote) {margin-block:0 var(--tst-copy-gap)}
.tst-redesign :is(.tstd-prose,.tst-story-body,.tst-support-content,.tst-product-content-section,.woocommerce-product-details__short-description,.tst-reading-flow,.tst-reading-flow--compact)>:where(h2,h3,h4) {margin-block:var(--tst-reading-heading-gap) var(--tst-heading-gap);line-height:var(--tst-leading-heading)}
.tst-redesign :is(.tstd-prose,.tst-story-body,.tst-support-content,.tst-product-content-section,.woocommerce-product-details__short-description,.tst-reading-flow,.tst-reading-flow--compact)>:where(h2) {font-size:var(--tst-type-section)}
.tst-redesign :is(.tstd-prose,.tst-story-body,.tst-support-content,.tst-product-content-section,.woocommerce-product-details__short-description,.tst-reading-flow,.tst-reading-flow--compact)>:where(h3) {font-size:var(--tst-type-subheading)}
.tst-redesign :is(.tstd-prose,.tst-story-body,.tst-support-content,.tst-product-content-section,.woocommerce-product-details__short-description,.tst-reading-flow,.tst-reading-flow--compact)>:where(h4) {font-size:var(--tst-type-card-title)}
.tst-redesign :is(.tstd-prose,.tst-story-body,.tst-support-content,.tst-product-content-section,.woocommerce-product-details__short-description,.tst-reading-flow,.tst-reading-flow--compact)>:first-child {margin-top:0}
.tst-redesign :is(.tstd-prose,.tst-story-body,.tst-support-content,.tst-product-content-section,.woocommerce-product-details__short-description,.tst-reading-flow,.tst-reading-flow--compact)>:last-child {margin-bottom:0}
.tst-redesign :is(.tstd-prose,.tst-story-body,.tst-support-content,.tst-product-content-section,.woocommerce-product-details__short-description,.tst-reading-flow,.tst-reading-flow--compact) :where(.wp-block-group,.wp-block-group__inner-container,.wp-block-column)>:where(p,ul,ol,blockquote) {margin-block:0 var(--tst-copy-gap)}
.tst-redesign :is(.tstd-prose,.tst-story-body,.tst-support-content,.tst-product-content-section,.woocommerce-product-details__short-description,.tst-reading-flow,.tst-reading-flow--compact) :where(.wp-block-group,.wp-block-group__inner-container,.wp-block-column)>:where(h2,h3,h4) {margin-block:var(--tst-reading-heading-gap) var(--tst-heading-gap);line-height:var(--tst-leading-heading)}
.tst-redesign :is(.tstd-prose,.tst-story-body,.tst-support-content,.tst-product-content-section,.woocommerce-product-details__short-description,.tst-reading-flow,.tst-reading-flow--compact) :where(.wp-block-group,.wp-block-group__inner-container,.wp-block-column)>:where(h2) {font-size:var(--tst-type-section)}
.tst-redesign :is(.tstd-prose,.tst-story-body,.tst-support-content,.tst-product-content-section,.woocommerce-product-details__short-description,.tst-reading-flow,.tst-reading-flow--compact) :where(.wp-block-group,.wp-block-group__inner-container,.wp-block-column)>:where(h3) {font-size:var(--tst-type-subheading)}
.tst-redesign :is(.tstd-prose,.tst-story-body,.tst-support-content,.tst-product-content-section,.woocommerce-product-details__short-description,.tst-reading-flow,.tst-reading-flow--compact) :where(.wp-block-group,.wp-block-group__inner-container,.wp-block-column)>:where(h4) {font-size:var(--tst-type-card-title)}
.tst-redesign :is(.tstd-prose,.tst-story-body,.tst-support-content,.tst-product-content-section,.woocommerce-product-details__short-description,.tst-reading-flow,.tst-reading-flow--compact) :where(.wp-block-group,.wp-block-group__inner-container,.wp-block-column)>:first-child {margin-top:0}
.tst-redesign :is(.tstd-prose,.tst-story-body,.tst-support-content,.tst-product-content-section,.woocommerce-product-details__short-description,.tst-reading-flow,.tst-reading-flow--compact) :where(.wp-block-group,.wp-block-group__inner-container,.wp-block-column)>:last-child {margin-bottom:0}
/* Section links share one comfortable geometry and the existing nav controller. */
.tst-section-nav {display:flex;padding:var(--tst-space-1);gap:var(--tst-section-nav-gap);overflow-x:auto;scrollbar-width:thin;border-block:1px solid var(--tst-line);background:var(--tst-canvas);white-space:nowrap}
.tst-section-nav a {display:inline-flex;flex:none;align-items:center;position:relative;padding:var(--tst-section-nav-padding-block) var(--tst-section-nav-padding-inline);color:var(--tst-muted);min-height:var(--tst-control-height);font-size:var(--tst-type-label);font-weight:600;line-height:var(--tst-leading-ui);scroll-margin-inline:var(--tst-section-nav-padding-inline)}
.tst-section-nav a[aria-current=location] {color:var(--tst-accent)}
/* Editable fields default to body; explicit field variants can raise their value role. */
.tst-redesign :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea) {font-size:var(--tst-field-font-size,var(--tst-type-body))}
/* Shared POP action primitive. Legacy campaign names are compatibility aliases. */
/* The native Woo alt adapter shares this owner on every pointer type, including
   sticky touch hover and combined disabled[disabled]:hover states. */
body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)) {
  --tst-liquid-enhance:control;
  --tst-button-bg:var(--tst-action-brand);--tst-button-ink:var(--tst-on-brand);--tst-button-edge:rgb(var(--tst-ink-rgb) / 12%);
  --tst-button-hover-bg:var(--tst-button-bg);--tst-button-hover-ink:var(--tst-button-ink);
  --tst-button-state-bg:var(--tst-button-bg);--tst-button-state-ink:var(--tst-button-ink);--tst-button-state-edge:var(--tst-button-edge);--tst-button-state-cursor:pointer;
  --tst-button-shadow:var(--tst-liquid-control-shadow);--tst-button-hover-shadow:var(--tst-button-shadow);--tst-button-hover-x:0px;--tst-button-hover-y:0px;
  --tst-button-press-x:0px;--tst-button-press-y:0px;--tst-button-icon:brightness(0);
  display:inline-flex;align-items:center;justify-content:center;gap:var(--tst-space-2);min-height:var(--tst-control-height);max-width:100%;
  padding:var(--tst-space-3) var(--tst-space-5);border:var(--tst-border-brand) solid var(--tst-button-edge);border-radius:var(--tst-radius-pill);
  background:var(--tst-button-bg);color:var(--tst-button-ink);box-shadow:var(--tst-button-shadow);
  font-family:var(--tst-font-display);font-size:var(--tst-type-control);font-weight:600;line-height:var(--tst-leading-ui);text-align:center;text-decoration:none;
  white-space:normal;overflow-wrap:anywhere;cursor:pointer;transform:none;translate:none;scale:none;
}
body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)):where(.secondary,.button--outline,.button--campaign-white,.woocommerce-orders-table .button:not(.pay,.cancel)) {
  --tst-button-bg:var(--tst-secondary-surface);--tst-button-ink:var(--tst-ink);--tst-button-hover-bg:var(--tst-secondary-hover);--tst-button-hover-ink:var(--tst-ink);
  --tst-button-hover-y:0px;--tst-button-icon:brightness(0);
}
/* Explicit city-choice variant: keep paint in the canonical owner so generic
   secondary specificity cannot split the background, label and icon states. */
body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)):where(.button--city-choice) {
  --tst-button-bg:var(--tst-surface);--tst-button-ink:var(--tst-ink);--tst-button-edge:var(--tst-line);
  --tst-button-hover-bg:var(--tst-ink);--tst-button-hover-ink:var(--tst-on-inverse);--tst-button-hover-icon:brightness(0) invert(1);
}
/* Dense table actions opt into the shared primitive; priority/state colors stay shared. */
body.tst-redesign :is(.button,.woocommerce .button):where(.button--table,.woocommerce-orders-table .button) {
  min-height:var(--tst-touch-min);padding:var(--tst-space-2) var(--tst-space-3);border-radius:var(--tst-radius-action-table);
}
body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)):where(.button--brand,.button--campaign-volt,.single_add_to_cart_button) {
  --tst-button-bg:var(--tst-action-brand);--tst-button-ink:var(--tst-on-brand);--tst-button-icon:brightness(0);
  --tst-button-hover-bg:var(--tst-button-bg);--tst-button-hover-ink:var(--tst-button-ink);
  --tst-button-shadow:var(--tst-liquid-control-shadow);--tst-button-hover-shadow:var(--tst-button-shadow);
  --tst-button-hover-x:0px;--tst-button-hover-y:0px;
  --tst-button-press-x:0px;--tst-button-press-y:0px;
}
body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)):where(.button--pink,.button--campaign-pink) {--tst-button-bg:var(--tst-brand-pink);--tst-button-ink:var(--tst-ink);--tst-button-icon:brightness(0);--tst-button-hover-bg:var(--tst-brand-coral);--tst-button-hover-ink:var(--tst-ink);--tst-button-hover-y:0px;--tst-button-edge:transparent}
body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)):where(.secondary.button--inverse) {--tst-button-bg:transparent;--tst-button-ink:var(--tst-on-inverse);--tst-button-edge:var(--tst-on-inverse);--tst-button-icon:brightness(0) invert(1)}
body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)):where(.button--campaign-display) {font-family:var(--tst-font-display);font-weight:700;font-size:var(--tst-type-subheading)}
body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google))>.tst-icon {filter:var(--tst-button-icon);translate:none}
body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)):focus-visible {outline:2px solid var(--tst-focus);outline-offset:4px}
/* Paint resolves semantic state variables for every native Woo state. Combined
   selection-opener/disabled selectors cover Woo's strongest native state rules;
   geometry stays with the component and pointer feedback remains below. */
body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)):is(:hover,:active,:focus,:disabled[disabled],.disabled,[aria-disabled=true],[aria-busy=true],.loading,.disabled[aria-haspopup=dialog][aria-disabled=false]) {background:var(--tst-button-state-bg);color:var(--tst-button-state-ink);border-color:var(--tst-button-state-edge);opacity:1;cursor:var(--tst-button-state-cursor)}
@media(hover:hover) and (pointer:fine) {
  body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)):where(:not(:disabled,[disabled],.disabled:not([aria-haspopup=dialog][aria-disabled=false]),[aria-disabled=true],[aria-busy=true],.loading)):hover {--tst-button-state-bg:var(--tst-button-hover-bg);--tst-button-state-ink:var(--tst-button-hover-ink);background:var(--tst-button-hover-bg);color:var(--tst-button-hover-ink);border-color:var(--tst-button-edge);translate:var(--tst-button-hover-x) var(--tst-button-hover-y);box-shadow:var(--tst-button-hover-shadow)}
  body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)):where(:not(:disabled,[disabled],.disabled:not([aria-haspopup=dialog][aria-disabled=false]),[aria-disabled=true],[aria-busy=true],.loading)):where(.secondary,.button--outline,.button--campaign-white):hover>.tst-icon {filter:var(--tst-button-hover-icon,brightness(0))}
}
body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)):where(:not(:disabled,[disabled],.disabled:not([aria-haspopup=dialog][aria-disabled=false]),[aria-disabled=true],[aria-busy=true],.loading)):active {--tst-button-state-bg:var(--tst-button-hover-bg);--tst-button-state-ink:var(--tst-button-hover-ink);background:var(--tst-button-hover-bg);color:var(--tst-button-hover-ink);translate:var(--tst-button-press-x) var(--tst-button-press-y);scale:none;box-shadow:none}
body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)):where(:not(:disabled,[disabled],.disabled:not([aria-haspopup=dialog][aria-disabled=false]),[aria-disabled=true],[aria-busy=true],.loading)):where(.secondary,.button--outline,.button--campaign-white):active>.tst-icon {filter:var(--tst-button-hover-icon,brightness(0))}
body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)):is(:disabled[disabled],:disabled,[disabled],.disabled:not([aria-haspopup=dialog][aria-disabled=false]),[aria-disabled=true],[aria-busy=true],.loading) {--tst-button-state-bg:var(--tst-action-disabled-surface);--tst-button-state-ink:var(--tst-action-disabled-ink);--tst-button-state-edge:var(--tst-action-disabled-edge);--tst-button-state-cursor:not-allowed;background:var(--tst-action-disabled-surface);color:var(--tst-action-disabled-ink);border-color:var(--tst-action-disabled-edge);opacity:1;cursor:not-allowed;translate:none;scale:none;box-shadow:none}
body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)):is(:disabled[disabled][aria-busy=true],[aria-busy=true],.loading),body.tst-redesign [aria-busy=true] :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)):disabled[disabled] {--tst-button-state-cursor:progress;cursor:progress}
@media(prefers-reduced-motion:reduce) {body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)) {transition:none!important}body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)):where(:not(:disabled,[disabled],.disabled:not([aria-haspopup=dialog][aria-disabled=false]),[aria-disabled=true],[aria-busy=true],.loading)):is(:hover,:active) {translate:none!important;scale:none!important}}
@media(forced-colors:active) {
  body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)) {--tst-button-state-bg:ButtonFace;--tst-button-state-ink:ButtonText;--tst-button-state-edge:ButtonText;forced-color-adjust:auto;background:ButtonFace;color:ButtonText;border-color:ButtonText;box-shadow:none}
  body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)):where(:not(:disabled,[disabled],.disabled:not([aria-haspopup=dialog][aria-disabled=false]),[aria-disabled=true],[aria-busy=true],.loading)):is(:hover,:active) {--tst-button-state-bg:Highlight;--tst-button-state-ink:HighlightText;--tst-button-state-edge:Highlight;background:Highlight;color:HighlightText;border-color:Highlight;translate:none;box-shadow:none}
  body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)):focus-visible {outline-color:Highlight}
  body.tst-redesign :is(.button,.wp-element-button,.woocommerce .button,.woocommerce .button.alt,.wc-block-components-checkout-place-order-button,.tstd-shell [type=submit]):where(:not(.tstd-search-submit,.tstd-save,.tst-mobile-save,.tst-gallery-save>.button,.nsl-button,.tstsa-google)):is(:disabled,.disabled:not([aria-haspopup=dialog][aria-disabled=false]),[aria-disabled=true],[aria-busy=true],.loading) {--tst-button-state-bg:ButtonFace;--tst-button-state-ink:GrayText;--tst-button-state-edge:GrayText;opacity:1;color:GrayText;border-color:GrayText}
}

body.tst-redesign :is(.button,.woocommerce .button).button--pop {--tst-button-icon:none}
/* Native field primitive: one rounded-square frame; focus is contiguous inside it. */
body.tst-redesign :is(.woocommerce input.input-text,.woocommerce select,.woocommerce textarea,input:not([type]),input.input-text,input[type=text],input[type=email],input[type=password],input[type=tel],input[type=url],input[type=search],input[type=number],input[type=date],input[type=datetime-local],input[type=time],input[type=month],input[type=week],select,textarea,.select2-selection--single):where(:not(.tstd-search-field input,.tstd-city select,.tst-pop-input-group>input,.tst-product-quantity input,.wc-block-components-quantity-selector__input)) {
  border:var(--tst-border-input) solid var(--tst-field-border,var(--tst-field-edge,var(--tst-input-border)));border-radius:var(--tst-field-radius,var(--tst-radius-input));background-color:var(--tst-field-bg,var(--tst-surface));color:var(--tst-field-ink,var(--tst-ink));box-shadow:var(--tst-field-shadow,var(--tst-shadow-input));
  min-height:var(--tst-control-height);min-width:0;max-width:100%;box-sizing:border-box;font-family:var(--tst-font-sans);font-size:var(--tst-type-body);font-weight:400;line-height:var(--tst-leading-ui);
}
body.tst-redesign :is(textarea,select[multiple],select[size]) {--tst-field-radius:var(--tst-radius-input);resize:vertical}
/* Woo quantity is one composite field; never nest a second input frame. */
body.tst-redesign .wc-block-components-quantity-selector {background:var(--tst-field-bg,var(--tst-surface));border:var(--tst-border-input) solid var(--tst-field-border,var(--tst-field-edge,var(--tst-input-border)));border-radius:var(--tst-radius-input);box-shadow:var(--tst-field-shadow,var(--tst-shadow-input))}
/* Explicit cart compact field variant: one inset visual frame, native44px controls. */
body.tst-redesign .wc-block-cart .tst-cart-row .wc-block-components-quantity-selector {position:relative;isolation:isolate;display:flex;width:var(--tst-cart-quantity-width);min-height:var(--tst-touch-min);height:auto;margin:0;border-width:0;background:transparent;box-shadow:none;}
body.tst-redesign .wc-block-cart .tst-cart-row .wc-block-components-quantity-selector::before {content:"";position:absolute;inset:var(--tst-cart-quantity-frame-inset) 0;z-index:-1;pointer-events:none;border:var(--tst-border-input) solid;border-color:inherit;border-radius:var(--tst-radius-input);background:var(--tst-field-bg,var(--tst-surface));box-shadow:var(--tst-field-shadow,var(--tst-shadow-input));}
body.tst-redesign .wc-block-cart .tst-cart-row .wc-block-components-quantity-selector :is(button,input.wc-block-components-quantity-selector__input) {flex:0 0 var(--tst-touch-min);width:var(--tst-touch-min);min-width:var(--tst-touch-min);min-height:var(--tst-touch-min);padding:0;text-align:center;font-size:var(--tst-type-label);}
body.tst-redesign .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {border:0;border-radius:0;background:transparent;box-shadow:none;outline:none}
/* Composite frame owns focus; avoid a second native ring on its buttons. */
body.tst-redesign .wc-block-components-quantity-selector button:focus-visible {outline:none;box-shadow:none;}
/* Borderless product stepper: keep focus inside its numeric target. */
body.tst-redesign .tst-product-quantity input.qty:focus {outline:2px solid var(--tst-focus);outline-offset:-2px}
body.tst-redesign :is(input,textarea)::placeholder {color:var(--tst-muted);opacity:1;font-weight:400}
body.tst-redesign :is(.tstd-search-field input,.tstd-city select,.tst-product-quantity input.qty,.wc-block-components-quantity-selector__input) {font-weight:400}
body.tst-redesign :is(.woocommerce input.input-text,input,select,textarea):where(:not([type=checkbox],[type=radio],[type=submit],[type=button],[type=reset],.tst-product-quantity input,.wc-block-components-quantity-selector__input,.tstd-search-field input,.tstd-city select,.tst-pop-input-group>input)):focus,
body.tst-redesign .select2-selection--single:focus,
body.tst-redesign :is(.select2-container--focus,.select2-container--open) .select2-selection--single {
  --tst-field-shadow:var(--tst-shadow-input-focus),inset 0 0 0 var(--tst-input-focus-inset) var(--tst-field-border,var(--tst-input-focus));border-width:var(--tst-border-input);border-color:var(--tst-field-border,var(--tst-input-focus));outline:none;box-shadow:var(--tst-field-shadow);
}
body.tst-redesign .wc-block-components-quantity-selector:focus-within {border-color:var(--tst-field-border,var(--tst-input-focus));--tst-field-shadow:var(--tst-shadow-input-focus),inset 0 0 0 var(--tst-input-focus-inset) var(--tst-field-border,var(--tst-input-focus))}
body.tst-redesign :is(input,select,textarea)[aria-invalid=true] {--tst-field-border:var(--tst-error)}
body.tst-redesign :is(input,select,textarea):disabled {--tst-field-shadow:none;--tst-field-bg:var(--tst-surface-subtle);--tst-field-ink:var(--tst-muted);cursor:not-allowed;opacity:1}
body.tst-redesign :is(input,textarea)[readonly] {--tst-field-bg:var(--tst-surface-subtle)}
body.tst-redesign :is(input[type=checkbox],input[type=radio]) {accent-color:var(--tst-ink)}
.tst-field {display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:var(--tst-space-2);min-width:0}
.tst-field>:is(input,select,textarea) {min-width:0;width:100%;box-sizing:border-box}
.tst-field>label,.tst-field>legend,body.tst-redesign .woocommerce form .form-row>label {font-size:var(--tst-type-label);font-weight:600}
.tst-field-message {margin:0;font-size:var(--tst-type-body);line-height:var(--tst-leading-body);color:var(--tst-muted)}
.tst-field-message--error {color:var(--tst-error)}
.tst-field-message--success {color:var(--tst-success)}
.tst-field-choice {display:flex!important;align-items:center;gap:var(--tst-space-2);min-height:var(--tst-touch-min)}
/* Status badges are factual utility labels, not clickable marketing stickers. */
.tst-status-example {position:static;display:inline-block;padding:var(--tst-space-1) var(--tst-space-2)}
body.tst-redesign :is(.badge,.tstd-life,.tst-status-pill,.tst-order-status) {border:0;border-radius:var(--tst-radius-badge);box-shadow:none;font-family:var(--tst-font-sans);font-size:var(--tst-type-caption);font-weight:700;line-height:var(--tst-leading-ui);max-width:100%;overflow-wrap:anywhere;transform:none}
body.tst-redesign .tstd-life {background:var(--tst-surface);color:var(--tst-ink)}
body.tst-redesign .tstd-life[data-life=ongoing] {background:var(--tst-brand-lime);color:var(--tst-ink)}
body.tst-redesign .tstd-life[data-life=upcoming] {background:var(--tst-brand-pink);color:var(--tst-ink)}
body.tst-redesign .tstd-life[data-life=ended] {background:var(--tst-brand-ink);color:var(--tst-on-inverse)}
body.tst-redesign .tstd-life[data-life=cancelled] {background:var(--tst-error-soft);color:var(--tst-error)}
@media(forced-colors:active) {
  body.tst-redesign :is(input,select,textarea,.select2-selection--single) {forced-color-adjust:auto}
  /* Shadows disappear in forced colors; draw focus inside the same boundary. */
  body.tst-redesign :is(.woocommerce input.input-text,input,select,textarea,.select2-selection--single):where(:not([type=checkbox],[type=radio],.tstd-search-field input,.tstd-city select,.tst-pop-input-group>input,.wc-block-components-quantity-selector__input)):focus,
  body.tst-redesign :is(.select2-container--focus,.select2-container--open) .select2-selection--single,
  body.tst-redesign :is(.tstd-search-field,.tstd-city,.tst-pop-input-group,.wc-block-components-quantity-selector):focus-within {border-color:Highlight;outline:var(--tst-input-focus-width) solid Highlight;outline-offset:calc(-1 * var(--tst-input-focus-width));box-shadow:none}
  body.tst-redesign :is(.tstd-search-field,.tstd-city,.tst-pop-input-group,.wc-block-components-quantity-selector) :is(input,select):focus {outline:none}
  body.tst-redesign :is(.badge,.tstd-life,.tst-status-pill,.tst-order-status) {border:1px solid CanvasText;background:Canvas;color:CanvasText}
}

/* Explicit compact action; keep the default button typography and native behavior. */
body.tst-redesign :is(.button,.woocommerce .button.alt).button--icon {flex:none;box-sizing:border-box;width:var(--tst-control-height);min-width:var(--tst-control-height);height:var(--tst-control-height);min-height:var(--tst-control-height);padding:var(--tst-space-2);border-radius:var(--tst-radius-round);gap:0}
body.tst-redesign .button.button--icon>.tst-icon {width:var(--tst-icon-glyph-size);height:var(--tst-icon-glyph-size);max-width:none;flex:none}
body.tst-redesign .button.button--compact {min-height:var(--tst-control-height);font-size:var(--tst-type-label);line-height:var(--tst-leading-title);padding:var(--tst-space-3) var(--tst-group-gap);gap:var(--tst-inline-gap)}
body.tst-redesign .button.button--compact>.tst-icon {width:var(--tst-space-gutter);height:var(--tst-space-gutter);flex:none}
/* A fit action leaves free space to its context instead of stretching its surface. */
body.tst-redesign .button.button--fit {flex:0 1 auto;width:fit-content;min-width:var(--tst-touch-min);max-width:100%;justify-content:center;overflow-wrap:anywhere}
/* Explicit large-action shape shares the same button states. */
body.tst-redesign .button.button--pill {min-height:var(--tst-control-height);border-radius:var(--tst-radius-pill)}

/* Local component catalogue; uses the same tokens and production components. */
.tst-system-intro {max-width:760px;margin-bottom:var(--tst-space-7)}
.tst-system-section {scroll-margin-top:calc(var(--tst-header-height) + var(--wp-admin--admin-bar--height,0px) + var(--tst-space-4));padding-block:var(--tst-space-6);border-top:1px solid var(--line)}
.tst-system-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--tst-space-5)}
.tst-system-grid>div {min-width:0}
.tst-system-grid.tst-system-grid--map {grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}
.tst-system-grid--forms {grid-template-columns:repeat(2,minmax(0,1fr))}
.tst-system-grid--forms>.form-row {float:none;width:100%;margin:0;display:grid;gap:var(--tst-space-2)}
.tst-system-grid--forms>.form-row .woocommerce-input-wrapper {display:block}
.tst-system-grid--forms>.form-row :is(input,select,textarea) {width:100%}
.tst-system-grid--forms>fieldset {margin:0;padding:0;border:0}
.tst-system-swatch {height:90px;border:1px solid var(--line);border-radius:var(--tst-radius-control);margin-bottom:var(--tst-space-3)}
.tst-system-code {font:var(--tst-type-caption)/var(--tst-leading-reading) ui-monospace,monospace;overflow-wrap:anywhere;color:var(--muted)}
.tst-system-section h3 {margin-block:0 var(--tst-space-3)}
.tst-system-section label {display:grid;gap:var(--tst-space-2);font-size:var(--tst-type-label);min-width:0}
.tst-system-grid--forms>.form-row>label {display:block}
.tst-system-section>details {border-bottom:1px solid var(--line);padding:var(--tst-space-4) 0}
.tst-system-section summary {cursor:pointer;min-height:44px;align-content:center}
.tst-system-rhythm {display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:var(--tst-section-gap);margin-block:var(--tst-heading-gap)}
.tst-system-type-row {display:grid;gap:var(--tst-space-1);padding-block:var(--tst-space-2);border-bottom:1px solid var(--tst-line);overflow-wrap:anywhere}
.tst-system-type-row>span {line-height:var(--tst-leading-title)}
.tst-system-space-row {display:flex;align-items:center;gap:var(--tst-inline-gap);font-size:var(--tst-type-label)}
.tst-system-space-bar {display:block;flex:none;height:var(--tst-space-4);background:var(--tst-accent);border-radius:var(--tst-radius-badge)}
.tst-system-space-row code {display:block}
.tst-system-reading {max-width:var(--tst-reading-width);padding:var(--tst-panel-padding);margin-block:var(--tst-section-gap)}
@media(max-width:760px) {.tst-system-rhythm {grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px) {.tst-system-grid {grid-template-columns:repeat(2,minmax(0,1fr))}.tst-system-grid:is(.tst-system-grid--forms,.tst-system-grid--contexts) {grid-template-columns:minmax(0,1fr)}.tst-system-grid .tst-surface,.tst-system-grid>label {grid-column:1/-1}}

/* Registry uses existing surfaces; metadata stays readable at every width. */
.tst-system-registry{align-items:start}
.tst-system-registry>article{min-width:0;overflow-wrap:anywhere}
.tst-system-registry p{margin:0}
.tst-system-registry details{margin:0;padding:0;border-bottom:0}
.tst-system-registry summary{font-weight:600}
.tst-system-registry .tst-system-code{display:block}
.tst-system-registry ul{padding-left:var(--tst-space-4)}
@media(max-width:760px){.tst-system-registry{grid-template-columns:1fr}}

/* Live navigation-motion specimen uses the same controller as storefront bars. */
.tst-system-motion-examples {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:var(--tst-space-6);margin-block:var(--tst-space-5)}
.tst-motion-demo {display:flex;gap:var(--tst-space-1);padding:var(--tst-space-1);width:fit-content;max-width:100%;overflow-x:auto;border:1px solid var(--tst-line);border-radius:var(--tst-radius-pill)}
.tst-motion-demo button {position:relative;flex:none;min-height:var(--tst-touch-min);padding:var(--tst-space-2) var(--tst-space-4);border:0;border-radius:var(--tst-radius-pill);font:inherit;color:var(--tst-muted);background:transparent;cursor:pointer}
.tst-motion-demo button[aria-pressed="true"] {color:var(--tst-accent);background:var(--tst-accent-soft)}
.tst-motion-demo[data-tst-nav-style="underline"] {border-radius:0;border-width:0 0 1px}
.tst-motion-demo[data-tst-nav-style="underline"] button {border-radius:var(--tst-nav-underline-radius);background:transparent}

/* Registered action contexts; palette hierarchy is independent of action priority. */
.tst-redesign .tst-surface--inverse {--ink:var(--tst-on-inverse);--muted:var(--tst-on-inverse-muted);--tst-focus:var(--tst-on-inverse);background:var(--tst-inverse-surface);color:var(--tst-on-inverse)}
/* Dark surfaces own a light focus ring, independent of button variant. */
.tst-redesign .tst-pop-color-pair--ink {--tst-focus:var(--tst-on-inverse)}
@media(forced-colors:active) {
  body.tst-redesign .tst-icon {filter:brightness(0) invert(1)!important;mix-blend-mode:difference}
}

/* Actual material specimens: real shared controls over existing public artwork. */
.tst-liquid-specimen-stage {position:relative;min-width:0;min-height:180px;padding:var(--tst-panel-padding);border-radius:var(--tst-radius-card);isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:var(--tst-group-gap)}
.tst-liquid-specimen-stage--paper {background:var(--tst-canvas)}
.tst-liquid-specimen-stage--ink {background:var(--tst-inverse-surface);color:var(--tst-on-inverse)}
.tst-liquid-specimen-stage--pop {background:var(--tst-brand-lime)}
.tst-liquid-specimen-stage--media {background:var(--tst-inverse-surface);color:var(--tst-on-inverse)}
.tst-liquid-specimen-media {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;z-index:-1}
.tst-liquid-specimen-caption {position:relative;margin:0;padding:var(--tst-space-1) var(--tst-space-2);background:var(--tst-surface);color:var(--tst-ink);font-size:var(--tst-type-label)}
.tst-liquid-specimen-panel {width:100%;border-radius:var(--tst-radius-card);padding:var(--tst-panel-padding);display:grid;gap:var(--tst-copy-gap)}
.tst-liquid-specimen-panel :is(h3,p) {margin:0}
.tst-liquid-specimen-panel select {margin-top:var(--tst-space-2);background:var(--tst-surface)}
.tst-liquid-specimen-toolbar {display:flex;align-items:center;gap:var(--tst-space-3);border-radius:var(--tst-radius-pill);padding:var(--tst-space-1) var(--tst-space-2);font-size:var(--tst-type-label)}
.tst-liquid-specimen-toolbar a {display:grid;place-items:center;min-width:var(--tst-touch-min);min-height:var(--tst-touch-min);border-radius:var(--tst-radius-round);color:inherit}
.tst-liquid-specimen-stage .tst-motion-demo {margin:0;max-width:100%;width:fit-content}
.tst-liquid-specimen-stage .tst-motion-demo button {padding-inline:var(--tst-space-3);color:var(--tst-ink)}

.tst-liquid-specimen-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px) {.tst-liquid-specimen-grid {grid-template-columns:minmax(0,1fr)}}

/* Explicit identity glyphs in purchase choices; utility icons retain their sizes. */
body.tst-redesign .tst-icon--purchase-option {width:var(--tst-purchase-option-logo-size);height:var(--tst-purchase-option-logo-size);max-height:none;flex:none;object-fit:contain;}
body.tst-redesign .tst-icon--chevron-right {width:var(--tst-icon-glyph-size);height:var(--tst-icon-glyph-size);flex:none;}
