/* A single action, a steady canvas, and one clear reading direction. */
#post-story.demo-simple{
  --demo-gutter:64px;--demo-image-height:225px;--demo-caption-height:66px;
  display:grid;grid-template-rows:auto 1fr auto;gap:22px;height:auto;min-height:0;
  padding:24px 28px 22px;border-radius:24px 8px;scroll-margin-top:94px;
}
#post-story.demo-simple [hidden]{display:none!important}
#post-story.demo-simple .story-heading{
  position:static;display:flex;align-items:center;gap:18px;padding:0 0 18px;margin:0;min-height:0;
  border-top:0;border-bottom:1px solid var(--line);background:transparent;
}
#post-story.demo-simple .story-chapter{margin:0;min-width:64px;min-height:48px;display:grid;place-items:center;padding:10px!important;font-size:13px;box-shadow:none;transform:rotate(-3deg)}
#post-story.demo-simple[data-intro=false] .story-chapter{transform:none}
#post-story.demo-simple[data-intro=false] #story-number{font-family:var(--body);font-weight:700;font-variant-numeric:tabular-nums}
#post-story.demo-simple #story-title{font-size:28px;line-height:1.25;margin:0}
#post-story.demo-simple #story-tagline{font:500 15px/1.5 var(--body);margin-top:5px;color:var(--muted)}
html[lang=th] #post-story.demo-simple #story-tagline{font-family:QoohooThai,var(--body)}
#post-story.demo-simple .story-scene{
  display:grid;grid-template-columns:minmax(0,500px) minmax(0,1fr);gap:var(--demo-gutter);
  min-height:390px;height:auto;align-items:start;
}
#post-story.demo-simple .story-visual{width:100%;height:auto!important;min-height:0;padding:0!important;margin:0;gap:0!important;position:relative;max-width:none}
#post-story.demo-simple .story-tool{display:none!important}
#post-story.demo-simple[data-step="0"] .story-tool{display:flex!important;flex-direction:row;align-items:center;min-height:0!important;padding:0!important;margin:0 0 14px;gap:14px;justify-content:space-between}
#post-story.demo-simple #story-tool-label{display:none}
#post-story.demo-simple #story-tool-setting{background:transparent;padding:0;font-size:12px;font-weight:500;text-align:left}
#post-story.demo-simple .studio-product{width:auto;max-width:280px}
#post-story.demo-simple .studio-product-selected{background:var(--canvas);padding:7px 10px;gap:10px;border-radius:8px;box-shadow:none;border:0}
#post-story.demo-simple .studio-product-thumb{width:36px;height:40px}
#post-story.demo-simple .studio-product-selected b{font-size:12px}
#post-story.demo-simple .studio-product-selected small{font-size:10px}
#post-story.demo-simple .story-visual #story-preview{position:relative!important;inset:auto!important;transform:none!important;width:100%!important;margin:0!important;min-height:0;flex:none!important;zoom:1!important}
#post-story.demo-simple .story-posts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;max-width:500px;margin:0;align-items:start}
#post-story.demo-simple .story-post-wrap{min-width:0}
#post-story.demo-simple .story-platform{display:flex;justify-content:space-between;align-items:center;gap:6px;margin:0 0 10px;font-size:13px;font-weight:700}
#post-story.demo-simple .story-platform span{font:400 11px/1.3 var(--body);padding:3px 7px;border-radius:5px;background:var(--canvas)}
#post-story.demo-simple .story-post{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--surface);transform:none;box-shadow:none;width:100%}
#post-story.demo-simple .story-post-head{height:46px;min-height:46px;display:flex;align-items:center;padding:8px;gap:7px}
#post-story.demo-simple .story-post-head>b{font-size:11px;line-height:1.35}
#post-story.demo-simple .story-post-head small{font-size:9px}
#post-story.demo-simple .story-avatar.demo-avatar{width:27px;height:27px;object-fit:cover;border-radius:50%;flex-shrink:0}
#post-story.demo-simple .story-collage,#post-story.demo-simple .story-carousel{height:var(--demo-image-height)!important;min-height:0;aspect-ratio:auto;flex:none;gap:3px}
#post-story.demo-simple .story-collage .story-photo,#post-story.demo-simple .story-carousel .story-photo{height:100%;min-height:0;aspect-ratio:auto}
#post-story.demo-simple .story-photo img{width:100%;height:100%;object-fit:cover}
#post-story.demo-simple .story-caption{font-size:12px;line-height:1.65;padding:10px;min-height:var(--demo-caption-height)!important;height:var(--demo-caption-height)!important;box-sizing:border-box}
#post-story.demo-simple .story-caption.empty{min-height:var(--demo-caption-height)!important;height:var(--demo-caption-height)!important;display:flex;flex-direction:column;justify-content:center;gap:9px;padding:14px}
#post-story.demo-simple .story-caption.empty i{height:4px;margin:0;background:var(--canvas)}
#post-story.demo-simple .story-social-icons{display:none}
#post-story.demo-simple .story-carousel-nav{padding:8px;gap:8px;bottom:0}
#post-story.demo-simple .story-carousel-nav button{width:32px;height:32px;min-width:32px;min-height:32px;padding:0;font-size:18px;box-shadow:none}
#post-story.demo-simple .story-carousel-nav>span{font-size:10px;padding:4px 7px}
#post-story.demo-simple .story-post-state{height:30px;min-height:30px;padding:6px 8px;font-size:9px;white-space:nowrap;background:color-mix(in srgb,var(--brand-primary) 60%,var(--surface))}
#post-story.demo-simple .story-post-state.pending{display:none}
#post-story.demo-simple .story-calendar{margin-top:14px;padding:10px 12px;min-height:0;height:auto;display:flex;align-items:center;gap:10px;max-width:500px;border:1px solid var(--line);border-radius:10px;background:color-mix(in srgb,var(--brand-primary) 30%,var(--surface))}
#post-story.demo-simple .story-calendar.pending{display:none}
#post-story.demo-simple .story-calendar b{font-size:12px}
#post-story.demo-simple .story-calendar span{font-size:11px}
#post-story.demo-simple .story-image-set{height:285px;width:100%;max-width:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}
#post-story.demo-simple .story-image-set figure{display:flex;flex-direction:column;height:285px;padding:4px 4px 7px;transform:none;grid-row:auto;background:var(--canvas)}
#post-story.demo-simple .story-image-set .story-photo{height:auto;min-height:0;flex:1;aspect-ratio:auto}
#post-story.demo-simple .story-image-set figcaption{font-size:11px;line-height:1.4;min-height:35px;padding:7px 3px 0}
#post-story.demo-simple .story-copy{display:flex;flex-direction:column;justify-content:flex-start;align-self:center;gap:22px;padding:0!important;height:auto!important;margin:0}
#post-story.demo-simple .story-lead{font-size:24px!important;line-height:1.5!important;margin:0!important;max-width:26ch}
#post-story.demo-simple #story-reference{display:none}
#post-story.demo-simple .story-explanation{display:grid;gap:24px;margin:0;width:100%;padding:0}
#post-story.demo-simple .story-note{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;margin:0;align-items:start}
#post-story.demo-simple .story-note>span{width:28px;height:28px;display:grid;place-items:center;clip-path:none;transform:none;border-radius:50%;font-size:12px;border:1px solid var(--ink);background:var(--brand-primary)}
#post-story.demo-simple .story-note:nth-child(2)>span{background:var(--brand-accent)}
#post-story.demo-simple .story-note h3{font-size:21px;line-height:1.35;margin:0}
#post-story.demo-simple .story-note p{font-size:14px;line-height:1.6;margin:6px 0 0;max-width:35ch;color:var(--muted)}
#post-story.demo-simple .story-connectors{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.55;overflow:visible;z-index:0}
#post-story.demo-simple .story-connectors path{fill:none;stroke:var(--ink);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
#post-story.demo-simple .story-payoff{padding:0;margin:0}
#post-story.demo-simple .demo-loop-close{display:block;width:100%;padding:14px 0 0;border:0;border-top:1px solid var(--line);margin:0}
#post-story.demo-simple .demo-loop-close b{font-size:14px;line-height:1.5}
#post-story.demo-simple .demo-loop-close a{font-size:13px;min-height:36px;margin-top:4px}
#post-story.demo-simple .story-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line);padding-top:26px;margin-top:6px;min-height:82px}
#post-story.demo-simple .story-back-link{position:static;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 0;background:transparent;border:0;border-radius:0;box-shadow:none;font-size:13px;color:var(--muted);white-space:nowrap}
#post-story.demo-simple .story-back-link:disabled{visibility:hidden}
#post-story.demo-simple .story-action-dock{display:block;width:min(100%,340px);max-width:none;margin:0 0 0 auto;padding:0;position:relative;isolation:auto}
#post-story.demo-simple .story-button-scene{position:relative;width:100%}
#post-story.demo-simple #story-try,#post-story.demo-simple #story-finish{width:100%;min-height:54px;min-width:0;display:flex;align-items:center;justify-content:center;gap:14px;padding:13px 20px;font-size:16px;line-height:1.4;background:var(--brand-primary);border:1.5px solid var(--ink);border-radius:99px;box-shadow:3px 4px 0 var(--ink);animation:none}
#post-story.demo-simple #story-try:disabled{border-style:solid;opacity:.65;cursor:wait;box-shadow:1px 2px 0 var(--ink)}
#post-story.demo-simple .try-spark{display:none}
#post-story.demo-simple .story-cta-arrow{margin-left:auto;font-size:23px;line-height:1}
#post-story.demo-simple .story-action-copy{flex:1;text-align:center}
#post-story.demo-simple .demo-companion{position:absolute;width:170px;height:170px;right:18px;left:auto;top:auto;bottom:calc(100% - 28px);margin:0;pointer-events:none;z-index:2}
#post-story.demo-simple .story-status-accessible{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(min-width:801px) and (max-height:800px){
 #post-story.demo-simple{--demo-image-height:190px;--demo-caption-height:60px;padding:20px 24px;gap:18px}
 #post-story.demo-simple .story-scene{min-height:330px}
 #post-story.demo-simple .story-collage,#post-story.demo-simple .story-carousel{height:190px}
 #post-story.demo-simple .story-caption,#post-story.demo-simple .story-caption.empty{height:60px;min-height:60px}
 #post-story.demo-simple .story-image-set,#post-story.demo-simple .story-image-set figure{height:255px}
 #post-story.demo-simple .story-footer{padding-top:20px;min-height:74px;margin-top:0}
}
@media(min-width:801px) and (max-width:1100px){
 #post-story.demo-simple{--demo-gutter:42px}
 #post-story.demo-simple .story-scene{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
 #post-story.demo-simple .story-note h3{font-size:18px}
 #post-story.demo-simple .story-note p{font-size:13px}
 #post-story.demo-simple .story-platform{font-size:12px;flex-wrap:wrap;min-height:30px}
 #post-story.demo-simple .story-posts{gap:10px}
 #post-story.demo-simple .story-caption{font-size:11px}
}
@media(max-width:800px){
 #post-story.demo-simple{--demo-image-height:175px;--demo-caption-height:72px;padding:20px 16px;gap:20px}
 #post-story.demo-simple .story-heading{gap:12px;padding-bottom:16px}
 #post-story.demo-simple #story-title{font-size:22px}
 #post-story.demo-simple #story-tagline{font-size:13px}
 #post-story.demo-simple .story-chapter{min-width:56px;min-height:44px;font-size:11px}
 #post-story.demo-simple .story-scene{display:flex;flex-direction:column;gap:24px;min-height:0}
 #post-story.demo-simple .story-copy{width:100%;gap:16px}
 #post-story.demo-simple .story-explanation{gap:16px}
 #post-story.demo-simple .story-note{grid-template-columns:25px minmax(0,1fr);gap:10px}
 #post-story.demo-simple .story-note>span{width:25px;height:25px;font-size:11px}
 #post-story.demo-simple .story-note h3{font-size:18px}
 #post-story.demo-simple .story-note p{font-size:13px;margin-top:4px}
 #post-story.demo-simple .story-connectors{display:none}
 #post-story.demo-simple .story-lead{font-size:20px!important}
 #post-story.demo-simple[data-step="0"] .story-tool{flex-direction:column;align-items:stretch;gap:8px}
 #post-story.demo-simple .studio-product{width:100%;max-width:none}
 #post-story.demo-simple .story-posts{max-width:none;gap:10px}
 #post-story.demo-simple .story-platform{font-size:12px;align-items:flex-start;flex-direction:column;gap:3px}
 #post-story.demo-simple .story-platform span{font-size:10px;padding:0;background:transparent}
 #post-story.demo-simple .story-post-head{padding:7px;gap:5px;height:43px;min-height:43px}
 #post-story.demo-simple .story-post-head>b{font-size:9px}
 #post-story.demo-simple .story-post-head small{font-size:8px}
 #post-story.demo-simple .story-avatar.demo-avatar{width:22px;height:22px;font-size:13px}
 #post-story.demo-simple .story-post-head>span:last-child{display:none}
 #post-story.demo-simple .story-collage,#post-story.demo-simple .story-carousel{height:175px}
 #post-story.demo-simple .story-caption,#post-story.demo-simple .story-caption.empty{font-size:10px;line-height:1.55;height:72px;min-height:72px;padding:8px}
 #post-story.demo-simple .story-post-state{white-space:normal;height:36px;min-height:36px;font-size:8px;padding:5px 7px}
 #post-story.demo-simple .story-carousel-nav{padding:5px;gap:3px}
 #post-story.demo-simple .story-carousel-nav button{width:28px;height:28px;min-width:28px;min-height:28px;font-size:15px}
 #post-story.demo-simple .story-carousel-nav>span{font-size:9px;padding:3px 5px}
 #post-story.demo-simple .story-image-set,#post-story.demo-simple .story-image-set figure{height:210px;gap:7px}
 #post-story.demo-simple .story-image-set figcaption{font-size:10px;min-height:40px;padding-inline:0}
 #post-story.demo-simple .story-footer{position:sticky;bottom:0;z-index:8;flex-wrap:wrap;padding:12px 0 5px;gap:4px;margin-top:4px;background:var(--surface);box-shadow:0 -8px 12px var(--surface)}
 #post-story.demo-simple .story-back-link{font-size:12px;order:2;margin:0 auto;padding:6px 0;min-height:36px}
 #post-story.demo-simple .story-back-link:disabled{display:none}
 #post-story.demo-simple .story-action-dock{width:100%;order:1;margin:0}
 #post-story.demo-simple #story-try,#post-story.demo-simple #story-finish{font-size:15px;min-height:52px}
 #post-story.demo-simple .demo-companion{display:none}
}

