/* The portfolio shares a single margin from the opening title to the signed print. */
.chrome-story {--ed-margin:clamp(20px,6vw,112px);--ed-width:1370px}
.chrome-story :is(.ed-work,.ed-close) {margin:0;max-width:none;width:100%}
.ed-measure,.ed-table {max-width:var(--ed-width);margin-inline:auto}
.ed-work {padding:clamp(48px,6vw,88px) var(--ed-margin) clamp(46px,6vw,84px);background:linear-gradient(150deg,#1b262c,#10191f 43%,#172227);color:#f2f1df}
.chrome-story .ed-work #clients-title {font:450 clamp(3.7rem,7vw,7.2rem)/1.05 var(--sans);letter-spacing:-.075em;margin:0;color:inherit}
.ed-work em,.ed-studio-heading em,.ed-styling em,.ed-table em {font-family:Cormorant,Georgia,serif;font-style:italic;font-weight:500}
.ed-work #clients-title em,.ed-studio-heading em {letter-spacing:-.065em}
.ed-label {margin:0;font:600 .875rem/1.35 var(--sans);letter-spacing:.045em}
.ed-table-photo {display:block;width:100%;height:auto}
.ed-table figcaption>p:not(.ed-label,.ed-signers) {margin:0;max-width:34ch;color:#d5dcd8;font:450 clamp(1rem,1.28vw,1.24rem)/1.52 var(--sans)}
.chrome-story #products.idea-gallery {background:#eeece3;color:#1d2b27;padding:clamp(39px,5.5vw,82px) var(--ed-margin) 0;overflow:visible}
.chrome-story #products .idea-inner {max-width:var(--ed-width);margin:auto}
#products [data-app][hidden] {display:none!important}
#products :is(.idea-label,.idea-index) {display:none}
#products .ed-strut {margin:0;max-width:100%}
#products .ed-strut details {border:0;background:none;margin:0;padding:0}
#products .ed-strut summary {display:none}
#products .ed-look {display:grid;grid-template-columns:1.1fr 1fr;align-items:center;border-block:1px solid #a19c90;background:#e4dbcd;color:#29221c}
#products .ed-flatlay {width:100%;margin:0;display:grid;place-items:center;align-self:stretch;background:linear-gradient(105deg,#cbb7a0,#e3d5c3 72%,#d0bfac)}
#products .ed-flatlay img {display:block;height:clamp(385px,37vw,540px);width:100%;object-fit:contain;mix-blend-mode:multiply}
#products .ed-styling {padding:clamp(24px,4vw,64px);width:100%;min-width:0}
#products .ed-styling h3 {margin:12px 0 15px;font:480 clamp(3.1rem,5.4vw,6rem)/.97 var(--sans);letter-spacing:-.073em;color:#211d19}
#products .ed-styling>p:not(.ed-label) {max-width:33ch;font:450 1.04rem/1.45 var(--sans)}
#products .ed-styling fieldset {padding:0;margin:21px 0 8px;border:0;display:flex;flex-wrap:wrap;gap:4px 14px}
#products .ed-styling [data-look] {min-height:44px;padding:4px 0;color:#51463d;background:none;border:0;border-radius:0;font:550 1rem/1.25 var(--sans)}
#products .ed-styling [data-look][aria-pressed=true] {color:#221e19;text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px}
#products .ed-styling .ed-outfit-note {min-height:3em;color:#51463d;margin:8px 0 0}
#products:not(.is-interactive) .ed-styling fieldset {display:none}
.ed-services {background:#eeece3;color:#22342c;margin:0}
.ed-services>summary {max-width:calc(var(--ed-width) + var(--ed-margin)*2);margin:auto;padding:13px var(--ed-margin) 20px;min-height:52px;display:flex;align-items:center;gap:12px;font:550 1rem/1.4 var(--sans);cursor:pointer}
.ed-services>summary:focus-visible {outline-color:#45654b;outline-offset:-4px}
.ed-services #services,.ed-services #try-workflow {scroll-margin-top:85px}
.chrome-story main #in-house.ed-close {padding:clamp(46px,6vw,100px) var(--ed-margin) clamp(54px,9vw,150px);background:linear-gradient(175deg,#172323,#101a1c 70%,#101c20);color:#eeeeDF}
.ed-table {display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.83fr);gap:clamp(22px,5.5vw,90px);align-items:end;margin-block:0}
.ed-glass-print {position:relative;max-width:660px;justify-self:end;overflow:hidden}
.ed-glass-print::after {content:'';position:absolute;bottom:0;left:0;width:100%;height:2px;background:linear-gradient(92deg,transparent 15%,#e5fbc9 49%,transparent 81%);opacity:.24}
.ed-table-photo {aspect-ratio:1;object-fit:contain}
.ed-table figcaption {padding:0 0 clamp(4px,3.3vw,52px)}
.chrome-story .ed-table h2 {color:inherit;font:500 clamp(2.7rem,4.1vw,5rem)/1.03 Cormorant,Georgia,serif;letter-spacing:-.05em;margin:9px 0 15px}
.ed-signers {margin:18px 0 0;font:italic 500 1.27rem/1.35 Cormorant,Georgia,serif;color:#e6e9cf}
@media(prefers-reduced-motion:no-preference){
 body.chrome-story #contact .sg-yours {animation:ed-ink-catch var(--optic-cycle) linear infinite}
 .ed-glass-print::after {animation:ed-print-catch var(--optic-cycle) linear infinite}
 @keyframes ed-ink-catch {0%,49%,78%,100%{background-position:50% 50%;filter:brightness(1)}62%{background-position:5% 50%;filter:brightness(1.16)}}
 @keyframes ed-print-catch {0%,67%,100%{opacity:.12;transform:translateX(-45%)}80%{opacity:.92;transform:translateX(0)}91%{opacity:.12;transform:translateX(64%)}}
}
@media(max-width:700px){
 #products .ed-look {grid-template-columns:1fr}
 #products .ed-flatlay img {height:clamp(275px,82vw,383px)}
 #products .ed-styling {padding:20px}
 #products .ed-styling h3 {font-size:clamp(2rem,8vw,3rem);margin:5px 0 8px}
 #products .ed-styling h3 br {display:none}
 #products .ed-styling h3 em::before {content:' '}
 #products .ed-styling fieldset {margin:7px 0;gap:0 12px}
 #products .ed-styling .ed-outfit-note {margin:0}
 .ed-table {grid-template-columns:1fr;gap:20px}
 .ed-glass-print {max-width:100%}
 .ed-table figcaption {padding:0}
}
.chrome-story .ed-work {position:relative;isolation:isolate;z-index:1}
#products .ed-flatlay {--look-paper:url("/assets/launch/01f72bcaee35eca76152.webp");--look-height:clamp(385px,37vw,540px);display:flex;background:#cfc0ac}
#products .ed-flatlay img {flex:0 1 auto;width:auto;max-width:100%;height:var(--look-height);min-width:0;mix-blend-mode:normal}
#products .ed-flatlay::before,#products .ed-flatlay::after {content:'';align-self:stretch;flex:1 1 0;background-image:var(--look-paper);background-size:20000% 100%;background-repeat:no-repeat}
#products .ed-flatlay::before {background-position:left center}
#products .ed-flatlay::after {background-position:right center}
@media(max-width:700px){
 #products .ed-flatlay {--look-height:clamp(275px,82vw,383px)}
}

/* The receipts */
.ed-work {
  --receipt-rule:#a7b7b65c;
  --receipt-accent:#dcf08a;
  --receipt-column-gap:clamp(20px,2.25vw,38px);
}
.ed-receipt-lead {
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(24px,3.3vw,55px);
  border-block:1px solid var(--receipt-rule);
  margin-top:clamp(22px,2.6vw,42px);
  padding-block:clamp(20px,2.2vw,35px);
}
.ed-receipt-image {
  display:block;
  width:100%;
  height:auto;
  object-fit:cover;
  background:#10191f;
}
.ed-receipt-lead .ed-receipt-image {
  aspect-ratio:2.25;
  object-position:center 55%;
}
.chrome-story .ed-receipt-copy h3 {
  color:inherit;
  font:620 clamp(1.18rem,1.62vw,1.72rem)/1.12 var(--sans);
  letter-spacing:-.045em;
  margin:0;
}
.chrome-story .ed-receipt-lead h3 {
  font-size:clamp(2.1rem,3.55vw,3.95rem);
  letter-spacing:-.062em;
  text-wrap:normal;
}
.ed-receipt-copy p {
  color:#dce2db;
  font:450 1rem/1.5 var(--sans);
  margin:.5rem 0 0;
}
.ed-receipt-lead .ed-receipt-copy p {
  font-size:clamp(1rem,1.5vw,1.3rem);
}
.ed-receipt-scope {
  padding:0;
  margin:.8rem 0 0;
  list-style:none;
  display:grid;
  gap:.27rem;
  font:450 1rem/1.42 var(--sans);
}
.ed-receipt-scope li {
  display:grid;
  grid-template-columns:.42rem minmax(0,1fr);
  align-items:baseline;
  gap:.6rem;
}
.ed-receipt-scope li::before {
  content:"";
  width:.42rem;
  height:.42rem;
  border-radius:50%;
  background:var(--receipt-accent);
  transform:translateY(-.1em);
}
.ed-receipt-lead .ed-receipt-scope {
  margin-top:1rem;
  gap:.4rem;
}
.ed-receipt-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  column-gap:var(--receipt-column-gap);
  padding-top:clamp(18px,2.2vw,35px);
}
.ed-receipt {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
}
.ed-receipt + .ed-receipt::before {
  content:"";
  position:absolute;
  inset-block:0;
  inset-inline-start:calc(var(--receipt-column-gap) / -2);
  border-inline-start:1px solid var(--receipt-rule);
}
.ed-receipt .ed-receipt-image {aspect-ratio:1.65}
.ed-receipt .ed-receipt-copy {padding-block:13px 8px}
.ed-receipt-action, .ed-receipt-samples a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:#e3efbc;
  font:620 .875rem/1.3 var(--sans);
  text-decoration:underline;
  text-underline-offset:.28em;
  text-decoration-color:#b8ce887d;
}
.ed-receipt > :is(a,.ed-receipt-disclosure) {margin-top:auto}
.ed-receipt-lead .ed-receipt-action {margin-top:.48rem}
.ed-receipt-action:hover, .ed-receipt-samples a:hover {
  color:var(--receipt-accent);
  text-decoration-color:currentColor;
}
.chrome-story .ed-work :is(a,summary):focus-visible {
  outline:2px solid var(--receipt-accent);
  outline-offset:3px;
}
.ed-receipt-disclosure {width:100%}
.ed-receipt-disclosure summary {cursor:pointer}
.ed-receipt-disclosure > summary::after {
  content:"";
  display:inline-block;
  width:.42rem;
  height:.42rem;
  border-right:1px solid currentColor;
  border-bottom:1px solid currentColor;
  margin-left:.6rem;
  transform:translateY(-.12rem) rotate(45deg);
}
.ed-receipt-disclosure[open] > summary::after {transform:translateY(.1rem) rotate(225deg)}
.ed-receipt-samples {display:grid;gap:0;padding-inline:.75rem;border-left:1px solid var(--receipt-rule)}
.ed-receipt .vote-vision {margin:0}
.ed-receipt .vote-concept-bar {flex-wrap:wrap}
.ed-receipt .vote-concept-story {width:100%}
.ed-receipt .vote-concept-story strong {font-size:clamp(1.4rem,2vw,2.15rem)}
.ed-receipt .vote-concept-question summary {min-height:44px}

@media (max-width:980px) {
  .ed-receipt-grid {grid-template-columns:repeat(2,minmax(0,1fr));row-gap:25px}
  .ed-receipt:nth-child(odd)::before {display:none}
  .ed-receipt:nth-child(n+3) {padding-top:20px;border-top:1px solid var(--receipt-rule)}
}
@media (max-width:860px) {
  .ed-receipt-lead {grid-template-columns:minmax(0,1fr);gap:18px}
}
@media (max-width:640px) {
  .ed-receipt-lead .ed-receipt-image {aspect-ratio:1.75}
}
@media (max-width:520px) {
  .ed-receipt-grid {grid-template-columns:minmax(0,1fr);row-gap:15px}
  .ed-receipt-grid .ed-receipt::before {display:none}
  .ed-receipt-grid .ed-receipt + .ed-receipt {padding-top:16px;border-top:1px solid var(--receipt-rule)}
}

/* Software, apps, and automation */
#products .ed-studio-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px 32px;
  margin:0 0 clamp(19px,2.6vw,36px);
}
.chrome-story #products .ed-studio-heading h2 {
  color:inherit;
  font:490 clamp(2.35rem,5.35vw,6rem)/1 var(--sans);
  letter-spacing:-.072em;
  text-wrap:normal;
  margin:0;
}
#products .ed-studio-heading h2 em {display:block}
#products .ed-automation-link {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:#204b37;
  font:650 1rem/1.35 var(--sans);
  text-decoration:underline;
  text-underline-offset:.28em;
}
#products .ed-app-instruction {
  margin:0 0 8px;
  color:#364b3f;
  font:640 1rem/1.35 var(--sans);
}
#products .app-picker {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px;
  margin:0 0 clamp(18px,2.2vw,30px);
  border:1px solid #819087;
  border-radius:5px;
  background:#819087;
}
#products .app-picker a {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:4px;
  min-width:0;
  min-height:70px;
  padding:9px clamp(10px,1.7vw,23px);
  border:0;
  border-radius:0;
  background:#f5f3ea;
  color:#20392e;
  box-shadow:none;
  font:690 clamp(1rem,1.55vw,1.34rem)/1.16 var(--sans);
  letter-spacing:-.03em;
}
#products .app-picker a:first-child {border-start-start-radius:4px}
#products .app-picker a:last-child {border-end-end-radius:4px}
#products .app-picker a small {
  color:#40554a;
  font:500 .875rem/1.25 var(--sans);
  letter-spacing:normal;
}
#products .app-picker a:hover {background:#e3eadb;color:#20392e}
#products .app-picker a[aria-current=true] {
  background:#1c342b;
  color:#fffef5;
  box-shadow:inset 0 -3px #d9f286;
}
#products .app-picker a[aria-current=true] small {color:#e1ecda}
#products .app-picker a:focus-visible {outline-offset:-4px}
#products #product-strut, #products .idea-product {scroll-margin-top:186px}
.chrome-story #better-tools {scroll-margin-top:88px}

