/* Editorial Rattie scale. Shared by the source shell and every generated locale.
   Never targets brand marks, badges, UI icons or the approved compressor intro.
   Art stays uncropped: intrinsic ratio, no transforms used to fake optical size. */
:root {
  --rattie-hero: clamp(216px, 22vw, 280px);
  --rattie-support: clamp(144px, 14vw, 184px);
  --rattie-feature: 144px;
  --rattie-inline: 136px;
}
.tpx-page .tpx-features {container:information-cards / inline-size;}
.tpx-page .tpx-feature-art,
.tpx-page .tpx-pro-card-visual img,
.tpx-inner :is(.pro-price-rattie,.compare-hero-rattie,.automation-art),
.tpx-inner :is(.support-art,.trust-hero-art,.signin-visual-frame) img,
.rattie-cta-art {
  display:block; max-width:100%; height:auto; max-height:none; object-fit:contain;
}
/* Cards use the available section width, not the device name. */
.tpx-page.has-tablet-workspace:not(.tpx-tool-page) .tpx-feature-card {
  grid-template-columns:var(--rattie-feature) minmax(0,1fr); gap:16px; align-items:center;
}
.tpx-page.has-tablet-workspace:not(.tpx-tool-page) .tpx-feature-art {
  width:var(--rattie-feature); max-height:none; height:auto; justify-self:center;
}
@container information-cards (min-width:641px) and (max-width:1139px) {
  .tpx-page.has-tablet-workspace:not(.tpx-tool-page) .tpx-feature-card {
    grid-template-columns:minmax(0,1fr); gap:12px; align-content:start;
  }
  .tpx-page.has-tablet-workspace:not(.tpx-tool-page) .tpx-feature-art {width:160px;}
}
/* Promotional artwork has its own space without narrowing the headline. */
.tpx-page.has-tablet-workspace:not(.tpx-tool-page) .tpx-pro-card-hero {
  grid-template-columns:var(--rattie-support) minmax(0,1fr);
}
.tpx-page.has-tablet-workspace:not(.tpx-tool-page) .tpx-pro-card-visual {width:var(--rattie-support);}
.tpx-inner .pro-price-base {grid-template-columns:minmax(0,1fr) var(--rattie-support); gap:16px;}
.tpx-inner .pro-price-rattie {width:var(--rattie-support); max-height:none;}
/* Broader scenes (laptop, conveyor, comparison cards) need more width than
   the close-up support pose to give the character comparable optical weight. */
.tpx-inner.compare-hub .compare-hero .compare-hero-inner,
.tpx-inner .automation-hero {grid-template-columns:minmax(0,1fr) var(--rattie-hero);}
.tpx-inner.compare-hub .compare-hero .compare-hero-rattie,
.tpx-inner .automation-art {width:var(--rattie-hero); max-height:none;}
.tpx-inner.privacy-page .trust-hero-grid {grid-template-columns:minmax(0,1fr) var(--rattie-hero);}
.tpx-inner .trust-hero-art img {width:100%; max-height:none;}
.tpx-inner .support-hero {grid-template-columns:minmax(0,1fr) var(--rattie-hero);}
.tpx-inner .support-art {width:var(--rattie-hero); max-width:100%;}
.tpx-inner .support-art img {width:100%; max-height:none;}
/* Supporting illustrations: useful presence, subordinate to forms and CTAs. */
.rattie-cta-copy {grid-template-columns:var(--rattie-inline) minmax(0,1fr); align-items:center; gap:20px;}
.rattie-cta-art {width:var(--rattie-inline);}
.tpx-inner .signin-visual-frame img {width:min(100%,240px);}
@media(max-width:700px) {
  :root {--rattie-hero:200px; --rattie-support:144px; --rattie-inline:112px;}
  .tpx-inner.compare-hub .compare-hero .compare-hero-inner,
  .tpx-inner :is(.automation-hero,.support-hero),
  .tpx-inner.privacy-page .trust-hero-grid {grid-template-columns:minmax(0,1fr);}
  .tpx-inner.compare-hub .compare-hero .compare-hero-rattie,
  .tpx-inner :is(.automation-art,.support-art) {justify-self:center;}
  .tpx-inner .trust-hero-art {width:100%; max-width:320px; justify-self:center;}
  .tpx-inner .trust-hero-art img {width:var(--rattie-hero);}
  .tpx-inner .signin-visual-frame {grid-template-columns:136px minmax(0,1fr);}
  .tpx-inner .signin-visual-frame img {width:136px;}
  .tpx-inner .pro-price-base {grid-template-columns:minmax(0,1fr) 128px;}
  .tpx-inner .pro-price-rattie {width:128px;}
  .rattie-cta-copy {gap:14px;}
}
@media(max-width:640px) {
  :root {--rattie-feature:112px;}
  .tpx-page.has-tablet-workspace:not(.tpx-tool-page) .tpx-feature-card {gap:12px;}
}
@media(max-width:360px) {
  .tpx-inner .signin-visual-frame {grid-template-columns:minmax(0,1fr);}
  .tpx-inner .signin-visual-frame img {width:160px;}
  .tpx-inner .pro-price-base {grid-template-columns:minmax(0,1fr);}
  .tpx-inner .pro-price-rattie {justify-self:center;}
}