/* The first scene introduces the whole demo before the first image is made. */
#post-story.demo-simple[data-intro="true"] .story-tool{display:none!important}
#post-story.demo-simple .story-copy{align-self:start;padding-block:24px 130px!important}
#post-story.demo-simple[data-intro="true"] .story-copy{gap:16px;padding-top:36px!important}
#post-story.demo-simple[data-intro="true"] .story-lead{font:700 30px/1.3 var(--display)!important;max-width:20ch}
html[lang=th] #post-story.demo-simple[data-intro="true"] .story-lead{font-family:QoohooThai,var(--body)!important;line-height:1.5!important}
#post-story.demo-simple #story-intro-context p{font-size:16px;line-height:1.65;max-width:34ch;margin:0;color:var(--muted)}
#post-story.demo-simple #story-intro-context>span{display:block;font-size:12px;line-height:1.5;margin-top:20px;color:var(--muted)}
#post-story.demo-simple .demo-intro-route{list-style:none;margin:0;padding:8px 20px;border:1px solid var(--line);border-radius:18px 6px;background:var(--canvas)}
#post-story.demo-simple .demo-intro-route li{display:flex;align-items:center;gap:16px;padding:16px 0;position:relative}
#post-story.demo-simple .demo-intro-route li+li{border-top:1px solid var(--line)}
#post-story.demo-simple .demo-intro-icon{display:grid;place-items:center;flex:0 0 48px;height:48px;background:var(--brand-primary);border-radius:12px 5px}
#post-story.demo-simple .demo-intro-icon svg{width:32px;height:32px;fill:none;stroke:var(--ink);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#post-story.demo-simple .demo-intro-route b{display:block;font-size:17px;line-height:1.35}
#post-story.demo-simple .demo-intro-route li div>span{display:block;font-size:13px;line-height:1.5;color:var(--muted);margin-top:4px}
#post-story.demo-simple .demo-intro-route li>small{margin-left:auto;align-self:flex-start;padding-top:4px;font:700 12px/1.5 var(--body);color:var(--muted)}
@media(min-width:801px) and (max-height:800px){
 #post-story.demo-simple .story-copy{padding-top:12px!important}
 #post-story.demo-simple[data-intro="true"] .story-copy{padding-top:24px!important}
 #post-story.demo-simple .demo-intro-route li{padding-block:11px}
}
@media(max-width:800px){
 #post-story.demo-simple .story-copy{padding:0!important}
 #post-story.demo-simple[data-intro="true"] .story-copy{order:-1;padding:0!important;gap:12px}
 #post-story.demo-simple[data-intro="true"] .story-lead{font-size:23px!important;max-width:none}
 #post-story.demo-simple #story-intro-context p{font-size:14px;max-width:none}
 #post-story.demo-simple #story-intro-context>span{font-size:11px;margin-top:12px}
 #post-story.demo-simple .demo-intro-route{padding:4px 14px}
 #post-story.demo-simple .demo-intro-route li{padding:12px 0;gap:12px}
 #post-story.demo-simple .demo-intro-icon{flex-basis:40px;height:40px}
 #post-story.demo-simple .demo-intro-icon svg{width:28px;height:28px}
 #post-story.demo-simple .demo-intro-route b{font-size:15px}
 #post-story.demo-simple .demo-intro-route li div>span{font-size:12px}
 #post-story.demo-simple[data-intro="true"] .story-footer{position:relative;padding-top:112px}
 #post-story.demo-simple[data-intro="true"] .demo-companion{display:block;width:140px;height:140px;right:12px}
}
#post-story .story-report { margin:0; padding:clamp(16px,3vw,30px); background:var(--canvas); border-radius:18px; }
#post-story .story-report dl { margin:12px 0 0; }
#post-story .story-report dl div { display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:12px 0; border-top:1px solid var(--line); }
#post-story .story-report dd { margin:0; font-size:clamp(22px,3vw,36px); font-weight:700; }
#story-intro-context [data-schedule] { margin-top:12px; background:transparent; }
.benchmark-v2 .demo-shortcuts[hidden]{display:none!important}
#post-story.demo-simple[data-intro=true] #story-title{font-size:clamp(32px,4.5vw,68px);line-height:1.28}
#post-story.demo-simple[data-intro=true] .story-chapter{font-size:clamp(17px,2.2vw,30px);padding:12px 18px!important}
#post-story.demo-simple[data-intro=true] .narrative-demo-preview img{aspect-ratio:auto;height:auto;width:100%}
#post-story.demo-simple .story-scene{position:relative}
@media(max-width:800px){
 #post-story.demo-simple .story-connectors:not([hidden]){display:block;opacity:1;z-index:2}
 #post-story .story-connectors circle{fill:var(--brand-primary);stroke:var(--ink)}
 #post-story .story-connectors g:nth-child(2)>circle{fill:var(--brand-accent)}
 #post-story .story-connectors text{fill:var(--ink);text-anchor:middle;font:700 11px var(--body)}
}

