/* mudmode members - client room. Palette/fonts taken (as a reference) from mudmodecrew.com: warm black, honey gold, hex pattern, Outfit + Inter. */
@font-face{font-family:"Inter";font-weight:100 900;font-display:swap;src:url("inter-latin-wght-normal.woff2") format("woff2")}
@font-face{font-family:"Outfit";font-weight:100 900;font-display:swap;src:url("outfit-latin-wght-normal.woff2") format("woff2")}
:root{--bg:#121110;--bg2:#181614;--panel:#1d1a17;--panel2:#242019;--ink:#f4ede1;--muted:#cdbfa9;--dim:#a99b86;--gold:#f3c969;--amber:#e6a638;--honey:#d8902a;--on-gold:#1a1205;
 --line:rgba(243,201,105,.16);--line2:rgba(243,201,105,.34);--glow:0 0 18px rgba(243,201,105,.28);--r:22px;
 --fb:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;--fh:"Outfit","Inter",system-ui,sans-serif;--breath:9s}
*{box-sizing:border-box}html,body{height:100%;overflow:hidden}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 var(--fb);overflow:hidden;-webkit-tap-highlight-color:transparent}
/* Never show a scrollbar anywhere; wheel, touch and keyboard scrolling still work. */
html,body,#stage,.jelly-in,.talk-bubble,.talk-bubble.expanded,.doc-sheet-in,.log,#doc-preview,.preview-in,.doc-preview{
  scrollbar-width:none !important;-ms-overflow-style:none !important}