@media (max-width:700px) {
  .chrome-story #products .ed-studio-heading h2 {
    font-size:clamp(2.05rem,8.3vw,3.7rem);
    line-height:1.03;
  }
  #products .ed-studio-heading {gap:4px 20px}
  #products .app-picker {grid-template-columns:repeat(2,minmax(0,1fr))}
  #products .app-picker a {min-height:65px}
  #products #product-strut, #products .idea-product {scroll-margin-top:225px}
}

/* Campaign launcher and STRUT desktop workspace */
#products .app-picker {
  padding:0; gap:clamp(8px,1vw,16px); border:0; background:transparent;
}
#products .app-picker a:nth-child(n) {
  flex-direction:row; align-items:center; justify-content:flex-start; gap:clamp(8px,1.1vw,18px);
  border:1px solid #899b9966; border-radius:18px; padding:clamp(8px,1vw,16px);
  background:linear-gradient(115deg,#253038da,#11161de0); color:#f7f6ef;
  backdrop-filter:blur(12px); box-shadow:inset 0 1px #ffffff14;
  transition:background .18s,border-color .18s,box-shadow .18s;
}
#products .app-picker .campaign-icon {width:clamp(38px,3.8vw,64px);height:auto;aspect-ratio:1;border-radius:12px;object-fit:cover;flex:none}
#products .app-picker a[aria-current=true] {background:linear-gradient(115deg,#283a20ed,#18271ee6);border-color:#bded65;box-shadow:inset 0 0 0 1px #bded6555}
@media(hover:hover) {
  #products .app-picker a:hover {border-color:#ceff83;background:linear-gradient(115deg,#374a2be8,#172922e3);box-shadow:0 0 18px #b7ff5555,inset 0 0 12px #c2ff701c}
}
#products .app-picker a:focus-visible {outline:3px solid #677fff;outline-offset:3px;box-shadow:0 0 14px #7389ff88}
#products #product-strut {border-radius:20px;background:#16191af2;overflow:hidden;box-shadow:0 12px 36px #07100929}
#products .strut-toolbar {display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px clamp(12px,2vw,32px)}
#products .strut-toolbar h3 {margin:0;color:ivory;font:600 1.35rem var(--sans);letter-spacing:.07em}
#products .strut-view-controls {display:flex;gap:4px}
#products .strut-view-controls button {color:#d8ddd7;background:transparent;border:1px solid transparent;border-radius:24px;min-height:44px;padding:6px 12px;font:600 .9rem var(--sans)}
#products .strut-view-controls button[aria-pressed=true] {color:#e5f6c4;background:#303a2e;border-color:#748566}
#products .strut-screen {background:radial-gradient(ellipse at 50% 90%,#74604b,#282725 70%,#171a1b);padding:clamp(8px,2vw,32px)}
#products .strut-screen img {width:100%;max-width:1070px;height:auto;margin:auto;display:block;border-radius:12px;box-shadow:0 10px 32px #0005}
#products #product-strut [data-frame][hidden] {display:none}
@media(max-width:420px){#products .app-picker a:nth-child(n){padding:8px;gap:7px;font-size:1rem}#products .campaign-icon{border-radius:9px}}
@media(prefers-reduced-motion:reduce){#products .app-picker a:nth-child(n){transition:none}}

/* Trot's two dispatch lanes share one shipment ticket. */
#products .freight-desk {border-radius:18px;overflow:hidden;background:#181c20;color:#f6f4ec;box-shadow:0 12px 30px #05111830}
.freight-header {padding:clamp(20px,3vw,42px);background:linear-gradient(90deg,#13181aeb,#17191bcc 53%,#201b1f22),url('/assets/launch/1b3e7b2b0af43a622a0b.webp') center 50% / cover}
.freight-header span,.freight-id {font:600 .88rem/1.4 var(--sans);letter-spacing:.04em}
#products .freight-header h4 {margin:8px 0 0;font:550 clamp(1.8rem,3.2vw,3rem)/1.03 var(--sans);letter-spacing:-.055em;color:#fff}
.freight-lanes {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:clamp(12px,1.5vw,22px)}
.freight-lanes section {min-width:0;padding:12px;border-radius:12px;background:#252a2d}
#products .freight-lanes h5 {font:650 1rem/1.3 var(--sans);margin:0 0 12px;color:#f0eee6}
.freight-ticket {padding:clamp(12px,1.3vw,20px);border-radius:10px;border-top:3px solid #ec866f;background:#f5f1e9;color:#23292a}
.freight-id {display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap}
.freight-id span {border-radius:20px;background:#e7d3c6;padding:4px 8px;letter-spacing:0;font-size:.83rem}
[data-assigned] .freight-ticket {border-color:#a4cc84}
[data-assigned] .freight-id span {background:#d6e8c5}
#products .freight-ticket h6 {font:650 1.25rem/1.15 var(--sans);margin:18px 0 4px;color:inherit}
#products .freight-ticket p,.freight-ticket dl {margin:0;font:500 .96rem/1.45 var(--sans);color:inherit}
.freight-ticket dt {margin-top:12px;color:#5a605d;font-size:.84rem}
.freight-ticket dd {margin:0}
#products .freight-ticket button {border-radius:8px;background:#28332f;color:#fff;border:0;font:600 .95rem var(--sans);min-height:44px;padding:8px 12px}
.freight-ticket [data-assign] {width:100%;margin-top:16px}
.freight-ticket fieldset {border:0;padding:0;margin:10px 0 0}
.freight-ticket legend {font-size:.87rem;margin-bottom:6px}
.freight-ticket [data-driver] {margin:2px}
#products .freight-empty {margin:0;padding:16px 12px;border:1px dashed #61706b;border-radius:8px;color:#d1d8d2;font:500 .95rem/1.45 var(--sans)}
#products .app-inquiry {display:inline-flex;align-items:center;min-height:44px;margin-top:12px;color:#19382d;font:650 1rem/1.4 var(--sans);text-decoration:underline;text-underline-offset:4px}
#products #product-strut .app-inquiry {color:#e0efb7;margin:4px clamp(14px,2vw,32px) 8px}
@media (max-width:600px){.freight-lanes{grid-template-columns:1fr}}

/* The app switcher and view controls stay outside the scrolling demo. */
body:has(.app-workspace-dialog[open]) {overflow:hidden}
#products .app-workspace-dialog {
  position:fixed;inset:0;margin:auto;padding:0;border:0;
  width:min(100%,1040px);max-width:none;height:min(100dvh,850px);max-height:none;
  overflow:hidden;border-radius:20px;color:#f4f5ef;background:#121b1d;
  box-shadow:0 25px 90px #0008;
}
#products .app-workspace-dialog::backdrop {background:#091112c7;backdrop-filter:blur(10px)}
#products .app-workspace-dialog[open] {display:grid;grid-template-rows:auto minmax(0,1fr)}
#products .workspace-header {
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:max(6px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 3px max(12px,env(safe-area-inset-left));
}
#products .workspace-header h2 {margin:0;color:#f4f5ef;font:600 1rem/1.2 var(--sans);letter-spacing:0}
#products .workspace-header button {
  min-height:44px;padding:4px 15px;border:1px solid #99b29770;border-radius:24px;
  background:#23332b;color:#eaf7c5;font:600 .92rem/1.2 var(--sans);
}
#products .app-workspace-dialog .app-workspace {
  display:grid;grid-template-rows:auto minmax(0,1fr);gap:6px;min-height:0;
  padding:0 max(12px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));
}
#products .app-workspace-dialog .app-picker {margin:0;gap:6px}
#products .app-workspace-dialog .app-picker a:nth-child(n) {
  min-height:44px;padding:4px 8px;border-radius:10px;font-size:clamp(.88rem,2.7vw,1.05rem);letter-spacing:-.015em;
}
#products .app-workspace-dialog .campaign-icon {width:30px;border-radius:6px}
#products .app-workspace-dialog [data-app]:not([hidden]) {
  display:grid;grid-template:"views" auto "screen" minmax(0,1fr) "inquiry" auto / minmax(0,1fr);
  align-items:stretch;gap:4px;min-height:0;margin:0;background:none;box-shadow:none;border-radius:0;
}
#products .app-workspace-dialog :is(.idea-story,.idea-art,.strut-toolbar) {display:contents}
#products .app-workspace-dialog :is(.idea-story>h3,.idea-story>p,.idea-meta,.idea-source,.strut-toolbar h3,.demo-share) {display:none}
#products .app-workspace-dialog :is(.idea-modes,.strut-view-controls) {
  grid-area:views;display:flex;align-items:center;justify-content:center;gap:4px;margin:0;
}
#products .app-workspace-dialog .idea-other-modes {display:contents}
#products .app-workspace-dialog [data-mode] {
  flex:1;justify-content:center;min-width:0;min-height:44px;padding:4px 5px;
  background:transparent;color:#e2e8dc;border:1px solid transparent;border-radius:9px;
  font:600 .85rem/1.15 var(--sans);text-align:center;text-decoration:none;
}
#products .app-workspace-dialog [data-mode][aria-pressed=true] {background:#28352a;border-color:#83a167;color:#eaf8c8}
#products .app-workspace-dialog [data-mode] span[aria-hidden] {display:none}
#products .app-workspace-dialog [data-frame]:not([hidden]) {
  grid-area:screen;min-height:0;overflow:auto;overscroll-behavior:contain;border-radius:12px;
}
#products .app-workspace-dialog .app-inquiry {
  grid-area:inquiry;justify-content:center;min-height:44px;margin:0;color:#e0efb7;font-size:.88rem;text-align:center;
}
#products .app-workspace-dialog :is([data-frame="interface"],[data-frame="campaign"]) {
  padding:0;background:#1a2224;
}
#products .app-workspace-dialog :is(.idea-interface,.idea-campaign,.strut-screen) {height:100%;background:#1a2224;border:0;box-shadow:none}
#products .app-workspace-dialog :is(.idea-interface,.idea-campaign) figcaption {display:none}
#products .app-workspace-dialog :is(.idea-interface,.idea-campaign,.strut-screen) img {
  display:block;width:100%;height:100%;max-width:none;aspect-ratio:auto;object-fit:contain;border-radius:0;box-shadow:none;
}
#products .app-workspace-dialog :is(a,button):focus-visible {outline:2px solid #a9c9ff;outline-offset:-2px}
@media(max-width:700px) {
  #products .app-workspace-dialog {border-radius:0}
  #products .app-workspace-dialog .freight-header {padding:7px 12px}
  #products .app-workspace-dialog .freight-header span {display:none}
  #products .app-workspace-dialog .freight-header h4 {font-size:1.2rem;margin:0}
  #products .app-workspace-dialog .freight-lanes {grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px}
  #products .app-workspace-dialog .freight-lanes section {display:contents}
  #products .app-workspace-dialog .freight-lanes h5 {
    grid-row:1;margin:0;padding:5px;border-radius:6px;text-align:center;color:#cbd5cc;font-size:.88rem;
  }
  #products .app-workspace-dialog :is([data-freight-lane="inbox"] #incoming-title,[data-freight-lane="board"] #dispatch-title) {background:#303e34;color:#e3f6bc}
  #products .app-workspace-dialog .freight-lanes :is([data-incoming],[data-assigned]) {grid-column:1/-1}
  #products .app-workspace-dialog .freight-lanes :is(.freight-empty,[data-incoming]:empty,[data-assigned]:empty) {display:none}
  #products .app-workspace-dialog .freight-ticket {padding:8px 10px}
  #products .app-workspace-dialog .freight-ticket h6 {font-size:1.04rem;margin:5px 0 2px}
  #products .app-workspace-dialog .freight-ticket dl {display:grid;grid-template-columns:auto 1fr;gap:4px 8px;font-size:.9rem;margin-top:6px}
  #products .app-workspace-dialog .freight-ticket dt {margin:0}
  #products .app-workspace-dialog .freight-ticket [data-assign] {margin-top:8px}
  #products .app-workspace-dialog .freight-ticket [data-assign]:has(+ fieldset:not([hidden])) {display:none}
  #products .app-workspace-dialog .freight-ticket fieldset {margin:4px 0 0}
  #products .app-workspace-dialog .freight-ticket fieldset legend {margin:0}
}
@media(max-width:700px) {
  #products .app-workspace-dialog .ed-flatlay {--look-height:clamp(72px,18dvh,140px)}
  #products .app-workspace-dialog .freight-ticket dd br {display:none}
  #products .app-workspace-dialog .freight-ticket dd strong {margin-inline-start:4px;white-space:nowrap}
}
#products .app-inquiry-compact {display:none}
@media(max-width:700px) and (max-height:600px) {
  #products .app-workspace-dialog [data-app]:not([hidden]) {grid-template-rows:auto minmax(0,1fr) 0}
  #products .app-workspace-dialog .app-inquiry {
    position:absolute;inset-block-start:max(6px,env(safe-area-inset-top));inset-inline-end:max(82px,calc(env(safe-area-inset-right) + 72px));
    border:1px solid #89a16e;border-radius:22px;padding:0 8px;text-decoration:none;
  }
  #products .app-workspace-dialog .app-inquiry-question {display:none}
  #products .app-workspace-dialog .app-inquiry-compact {display:inline}
  #products .app-workspace-dialog .freight-header {padding-block:4px}
  #products .app-workspace-dialog .freight-ticket :is(h6,dl) {margin-top:3px}
}