/* Each example and its guide share one work surface. Only the example changes size. */
#post-story.demo-simple:not([data-intro="true"]) .demo-companion,
#post-story.demo-simple[data-step="0"] .story-tool { display:none!important }
.qoohoo-soft #post-story.demo-simple .story-scene {
  align-items:center;
  min-height:0;
}
.qoohoo-soft #post-story.demo-simple[data-chapter] .story-copy {
  order:initial;
  align-self:center;
  padding:0!important;
}
.qoohoo-soft #post-story.demo-simple[data-intro=true][data-chapter] .story-heading { margin:0 }
#post-story.demo-simple[data-intro=true] .story-footer { padding-top:18px }
#post-story .story-evidence {
  --guide-height:clamp(88px,8vw,112px);
  display:grid;
  grid-template-rows:minmax(min-content,1fr) auto;
  box-sizing:border-box;
  min-width:0;
  min-height:clamp(335px,49svh,440px);
  background:var(--canvas);
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
}
#post-story .evidence-content {
  display:grid;
  align-content:center;
  min-width:0;
  padding:clamp(12px,1.3vw,18px);
}
#post-story .evidence-content :is(.past-strip,.next-photo) {
  width:100%;height:clamp(166px,23svh,250px);
  display:block;object-fit:cover;border-radius:10px;
}
#post-story .evidence-detail {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:0 clamp(12px,1.5vw,22px);
  border-top:1px solid var(--line);
  background:color-mix(in srgb,var(--brand-primary) 18%,var(--surface));
  text-align:start;
}
#post-story .evidence-detail-copy { min-width:0;padding-block:10px }
#post-story .evidence-detail-copy :is(b,blockquote) {
  display:block;margin:0;color:var(--ink);font:700 clamp(15px,1.4vw,20px)/1.4 var(--body);
}
#post-story .story-evidence small { display:block;margin-bottom:3px;color:var(--muted);font-size:13px }
#post-story .evidence-guide { position:relative;align-self:end;line-height:0 }
#post-story .evidence-guide img {
  display:block;width:auto;height:var(--guide-height);max-width:100%;
  object-fit:contain;object-position:center bottom;
}
#post-story .brand-swatches { display:flex;gap:4px;margin-top:6px }
#post-story .brand-swatches i { width:16px;height:7px;border-radius:2px;background:#d6b28b }
#post-story .brand-swatches i:nth-child(2) { background:#6b4735 }
#post-story .brand-swatches i:nth-child(3) { background:#ede1c6 }
#post-story .review-posts { position:relative;min-width:0;padding-bottom:12px }
#post-story .review-posts h3 { margin:0 0 8px;font-size:clamp(16px,1.6vw,22px);line-height:1.4 }
#post-story .review-window { width:82%;overflow:hidden }
#post-story .review-track { display:flex;width:76%;margin-inline:auto;transform:translateX(-100%) }
#post-story .review-track figure {
  flex:0 0 100%;transform:scale(.86);box-sizing:border-box;min-width:0;margin:0;overflow:hidden;
  border:1px solid var(--line);border-radius:12px;background:white;
}
#post-story .landing-review .review-window { overflow:visible }
#post-story .landing-review .review-track figure:not(:nth-child(2)) { visibility:hidden }
#post-story .landing-review .review-track figure:nth-child(2) { transform-origin:top left }
#post-story .review-track figure:nth-child(2) { transform:scale(1) }
#post-story .review-photo { position:relative;overflow:hidden;aspect-ratio:1.6 }
#post-story .review-photo img { position:absolute;top:0;height:100%;max-width:none;object-fit:cover }
#post-story .review-track figcaption {
  margin:0;padding:8px 12px;color:var(--ink);font:600 clamp(14px,1.2vw,17px)/1.4 var(--body);
}
#post-story .review-track .ig-post-head { height:40px }
#post-story .review-track svg { display:block;width:17px;height:17px;flex:none;color:#171717 }
#post-story .review-track figcaption { font-weight:450;padding-top:3px;min-height:2.8em }
#post-story .review-presenter {
  position:absolute;right:0;bottom:0;width:31%;pointer-events:none;
  display:flex;flex-direction:column;align-items:flex-end;gap:2px;
}
#post-story .review-presenter img { width:100%;height:auto;display:block }
#post-story.demo-simple .review-brief>span { background:var(--cue) }
@media(max-width:800px) {
  #post-story .review-track figcaption { padding:5px 9px }
}
@media(prefers-reduced-motion:reduce) {
  #post-story .review-window { overflow-x:auto;scroll-snap-type:x mandatory }
  #post-story .review-track { transform:none }
  #post-story .review-track figure { transform:none;scroll-snap-align:center }
  #post-story .review-track figure[aria-hidden] { display:none }
}
#post-story .story-report { padding:0;background:transparent }
#post-story .evidence-sequence { display:flex;gap:6px }
#post-story .evidence-sequence .story-photo { width:clamp(34px,4vw,54px);height:auto;aspect-ratio:1;border-radius:6px;overflow:hidden }
#post-story.demo-simple .story-image-set,#post-story.demo-simple .story-image-set figure { height:clamp(175px,24svh,250px) }
#post-story.demo-simple .story-posts { max-width:none;--demo-image-height:clamp(125px,16svh,168px) }
#post-story.demo-simple .story-caption:not(.empty) { height:auto!important }
@media(min-width:801px) {
  #post-story .story-evidence:has(.story-image-set) .evidence-content { align-content:stretch }
  #post-story.demo-simple .story-image-set,#post-story.demo-simple .story-image-set figure { height:100% }
}
@media(max-width:800px) {
  #post-story.demo-simple .story-scene { gap:20px }
  #post-story .story-evidence { --guide-height:80px;min-height:0 }
  #post-story .evidence-content { padding:10px }
  #post-story .evidence-content :is(.past-strip,.next-photo) { height:auto;max-height:210px }
}
#post-story.demo-simple .story-footer{justify-content:flex-end;flex-wrap:nowrap;gap:6px}
#post-story.demo-simple .story-footer .story-action-dock{margin:0;order:1;min-width:0}
#post-story.demo-simple #story-back{display:inline-grid;place-items:center;order:0;width:44px;min-height:44px;margin:0;padding:0;flex:0 0 44px;border:0;background:transparent;box-shadow:none;color:var(--muted);cursor:pointer;align-self:center}
#post-story.demo-simple #story-back::before{content:"";width:9px;height:9px;border-left:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg)}
#post-story.demo-simple #story-back:hover{color:var(--ink)}
#post-story.demo-simple #story-back:focus-visible{outline:2px solid var(--ink);outline-offset:-5px;border-radius:10px}