html::-webkit-scrollbar,body::-webkit-scrollbar,#stage::-webkit-scrollbar,.jelly-in::-webkit-scrollbar,
.talk-bubble::-webkit-scrollbar,.doc-sheet-in::-webkit-scrollbar,.log::-webkit-scrollbar,
#doc-preview::-webkit-scrollbar,.preview-in::-webkit-scrollbar,*::-webkit-scrollbar{display:none !important;width:0 !important;height:0 !important}
a{color:var(--gold)}
/* ---- the breathing page */
.air{position:fixed;inset:-10%;z-index:0;pointer-events:none;animation:breathe var(--breath) ease-in-out infinite}
.hex{position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66v34M28 0v-34' fill='none' stroke='%23f3c969' stroke-opacity='.07' stroke-width='1.2'/%3E%3C/svg%3E");animation:hexglow var(--breath) ease-in-out infinite}
.glow{position:absolute;border-radius:50%;filter:blur(60px);opacity:.5;animation:pulse var(--breath) ease-in-out infinite}
.g1{width:55vmax;height:55vmax;left:20%;top:15%;background:radial-gradient(circle,rgba(243,201,105,.30),rgba(216,144,42,.08) 55%,transparent 70%)}
.g2{width:40vmax;height:40vmax;left:-5%;top:55%;background:radial-gradient(circle,rgba(230,166,56,.22),transparent 65%);animation-delay:-3s}
.g3{width:35vmax;height:35vmax;right:-8%;top:-5%;background:radial-gradient(circle,rgba(255,224,154,.16),transparent 65%);animation-delay:-6s}
@keyframes breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.045)}}
@keyframes pulse{0%,100%{opacity:.38;transform:scale(.96)}50%{opacity:.62;transform:scale(1.06)}}
@keyframes hexglow{0%,100%{opacity:.7}50%{opacity:1}}
/* ---- header */
.top{position:relative;z-index:3;display:flex;justify-content:space-between;align-items:center;padding:14px clamp(16px,4vw,40px);border-bottom:1px solid rgba(255,255,255,.05);background:rgba(10,9,8,.55);backdrop-filter:blur(8px)}
.brand{display:flex;gap:10px;align-items:center;color:var(--gold);text-decoration:none;font:700 19px var(--fh);text-shadow:var(--glow)}
.top nav{display:flex;gap:18px}.top nav a{color:var(--muted);text-decoration:none;font:500 14px var(--fh)}.top nav a.on{color:var(--gold);border-bottom:2px solid var(--gold)}
/* ---- stage + jelly panel */
#stage{position:relative;z-index:2;height:calc(100dvh - 62px);min-height:0;display:grid;place-items:center;padding:16px 24px;overflow:auto;overflow-x:hidden}
#stage.ask-row{display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:0;overflow-x:hidden}
.jelly{position:relative;width:min(440px,92vw);min-height:300px;touch-action:none;will-change:transform;transform-origin:50% 50%;cursor:grab;filter:drop-shadow(0 30px 60px rgba(0,0,0,.55)) drop-shadow(0 0 30px rgba(243,201,105,.12))}
.jelly:active{cursor:grabbing}
#jelly-skin{position:absolute;inset:-40px;width:calc(100% + 80px);height:calc(100% + 80px);pointer-events:none}
.jelly-in{position:relative;padding:max(36px, calc(var(--bubble-r, 96px) * 0.293 + 18px));overflow:visible}
.kicker{margin:0 0 6px;color:var(--gold);font:700 12px var(--fh);letter-spacing:.14em}
h1,h2,h3{font-family:var(--fh);margin:0 0 10px;line-height:1.15}h1{font-size:clamp(28px,6vw,38px)}h2{font-size:24px}h3{font-size:17px;color:var(--gold)}
.gold{background:linear-gradient(90deg,#f3c969,#ffe09a,#e6a638);-webkit-background-clip:text;background-clip:text;color:transparent}
.soft{color:var(--muted)}.small{font-size:13px}.fine{color:var(--dim);font-size:12.5px;margin:10px 0 0}
.btn{appearance:none;border:0;border-radius:12px;padding:11px 20px;font:700 15px var(--fh);color:var(--on-gold);background:linear-gradient(180deg,#ffd98a,#f3c969 45%,#e6a638);box-shadow:var(--glow),inset 0 1px 0 rgba(255,255,255,.5);cursor:pointer;transition:transform .15s,box-shadow .2s}
.btn:hover{box-shadow:0 0 26px rgba(243,201,105,.45)}.btn:active{transform:scale(.96)}
.btn.ghost{background:transparent;color:var(--gold);border:1px solid var(--line2);box-shadow:none}
.link{background:none;border:0;color:var(--gold);text-decoration:none;cursor:pointer;font:inherit;font-size:14px;position:relative;display:inline-block;padding:0 0 10px;line-height:1.2}
/* Drip-dot links (mud chose this over underlines): a 4px gold dot under
   the word, stretching into a short rounded honey drip on hover/focus. */
.link::after,.talk-more::after{
  content:"";
  position:absolute;
  left:50%;
  top:calc(1em * 1.2 + 2px);
  bottom:auto;
  width:4px;
  height:4px;
  margin:0;
  border:0;
  border-radius:999px;
  background:linear-gradient(180deg,#ffe9b0,#f3c969 55%,#e6a638);
  box-shadow:0 0 4px rgba(243,201,105,.28);
  transform:translateX(-50%);
  pointer-events:none;
  transition:width .18s ease,height .18s ease,border-radius .18s ease,box-shadow .18s ease,background .18s ease,top .18s ease;
}
.link:hover::after,.link:focus-visible::after,
.talk-more:hover::after,.talk-more:focus-visible::after{
  width:12px;
  height:4px;
  border-radius:999px;
  background:linear-gradient(180deg,#fff0c4,#f3c969 50%,#e6a638);
  box-shadow:0 1px 4px rgba(243,201,105,.35);
}
.link:hover,.link:focus-visible{color:#ffe09a;outline:none}
.link:focus-visible,.talk-more:focus-visible{color:#ffe09a;outline:none}
#q-back.link{color:rgba(243,201,105,.62)}
#q-back.link:hover,#q-back.link:focus-visible{color:rgba(255,224,154,.88)}
#q-back.link::after{opacity:.7}
@media (prefers-reduced-motion:reduce){
  .link::after,.talk-more::after{transition:none}
}
.prompt .btn{margin-top:8px}
.login label{display:block;margin:10px 0;font:600 14px var(--fh)}
.login input,.chat input{display:block;width:100%;margin-top:6px;padding:12px 14px;border-radius:12px;border:1px solid var(--line2);background:#0c0b0a;color:var(--ink);font:16px var(--fb);outline:none}
.login input:focus,.chat input:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(243,201,105,.15)}
.row{display:flex;gap:10px;align-items:center}.wrap{flex-wrap:wrap}
.msg{min-height:1.3em;color:#ffb27a;font-size:14px;margin:6px 0}
.login,.prompt{animation:fadeup .45s cubic-bezier(.2,.9,.3,1.2)}
@keyframes fadeup{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
/* ---- expand into the dashboard */
.jelly.expanding{position:fixed;z-index:20;margin:0;border:1px solid rgba(243,201,105,.45);border-radius:22px;box-shadow:0 0 40px rgba(243,201,105,.25);transition:left .7s cubic-bezier(.2,.9,.25,1.08),top .7s cubic-bezier(.2,.9,.25,1.08),width .7s cubic-bezier(.2,.9,.25,1.08),height .7s cubic-bezier(.2,.9,.25,1.08)}
.jelly.expanding .jelly-in{opacity:0;transition:opacity .25s}
.dash{position:relative;z-index:21;width:min(1180px,100%);align-self:start;animation:fadeup .6s .1s both}
.dash-top{display:flex;justify-content:space-between;align-items:end;gap:14px;flex-wrap:wrap;margin:6px 4px 18px}
.grid{display:grid;grid-template-columns:repeat(12,1fr);gap:16px}
.card{background:linear-gradient(180deg,rgba(36,32,25,.92),rgba(29,26,23,.92));border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:0 20px 50px rgba(0,0,0,.35)}
.snap{grid-column:span 5}.chat{grid-column:span 7;display:flex;flex-direction:column}.video{grid-column:span 7}.files{grid-column:span 5}.money{grid-column:span 6}.social{grid-column:span 6}
@media (max-width:860px){.grid>.card{grid-column:1/-1}}
.pill{display:inline-block;padding:3px 10px;border-radius:99px;background:rgba(243,201,105,.14);color:var(--gold);font:700 13px var(--fh)}
.stage-row{display:flex;justify-content:space-between;align-items:center;gap:8px}
.bar{height:12px;border-radius:99px;background:#0c0b0a;border:1px solid var(--line);overflow:hidden;margin:14px 0 4px}.bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#d8902a,#f3c969,#ffe09a);border-radius:99px;transition:width 1.2s cubic-bezier(.2,.9,.3,1)}
.pct{margin:0 0 10px;color:var(--muted)}.pct b{color:var(--ink);font:700 22px var(--fh)}
.lbl{margin:12px 0 2px;font:700 12px var(--fh);letter-spacing:.1em;color:var(--dim);text-transform:uppercase}
.shots{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.shots img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:10px;border:1px solid var(--line)}
.log{flex:1;min-height:220px;max-height:340px;overflow:auto;display:flex;flex-direction:column;gap:8px;padding:4px 2px 10px}
.bub{max-width:82%;padding:9px 13px;border-radius:14px;font-size:15px;white-space:pre-wrap;word-wrap:break-word}.bub small{display:block;color:var(--dim);font-size:11px;margin-top:3px}
.bub.me{align-self:flex-end;background:rgba(243,201,105,.16);border:1px solid var(--line2)}.bub.mud{align-self:flex-start;background:#0f0e0d;border:1px solid var(--line)}
.chat form input{margin:0}
.vbox{position:relative;min-height:200px;border-radius:14px;border:1px dashed var(--line2);display:grid;place-items:center;text-align:center;padding:14px;overflow:hidden}.vbox iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.drop{display:grid;place-items:center;gap:4px;min-height:110px;border:2px dashed var(--line2);border-radius:14px;cursor:pointer;text-align:center;padding:12px;color:var(--muted)}.drop.over{border-color:var(--gold);background:rgba(243,201,105,.06)}
.flist{list-style:none;margin:10px 0 0;padding:0}.flist li{display:flex;justify-content:space-between;gap:8px;padding:8px 2px;border-bottom:1px solid rgba(255,255,255,.05);font-size:14px}.flist li span{color:var(--dim)}
.social a{display:inline-block;padding:8px 14px;border:1px solid var(--line2);border-radius:12px;text-decoration:none;font:600 14px var(--fh)}
@media (prefers-reduced-motion:reduce){.air,.glow,.hex{animation:none}.jelly.expanding{transition-duration:.01s}.login,.prompt,.dash{animation:none}.bar i{transition:none}}

/* ---- jello question flow (one short question, panel grows for a visual aid) */
.q-progress{margin:0 0 8px;color:var(--dim);font:600 13px var(--fh);letter-spacing:.08em}
.q-intro{margin:0 0 12px}
.q-prompt{font:700 clamp(22px,5.2vw,32px)/1.2 var(--fh);margin:0 0 10px;color:var(--ink)}
.q-hint{margin:0 0 12px;font-size:15px}
.choices{display:flex;flex-direction:column;gap:8px;margin:4px 0 14px}
@media (min-width:701px){
  .choices{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
}
@media (min-width:1100px){
  .jelly:has(#ask:not([hidden])) .choices{grid-template-columns:repeat(3,1fr)}
}
.q-prompt{max-width:22em}
.ask-split{display:block}
@media (min-width:701px){
  .ask-split{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:stretch;margin:4px 0 12px}
  .ask-split .q-type{margin:0 0 0}
  .ask-split .aid,.ask-split .aid.open{margin:0}
  .ask-split .aid.open .aid-in{height:100%;box-sizing:border-box}
}
.choice{appearance:none;width:100%;text-align:left;padding:14px 16px;min-height:48px;border-radius:14px;border:1px solid var(--line2);background:#0c0b0a;color:var(--ink);font:600 16px var(--fh);cursor:pointer}
.choice:hover,.choice.on{border-color:var(--gold);background:rgba(243,201,105,.12);box-shadow:0 0 0 3px rgba(243,201,105,.15)}
.q-type{display:block;margin:0 0 12px;font:600 14px var(--fh)}
.q-input{display:block;width:100%;margin-top:6px;padding:12px 14px;border-radius:12px;border:1px solid var(--line2);background:#0c0b0a;color:var(--ink);font:16px var(--fb)}
.q-input:focus{border-color:var(--gold);outline:none;box-shadow:0 0 0 3px rgba(243,201,105,.15)}
.aid{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s cubic-bezier(.2,.9,.25,1)}
.aid.open{grid-template-rows:1fr;margin:4px 0 12px}
.aid-in{overflow:hidden}
.aid.open .aid-in{padding:12px 14px;border-radius:14px;border:1px solid var(--line);background:rgba(243,201,105,.07)}
.aid-cap{margin:0 0 6px;color:var(--gold);font:700 14px var(--fh)}
.aid-ex{margin:0;color:var(--muted);font-size:15px}
.aid-in img{display:block;max-width:100%;border-radius:10px;margin-bottom:8px}
.ask-nav{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px}
.ask-right{display:flex;gap:12px;align-items:center}
.ask-nav .link[disabled]{opacity:.35;pointer-events:none}
.btn.idea{padding:8px 14px;font-size:14px}
.ballpark{margin-top:8px}
.ballpark p{font-size:17px;line-height:1.45}
.ask:has(#offer) .path-now,.ask:has(#offer) .path-next,.ask:has(#offer) .path-price{display:none}
.offer{margin-top:2px}
.offer-price{margin:0 0 2px;font:800 36px/1 var(--fh);color:var(--gold);letter-spacing:.02em}
.offer h2,.want-wrap h2,.pay-wrap h2,.contact h2{margin:0 0 6px;font-size:clamp(22px,3.4vw,28px)}
.offer-list{margin:0 0 8px;padding:0 0 0 1.1em;font-size:16px;line-height:1.4}
.offer-list li{margin:0 0 2px}
.offer-example{margin:0 0 8px;padding:8px 10px;border-radius:12px;border:1px solid var(--line2);background:rgba(243,201,105,.07);color:var(--muted);font-size:14px;line-height:1.35}
.offer-example strong{color:var(--gold);font-weight:700}
.offer-ballpark{margin:0 0 4px;font-size:14px;line-height:1.4;color:var(--muted)}
.offer.compact .offer-list,.offer.compact .offer-example,.offer.compact .offer-ballpark{display:none}
.offer.compact .offer-price{font-size:28px}
.contact,.want-wrap,.pay-wrap{margin-top:12px;padding-top:10px;border-top:1px solid var(--line2)}
.contact.done label,.contact.done .btn{display:none}
.contact label{display:block;margin:8px 0;font:600 14px var(--fh)}
.contact input{display:block;width:100%;margin-top:4px;padding:10px 12px;border-radius:12px;border:1px solid var(--line2);background:#0c0b0a;color:var(--ink);font:16px var(--fb);outline:none}
.contact input:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(243,201,105,.15)}
.want-wrap p,.pay-wrap p{font-size:15px;line-height:1.4;margin:0 0 8px}
@media (max-width:700px){
  .ask:has(#offer) .path{display:none}
  .offer-price{font-size:32px}
  .offer-ballpark{display:none}
  .offer-example-more{display:none}
  /* Extra cushion so copy and the CTA stay inside the oval, not in its tip. */
  .jelly:has(#offer) .jelly-in{padding:52px 48px 88px}
  .offer, .contact, .want-wrap, .pay-wrap{padding-bottom:56px}
  .offer .btn:not([hidden]), .contact .btn:not([hidden]), .want-wrap .btn:not([hidden]), .pay-wrap .btn:not([hidden]), .pay-wrap a.btn:not([hidden]){
    display:block;margin-left:auto;margin-right:auto
  }
  .offer.compact #offer-go{display:none !important}
  .offer.compact h2{display:none}
  .contact label{margin:4px 0}
  .contact input{padding:8px 12px}
  .pay-wrap .row{justify-content:center}
  /* One current step + the $600 title. Completed recap is hidden so the
     bubble can stay sealed on a phone-sized screen. */
  .ask:has(#want-wrap:not([hidden])) #contact{display:none}
  .ask:has(#pay-wrap:not([hidden])) #want-wrap,
  .ask:has(#pay-wrap:not([hidden])) #contact{display:none}
}

/* Pay step: only the $600 and the Stripe form. Recap is already seen. */
.ask:has(#pay-wrap:not([hidden])) #offer,
.ask:has(#pay-wrap:not([hidden])) #contact,
.ask:has(#pay-wrap:not([hidden])) #want-wrap{display:none}
.stripe-checkout{margin:10px 0 0;padding:0;height:auto;max-height:none;overflow:visible;background:transparent}
.stripe-checkout iframe{display:block;width:100%;max-width:100%;border:0;overflow:hidden;background:transparent}
.stripe-checkout,.stripe-checkout iframe{scrollbar-width:none;-ms-overflow-style:none}
.stripe-checkout::-webkit-scrollbar,.stripe-checkout iframe::-webkit-scrollbar{display:none;width:0;height:0}
/* Faithful visual stand-in used only in local stills when Stripe keys aren't present.
   Not shown to clients. Night theme, honey accent, no inner scroll box. */
.stripe-preview{margin:0;padding:0;background:transparent;color:var(--ink)}
.stripe-preview .sp-field{margin:0 0 12px}
.stripe-preview label{display:block;margin:0 0 6px;font:600 13px var(--fh);color:var(--muted);letter-spacing:.02em}
.stripe-preview .sp-box,.stripe-preview .sp-row input,.stripe-preview .sp-select{
  width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--line2);
  background:#0c0b0a;color:var(--ink);font:16px var(--fb);outline:none
}
.stripe-preview .sp-card{display:grid;grid-template-columns:1fr 72px 64px;gap:0;padding:0;overflow:hidden}
.stripe-preview .sp-card input{border:0;border-radius:0;background:transparent;min-width:0}
.stripe-preview .sp-card input+input{border-left:1px solid var(--line2)}
.stripe-preview .sp-note{margin:14px 0 0;color:var(--dim);font-size:12.5px;line-height:1.4;text-align:center}
.pay-wrap .stripe-preview .btn{width:100%;margin-top:4px}
@media (prefers-reduced-motion:reduce){.aid{transition:none}}

@media (max-height: 900px){
  .jelly-in{padding:max(28px, calc(var(--bubble-r, 72px) * 0.293 + 18px))}
  .q-prompt{font-size:clamp(20px,4.6vw,28px);margin:0 0 8px}
  .choices{gap:6px;margin:2px 0 10px}
  .choice{padding:12px 14px;min-height:44px}
  .q-intro{margin:0 0 8px}
  .fine{margin:8px 0 0}
}

/* ---- 4-step path (grows inside the jello after the first answer). Phone first. */
/* Question flow uses more of the page; the sign-in pill stays compact. */
.jelly:has(#ask:not([hidden])),
.jelly:has(.path){width:min(760px,70vw);max-width:calc(100vw - 48px);max-height:calc(100dvh - 96px)}
@media (max-width:700px){
  .jelly:has(#ask:not([hidden])),
  .jelly:has(.path){width:min(480px,94vw);max-width:calc(100vw - 24px)}
}
.path{margin:0 0 16px;padding:0;animation:fadeup .45s cubic-bezier(.2,.9,.3,1.1)}
.path-track{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:0;padding:8px 2px 6px;position:relative}
.path-track:before{content:"";position:absolute;left:12%;right:12%;top:20px;height:2px;background:linear-gradient(90deg,rgba(243,201,105,.55),rgba(243,201,105,.12));border-radius:2px}
.path-step{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;min-width:0}
.path-ico{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#0c0b0a;border:1px solid var(--line2);color:var(--dim)}
.path-ico svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.path-ttl{font:700 11px/1.15 var(--fh);letter-spacing:.04em;color:var(--dim);text-transform:none}
.path-step.on .path-ico{color:var(--on-gold);background:linear-gradient(180deg,#ffd98a,#f3c969 45%,#e6a638);border-color:transparent;box-shadow:0 0 16px rgba(243,201,105,.55)}
.path-step.on .path-ttl{color:var(--gold)}
.path-step.done .path-ico{color:var(--gold);border-color:var(--line2)}
.path-step.done .path-ttl{color:var(--muted)}
.path-step.next .path-ttl{color:var(--muted)}
.path-now{margin:8px 0 0;font:600 14px/1.35 var(--fh);color:var(--ink);text-align:center}
.path-next{margin:4px 0 0;font:15px/1.4 var(--fb);color:var(--muted);text-align:center}
.path-price{margin:4px 0 0;font:700 13px/1.35 var(--fh);color:var(--gold);text-align:center}
.path-fine{margin:8px 0 0;font:15px/1.4 var(--fb);color:var(--muted);text-align:center}
@media (max-width:380px){
  .path-ttl{font-size:10px}
  .path-ico{width:26px;height:26px}
  .path-now,.path-next,.path-fine{font-size:13px}
}
@media (prefers-reduced-motion:reduce){.path{animation:none}.path-step.on .path-ico{box-shadow:none}}


/* ---- one-field form flow: the input grows from inside the panel; the official document stays hidden ---- */
.field-slot{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s cubic-bezier(.2,.9,.25,1)}
.field-slot.open{grid-template-rows:1fr}
.field-slot-in{overflow:hidden;min-height:0}
.jelly.growing{overflow:hidden;transition:height .45s cubic-bezier(.2,.9,.25,1)}
.btn.fix{background:transparent;color:var(--gold);border:1px solid var(--line2);box-shadow:none}
.review-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:14px}
.review-actions .btn{min-height:44px;min-width:132px}

/* Themed slim scrollbars (gold/amber thumb, transparent track), inset from rounded corners. */
.jelly-in::-webkit-scrollbar,
.doc-sheet-in::-webkit-scrollbar,
.log::-webkit-scrollbar{width:6px}
.jelly-in::-webkit-scrollbar-track,
.doc-sheet-in::-webkit-scrollbar-track,
.log::-webkit-scrollbar-track{background:transparent;margin:14px 0}
.jelly-in::-webkit-scrollbar-thumb,
.doc-sheet-in::-webkit-scrollbar-thumb,
.log::-webkit-scrollbar-thumb{background:rgba(230,166,56,.8);border-radius:99px}
.jelly-in::-webkit-scrollbar-thumb:hover,
.doc-sheet-in::-webkit-scrollbar-thumb:hover,
.log::-webkit-scrollbar-thumb:hover{background:rgba(243,201,105,.95)}
.log{scrollbar-width:thin;scrollbar-color:rgba(230,166,56,.8) transparent}

/* Small gold peek handle, flush on the panel's outer right edge, clear of the inner scrollbar. */
.peek{position:absolute;right:0;top:50%;z-index:8;display:flex;flex-direction:column;align-items:flex-start;pointer-events:none;transform:translate(100%,-50%)}
.peek-tab{pointer-events:auto;appearance:none;border:1px solid var(--line2);border-left:0;border-radius:0 10px 10px 0;background:linear-gradient(180deg,rgba(44,38,29,.96),rgba(24,22,20,.96));color:var(--gold);font:700 10px/1 var(--fh);letter-spacing:.1em;text-transform:uppercase;padding:12px 7px;min-width:36px;min-height:76px;writing-mode:vertical-rl;transform:rotate(180deg);cursor:pointer;box-shadow:0 0 12px rgba(243,201,105,.12)}
.peek-tab:hover,.peek-tab:focus-visible{border-color:var(--gold);color:var(--gold);background:linear-gradient(180deg,rgba(54,46,34,.98),rgba(28,24,20,.98));outline:none;box-shadow:0 0 12px rgba(243,201,105,.22)}
.peek.open .peek-tab{background:linear-gradient(180deg,#ffd98a,#f3c969 45%,#e6a638);color:var(--on-gold);box-shadow:0 0 16px rgba(243,201,105,.4)}

/* Backdrop for the drawer (phone / below 1200px). */
.doc-backdrop{position:fixed;inset:0;z-index:28;background:rgba(10,9,8,.45);opacity:0;pointer-events:none;transition:opacity .28s ease}
.doc-backdrop.open{opacity:1;pointer-events:auto}

/* Spacer that shifts the panel left while the peek card grows out of its edge. */
.peek-slot{flex:0 0 0;width:0;margin:0;pointer-events:none;align-self:stretch}

/* Side companion card: never opens over the jello panel. The Your answers peek is a thought-bubble chain off the panel. */
.doc-sheet{z-index:9;background:linear-gradient(180deg,rgba(36,32,25,.97),rgba(24,22,20,.97));border:1px solid var(--line2);border-radius:22px;box-shadow:0 20px 50px rgba(0,0,0,.35),0 0 24px rgba(243,201,105,.12);overflow:hidden;opacity:0;pointer-events:none;will-change:transform,opacity}
.doc-sheet-in{overflow:auto;min-height:0;max-height:100%;padding:16px 18px 16px;scrollbar-width:thin;scrollbar-color:rgba(230,166,56,.8) transparent;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 8px,#000 calc(100% - 8px),transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0,#000 8px,#000 calc(100% - 8px),transparent 100%)}
.doc-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px}
.doc-head h3,.doc-sheet h3{margin:0;font:700 15px var(--fh);color:var(--gold)}
.doc-close{appearance:none;border:1px solid var(--line2);background:transparent;color:var(--gold);border-radius:10px;padding:6px 10px;min-height:36px;font:700 12px var(--fh);cursor:pointer}
.doc-close:hover,.doc-close:focus-visible{border-color:var(--gold);outline:none}
.doc-row{display:grid;grid-template-columns:1fr;gap:2px;padding:8px 0;border-bottom:1px solid rgba(243,201,105,.1)}
.doc-row .lab{font:700 11px/1.2 var(--fh);letter-spacing:.06em;text-transform:uppercase;color:var(--dim)}
.doc-row .val{font:16px/1.35 var(--fb);color:var(--ink);min-height:1.2em}
.doc-row .val.empty{color:var(--dim);font-style:italic}
.doc-row.current .lab{color:var(--gold)}
.doc-row.current .val{color:var(--gold)}
.doc-note{margin:10px 0 0;color:var(--dim);font-size:12px}

/* Inline review document (the one time the full page is required): stays inside the panel, not a companion. */
.doc-sheet.review-doc{position:relative;inset:auto;display:block;opacity:1;pointer-events:auto;margin:8px 0 4px;width:auto;max-height:min(48vh,420px);transform:none;flex:none}

/* Desktop/tablet: the visual card is position:fixed; a short chain of dots leads to it. The spacer shifts the panel. */
@media (min-width:1200px){
  .doc-sheet:not(.review-doc){position:fixed;z-index:9;max-height:calc(100dvh - 96px);margin-left:0}
  .doc-sheet:not(.review-doc) .doc-sheet-in{width:100%;box-sizing:border-box;height:100%}
  .doc-sheet:not(.review-doc).open{opacity:1;pointer-events:auto}
  #stage.peek-open .doc-backdrop{display:none}
}

/* Below ~1200px: still a side or bottom card, placed by JS, reached by the same chain of dots. */
@media (max-width:1199px){
  .doc-sheet:not(.review-doc){position:fixed;z-index:30}
  .doc-sheet:not(.review-doc).open{opacity:1;pointer-events:auto}
}

@media (max-width:480px){
  .peek-tab{padding:14px 8px;min-width:40px;min-height:84px;font-size:11px}
  .doc-sheet-in{padding:14px 14px 14px}
}

@media (prefers-reduced-motion:reduce){
  .field-slot,.doc-sheet,.doc-backdrop,.jelly.growing{transition:none}
}



/* ---- gooey neck that visually continues the panel border into a side card ---- */
.jello-neck{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:11;overflow:visible;opacity:0}
.jello-neck.on{opacity:1}
.jello-neck .neck-fill{fill:url(#jello-neck-grad)}
.jello-neck .neck-stroke{fill:none;stroke:rgba(243,201,105,.78);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 10px rgba(243,201,105,.28))}
.sprout-body{will-change:opacity}

/* Thought trail C: one silhouette stroke shared by the panel, the arched trail and the bubble.
   Fill sits with the stroke (z 13) and overlaps the cards so the matched neck color covers the mouth seam; card shadows stay off. */
.thought-trail-fill{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:13;overflow:visible;opacity:0}
.thought-trail-fill.on{opacity:1}
.thought-trail-fill .trail-fill{fill:url(#thought-trail-grad)}
.thought-trail{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:13;overflow:visible;opacity:0}
.thought-trail.on{opacity:1}
.thought-trail-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
#info-body-layer,.info-body-svg{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:visible;opacity:0}
#info-body-layer.on,#info-body-layer.on .info-body-svg{opacity:1}
/* No drop-shadow on the union path or its SVG: a translucent fill would let
   the top lobe's shadow show through the waist as a line across the dough. */
.info-body-path{fill:url(#info-body-grad);stroke:rgba(243,201,105,.86);stroke-width:1.55;stroke-linejoin:round;stroke-linecap:round;filter:none}
.info-body-sheen{fill:url(#info-body-sheen);stroke:none;filter:none;pointer-events:none}
#info-body-layer,.info-body-svg,html.info-body-on #info-body-layer,html.info-body-on .info-body-svg{filter:none}
#jelly{position:relative;z-index:15}
html.info-body-on #jelly,html.info-body-on .jelly,html.info-body-on .talk-bubble,html.info-body-on #doc-preview{background:transparent !important;box-shadow:none !important;border:0 none !important;outline:none !important;filter:none}
html.info-body-on #jelly .jello-skin,html.info-body-on .jello-skin,html.info-body-on #jelly-skin,html.info-body-on #talk-skin,html.info-body-on #preview-skin{opacity:0}
html.info-body-on .talk-bubble,html.info-body-on #doc-preview{overflow:hidden;border-radius:18px}
.talk-bubble.trail-card,.talk-bubble.chain-bubble,#doc-preview{z-index:16}

.thought-trail .trail-stroke{fill:none;stroke:rgba(243,201,105,.50);stroke-width:1.5;stroke-linejoin:round;stroke-linecap:butt;filter:url(#thought-trail-glow)}
.talk-bubble.trail-card,.talk-bubble.chain-bubble{z-index:12;overflow:visible}
.talk-bubble.trail-card.expanded,.talk-bubble.chain-bubble.expanded{overflow-y:auto}
.doc-sheet.trail-card:not(.review-doc),.doc-sheet.chain-card:not(.review-doc){z-index:12}
.talk-bubble.trail-on,.doc-sheet.trail-on:not(.review-doc){
  border-color:transparent !important;
  box-shadow:none !important;
}

/* ---- conversation bubble: brief help outside the panel; click for a fuller explanation ---- */
.talk-bubble{z-index:10;max-width:min(340px,32vw);max-height:calc(100dvh - 80px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(230,166,56,.8) transparent;background:linear-gradient(180deg,rgba(36,32,25,.98),rgba(24,22,20,.98));border:1px solid var(--line2);border-radius:18px;box-shadow:0 16px 40px rgba(0,0,0,.4),0 0 20px rgba(243,201,105,.16);color:var(--ink);padding:12px 14px 12px;opacity:0;pointer-events:none;will-change:transform,opacity;position:fixed}
.talk-bubble.on{pointer-events:auto}
.talk-bubble.side-right{border-radius:18px 18px 18px 10px}
.talk-bubble.side-left{border-radius:18px 18px 10px 18px}
.talk-kicker{margin:0 0 4px;color:var(--gold);font:700 10px/1 var(--fh);letter-spacing:.12em;text-transform:uppercase}
.talk-brief{margin:0;padding-right:56px;font:16px/1.4 var(--fb);color:var(--ink)}
.talk-more{appearance:none;margin:8px 0 0;padding:0 0 10px;border:0;background:none;color:var(--gold);font:700 13px var(--fh);text-decoration:none;cursor:pointer;min-height:0;position:relative;display:inline-block;line-height:1.2}
.talk-more:hover,.talk-more:focus-visible{color:#ffe09a;outline:none}
.talk-detail{display:none;margin:10px 0 0;padding-top:10px;border-top:1px solid var(--line)}
.talk-bubble.expanded .talk-detail{display:block}
.talk-reflect{margin:0 0 8px;font:16px/1.45 var(--fb);color:var(--ink)}
.talk-why{margin:0 0 8px;font:15px/1.45 var(--fb);color:var(--muted)}
.talk-fine{margin:0;color:var(--dim);font-size:12px;line-height:1.4}
.talk-close{appearance:none;position:absolute;top:8px;right:8px;border:1px solid var(--line2);background:transparent;color:var(--gold);border-radius:8px;padding:4px 8px;min-height:32px;font:700 11px var(--fh);cursor:pointer}
.talk-close:hover,.talk-close:focus-visible{border-color:var(--gold);outline:none}
.talk-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Phone: brief and detail hang from the panel's bottom edge and grow downward. */
@media (max-width:700px){
  .talk-bubble{max-width:none;border-radius:18px 18px 16px 16px;padding:10px 12px}
  .talk-bubble:not(.expanded) .talk-brief{font-size:15px;padding-right:48px}
  .talk-bubble.expanded{padding:18px 18px calc(18px + env(safe-area-inset-bottom,0px));box-shadow:0 16px 40px rgba(0,0,0,.45),0 0 20px rgba(243,201,105,.16);overflow-y:auto}
  .talk-backdrop{position:fixed;inset:0;z-index:8;background:rgba(10,9,8,.45);opacity:0;pointer-events:none;transition:opacity .28s ease}
  .talk-backdrop.on{opacity:1;pointer-events:auto}
}
@media (min-width:701px){
  .talk-backdrop{display:none}
}
@media (prefers-reduced-motion:reduce){
  .talk-bubble,.talk-backdrop,.doc-sheet,.jello-neck,.thought-trail,.thought-trail-fill,.bubble-chain,.bubble-chain-dot,.bubble-chain-tether{transition:none}
  .talk-bubble,.doc-sheet:not(.review-doc){transform:none}
  .jello-neck{opacity:0 !important}
}

/* Syrup sprout: the SVG blob is the chrome; the card itself stays invisible. */
.talk-bubble.sprout-card,
.doc-sheet.sprout-card:not(.review-doc),
.idea-tray.sprout-card{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
}
.talk-bubble.sprout-card{z-index:12}
.doc-sheet.sprout-card:not(.review-doc){z-index:12}
.idea-tray.sprout-card{z-index:13}

/* Empty prompt + faint suggestion that oozes into idea chips */
.prompt-ask{position:relative;margin:4px 0 14px;z-index:3}
.suggest-line{appearance:none;display:inline-block;margin:0 0 10px;padding:0;border:0;background:none;color:rgba(230,214,180,.55);font:500 14px/1.4 var(--fh);cursor:pointer;text-align:left;text-decoration:none;letter-spacing:.01em}
.suggest-line:hover,.suggest-line:focus-visible{color:rgba(243,201,105,.88);outline:none;text-decoration:underline;text-underline-offset:3px}
.suggest-line[aria-expanded="true"]{color:rgba(243,201,105,.9)}
.prompt-box{display:block;margin:0}
.prompt-box .q-input{margin-top:0;min-height:52px;padding:14px 16px;border-radius:16px;font-size:17px;background:#0c0b0a;border:1px solid rgba(243,201,105,.28)}
.prompt-box .q-input:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(243,201,105,.15)}
.prompt-box .q-input::placeholder{color:rgba(230,214,180,.38)}
.idea-tray{z-index:12;padding:0}
.idea-tray-in{padding:10px 4px 4px}
.idea-tray-label{margin:0 4px 8px;font:600 11px var(--fh);letter-spacing:.08em;text-transform:uppercase;color:rgba(230,214,180,.55)}
.idea-chips{display:flex;flex-wrap:wrap;gap:8px}
.idea-chip{appearance:none;border:1px solid rgba(243,201,105,.28);background:rgba(12,11,10,.7);color:var(--ink);font:600 14px var(--fh);padding:8px 14px;min-height:40px;border-radius:999px;cursor:pointer}
.idea-chip:hover,.idea-chip:focus-visible{border-color:var(--gold);background:rgba(243,201,105,.14);outline:none;box-shadow:0 0 0 3px rgba(243,201,105,.15)}
.vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.field-slot,.field-slot-in{overflow:visible}
@media (max-width:700px){
  .prompt-box .q-input{min-height:48px;font-size:16px;padding:12px 14px}
  .idea-chip{min-height:44px}
}
@media (prefers-reduced-motion:reduce){
  .suggest-line,.idea-chip{transition:none}
}


/* v0.3.132: PEEK sticker gone; document preview; hard-jello skins; no visible scrollbars */
.peek-tab,#peek-tab{display:none !important}
#preview-hotspot{position:absolute;left:-6px;top:10%;bottom:10%;width:56px;border:0;background:transparent;padding:0;cursor:pointer;z-index:5}
#preview-hotspot[hidden]{display:none}
#preview-toggle{display:none}
@media (max-width:700px){
  #preview-toggle{display:inline}
  #peek-open{display:none}
  #preview-hotspot{display:none !important}
}
#doc-preview{position:fixed;z-index:14;color:var(--ink);background:linear-gradient(180deg,rgba(36,32,25,.96),rgba(24,22,20,.96));border:0;border-radius:18px;box-shadow:none;overflow:visible;padding:0}
#doc-preview .preview-in{position:relative;z-index:1;padding:22px 20px 28px;overflow:auto;max-height:inherit}
#doc-preview .preview-page{min-height:80px}
#doc-preview .preview-kicker{margin:0 0 6px;color:var(--gold);font:700 11px var(--fh);letter-spacing:.12em;text-transform:uppercase}
#doc-preview .preview-title{margin:0 0 8px;font:700 20px/1.2 var(--fh);color:var(--ink)}
#doc-preview .preview-idea{margin:0 0 14px;color:var(--muted)}
#doc-preview .preview-idea.empty,#doc-preview .val.empty{color:var(--dim);font-style:italic}
#doc-preview .doc-row{margin:0 0 10px}
#doc-preview .doc-row .lab{font:600 11px var(--fh);color:var(--gold);letter-spacing:.04em}
#doc-preview .doc-row.current .lab{color:var(--amber)}
#doc-preview .doc-close{appearance:none;background:none;border:0;color:var(--gold);font:600 13px var(--fh);cursor:pointer;padding:4px 0}
.jello-skin,#jelly-skin,#preview-skin,#talk-skin{position:absolute;inset:-48px;width:calc(100% + 96px);height:calc(100% + 96px);pointer-events:none;z-index:0}
.talk-bubble{background:linear-gradient(180deg,rgba(36,32,25,.96),rgba(24,22,20,.96));border-color:transparent;border-radius:18px;box-shadow:none}
.talk-bubble .sprout-body,.talk-bubble .talk-body{position:relative;z-index:1;padding:max(22px, calc(var(--bubble-r, 56px) * 0.293 + 18px))}
.talk-bubble.trail-card.expanded,.talk-bubble.chain-bubble.expanded{overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none}
/* v0.3.137: union layer stays behind #stage (z-index:2) so form text is never covered.
   Cards clip their own content; later overflow:visible rules must not win. */
html.info-body-on .talk-bubble,
html.info-body-on .talk-bubble.trail-card,
html.info-body-on .talk-bubble.chain-bubble,
html.info-body-on #doc-preview{
  overflow:hidden !important;
  z-index:16;
  border-radius:38%;
}
html.info-body-on .talk-close,
html.info-body-on #talk-close{
  position:absolute;
  top: calc(var(--bubble-r, 56px) * 0.293 + 18px);
  right: calc(var(--bubble-r, 56px) * 0.293 + 18px);
  z-index: 4;
  margin: 0;
}
html.info-body-on .talk-brief{padding-right: calc(72px + var(--bubble-r, 56px) * 0.15);}
html.info-body-on #doc-preview .doc-close{
  display:none;
  position:absolute;
  top:8px;
  right:10px;
  z-index:3;
  margin:0;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(22,18,14,0.72);
}
html.info-body-on #doc-preview .preview-in,
html.info-body-on #doc-preview #preview-in{
  height:100% !important;
  margin-top:0;
}

html.info-body-on #jelly,
html.info-body-on .jelly,
html.info-body-on .jelly.expanding,
html.info-body-on #jelly.expanding,
html.info-body-on .talk-bubble,
html.info-body-on #doc-preview,
html.info-body-on .doc-sheet {
  border: 0 none !important;
  outline: none !important;
  box-shadow: none !important;
}
html.info-body-on .talk-detail,
html.info-body-on .talk-bubble .talk-detail {
  border-top: 0 none !important;
}
html.info-body-split #stage {
  box-sizing: border-box;
  place-items: start center;
  align-content: start;
}

html.info-body-on .talk-bubble,
html.info-body-on #doc-preview {
  max-height: none !important;
  overflow: hidden !important;
}
html.info-body-on .talk-bubble,
html.info-body-on .talk-bubble.trail-card,
html.info-body-on .talk-bubble.chain-bubble,
html.info-body-on .talk-bubble.expanded,
html.info-body-on .talk-bubble.trail-card.expanded,
html.info-body-on .talk-bubble.chain-bubble.expanded {
  max-width: min(440px, 40vw);
  max-height: none !important;
  overflow: hidden !important;
  scrollbar-width: none !important;
}
@media (max-width: 700px) {
  html.info-body-on .talk-bubble,
  html.info-body-on .talk-bubble.expanded {
    max-width: 78vw;
    width: fit-content;
    height: auto;
    min-height: 0;
  }
}
html.info-body-on .jelly:has(#ask:not([hidden])),
html.info-body-on .jelly:has(.path) {
  width: min(640px, var(--info-body-panel-max, 640px), 70vw);
  max-width: calc(100vw - 48px);
}
@media (max-width: 700px) {
  html.info-body-on .jelly:has(#ask:not([hidden])),
  html.info-body-on .jelly:has(.path) {
    width: min(480px, 94vw);
    max-width: calc(100vw - 24px);
  }
}
html.info-body-split, html.info-body-split body {
  height: auto !important;
  min-height: 100%;
  overflow: auto !important;
}
html.info-body-split header.top {
  position: sticky;
  top: 0;
  z-index: 3;
}
html.info-body-split #stage {
  height: auto !important;
  min-height: calc(100dvh - 62px);
  overflow: visible;
}
html.info-body-split .talk-bubble,
html.info-body-split #doc-preview,
html.info-body-split #jelly,
html.info-body-split .jelly {
  position: absolute;
}

html.info-body-split #info-body-layer,
html.info-body-split .info-body-svg {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: var(--info-body-page, 100%);
}


/* v0.3.138: live form miniature sits in the preview like a soft button; no scrolling. */
html.info-body-on #preview-in,
html.info-body-on .preview-in,
html.info-body-on #doc-preview .preview-in {
  overflow: hidden !important;
  height: 100%;
  box-sizing: border-box;
  /* The cushion, not preview-in, is the 10px well margin so the
     miniature can fill the well and the bubble can form to the asset. */
  padding: 0 !important;
  scrollbar-width: none !important;
}
html.info-body-on #doc-preview .preview-in,
html.info-body-on #doc-preview #preview-in,
html.info-body-on .preview-artifact,
html.info-body-on .preview-artifact-scale {
  border-radius: inherit;
  overflow: hidden !important;
}
html.info-body-on .preview-artifact {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  color: inherit;
  font: inherit;
  border-radius: inherit;
  overflow: hidden !important;
}
html.info-body-on .preview-artifact-cushion {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible !important;
  clip-path: none;
  /* Raised honey ring is the bubble fill showing through. No clip, no
     inset shadow — those used to sink the whole interior out to the gold. */
}
html.info-body-on .preview-artifact-viewport {
  display: block;
  position: absolute;
  box-sizing: border-box;
  /* Fallback even ring until JS sizes the seat exactly to the asset. */
  inset: 18px;
  padding: 0;
  overflow: hidden !important;
  border: 0;
  outline: none;
  border-radius: var(--pillow-r, 16px);
  background: transparent;
  /* No outset shadows — those painted a darker rounded band on the
     honey around the page and read as a frame. Inset only, so the
     raised honey ring stays the bubble's own fill. */
  box-shadow:
    inset 0 12px 28px 0 rgba(0, 0, 0, 0.22),
    inset 0 1px 8px 0 rgba(255, 236, 200, 0.10);
}
html.info-body-on .preview-artifact:hover .preview-artifact-viewport {
  box-shadow:
    inset 0 14px 30px 0 rgba(0, 0, 0, 0.24),
    inset 0 1px 8px 0 rgba(255, 236, 200, 0.12);
}
html.info-body-on .preview-artifact:active .preview-artifact-viewport {
  box-shadow:
    inset 0 16px 32px 0 rgba(0, 0, 0, 0.28),
    inset 0 1px 6px 0 rgba(255, 236, 200, 0.08);
}
/* Honey lip overlay sits ABOVE the iframe so the page edge dips under the
   honey. Inset shadows on the viewport cannot paint over an iframe. */
html.info-body-on .preview-artifact-lip {
  display: block;
  position: absolute;
  z-index: 3;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  border: 0;
  outline: none;
  pointer-events: none;
  background: transparent;
  /* Same box as the page — nothing is painted onto the honey.
     An inward-only mask keeps a short feathered fade at the clip
     and leaves the interior fully transparent, so content stays clean. */
  -webkit-mask-image:
    linear-gradient(to bottom, #000 0, transparent 6px),
    linear-gradient(to top,    #000 0, transparent 6px),
    linear-gradient(to right,  #000 0, transparent 6px),
    linear-gradient(to left,   #000 0, transparent 6px);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-composite: source-over;
  mask-image:
    linear-gradient(to bottom, #000 0, transparent 6px),
    linear-gradient(to top,    #000 0, transparent 6px),
    linear-gradient(to right,  #000 0, transparent 6px),
    linear-gradient(to left,   #000 0, transparent 6px);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-composite: add;
  /* Honey-colored inward fade, no spread onto the bubble. A short
     blur at the clip tints the last page pixels toward the honey
     so the edge melts, without painting a band on the fill. */
  box-shadow:
    inset 0 0 7px 2px rgba(49, 40, 26, 0.92);
}
html.info-body-on .preview-artifact:hover .preview-artifact-lip {
  box-shadow:
    inset 0 0 7px 2px rgba(49, 40, 26, 0.94);
}
html.info-body-expanded #doc-preview .preview-artifact-lip {
  pointer-events: none !important;
}
/* Feather the last 4px of the painted page so the opaque iframe
   edge melts into the honey. Interior stays fully opaque. Off when expanded. */
html.info-body-on .preview-artifact-scale,
html.info-body-on #preview-artifact-scale {
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0, #000 4px, #000 calc(100% - 4px), transparent 100%),
    linear-gradient(to right,  transparent 0, #000 4px, #000 calc(100% - 4px), transparent 100%);
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0, #000 4px, #000 calc(100% - 4px), transparent 100%),
    linear-gradient(to right,  transparent 0, #000 4px, #000 calc(100% - 4px), transparent 100%);
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-composite: intersect;
}
html.info-body-expanded #doc-preview .preview-artifact-scale,
html.info-body-expanded #doc-preview #preview-artifact-scale {
  -webkit-mask-image: none;
  mask-image: none;
}

html.info-body-on .preview-artifact-scale,
html.info-body-on #preview-artifact-scale {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  max-width: none !important;
  max-height: none !important;
  box-sizing: border-box;
  transform-origin: top left;
  pointer-events: none;
  overflow: hidden !important;
  flex-shrink: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  backface-visibility: hidden;
}
html.info-body-on .preview-artifact-scale .jelly-in,
html.info-body-on .preview-artifact-scale .jelly {
  pointer-events: none !important;
  transform: none !important;
  margin: 0 !important;
  filter: none !important;
}
/* The clone root is locked to the live form's source width so 92/94vw
   rules cannot widen it. Inner .jelly-in / .ask fill that box's
   content area (width 100%) and keep their padding, matching the
   live form. A srcW lock on those inners overflowed the padding
   and clipped Continue on the right. */
html.info-body-on .preview-artifact-scale,
html.info-body-on #preview-artifact-scale,
html.info-body-on .preview-artifact-scale > .jelly,
html.info-body-on .preview-artifact-scale > .preview-artifact-clone,
html.info-body-on .preview-artifact-scale .jelly:has(.path),
html.info-body-on .preview-artifact-scale .jelly:has(#ask),
html.info-body-on .preview-artifact-scale .jelly:has(#ask:not([hidden])) {
  width: var(--preview-src-w, 100%) !important;
  max-width: var(--preview-src-w, 100%) !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
html.info-body-on .preview-artifact-scale .jelly-in,
html.info-body-on .preview-artifact-scale .ask,
html.info-body-on .preview-artifact-scale .ask-nav,
html.info-body-on .preview-artifact-scale .path,
html.info-body-on .preview-artifact-scale .field-slot,
html.info-body-on .preview-artifact-scale .field-slot-in {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
/* The main bubble (#jelly) is always the user input prompt at full size.
   Expanding an asset must never shrink, hide, or relocate it. */
html.info-body-expanded #jelly,
html.info-body-expanded .jelly {
  transform: none !important;
  pointer-events: auto !important;
}
html.info-body-expanded .talk-bubble {
  opacity: 0 !important;
  pointer-events: none !important;
}
html.info-body-expanded #doc-preview {
  z-index: 22;
  pointer-events: auto !important;
}
html.info-body-expanded #doc-preview .preview-artifact-hit {
  display: none !important;
}
html.info-body-expanded #doc-preview .preview-artifact,
html.info-body-expanded #doc-preview .preview-artifact-scale,
html.info-body-expanded #doc-preview .preview-artifact-viewport,
html.info-body-expanded #doc-preview .preview-in,
html.info-body-expanded #doc-preview #preview-in,
html.info-body-expanded #doc-preview iframe,
html.info-body-expanded #doc-preview img,
html.info-body-expanded #doc-preview video {
  pointer-events: auto !important;
  visibility: visible;
}
html.info-body-expanded #doc-preview .doc-close {
  display: block;
  pointer-events: auto !important;
  z-index: 23;
  visibility: visible;
  position: absolute;
  /* Inset past the oval corner so the chip is not clipped. */
  top: max(16px, calc(var(--bubble-r, 200px) * 0.32));
  right: max(20px, calc(var(--bubble-r, 200px) * 0.32));
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(22, 18, 14, 0.72);
}
html.info-body-on .preview-artifact {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
}
html.info-body-on .preview-artifact-hit {
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
html.info-body-on .preview-artifact-scale iframe,
html.info-body-on .preview-artifact-scale img,
html.info-body-on .preview-artifact-scale video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none; /* well is a soft button; expand to interact */
  background: #161410;
}
html.info-body-expanded #doc-preview .preview-artifact-viewport {
  overflow: auto !important;
}

@media (max-width: 700px) {
  html.info-body-on .talk-bubble,
  html.info-body-on .talk-bubble.expanded {
    max-width: 78vw;
    width: fit-content;
    height: auto;
    min-height: 0;
  }
}
html.info-body-on .jelly:has(#ask:not([hidden])),
html.info-body-on .jelly:has(.path) {
  width: min(640px, var(--info-body-panel-max, 640px), 70vw);
  max-width: calc(100vw - 48px);
}
@media (max-width: 700px) {
  html.info-body-on .jelly:has(#ask:not([hidden])),
  html.info-body-on .jelly:has(.path) {
    width: min(480px, 94vw);
    max-width: calc(100vw - 24px);
  }
}
html.info-body-split, html.info-body-split body {
  height: auto !important;
  min-height: 100%;
  overflow: auto !important;
}
html.info-body-split header.top {
  position: sticky;
  top: 0;
  z-index: 3;
}
html.info-body-split #stage {
  height: auto !important;
  min-height: calc(100dvh - 62px);
  overflow: visible;
}
html.info-body-split .talk-bubble,
html.info-body-split #doc-preview,
html.info-body-split #jelly,
html.info-body-split .jelly {
  position: absolute;
}

html.info-body-split #info-body-layer,
html.info-body-split .info-body-svg {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: var(--info-body-page, 100%);
}


/* v0.3.138: live form miniature sits in the preview like a soft button; no scrolling. */
html.info-body-on #preview-in,
html.info-body-on .preview-in,
html.info-body-on #doc-preview .preview-in {
  overflow: hidden !important;
  height: 100%;
  box-sizing: border-box;
  /* The cushion, not preview-in, is the 10px well margin so the
     miniature can fill the well and the bubble can form to the asset. */
  padding: 0 !important;
  scrollbar-width: none !important;
}
html.info-body-on .preview-artifact {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  color: inherit;
  font: inherit;
}
/* Later leftover well rules (10px pad / 14px radius) were removed so they
   cannot override the tight 4px rim and clip-path on the earlier rules. */
html.info-body-on .preview-artifact-scale,
html.info-body-on #preview-artifact-scale {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  max-width: none !important;
  max-height: none !important;
  box-sizing: border-box;
  transform-origin: top left;
  pointer-events: none;
  overflow: hidden !important;
  flex-shrink: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  backface-visibility: hidden;
}
html.info-body-on .preview-artifact-scale .jelly-in,
html.info-body-on .preview-artifact-scale .jelly {
  pointer-events: none !important;
  transform: none !important;
  margin: 0 !important;
  filter: none !important;
}
/* The clone root is locked to the live form's source width so 92/94vw
   rules cannot widen it. Inner .jelly-in / .ask fill that box's
   content area (width 100%) and keep their padding, matching the
   live form. A srcW lock on those inners overflowed the padding
   and clipped Continue on the right. */
html.info-body-on .preview-artifact-scale,
html.info-body-on #preview-artifact-scale,
html.info-body-on .preview-artifact-scale > .jelly,
html.info-body-on .preview-artifact-scale > .preview-artifact-clone,
html.info-body-on .preview-artifact-scale .jelly:has(.path),
html.info-body-on .preview-artifact-scale .jelly:has(#ask),
html.info-body-on .preview-artifact-scale .jelly:has(#ask:not([hidden])) {
  width: var(--preview-src-w, 100%) !important;
  max-width: var(--preview-src-w, 100%) !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
html.info-body-on .preview-artifact-scale .jelly-in,
html.info-body-on .preview-artifact-scale .ask,
html.info-body-on .preview-artifact-scale .ask-nav,
html.info-body-on .preview-artifact-scale .path,
html.info-body-on .preview-artifact-scale .field-slot,
html.info-body-on .preview-artifact-scale .field-slot-in {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
html.info-body-on .talk-bubble,
html.info-body-on #doc-preview,
html.info-body-on .preview-in,
html.info-body-on .talk-body,
html.info-body-on .sprout-body {
  box-sizing: border-box !important;
}

html.info-body-on .talk-bubble,
html.info-body-on #doc-preview {
  padding: 0 !important;
}
html.info-body-on .preview-in {
  height: 100%;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
html.info-body-on .talk-body,
html.info-body-on .sprout-body {
  height: auto;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
@media (max-width: 700px) {
  html.info-body-on .talk-bubble,
  html.info-body-on .talk-bubble.expanded,
  html.info-body-split .talk-bubble,
  html.info-body-split .talk-bubble.expanded {
    max-width: none !important;
    width: auto;
  }
}


/* ---- See it pay step: keep the Stripe form inside the honey oval ---- */
/* Hide the already-seen path. Drop the leftover section rule (top line +
   margin) so the form can start higher. Radius-based jelly-in padding from
   the max-height 900 rule would steal the top and clip the Pay button. */
.ask:has(#pay-wrap:not([hidden])) #pay-wrap{
  margin-top:0;padding-top:0;border-top:0
}
.jelly:has(#pay-wrap:not([hidden])) .jelly-in,
html.info-body-on .jelly:has(#pay-wrap:not([hidden])) .jelly-in{
  padding:44px 48px 64px
}
.stripe-preview .sp-card input{color:var(--ink);padding:12px 10px}
@media (max-width:700px){
  .ask:has(#pay-wrap:not([hidden])) .path{display:none}
  .jelly:has(#pay-wrap:not([hidden])) .jelly-in,
  html.info-body-on .jelly:has(#pay-wrap:not([hidden])) .jelly-in{
    padding:28px 48px 176px
  }
  .ask:has(#pay-wrap:not([hidden])) #pay-wrap{padding-bottom:12px}
  .stripe-preview .sp-note{display:none}
  .pay-wrap:has(#stripe-checkout:not([hidden])) #pay-fine{display:none}
  .pay-wrap .offer-price{font-size:28px;margin:0 0 4px}
  .pay-wrap h2{margin:0 0 6px;font-size:22px}
  .pay-wrap p{margin:0 0 8px;font-size:14px}
  .stripe-preview .sp-field{margin:0 0 8px}
  .stripe-preview .sp-note{margin:10px 0 0}
  .stripe-preview .sp-card{grid-template-columns:1fr 66px 56px}
}


/* Even, generous side cushion on phone so copy and fields don't hug the
   left stroke. The sale-path oval was hugging the field box because
   inline height/width on #jelly overrode the stylesheet; lock auto
   height and a wide phone width so 48px side pad is actually visible
   and the CTA stays inside the stroke. */
@media (max-width:700px){
  html.info-body-on .jelly:has(#offer),
  html.info-body-on .jelly:has(#pay-wrap),
  .jelly:has(#offer),
  .jelly:has(#pay-wrap){
    width:min(480px,92vw) !important;
    min-width:min(360px,92vw) !important;
    max-width:calc(100vw - 24px) !important;
    height:auto !important;
    max-height:none !important
  }
  .jelly:has(#offer) .jelly-in,
  .jelly:has(#pay-wrap) .jelly-in,
  html.info-body-on .jelly:has(#offer) .jelly-in,
  html.info-body-on .jelly:has(#pay-wrap) .jelly-in{
    padding-left:48px !important;
    padding-right:48px !important
  }
  .jelly:has(#offer) .jelly-in{
    padding-bottom:110px !important
  }
  .jelly:has(#pay-wrap:not([hidden])) .jelly-in,
  html.info-body-on .jelly:has(#pay-wrap:not([hidden])) .jelly-in{
    padding:28px 48px 176px !important
  }
  .stripe-preview .sp-card{
    grid-template-columns:minmax(0,1fr) 68px 42px;
    min-width:0
  }
  .stripe-preview .sp-card input{
    min-width:0;
    font-size:12px;
    padding:12px 5px;
    letter-spacing:0
  }
}
.stripe-preview input::placeholder,
.stripe-preview .sp-box::placeholder{
  color:var(--dim);
  opacity:1
}
.stripe-preview input:placeholder-shown{
  color:var(--dim)
}