#products .showcase-modes {display:flex;flex-wrap:wrap;gap:6px}
#products .showcase-modes button {
  min-height:44px;padding:6px 12px;border:1px solid #658074;border-radius:8px;
  background:#edf1e7;color:#233e33;font:600 .9rem var(--sans);
}
#products .showcase-modes button[aria-pressed=true] {background:#293b2e;color:#edf8ce}
#products .app-workspace-dialog .showcase-modes button {background:#172322;color:#e8eee6;padding-inline:4px}
#products .app-workspace-dialog .showcase-modes button[aria-pressed=true] {background:#293b2e;color:#edf8ce}
#products .product-showcase :is(.idea-campaign,[data-frame="interface"],.product-feature) {border-radius:16px}
#products .product-showcase .idea-campaign {background:#111719;border-color:#354440}
#products .product-showcase .idea-campaign img {aspect-ratio:3/2;object-fit:contain}
#products .app-workspace-dialog .product-showcase .idea-campaign img {aspect-ratio:auto}
#products .product-showcase [data-frame][hidden],#products .product-ui [hidden] {display:none!important}
.product-ui {
  --ink:#f4ede6;--surface:#201b19;--trim:#372a24;--active:#dfab84;
  display:grid;grid-template-rows:auto minmax(0,1fr);gap:6px;
  padding:8px;background:var(--surface);color:var(--ink);border-radius:14px;min-height:0;
}
#products .app-workspace-dialog .product-ui {height:100%;min-height:220px}
.product-ui-header {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 6px;min-height:32px}
.product-ui-header strong {font:650 clamp(.95rem,2vw,1.35rem)/1.1 var(--sans)}
.product-ui-header span {font:500 .84rem/1.2 var(--sans);text-align:right}
#products .product-ui button {
  min-height:44px;border:1px solid transparent;border-radius:8px;padding:5px 8px;
  background:var(--trim);color:var(--ink);font:650 .85rem/1.15 var(--sans);
}
#products .product-ui button:is(:hover,[aria-pressed=true]) {border-color:var(--active);color:var(--active)}
#products .product-ui button:disabled {opacity:.38;cursor:default}
.product-ui img {display:block;width:100%;height:100%;object-fit:contain;min-width:0;min-height:0}
#products .product-ui figure {margin:0;min-height:0}
.product-image-card {display:grid;grid-template-rows:minmax(0,1fr) auto;gap:3px;background:var(--trim);border-radius:9px;overflow:hidden;height:100%}
.product-image-card figcaption {display:grid;gap:2px;padding:5px 8px;font-size:.85rem}
.product-image-card figcaption span {font-size:.78rem}
.wardrobe-tabs,.showcase-actions {display:flex;gap:5px}
.wardrobe-tabs button,.showcase-actions button {flex:1;min-width:0}
.strut-wardrobe,.strut-feature,.nature-player,.sweet-scanner {grid-template-rows:auto auto minmax(0,1fr)}
.strut-feature,.nature-player,.sweet-scanner {grid-template-rows:auto minmax(0,1fr) auto}
.outfit-photo {display:grid;grid-template-rows:minmax(0,1fr) auto;gap:4px;background:#ddcdb6;border-radius:9px;color:#261c17;touch-action:pan-y}
.outfit-photo figcaption {display:flex;justify-content:space-between;gap:5px;padding:5px 9px;font-size:.88rem}
.trot-dashboard {--surface:#161a20;--trim:#232832;--ink:#e9eef4}
.dispatch-overview {display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0;gap:6px}
.dispatch-overview figure {background:var(--trim);border-radius:9px;overflow:hidden}
.dispatch-overview aside {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;font-size:.78rem;text-align:center}
.dispatch-overview aside div {background:var(--trim);border-radius:6px;padding:5px 2px}
.dispatch-overview aside strong {display:block;color:#ff9a8c;font-size:1.08rem}
.sweet-library,.sweet-scanner {--surface:#171d51;--trim:#282f72;--ink:#fff5e5;--active:#ffe081}
.sweet-library-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-height:0}
.sweet-library-grid img {object-fit:cover}
@media(max-width:700px) {
  .product-ui-header span {font-size:.76rem}
  .sweet-library-grid {grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(0,1fr));gap:3px}
  .sweet-library-grid .product-image-card {grid-template: minmax(0,1fr) / 32% 1fr;align-items:center}
  .sweet-library-grid .product-image-card figcaption {padding:4px}
}
@media(max-width:700px) and (max-height:600px) {
  #products .app-workspace-dialog .app-inquiry {max-width:none;white-space:nowrap}
}

/* Keep the complete campaign in frame and carry its palette out to the edges. */
#product-strut {--campaign-field:radial-gradient(ellipse at center,#8e5542 0%,#302019 70%,#171513)}
#product-trot {--campaign-field:radial-gradient(ellipse at center,#5d2529 0%,#251c21 72%,#13191a)}
#product-second-nature {--campaign-field:radial-gradient(ellipse at center,#43508d 0%,#212747 72%,#14182c)}
#product-artificial-sweetener {--campaign-field:radial-gradient(ellipse at center,#253d8c 0%,#212457 70%,#151831)}
#products .app-workspace-dialog .product-showcase .idea-campaign {
  background:var(--campaign-field);box-shadow:inset 0 0 0 1px #f5edce26;
}
#products .app-workspace-dialog .idea-campaign img {position:relative;z-index:1}
.product-ui {border:1px solid #f4eacf2b;background:radial-gradient(ellipse at top,var(--trim),var(--surface) 62%)}
.product-ui-header {border-bottom:1px solid #faecd824;padding-bottom:6px}
#products .strut-wardrobe .product-ui-header strong {font-family:Georgia,serif;letter-spacing:.15em}
#products .outfit-photo {grid-template: minmax(0,1fr) / minmax(0,1.15fr) minmax(0,1fr);gap:0;overflow:hidden}
.outfit-photo img {background:#e8dbca}
#products .outfit-photo figcaption {
  display:grid;align-content:center;justify-items:start;gap:8px;
  background:linear-gradient(140deg,#d9baa0,#bc9076);padding:clamp(9px,3vw,38px);
}
.outfit-photo figcaption strong {font:500 clamp(1.45rem,3.7vw,3.3rem)/.96 Georgia,serif;letter-spacing:-.045em}
.outfit-photo figcaption span {font-size:.8rem}
#products .app-workspace-dialog .freight-desk {border:1px solid #ad7d7a66}
.sweet-library-grid .product-image-card {border:1px solid #d7dfeb3b}

/* Second Nature */
.nature-interface,.nature-player {
  --surface:#10101d;--trim:#211a3b;--ink:#f9f5f6;--active:#e1fc89;
  gap:8px;padding:clamp(8px,1.2vw,16px);background:radial-gradient(ellipse at 24% 0%,#30214f,#10101d 74%);
}
.nature-brand {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:1px 4px 4px}
.nature-brand strong {font:750 clamp(1.15rem,2.6vw,2.05rem)/1 var(--sans);letter-spacing:-.065em;text-transform:lowercase}
.nature-brand span {font:600 .8rem/1.2 var(--sans);color:#dfd3ef}
.nature-home {display:grid;grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);gap:8px;min-height:0}
.nature-spotlight,.karaoke-stage {position:relative;isolation:isolate;display:grid;overflow:hidden;border-radius:11px;min-height:0}
.nature-spotlight {align-items:end;background:#302037}
.nature-spotlight img,.karaoke-stage img {position:absolute;z-index:-2;inset:0;object-fit:cover}
.nature-spotlight img {object-position:49% 40%}
.nature-spotlight::after {content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,#100d19f5,#171024b9 33%,transparent 76%)}
.nature-track {padding:clamp(11px,3vw,40px);display:grid;justify-items:start;gap:8px}
.nature-track span,.karaoke-track-name {font:700 .7rem/1.2 var(--sans);letter-spacing:.17em;color:#e5ff9c}
#products .nature-track h4 {color:#fff5ef;margin:0;font:750 clamp(2.5rem,6vw,6.5rem)/.82 var(--sans);letter-spacing:-.085em}
#products .nature-track button {background:#e0fa91;color:#181525;padding-inline:14px;margin-top:4px}
#products .nature-track button:hover {background:#f2ffc7;border-color:#f2ffc7;color:#181525}
.nature-journey {display:grid;align-content:center;min-width:0;gap:7px;padding:clamp(10px,2vw,27px);background:#171326;border:1px solid #b49ce637;border-radius:11px}
#products .nature-journey h4 {margin:0;color:#fff6ef;font:650 clamp(1.05rem,2.4vw,2rem)/1.06 var(--sans);letter-spacing:-.035em}
#products .nature-journey p {margin:0;color:#d9cbe9;font-size:.82rem;line-height:1.25}
.nature-journey ol {display:grid;gap:5px;list-style:none;margin:8px 0 0;padding:0}
.nature-journey li {display:grid;grid-template-columns:auto 1fr;align-items:center;gap:7px;padding:7px 5px;border-top:1px solid #c9b5e62b;font-size:.86rem;line-height:1.12}
.nature-journey li span {display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#382c56;color:#eddefe}
.nature-journey li[aria-current] {color:#e5ff9c}
.nature-journey li[aria-current] span {background:#e5ff9c;color:#221734}
.nature-player {grid-template-rows:auto minmax(0,1fr) auto}
.karaoke-stage {grid-template-columns:minmax(0,4fr) minmax(0,5fr);background:radial-gradient(ellipse at 55% 65%,#4b2663,#161025 76%);align-items:stretch}
.karaoke-stage img {width:48%;object-position:50% 29%;filter:saturate(1.2)}
.karaoke-stage::after {
  content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
  background:linear-gradient(90deg,transparent 25%,#251439ba 43%,transparent 60%),linear-gradient(0deg,#170e2cbd,transparent 38%);
}
.karaoke-lyrics {grid-column:2;display:grid;align-content:center;justify-items:start;gap:clamp(8px,1.6vw,20px);padding:clamp(10px,2vw,24px) 10px}
#products .karaoke-lyrics p {margin:0;color:#ded1ed}
#products .karaoke-lyrics p[aria-label] {font:770 clamp(2.6rem,8.5vw,8.5rem)/.9 var(--sans);letter-spacing:-.09em;color:#fff2f6}
#products .karaoke-lyrics p[lang] {font:570 clamp(.75rem,1.5vw,1.1rem)/1.2 var(--sans)}
.karaoke-lyrics .is-sung {color:#e6ff8b;text-shadow:0 0 30px #e8fa9085}
.karaoke-controls {display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:5px;align-items:center}
#products .karaoke-controls button {min-width:44px;border-radius:24px;background:#241c3b;color:#f6f1fa;padding-inline:7px}
#products .karaoke-controls button[data-karaoke-toggle] {background:#e3fa9e;color:#1c1427}
#products .karaoke-controls button[aria-pressed=true] {color:#e7fc9b;border-color:#a5b765}
.karaoke-scrubber {position:relative;min-width:0}
.karaoke-wave {height:31px;display:flex;gap:2px;align-items:center;pointer-events:none}
.karaoke-wave i {flex:1;min-width:0;height:var(--level);background:#a17be2;border-radius:4px}
.karaoke-wave i.is-past {background:#ecf9a8}
.karaoke-scrubber input {position:absolute;inset:0 0 auto;width:100%;height:31px;margin:0;opacity:.01;cursor:ew-resize}
.karaoke-scrubber:focus-within {outline:2px solid #d8eea1;outline-offset:3px;border-radius:3px}
.karaoke-clock {display:flex;justify-content:space-between;color:#e0d5e8;font:550 .75rem/1 var(--sans);margin-top:2px}
@media (prefers-reduced-motion:no-preference) {
  .nature-player.is-playing .karaoke-stage {animation:nature-stage-glow 2s ease-in-out alternate infinite}
  @keyframes nature-stage-glow {from {box-shadow:inset 0 0 0 1px #a97dea42} to {box-shadow:inset 0 0 0 1px #d39dffb9,0 0 24px #a66bdb42}}
}
@media(max-width:700px) {
  .nature-home {grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:5px}
  .nature-journey {padding:8px}
  .nature-journey li {font-size:.78rem;gap:4px;padding-inline:0}
  .nature-journey li span {width:17px;height:17px;font-size:.7rem}
  .nature-track span,.karaoke-track-name {font-size:.62rem}
  #products .nature-track button {padding-inline:7px}
  .karaoke-stage {grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
  .karaoke-lyrics {padding:8px 4px}
}

/* Artificial Sweetener */
.sweet-scanner {grid-template-rows:auto minmax(0,1fr);background:radial-gradient(ellipse at 16% 0%,#283b8a,#151731 88%)}
.recipe-comparison {display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(5px,1.4vw,17px);min-height:0}
.recipe-comparison figure {display:grid;grid-template-rows:auto minmax(0,1fr);gap:5px}
.recipe-comparison figcaption {font:650 clamp(.72rem,1.4vw,1rem)/1.15 var(--sans);padding:1px 3px;color:#fff2d4}
.recipe-capture {
  display:grid;place-items:center;min-height:0;border-radius:9px;overflow:hidden;padding:clamp(6px,2vw,28px);
  background:repeating-linear-gradient(125deg,#70564425 0 2px,transparent 2px 7px),radial-gradient(ellipse at 15% 0%,#b58d5d,#513827 86%);
}
.recipe-paper {
  transform:rotate(-3deg);width:min(100%,330px);padding:clamp(7px,1.8vw,24px);color:#343169;
  background:repeating-linear-gradient(#f5e8cd 0 19px,#c6bdab 19px 20px);
  border-radius:3px 6px 5px 2px;box-shadow:0 9px 22px #1f120994;
  font:italic 500 clamp(.77rem,1.5vw,1.18rem)/1.34 Georgia,serif;
}
.recipe-paper strong,.recipe-transcript strong {display:block;font-size:clamp(.94rem,1.9vw,1.65rem);line-height:1.04}
#products :is(.recipe-paper,.recipe-transcript) p {margin:6px 0 0;color:inherit}
.recipe-result {display:grid;grid-template-rows:auto minmax(0,1fr);border-radius:9px;overflow:hidden;background:#fff4dc;color:#211e46}
.recipe-transcript {padding:clamp(6px,1.5vw,18px);font:550 clamp(.72rem,1.25vw,1rem)/1.22 var(--sans)}
.recipe-result img {object-fit:cover;object-position:55% 54%}