/* Shared stage dimensions keep the reading surface and navigation steady. */
#post-story.demo-simple[data-chapter] {
  --stage-preview:clamp(440px,49svh,475px);
  --stage-heading:clamp(68px,6vw,88px);
  grid-template-rows:minmax(var(--stage-heading),auto) 1fr;
  row-gap:14px;
}
#post-story.demo-simple[data-chapter] .story-evidence { min-height:var(--stage-preview) }
#post-story.demo-simple[data-chapter] .story-footer { display:grid;grid-template-columns:44px minmax(0,340px);justify-content:end;align-items:end;padding:0;min-height:0;margin:0;border:0;box-shadow:none;background:transparent }
#post-story.demo-simple .story-footer .story-action-dock { grid-column:2;width:100% }
/* Balance the back control with an equal empty column so the CTA itself is centered. */
@media(min-width:801px) {
  #post-story.demo-simple[data-intro="false"] .story-footer {
    grid-template-columns:44px minmax(0,340px) 44px;
    justify-content:center;
  }
}
#post-story.demo-simple[data-chapter] .story-heading { margin-block:0;padding:0;border-bottom:0 }
@media(max-width:800px) {
  #post-story.demo-simple[data-chapter] { --stage-preview:418px;--stage-heading:88px }
  #post-story.demo-simple[data-chapter] #story-title { font-size:clamp(21px,4.6vw,28px) }
  #post-story.demo-simple[data-intro=true] #story-title { font-size:clamp(25px,5.7vw,36px) }
  #post-story.demo-simple[data-chapter] .story-copy { justify-content:center }
  #post-story.demo-simple[data-chapter] .story-footer { position:static;padding:0 }
}

@media(max-width:370px) {
  #post-story.demo-simple[data-chapter] #story-try { min-height:72px }
  #post-story.demo-simple[data-chapter] { --stage-heading:116px;--stage-preview:440px }
  #post-story.demo-simple[data-chapter] .story-chapter { min-width:44px;padding-inline:7px!important }
}
@media(max-width:800px) {
  #post-story.demo-simple[data-chapter] .story-note h3 { font-size:18px;line-height:1.35 }
  #post-story.demo-simple[data-chapter] .story-note p { font-size:14px;line-height:1.5 }
}

#post-story.demo-simple #story-preview,#post-story.demo-simple #story-explanation {
  display:grid;grid-template-columns:minmax(0,1fr);
}
#post-story .stage-panel { grid-area:1/1;min-width:0;display:grid }
#post-story .stage-panel[inert] { visibility:hidden;pointer-events:none }
#post-story #story-explanation .stage-panel { gap:inherit;align-content:center }

/* Product excerpts inside the marketing demo. */
#post-story .studio-idea h3 { margin:0 0 7px;font-size:16px;line-height:1.4;color:#26272a }
#post-story .idea-tile { display:grid;justify-items:start;gap:6px;border:1px solid #d9d9d5;border-radius:12px;background:#fafafa;padding:10px 12px }
#post-story .idea-tile strong { color:#29292c;font-size:15px;line-height:1.4 }
#post-story .idea-status { display:inline-flex;align-items:center;gap:5px;background:#fff1cb;border:1px solid #ebdcb6;border-radius:20px;padding:2px 8px;color:#815611;font-size:11px;font-weight:650;line-height:1.5 }
#post-story .idea-status::before { content:"";border-radius:50%;width:6px;height:6px;background:currentColor }
#post-story .evidence-content:has(.studio-sample) { background:#fff }
#post-story .studio-sample { display:grid;gap:18px }
#post-story .campaign-context small { color:#303238;font-weight:650 }
#post-story .campaign-context span { display:block;padding:8px 12px;max-width:220px;border:1px solid #dadbd7;border-radius:9px;color:#646566;font-size:13px }
#post-story .studio-sample p { margin:0;font-size:12px;color:#61656a }
#post-story .dashboard-sample {
  display:grid;gap:10px;padding:clamp(12px,1.2vw,18px);
  background:white;border:1px solid var(--line);border-radius:16px;color:#262333;text-align:start;
}
#post-story .dashboard-summary { text-align:center }
#post-story .dashboard-summary small { color:var(--muted);font-size:12px }
#post-story .dashboard-summary h3 { margin:5px 0;font:700 clamp(16px,1.5vw,21px)/1.35 var(--body) }
#post-story .dashboard-summary h3 span[aria-hidden] { color:#9373d4;padding-inline:3px }
#post-story .dashboard-metrics {
  position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:clamp(10px,3%,20px);container-type:inline-size;
  margin:0;border-block:1px solid #e5e9ee;padding-block:12px;
}
#post-story .dashboard-metrics::before {
  content:"";position:absolute;inset-block:12px;inset-inline-start:50%;border-inline-start:1px solid #e5e9ee;
}
#post-story .dashboard-metrics>div {
  display:grid;grid-row:span 2;grid-template-rows:subgrid;min-width:0;
}
#post-story .dashboard-metrics dt,#post-story .dashboard-post strong { display:block;font-size:14px;font-weight:650 }
#post-story .dashboard-metrics dd {
  --mole-size:min(25cqi,130px);
  display:grid;grid-template-columns:minmax(0,1fr) var(--mole-size);
  align-items:center;margin:0;color:#262333;
  padding-block:calc(var(--mole-size) * .22) calc(var(--mole-size) * .43);
}
#post-story .dashboard-metrics dd strong {
  font:750 clamp(20px,6.6cqi,32px)/1 var(--body);font-variant-numeric:tabular-nums;
}
#post-story .metric-change {
  position:relative;display:grid;justify-items:start;align-items:center;
  font:750 clamp(10px,2.7cqi,13px)/1 var(--body);font-variant-numeric:tabular-nums;color:#176444;
}
#post-story .metric-change b {
  display:grid;place-items:center;width:36.6%;font:inherit;font-variant-numeric:tabular-nums;position:relative;
}
#post-story .metric-change img {
  position:absolute;top:50%;left:0;transform:translateY(-38.3%);
  width:100%;height:auto;display:block;
}
#post-story .dashboard-feature h3 { margin:0 0 3px;color:var(--muted);font:500 12px/1.4 var(--body) }
#post-story .dashboard-post { display:flex;align-items:center;gap:12px }
#post-story .dashboard-post img { width:42px;height:42px;flex:none;object-fit:cover;border-radius:7px }
.story-result-flight { position:fixed;z-index:20;display:block;pointer-events:none;object-fit:cover;max-width:none }



@media (min-width:801px) {
  .qoohoo-soft #post-story.demo-simple[data-chapter] .story-copy {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:1fr auto;
    align-self:stretch;
    gap:18px;
  }
  #post-story.demo-simple[data-chapter] .story-explanation { align-self:center }
}
@media (max-width:800px) {
  #post-story.demo-simple[data-chapter] .story-copy { gap:16px }
}

/* The rabbit points to the first action, then steps aside for the walkthrough. */
#post-story.demo-simple[data-intro="true"] .demo-companion {
  display:block;
  width:var(--intro-rabbit);
  height:var(--intro-rabbit);
  bottom:calc(100% - var(--intro-rabbit) * .30);
  right:12px;
}
#post-story.demo-simple[data-intro="true"] { --intro-rabbit:clamp(90px,8.5vw,126px) }
@media (min-width:801px) {
  #post-story.demo-simple[data-intro="true"] .story-footer {
    padding-top:calc(var(--intro-rabbit) * .8);
  }
}
@media (max-width:800px) {
  #post-story.demo-simple[data-intro="true"] { --intro-rabbit:52px }
  #post-story.demo-simple[data-intro="true"] .demo-companion { bottom:calc(100% - 30px);right:8px }
  #post-story.demo-simple[data-intro="true"] #story-try { padding-right:64px }
  #post-story.demo-simple[data-intro="true"] .story-cta-arrow { display:none }
}
@media (prefers-reduced-motion:no-preference) {
  #post-story.demo-simple[data-step="cover"] .story-button-scene {
    animation: demo-cover-bounce .78s ease-in-out infinite alternate;
  }
}

/* Keep the section title and the trail in view while following the evidence. */
#dna.dna { padding-block:12px;scroll-margin-top:var(--header-offset,78px) }
#dna .demo-opening { margin:0 0 10px }
#dna .demo-opening>div:first-child { display:flex;flex-wrap:wrap;align-items:center;gap:6px 24px }
#dna .demo-opening h2 { margin:0;font-size:clamp(19px,1.8vw,26px);line-height:1.35 }
#dna .ui-demo-progress { margin:0 }
#post-story .brand-palette { margin-bottom:12px }
#post-story .brand-palette>div { display:flex;flex-wrap:wrap;gap:5px 12px }
#post-story .brand-palette span { display:inline-flex;align-items:center;gap:5px;font-size:13px }
#post-story .brand-palette span::before { content:"";width:15px;height:15px;border-radius:50%;background:#eee1c4;border:0 }
#post-story .brand-palette span:nth-child(2)::before { background:#b52c1d }
#post-story .brand-palette span:nth-child(3)::before { background:#52802c }
#post-story.demo-simple .story-explanation { gap:14px }
#post-story.demo-simple .story-note p { max-width:50ch }
#post-story .story-evidence:has(.brand-palette) .past-strip { height:auto;aspect-ratio:3 / 1.12;object-fit:cover }
@media(min-width:801px) {
  #post-story.demo-simple[data-chapter] { --stage-preview:clamp(340px,46svh,435px);--stage-heading:clamp(56px,5.14vw,75px);padding:14px 24px;row-gap:8px }
  #post-story.demo-simple[data-intro=true] #story-title { font-size:clamp(34px,4vw,58px) }
  #post-story.demo-simple[data-intro=true] .story-chapter { font-size:20px;padding:8px 12px!important }
  #post-story.demo-simple[data-chapter] .story-evidence { --guide-height:clamp(78px,8vw,122px) }
  #post-story.demo-simple[data-chapter] .evidence-content { padding:12px }
  #post-story.demo-simple[data-intro=true] .story-footer { padding-top:0 }
  #post-story.demo-simple[data-intro=true] .story-explanation { padding-right:clamp(20px,4vw,72px) }
  #post-story.demo-simple[data-intro=true] .story-copy { gap:28px }
  #post-story.demo-simple[data-chapter] .story-note h3 { font-size:clamp(17px,1.45vw,21px) }
  #post-story.demo-simple[data-chapter] .story-note p { line-height:1.5;margin-top:4px }
  #post-story.demo-simple[data-chapter] .story-posts { --demo-image-height:clamp(95px,15svh,140px);--demo-caption-height:48px }
}
@media(max-width:800px) {
  #dna.dna { scroll-margin-top:70px;padding-block:6px }
  #dna .demo-opening { margin-bottom:6px }
  #dna .demo-opening>div:first-child { width:100%;gap:3px 10px }
  #dna .ui-demo-progress { padding:0 }
  #post-story.demo-simple[data-chapter] { padding:12px;row-gap:8px;--stage-heading:48px;--stage-preview:0px }
  #post-story.demo-simple[data-chapter] .story-scene { gap:10px }
  #post-story.demo-simple[data-chapter] .story-note h3 { font-size:16px }
  #post-story.demo-simple[data-chapter] .story-note p { margin-top:2px;line-height:1.42 }
  #post-story.demo-simple .story-explanation { gap:8px }
  #post-story.demo-simple[data-chapter] .story-evidence { --guide-height:68px }
  #post-story .brand-palette { margin-bottom:5px }
  #post-story .brand-palette span { font-size:11px }
  #post-story .brand-palette span::before { width:10px;height:10px }
  #post-story.demo-simple .evidence-detail { padding-inline:10px }
  #post-story.demo-simple .evidence-detail-copy { padding-block:5px }
  #post-story.demo-simple .evidence-content { padding:8px }
  #post-story .story-evidence:has(.brand-palette) .past-strip { max-height:94px }
  #post-story.demo-simple[data-chapter] .story-copy { gap:10px }
}
@media(max-width:800px) {
  #dna .ui-demo-progress { flex-wrap:nowrap;gap:3px }
  #dna .ui-demo-progress li { padding:4px 6px;font-size:11px }
  #dna .ui-demo-progress li:not([aria-current=step]) { gap:0;font-size:0 }
  #dna .ui-step-count { font-size:11px }
  #post-story.demo-simple[data-chapter] { min-height:calc(100svh - 150px);grid-template-rows:auto 1fr }
  #post-story .stage-panel[inert] { display:none }
  #post-story.demo-simple[data-chapter] .story-scene { justify-content:space-between }
  #post-story.demo-simple .story-note { grid-template-columns:21px 1fr;gap:7px }
  #post-story.demo-simple .story-note>span { width:21px;height:21px }
  #post-story.demo-simple .story-note p { max-width:none }
}
@media(max-width:800px) {
  html #post-story.demo-simple[data-chapter] .story-note h3 { font-size:16px!important;line-height:1.35!important }
  html #post-story.demo-simple[data-chapter] .story-note p { font-size:14px!important;line-height:1.42!important }
}
@media(max-width:420px) {
  #dna>.wrap { width:calc(100% - 16px) }
}


/* A separate cover precedes the seven working steps. */
#dna .ui-demo-progress[hidden] { display:none }
.qoohoo-soft #post-story.demo-simple[data-step="cover"] {
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  gap:0;min-height:clamp(370px,68svh,565px);padding:28px 16px;text-align:center;
}
.qoohoo-soft #post-story.demo-simple[data-step="cover"] .story-heading {
  flex-direction:column;gap:16px;min-height:0;padding:0;margin:0;
}
#post-story.demo-simple[data-step="cover"] #story-tagline {
  white-space:pre-line;
  display:block;margin:10px 0 0;font:500 clamp(17px,1.8vw,24px)/1.5 var(--body);color:var(--muted)
}
.qoohoo-soft #post-story.demo-simple[data-step="cover"] .story-scene {
  display:block;width:min(100%,300px);min-height:0;height:auto;margin:0 auto;
}
.qoohoo-soft #post-story.demo-simple[data-step="cover"] .story-copy { display:block }
#post-story.demo-simple[data-step="cover"] .story-footer {
  display:block;padding:calc(var(--intro-rabbit) * .8 + 8px) 0 0;margin:0;
}
#post-story.demo-simple[data-step="cover"] #story-visual[hidden] { display:none!important }
@media(max-width:800px) {
  #post-story.demo-simple[data-step="cover"] { --intro-rabbit:90px }
  #post-story.demo-simple[data-step="cover"] .demo-companion { right:10px;bottom:calc(100% - var(--intro-rabbit) * .30) }
  #post-story.demo-simple[data-step="cover"] #story-try { padding-right:20px }
  #post-story.demo-simple[data-step="cover"] .story-cta-arrow { display:inline }
}

/* Give the opening shot more room than its two detail shots. */
#post-story.demo-simple .story-image-set {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: clamp(215px, 40svh, 375px);
}
#post-story.demo-simple .story-image-set figure {
  min-height: 0;
  height: 100%;
  padding: 0;
}
#post-story.demo-simple .story-image-set figure:first-child {
  grid-row: span 2;
}
.qoohoo-soft #post-story.demo-simple .story-image-set figcaption {
  min-height: 0;
  padding: 3px 2px 0;
}
@media (max-width: 800px) {
  #post-story.demo-simple .story-image-set { height: clamp(170px, 24svh, 220px) }
}

@keyframes demo-cover-bounce {
  from { translate: 0 0 }
  to { translate: 0 -8px }
}
.qoohoo-soft #post-story.demo-simple[data-step="cover"] {
  position:relative;
  overflow:visible;
  padding:clamp(102px,9vw,142px) 20px 32px;
}
.qoohoo-soft #post-story.demo-simple[data-step="cover"] .story-heading { position:static }
.qoohoo-soft #post-story.demo-simple[data-step="cover"] .story-chapter {
  position:absolute;
  inset:clamp(12px,1.2vw,22px) auto auto max(-52px,-3vw);
  width:clamp(190px,20vw,292px);
  height:clamp(105px,10.8vw,158px);
  background:transparent;
  border:0;
  transform:rotate(-13deg);
  isolation:isolate;
  filter:drop-shadow(0 3px 1px #42462838);
}
.qoohoo-soft #post-story.demo-simple[data-step="cover"] .story-chapter::before ,
#dna .demo-dock-sticker::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:var(--brand-secondary);
  clip-path:polygon(0 50%,6% 38%,3% 25%,12% 21%,14% 10%,25% 12%,31% 3%,40% 8%,49% 0,57% 7%,67% 2%,73% 10%,84% 7%,86% 18%,96% 20%,94% 33%,100% 43%,95% 54%,99% 66%,90% 73%,89% 84%,78% 85%,72% 96%,62% 92%,54% 100%,45% 94%,35% 99%,28% 91%,17% 93%,14% 82%,5% 80%,7% 66%);
}
.qoohoo-soft #post-story.demo-simple[data-step="cover"] #story-number {
  font:900 clamp(56px,6.4vw,94px)/1 'Grandstander',sans-serif;
  letter-spacing:-.055em;
  color:var(--ink);
}
.qoohoo-soft #post-story.demo-simple[data-step="cover"] #story-tagline {
  margin:12px auto 0;
  font-size:clamp(19px,2vw,29px);
  line-height:1.35;
  font-weight:550;
  color:var(--ink);
  text-wrap:balance;
}
.qoohoo-soft #post-story.demo-simple[data-step="cover"] .story-scene { width:min(100%,405px) }
.qoohoo-soft #post-story.demo-simple[data-step="cover"] #story-try {
  min-height:clamp(64px,6vw,82px);
  font-size:clamp(21px,2vw,29px);
}
@media (max-width:800px) {
  .qoohoo-soft #post-story.demo-simple[data-step="cover"] { padding-top:122px;margin-inline:8px }
  .qoohoo-soft #post-story.demo-simple[data-step="cover"] .story-chapter {
    inset:10px auto auto -12px;width:clamp(162px,31vw,202px);height:clamp(90px,17vw,112px);
  }
  .qoohoo-soft #post-story.demo-simple[data-step="cover"] #story-number { font-size:clamp(50px,10vw,65px) }
  .qoohoo-soft #post-story.demo-simple[data-step="cover"] .story-scene { width:min(100%,325px) }
}

#post-story .caption-sample {
  justify-self:center;align-self:center;transform-origin:top left;
  --demo-image-height:clamp(210px,calc(38svh - 22px),418px);
  margin-block-end:10px;
  width:min(100%,max(435px,calc(var(--demo-image-height) + 2px)));
}
#post-story.demo-simple .caption-sample .story-post { height:auto;min-height:0;background:var(--q-ref-neutral-white,#fff) }
#post-story.demo-simple .stage-panel[inert] { display:none }
#post-story .caption-slot { display:grid;align-items:center }
#post-story .caption-slot > * { grid-area:1/1 }
#post-story .caption-slot .empty { opacity:0 }
#post-story .caption-fill {
  display:grid;grid-template-columns:minmax(0,1fr) clamp(78px,8vw,122px);
  align-items:center;gap:9px;padding:10px 12px 14px 14px;
  color:var(--ink);font:700 clamp(18px,1.7vw,26px)/1.75 var(--body);
}
#post-story .caption-rabbit { width:100%;align-self:end }
#post-story .voice-cue { white-space:nowrap;background:var(--cue);border-radius:4px }
#post-story .voice-cue sup { margin-inline:2px;font:700 10px/1 var(--body);vertical-align:super }
#post-story :is(.caption-sample,.departing-caption) [data-note="1"],#post-story[data-step="2"] .story-note[data-note="0"]>span { --cue:#DFEFAD }
#post-story :is(.caption-sample,.departing-caption) [data-note="2"],#post-story[data-step="2"] .story-note[data-note="1"]>span { --cue:#FFCEB4 }
#post-story :is(.caption-sample,.departing-caption) [data-note="3"],#post-story[data-step="2"] .story-note[data-note="2"]>span { --cue:#E6E2F9 }
#post-story :is(.caption-sample,.departing-caption) [data-note="4"],#post-story[data-step="2"] .story-note[data-note="3"]>span { --cue:#f4df9f }
.qoohoo-soft #post-story.demo-simple[data-step="2"] .story-note>span { background:var(--cue) }
@media(max-width:800px) {
  #post-story .caption-sample { width:100%;margin-block-end:4px;--demo-image-height:clamp(88px,calc(45svh - 235px),200px) }
  #post-story.demo-simple .caption-sample .story-platform { flex-direction:row;margin-bottom:4px }
  #post-story.demo-simple .caption-sample .story-post-head { min-height:30px;height:30px;padding:3px 7px }
  #post-story .caption-fill { grid-template-columns:minmax(0,1fr) 68px;padding:6px 8px 9px 10px;font-size:17px;line-height:1.6 }
}

#post-story .step-mechanic {
  margin:0;font:500 clamp(16px,1.4vw,20px)/1.5 var(--body);color:var(--muted);
}
#post-story .step-callouts { display:grid;gap:inherit }
@media(min-width:801px) {
  #post-story.demo-simple[data-chapter] #story-explanation { align-self:stretch }
  #post-story #story-explanation .stage-panel:has(.step-mechanic) {
    grid-template-rows:auto 1fr;align-content:stretch;
  }
  #post-story .step-callouts { align-self:center }
}

#dna:has(#post-story[data-step="cover"]) .demo-opening { display:none }
#dna .demo-opening .demo-dock-sticker {
  position:relative;isolation:isolate;display:grid;place-items:center;flex:none;
  width:92px;height:48px;transform:rotate(-9deg);
  color:var(--ink);font:900 27px/1 'Grandstander',sans-serif;letter-spacing:-.05em;
}
@media(max-width:800px) {
  #dna .demo-opening .demo-dock-sticker { width:62px;height:34px;font-size:19px }
}

#post-story [data-evidence-cue] { position:relative }
#post-story [data-evidence-cue]::before {
  content:attr(data-evidence-cue);
  display:inline-grid;place-items:center;vertical-align:middle;
  width:18px;height:18px;margin-inline-end:5px;border-radius:50%;
  background:var(--cue);color:var(--ink);font:700 11px/1 var(--body);
}
#post-story .past-frame::before { position:absolute;top:5px;left:34%;z-index:1 }
#post-story .story-platform[data-evidence-cue] { justify-content:start;gap:2px }
#post-story .story-platform[data-evidence-cue] span { margin-inline-start:auto }
#post-story [data-evidence-cue="1"],#post-story .story-note[data-note="0"] { --cue:#DFEFAD }
#post-story [data-evidence-cue="2"],#post-story .story-note[data-note="1"] { --cue:#FFCEB4 }
#post-story [data-evidence-cue="3"],#post-story .story-note[data-note="2"] { --cue:#E6E2F9 }
.qoohoo-soft #post-story.demo-simple .step-callouts .story-note>span { background:var(--cue) }
#post-story .last-result { display:flex;align-items:center;gap:12px }
#post-story .last-result img { width:64px;aspect-ratio:1;border-radius:8px }
#post-story .last-result strong { font-size:16px }
@media(min-width:801px) {
  .qoohoo-soft #post-story.demo-simple:not([data-step="cover"]) .story-scene {
    min-height:clamp(380px,60svh,525px)
  }
}
@media(max-width:800px) {
  #post-story.demo-simple .story-connectors { display:none }
}

@media(max-width:800px) {
  #post-story .last-result img { width:46px }
}

@media(max-width:800px) {
  #post-story.demo-simple[data-chapter]:not([data-step="2"]) .story-scene { gap:6px }
  #post-story.demo-simple[data-chapter]:not([data-step="2"]) .story-copy { gap:6px }
}

/* The source post and the consultant’s reading occupy separate columns. */
#post-story .brand-profile-scene {
  display:grid;align-items:start;min-width:0;isolation:isolate;container-type:inline-size;
}
#post-story .brand-profile,.brand-source-post { color:#171717 }
#post-story .brand-profile { width:55.5%;margin-bottom:max(52px,11cqw);border:1px solid #dbdbdb;border-radius:13px;background:white }
#post-story .brand-profile-scene svg { width:17px;height:17px;display:block;flex:none }
#post-story .ig-account-bar,#post-story .ig-post-head,#post-story .ig-post-actions { display:flex;align-items:center;gap:8px;padding:7px 10px }
#post-story .ig-account-bar { justify-content:space-between;border-bottom:1px solid #efefef;font:650 14px/1.2 Arial,sans-serif }
#post-story .ig-identity { display:flex;align-items:center;gap:12px;padding:9px 10px 3px }
#post-story .ig-avatar-ring { display:block;flex:none;width:clamp(48px,4.7vw,72px);padding:2px;border-radius:50%;background:conic-gradient(#d52e9d,#f94357,#ffc94d,#fb9a3a,#d52e9d) }
#post-story .ig-avatar-ring img { width:100%;display:block;aspect-ratio:1;object-fit:cover;border-radius:50%;border:2px solid white }
#post-story .ig-account-info { flex:1;min-width:0 }
#post-story .ig-account-info>strong { font-size:13px }
#post-story .ig-stats { display:flex;justify-content:space-between;margin:3px 0 0 }
#post-story .ig-stats div { display:flex;flex-direction:column-reverse }
#post-story .ig-stats dt { font-size:10px;line-height:1.3 }
#post-story .ig-stats dd { font:650 14px/1.2 Arial,sans-serif;margin:0 }
#post-story .ig-bio { padding:0 10px 5px;color:#595959;font-size:11px }
#post-story .ig-bio p { margin:0;color:#171717;font:500 1em/1.4 var(--body) }
#post-story .ig-profile-actions { display:flex;gap:4px;padding:0 9px 4px }
#post-story .ig-profile-actions span { flex:1;border-radius:5px;background:#efefef;text-align:center;font:650 11px/21px var(--body) }
#post-story .ig-profile-actions span:first-child { background:#4059e8;color:white }
#post-story .ig-profile-tabs { display:flex }
#post-story .ig-profile-tabs span { flex:1;display:grid;place-items:center;padding:5px;color:#777 }
#post-story .ig-profile-tabs span:first-child { color:#161616;border-bottom:2px solid }
#post-story .ig-gallery { position:relative }
#post-story .profile-post-grid { overflow:hidden;border-radius:0 0 12px 12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;list-style:none;margin:0;padding:0 }
#post-story .profile-tile { position:relative;overflow:hidden;aspect-ratio:1.14 }
#post-story .profile-tile img { position:absolute;top:0;height:100%;max-width:none;object-fit:cover }
#post-story .tile-strip { width:300%;left:0 }
#post-story .tile-rice .tile-strip,#post-story .tile-soup .tile-strip { left:-200% }
#post-story .tile-pork .tile-strip,#post-story .tile-chicken .tile-strip { left:-100% }
#post-story .tile-dip .tile-strip { width:630%;height:210%;left:-315%;object-position:50% 0 }
#post-story .tile-single { left:0;width:100% }
/* Keep the selected grid thumbnail centred on the same dish as the post. */
#post-story .tile-focus { container-type:size }
#post-story .tile-focus .tile-strip {
  width:max(300cqw,300cqh);height:auto;left:min(0px,calc((100cqw - 100cqh) / 2));
  top:50%;transform:translateY(-50%);
}
#post-story .tile-focus::after { content:"";position:absolute;inset:0;border:2px solid var(--wasabi,#bdd66f) }
#post-story .brand-feature {
  --post-width:53.5cqw;
  --post-head-height:38px;
  --post-photo-ratio:1.6;
  position:absolute;top:calc(50% - clamp(26px, 11cqw, 66px));left:calc(46.5cqw - 1px);width:var(--post-width);transform-origin:top left;
  /* Anchor the photograph’s centre to the raised focus point. */
  translate:0 calc(-1px - var(--post-head-height) - (var(--post-width) - 2px) / var(--post-photo-ratio) / 2);
}
#post-story .brand-bear-peek {
  position:absolute;bottom:calc(100% - 2px);right:2%;width:clamp(100px,31cqw,174px);aspect-ratio:1.5;
  overflow:hidden;pointer-events:none;
}
#post-story .brand-bear-peek img { display:block;width:100%;height:auto }
#post-story.demo-simple .brand-source-post {
  position:relative;width:100%;height:auto;min-height:0;margin:0;
  border:1px solid #ddd;border-radius:9px;background:white;box-shadow:0 5px 18px #1b1b1b24,0 0 0 2px white;
}
@media(min-width:801px) {
  #post-story.demo-simple[data-step="topic"] .story-visual { align-self:start }
}
#post-story .ig-post-head { height:var(--post-head-height);box-sizing:border-box }
#post-story .ig-post-head strong,#post-story .brand-source-post p b { font:700 12px/1.4 Arial,sans-serif }
#post-story .ig-post-head img { width:24px;aspect-ratio:1;border-radius:50% }
#post-story .ig-post-head svg,#post-story .ig-post-actions svg:last-child { margin-inline-start:auto }
#post-story .brand-source-photo { position:relative;overflow:hidden;aspect-ratio:var(--post-photo-ratio) }
#post-story .brand-source-photo img { position:absolute;left:0;top:50%;transform:translateY(-50%);width:300%;max-width:none;height:auto }
#post-story .ig-post-actions { padding:8px 9px 3px;gap:10px }
#post-story .brand-source-post p { margin:0;padding:3px 9px;color:#171717;font:450 13px/1.4 var(--body) }
#post-story .ig-post-date { padding:1px 9px 8px;color:#737373;font-size:10px }
#post-story .brand-ink-samples { display:inline-flex;gap:3px;vertical-align:middle;margin-inline-start:8px }
#post-story .brand-ink-samples i { width:12px;height:12px;border:0;border-radius:50%;background:#eee1c4 }
#post-story .brand-ink-samples i:nth-child(2) { background:#b52c1d }
#post-story .brand-ink-samples i:nth-child(3) { background:#52802c }
@media(max-width:800px) {
  #post-story .ig-account-bar { padding:3px 6px;font-size:12px }
  #post-story .ig-identity { gap:6px;padding:4px 6px 1px }
  #post-story .ig-avatar-ring { width:39px }
  #post-story .ig-account-info>strong { font-size:11px }
  #post-story .ig-stats { margin:0 }
  #post-story .ig-stats dt { font-size:9px }
  #post-story .ig-stats dd { font-size:11px }
  #post-story .ig-bio { padding:0 6px 2px;font-size:10px }
  #post-story .ig-profile-actions { padding:0 5px 1px }
  #post-story .ig-profile-actions span { font-size:10px;line-height:16px }
  #post-story .ig-profile-tabs span { padding:3px }
  #post-story .brand-profile-scene svg { width:14px;height:14px }
  #post-story .profile-tile { aspect-ratio:1.6 }
  #post-story .brand-profile { margin-bottom:8px }
  #post-story .ig-post-head { padding:3px 6px;gap:5px }
  #post-story .ig-post-head img { width:20px }
  #post-story .brand-feature {
    --post-head-height:26px;--post-photo-ratio:1.65;
    top:calc(50% - clamp(26px,11cqw,66px) - 24px);
  }
  #post-story .ig-post-actions { padding:4px 6px 1px;gap:6px }
  #post-story .brand-source-post p { font-size:12px;padding:2px 6px }
  #post-story .ig-post-date { padding:0 6px 4px;font-size:9px }
  #post-story .review-posts { padding-bottom:0 }
  #post-story .review-photo { aspect-ratio:1.9 }
}

@media(min-width:801px) and (max-height:760px) {
  #post-story .ig-account-bar { padding-block:4px }
  #post-story .ig-avatar-ring { width:44px }
  #post-story .ig-identity { padding-block:4px 2px;line-height:1.2 }
  #post-story .ig-bio { line-height:1.3;padding-bottom:3px }
  #post-story .ig-profile-tabs span { padding-block:3px }
  #post-story .profile-tile { aspect-ratio:1.3 }
}


/* The chosen idea sits beside the art director before the three photographs appear. */
#post-story .story-evidence:has(.rabbit-brief) {
  grid-template-rows:auto auto;align-content:center;row-gap:8px;
  background:transparent;border:0;border-radius:0;
}
#post-story.demo-simple .evidence-detail.rabbit-brief {
  grid-area:1/1;grid-template-columns:auto minmax(0,1fr);
  grid-template-areas:"guide brief";padding:0;border:0;background:transparent;
}
#post-story .rabbit-brief .evidence-guide { grid-area:guide;justify-self:start }
#post-story .rabbit-brief .evidence-detail-copy { grid-area:brief;text-align:end }
@media (min-width:801px) {
  .qoohoo-soft #post-story.demo-simple:is([data-chapter="2"],[data-step="review"]) .story-scene {
    grid-template-columns:minmax(0,min(48%,550px)) minmax(0,1fr);column-gap:clamp(20px,3vw,44px);
  }
}
#post-story .image-brief-title {
  display:inline-block;color:var(--ink);font:700 clamp(18px,1.65vw,24px)/1.4 var(--body);
}
#post-story.demo-simple[data-chapter] .story-evidence:has(.rabbit-brief) .evidence-content { padding:0 }
.qoohoo-soft #post-story.demo-simple .story-image-set figure[data-evidence-cue] {
  border:0;background:transparent;box-shadow:none;
}
#post-story .story-image-set figure[data-evidence-cue]::before { position:absolute;top:6px;left:6px;z-index:1 }
#post-story.delivering-brief .stage-panel:not(.revealing-photos) .story-image-set figure { opacity:0 }

/* Review the actual placements together, with a single action after the pair. */
#post-story .feed-pair {
  display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);
  gap:clamp(8px,1vw,16px);width:100%;margin-inline:auto;
}
#post-story .feed-example { min-width:0;position:relative }
#post-story .review-arrival { position:absolute;left:0;z-index:2;pointer-events:none }
#post-story .review-arrival .departing-caption { position:absolute;inset:auto 0 0;background:var(--surface) }
#post-story .feed-example h3 { margin:0 0 6px;font:700 15px/1.35 var(--body) }
#post-story .feed-post { overflow:hidden;border:1px solid var(--line);border-radius:14px;background:white }
#post-story.demo-simple .fb-feed .story-collage {
  height:auto!important;aspect-ratio:6/5;grid-template-rows:repeat(2,minmax(0,1fr));
}
#post-story .feed-carousel { overflow:hidden;aspect-ratio:4/5 }
#post-story .feed-slides { display:flex;height:100% }
#post-story .feed-slide { position:relative;flex:0 0 100%;min-width:0 }
#post-story .feed-post .story-photo { width:100%;height:100%;min-height:0;border-radius:0;aspect-ratio:auto }
#post-story .feed-slide small {
  position:absolute;bottom:8px;left:8px;padding:2px 7px;border-radius:12px;background:white;color:var(--ink);
  font:600 11px/1.5 var(--body);
}
@media(prefers-reduced-motion:no-preference) {
  #post-story[data-step="review"][aria-busy="false"] .feed-slides { animation:feed-slides 6.6s ease-in-out infinite }
}
@keyframes feed-slides {
  0%,28% { transform:translateX(0) }
  33.333%,61.333% { transform:translateX(-100%) }
  66.667%,94.667% { transform:translateX(-200%) }
  100% { transform:translateX(-300%) }
}
#post-story .feed-post .story-photo img { display:block;object-fit:cover;object-position:center }
#post-story .feed-caption { margin:0;padding:7px 10px 10px;font:500 14px/1.45 var(--body);color:var(--ink) }
@media(max-width:800px) {
  #post-story .feed-pair { max-width:560px }
}

#post-story .plan-brief {
  width:100%;align-self:center;color:var(--ink);text-align:start;min-width:0;
}
#post-story #story-replay {
  display:block;width:fit-content;margin:8px auto 0;padding:4px 8px;
  border:0;background:transparent;box-shadow:none;color:var(--muted);
  font:500 13px/1.5 var(--body);text-decoration:underline;text-underline-offset:3px;
  cursor:pointer;
}
#post-story #story-replay[hidden] { display:none }
#post-story #story-replay:focus-visible { outline:2px solid var(--ink);outline-offset:2px }
#post-story .plan-source { display:flex;align-items:center;gap:12px }
#post-story .plan-source img { width:52px;aspect-ratio:1;border-radius:8px;object-fit:cover }
#post-story .plan-source strong { display:block;font:650 clamp(16px,1.4vw,20px)/1.45 var(--body) }
#post-story .plan-brief small { display:block;color:var(--muted);font:500 13px/1.5 var(--body) }
#post-story .plan-idea {
  display:grid;grid-template-columns:minmax(0,1fr) clamp(96px,11vw,158px);align-items:center;gap:8px;
  margin-top:clamp(18px,3vh,32px);padding-left:16px;border-inline-start:4px solid var(--brand-primary);
}
#post-story .plan-idea h3 { margin:4px 0 0;font:750 clamp(22px,2.2vw,32px)/1.35 var(--body);text-wrap:balance }
#post-story .plan-idea img { display:block;width:100%;height:auto }
@media(max-width:800px) {
  #post-story .plan-source img { width:40px }
}

/* Keep the next action available when a short phone needs to scroll the copy. */
@media(max-width:800px) and (max-height:800px) {
  #post-story.demo-simple[data-intro="false"] .story-footer {
    position:sticky;bottom:8px;z-index:8;padding-block:6px;
    background:var(--surface);box-shadow:0 -8px 12px var(--surface);
  }
}

/* Show which connected channels contribute to the demo overview. */
#post-story .dashboard-sources { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px; margin:10px 0; font:650 12px/1.4 var(--body); }
#post-story .dashboard-sources span { padding:5px 10px; border-radius:12px 9px 13px 8px; background:#EBF6C9; color:var(--ink); }
#post-story .dashboard-sources b { font-weight:500; color:#777; }
#post-story .dashboard-reach-note { margin:0; font:400 11px/1.5 var(--body); color:#69706a; }

/* Reach distribution uses the same sample totals as the overview above. */
#post-story .dashboard-distribution { display:grid; gap:9px; padding:2px 0 8px; }
#post-story .dashboard-distribution h4 { margin:0 0 2px; font:650 12px/1.5 var(--body); }
#post-story .distribution-row { display:grid; grid-template-columns:72px minmax(0,1fr) 34px; align-items:center; gap:10px; font:600 12px/1.4 var(--body); }
#post-story .distribution-row b { text-align:right; font-variant-numeric:tabular-nums; }
#post-story .distribution-track { display:block; height:10px; overflow:hidden; border-radius:99px; background:#f0f0ed; }
#post-story .distribution-track i { display:block; height:100%; border-radius:inherit; background:#FF896B; }

/* Simplified product dashboard: weekly summary, metric-level analysis and splits. */
#post-story .dashboard-overview { background:white; border:1px solid var(--line); padding:16px; gap:14px; }
#post-story .dashboard-overview .dashboard-summary { display:flex; align-items:center; gap:8px; text-align:left; background:transparent; border:0; border-radius:0; padding:0 0 12px; border-bottom:1px solid var(--line); }
#post-story .dashboard-overview .dashboard-summary>div { min-width:0; flex:1; }
#post-story .dashboard-overview .dashboard-summary img { width:76px; height:76px; object-fit:contain; }
#post-story .dashboard-overview .dashboard-summary small { font-size:10px; }
#post-story .dashboard-overview .dashboard-summary h3 { font-size:17px; line-height:1.45; margin:6px 0; }
#post-story .dashboard-overview .dashboard-summary p { font:400 11px/1.5 var(--body); margin:0; }
#post-story .dashboard-metric-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
#post-story .dashboard-metric-card { display:flex; flex-direction:column; min-width:0; padding:0; background:transparent; border:0; border-radius:0; }
#post-story .dashboard-metric-card + .dashboard-metric-card { border-left:1px solid var(--line); padding-left:14px; }
#post-story .dashboard-metric-card>h4 { margin:0 0 10px; font:650 13px/1.4 var(--body); }
#post-story .dashboard-value { font:750 clamp(24px,2.4vw,32px)/1.1 var(--body); }
#post-story .dashboard-change { margin:7px 0 10px; color:#176444; font:650 10px/1.5 var(--body); }
#post-story .dashboard-reading { margin:0 0 12px; padding:0; border:0; border-radius:0; font:400 12px/1.5 var(--body); flex:1; }
#post-story .dashboard-metric-card .dashboard-distribution { gap:7px; padding:0; }
#post-story .dashboard-metric-card .dashboard-distribution h4 { font-size:10px; }
#post-story .dashboard-metric-card .distribution-row { grid-template-columns:18px minmax(0,1fr) 28px; gap:6px; font-size:10px; }
#post-story .dashboard-metric-card .distribution-track { height:7px; }
#post-story .dashboard-overview .dashboard-feature { background:transparent; border:0; border-top:1px solid var(--line); border-radius:0; padding:12px 0 0; }
#post-story .dashboard-overview .dashboard-post p { margin:3px 0 0; font:650 12px/1.4 var(--body); }
#post-story .dashboard-overview .dashboard-post img { width:clamp(76px,7vw,96px); height:clamp(76px,7vw,96px); border-radius:10px; }
@media(max-width:480px) {
 #post-story .dashboard-overview { padding:12px; gap:12px; }
 #post-story .dashboard-metric-cards { gap:12px; }
 #post-story .dashboard-metric-card + .dashboard-metric-card { padding-left:12px; }
 #post-story .dashboard-overview .dashboard-summary { padding:0 0 12px; }
 #post-story .dashboard-overview .dashboard-summary img { width:52px; height:60px; }
 #post-story .dashboard-overview .dashboard-summary h3 { font-size:15px; }
}

#post-story .plan-brief-detail { margin:10px 0 0; font:400 clamp(13px,1.1vw,16px)/1.6 var(--body); color:var(--muted); }

#post-story .summary-insights { display:grid; gap:10px; }
#post-story .summary-insights>span { display:block; }
#post-story .plan-source img { width:clamp(88px,9vw,116px); border-radius:12px; }
#post-story .plan-result-tag { display:inline-block; margin-top:8px; padding:4px 9px; border-radius:8px; background:#EBF6C9; font:500 12px/1.4 var(--body); }
#post-story .plan-source strong { margin-top:4px; }
@media(max-width:480px) {
 #post-story .plan-source img { width:88px; }
 #post-story .plan-result-tag { font-size:11px; }
}

@media(max-width:480px) {
 }

#post-story .brief-origin { display:inline-block; }
