/* Example quiz funnels: structure and motion only. Every colour, font and radius comes from the theme's
   --fx-* tokens (funnels/themes/<theme>.css), so a trade's brand never leaks out and the page never leaks in.
   Motion is transform and opacity only. */

/* The frame: a phone on desktop, full width on phones. */
.fx-frame{position:relative;width:100%;max-width:100%;margin:0 auto}
@media (min-width:720px){
  .fx-frame{width:404px;padding:10px;border-radius:46px;background:#0B0E0C;box-shadow:0 60px 90px -45px rgba(16,19,15,.6),0 0 0 1px rgba(255,255,255,.06) inset}
  .fx-frame::before{content:"";position:absolute;z-index:3;left:50%;top:18px;width:84px;height:22px;margin-left:-42px;border-radius:999px;background:#0B0E0C}
}

.fx{
  /* Defaults so an unthemed funnel still reads; each theme overrides them. */
  --fx-bg:#0B0D12; --fx-surface:#15181E; --fx-surface-2:#1C2028; --fx-text:#FFFFFF; --fx-surface-text:var(--fx-text); --fx-surface-muted:var(--fx-muted); --fx-muted:#A1A1AA; --fx-border:#27272A;
  --fx-primary:#3B82F6; --fx-accent:#60A5FA; --fx-on-primary:#FFFFFF; --fx-danger:#F87171;
  --fx-r-card:8px; --fx-r-control:6px; --fx-r-pill:9999px;
  --fx-font-display:system-ui,sans-serif; --fx-font-body:system-ui,sans-serif; --fx-font-label:ui-monospace,monospace;
  --fx-display-weight:600; --fx-ease:cubic-bezier(.2,.8,.2,1); --fx-glow:rgba(59,130,246,.45);
  position:relative;isolation:isolate;overflow:hidden;display:block;width:100%;height:680px;
  border-radius:22px;background:var(--fx-bg);color:var(--fx-text);
  font:400 15px/1.5 var(--fx-font-body);-webkit-font-smoothing:antialiased;text-align:left;
  contain:layout paint;transition:opacity .3s var(--fx-ease)
}
@media (min-width:720px){.fx{height:780px;border-radius:36px}}
.fx[aria-busy="true"]{opacity:.6}
.fx *,.fx *::before,.fx *::after{box-sizing:border-box}
:where(.fx) :where(h3,p,ul){margin:0}
:where(.fx) ul{padding:0;list-style:none}
:where(.fx) :where(button,input){font:inherit;color:inherit;letter-spacing:inherit}
/* Resets at zero specificity, so every component rule (and theme) wins over them. */
:where(.fx) button{background:none;border:0;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.fx :focus-visible{outline:2px solid var(--fx-accent);outline-offset:2px}
.fx-fail{padding:40px 24px;color:var(--fx-muted)}

.fx-bgfx{position:absolute;inset:0;z-index:0;width:100%;height:100%;image-rendering:pixelated;opacity:.55;pointer-events:none}
.fx-bgfx-smooth{image-rendering:auto;opacity:1}
.fx-in{position:relative;z-index:1;display:flex;flex-direction:column;height:100%;padding:18px 18px 16px}
@media (min-width:720px){.fx-in{padding:44px 22px 20px}}

/* Header and progress */
.fx-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.fx-logo{display:flex;align-items:center;gap:10px;min-width:0}
.fx-logo b{display:block;font:var(--fx-display-weight) 15px/1.15 var(--fx-font-display);white-space:nowrap}
.fx-logo > span:last-child{min-width:0}
.fx-logo small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:600 10px/1.2 var(--fx-font-label);letter-spacing:.08em;text-transform:uppercase;color:var(--fx-muted)}
.fx-mark{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:var(--fx-r-control);background:var(--fx-primary);color:var(--fx-on-primary)}
.fx-mark svg{width:22px;height:22px}
.fx-tag{flex:none;font:600 9.5px/1 var(--fx-font-label);letter-spacing:.1em;text-transform:uppercase;padding:6px 9px;border-radius:var(--fx-r-pill);border:1px solid var(--fx-border);color:var(--fx-muted);background:color-mix(in srgb,var(--fx-bg) 70%,transparent)}
.fx-prog{display:flex;align-items:center;gap:10px;margin-top:16px}
.fx-back{width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:var(--fx-r-control);border:1px solid var(--fx-border);background:var(--fx-surface);color:var(--fx-surface-text);transition:transform .2s var(--fx-ease)}
.fx-back[hidden]{display:grid;visibility:hidden}
.fx-back:active{transform:scale(.94)}
.fx-bar{position:relative;flex:1;height:4px;border-radius:var(--fx-r-pill);background:var(--fx-border);overflow:hidden}
.fx-bar i{position:absolute;inset:0;border-radius:inherit;background:linear-gradient(90deg,var(--fx-primary),var(--fx-accent));transform-origin:0 50%;transform:scaleX(.04);transition:transform .6s var(--fx-ease)}
.fx-count{flex:none;min-width:74px;text-align:right;font:600 11px/1 var(--fx-font-label);letter-spacing:.06em;text-transform:uppercase;color:var(--fx-muted)}

/* Steps: old and new share one grid cell while they cross. */
.fx-stage{position:relative;flex:1;display:grid;margin-top:18px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none}
.fx-stage::-webkit-scrollbar{display:none}
.fx-step{grid-area:1/1;align-self:start;display:grid;gap:14px;padding-bottom:6px;will-change:transform,opacity}
.fx-enter{animation:fx-in .42s var(--fx-ease) both}
.fx-enter-back{animation:fx-in-back .42s var(--fx-ease) both}
.fx-out{pointer-events:none}
.fx-out-fwd{animation:fx-out .3s var(--fx-ease) both}
.fx-out-back{animation:fx-out-back .3s var(--fx-ease) both}
@keyframes fx-in{from{opacity:0;transform:translateX(28px)}to{opacity:1;transform:none}}
@keyframes fx-in-back{from{opacity:0;transform:translateX(-28px)}to{opacity:1;transform:none}}
@keyframes fx-out{to{opacity:0;transform:translateX(-28px)}}
@keyframes fx-out-back{to{opacity:0;transform:translateX(28px)}}

.fx-eyebrow{display:flex;align-items:center;gap:8px;font:600 11px/1 var(--fx-font-label);letter-spacing:.12em;text-transform:uppercase;color:var(--fx-accent)}
.fx-eyebrow i{width:6px;height:6px;border-radius:50%;background:var(--fx-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--fx-accent) 25%,transparent)}
.fx-q{font:var(--fx-display-weight) 26px/1.12 var(--fx-font-display);letter-spacing:-.015em;outline:none}
.fx-mask{display:block;overflow:hidden;padding-bottom:.08em;margin-bottom:-.08em}
.fx-mask > span{display:block;animation:fx-rise .55s var(--fx-ease) both;animation-delay:.06s}
@keyframes fx-rise{from{transform:translateY(105%)}to{transform:none}}
.fx-hint{color:var(--fx-muted);font-size:14.5px}

/* Options */
.fx-opts{display:grid;gap:10px}
.fx-opt{position:relative;display:flex;align-items:center;gap:14px;min-height:60px;padding:11px 14px;text-align:left;
  background:var(--fx-surface);color:var(--fx-surface-text);border:1px solid var(--fx-border);border-radius:var(--fx-r-card);
  transition:transform .22s var(--fx-ease),border-color .22s var(--fx-ease),box-shadow .22s var(--fx-ease),background-color .22s var(--fx-ease);
  animation:fx-pop .45s var(--fx-ease) both;animation-delay:calc(var(--k) * 45ms + 120ms)}
@keyframes fx-pop{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (hover:hover){.fx-opt:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--fx-accent) 55%,var(--fx-border))}}
.fx-opt:active{transform:scale(.97)}
.fx-opt[aria-pressed="true"]{border-color:var(--fx-accent);background:color-mix(in srgb,var(--fx-primary) 14%,var(--fx-surface));box-shadow:0 0 0 1px var(--fx-accent),0 10px 30px -10px var(--fx-glow)}
.fx-ibox{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:var(--fx-r-control);background:color-mix(in srgb,var(--fx-primary) 16%,transparent);color:var(--fx-accent)}
.fx-ico{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.fx-ico-sm{width:18px;height:18px}
.fx-ico path,.fx-ico circle,.fx-ico rect{stroke-dasharray:1;stroke-dashoffset:0}
@media (hover:hover){.fx-opt:hover .fx-ibox .fx-ico *{animation:fx-draw .7s var(--fx-ease) both}}
.fx-opt[aria-pressed="true"] .fx-ibox .fx-ico *{animation:fx-draw .6s var(--fx-ease) both}
@keyframes fx-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.fx-olabel{flex:1;font-weight:500;font-size:15.5px;line-height:1.3}
.fx-tick{width:24px;height:24px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--fx-accent);color:var(--fx-bg);opacity:0;transform:scale(.4);transition:transform .3s var(--fx-ease),opacity .2s}
.fx-opt[aria-pressed="true"] .fx-tick{opacity:1;transform:none}
.fx-tick .fx-ico{width:14px;height:14px;stroke-width:2.6}

/* Forms */
.fx-form{display:grid;gap:12px}
.fx-field{display:grid;gap:7px;font:600 11px/1.2 var(--fx-font-label);letter-spacing:.08em;text-transform:uppercase;color:var(--fx-muted)}
.fx-field input{width:100%;min-height:56px;padding:12px 14px;border-radius:var(--fx-r-control);border:1px solid var(--fx-border);background:var(--fx-surface);color:var(--fx-surface-text);
  font:500 17px/1.2 var(--fx-font-body);letter-spacing:0;text-transform:none;outline:none;transition:border-color .2s,box-shadow .2s}
.fx-field input::placeholder{color:color-mix(in srgb,var(--fx-surface-muted) 75%,transparent)}
.fx-field input:focus{border-color:var(--fx-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--fx-accent) 25%,transparent)}
.fx-field input[aria-invalid="true"]{border-color:var(--fx-danger)}
.fx-err{color:var(--fx-danger);font-size:14px}
.fx-fine{font:600 10.5px/1.4 var(--fx-font-label);letter-spacing:.04em;color:var(--fx-muted)}
.fx-cta{display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;width:100%;padding:0 20px;border-radius:var(--fx-r-control);
  background:var(--fx-primary);color:var(--fx-on-primary);font-weight:600;font-size:16px;box-shadow:0 14px 30px -14px var(--fx-glow);
  transition:transform .2s var(--fx-ease),opacity .2s,box-shadow .2s}
@media (hover:hover){.fx-cta:hover:not(:disabled){transform:translateY(-2px)}}
.fx-cta:active:not(:disabled){transform:scale(.97)}
.fx-cta:disabled{opacity:.4;cursor:default;box-shadow:none}
.fx-ghost{min-height:48px;padding:0 18px;border-radius:var(--fx-r-control);border:1px solid var(--fx-border);background:var(--fx-surface);color:var(--fx-surface-text);font-weight:500}
.fx-days.fx-days-one{grid-template-columns:minmax(0,1fr)}
.fx-flag{justify-self:start;font:600 11px/1 var(--fx-font-label);letter-spacing:.1em;text-transform:uppercase;padding:7px 10px;border-radius:var(--fx-r-pill);background:var(--fx-primary);color:var(--fx-on-primary)}

/* Result and booking */
.fx-win{display:grid;gap:14px}
.fx-badge{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:var(--fx-primary);color:var(--fx-on-primary);box-shadow:0 0 0 8px color-mix(in srgb,var(--fx-primary) 20%,transparent)}
.fx-badge .fx-ico{width:24px;height:24px;stroke-width:2.4}
.fx-draw *{animation:fx-draw .7s .25s var(--fx-ease) both}
.fx-sum{border:1px solid var(--fx-border);border-radius:var(--fx-r-card);background:var(--fx-surface);color:var(--fx-surface-text)}
.fx-sum summary{cursor:pointer;list-style:none;padding:12px 14px;font:600 11px/1.2 var(--fx-font-label);letter-spacing:.1em;text-transform:uppercase;color:var(--fx-surface-muted);display:flex;justify-content:space-between}
.fx-sum summary::-webkit-details-marker{display:none}
.fx-sum summary::after{content:"+";font-size:15px}
.fx-sum[open] summary::after{content:"\2212"}
.fx-sum ul{padding:0 14px 8px}
.fx-sum li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid var(--fx-border);font-size:14px}
.fx-sum li span{color:var(--fx-surface-muted)}
.fx-sum li b{font-weight:500;text-align:right}
.fx-sub{font:600 11px/1.2 var(--fx-font-label);letter-spacing:.1em;text-transform:uppercase;color:var(--fx-muted);margin-top:4px}
.fx-days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.fx-days::-webkit-scrollbar{display:none}
.fx-day{min-height:48px;padding:0 6px;border-radius:var(--fx-r-control);white-space:nowrap;border:1px solid var(--fx-border);background:var(--fx-surface);color:var(--fx-surface-text);font-weight:500;font-size:14px;transition:transform .2s var(--fx-ease)}
.fx-times{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.fx-time{min-height:56px;border-radius:var(--fx-r-control);border:1px solid var(--fx-border);background:var(--fx-surface);color:var(--fx-surface-text);font-weight:500;font-size:15px;transition:transform .2s var(--fx-ease),border-color .2s,box-shadow .2s}
.fx-day:active,.fx-time:active{transform:scale(.96)}
.fx-day[aria-pressed="true"],.fx-time[aria-pressed="true"]{border-color:var(--fx-accent);background:color-mix(in srgb,var(--fx-primary) 16%,var(--fx-surface));box-shadow:0 0 0 1px var(--fx-accent)}

/* Success */
.fx-done{position:relative;display:grid;justify-items:center;text-align:center;gap:14px;padding-top:30px}
.fx-badge-lg{width:76px;height:76px}
.fx-badge-lg .fx-ico{width:36px;height:36px}
.fx-burst{position:absolute;left:50%;top:68px;width:0;height:0;pointer-events:none}
.fx-burst i{position:absolute;left:-4px;top:-4px;width:8px;height:8px;border-radius:2px;background:var(--fx-accent);opacity:0;animation:fx-spark 1s var(--fx-ease) both;animation-delay:calc(var(--d) + .2s)}
.fx-burst i:nth-child(3n){background:var(--fx-primary);border-radius:50%}
.fx-burst i:nth-child(4n){background:var(--fx-text);width:5px;height:5px}
@keyframes fx-spark{0%{opacity:1;transform:translate(0,0) scale(1)}100%{opacity:0;transform:translate(var(--x),var(--y)) scale(.3) rotate(140deg)}}
.fx-note{display:flex;gap:10px;align-items:flex-start;text-align:left;padding:12px 14px;border-radius:var(--fx-r-card);border:1px solid var(--fx-border);background:var(--fx-surface);font-size:13.5px;color:var(--fx-surface-muted)}
.fx-note .fx-ico{color:var(--fx-accent);flex:none;margin-top:1px}

@media (prefers-reduced-motion:reduce){
  .fx *,.fx *::before,.fx *::after{animation:none!important;transition:none!important}
}

/* ── Desktop view: the brand's own quiz landing page inside a browser window (natural 1200 x 760, scaled to fit) ── */
.fx-fit{position:relative;width:100%;transition:opacity .18s ease}
.fx-fit.fx-swapping{opacity:0}
.fx-fit.is-desk .fx-frame{position:absolute;top:0;left:50%;width:1200px;max-width:none;padding:0;border-radius:14px;background:none;transform-origin:top center;
  box-shadow:0 60px 100px -50px rgba(16,19,15,.55),0 0 0 1px rgba(16,19,15,.08)}
.fx-fit.is-desk .fx-frame::before{content:none}
.fx.fx-desk{width:1200px;height:760px;border-radius:14px;display:flex;flex-direction:column}
.fx-chrome{position:relative;z-index:2;flex:none;height:46px;display:grid;grid-template-columns:120px 1fr 120px;align-items:center;padding:0 16px;
  background:var(--fx-chrome-bg,color-mix(in srgb,var(--fx-bg) 82%,var(--fx-text) 6%));border-bottom:1px solid var(--fx-border)}
.fx-dots{display:flex;gap:8px}
.fx-dots i{width:12px;height:12px;border-radius:50%;background:#FF5F57}
.fx-dots i:nth-child(2){background:#FEBC2E}
.fx-dots i:nth-child(3){background:#28C840}
.fx-url{justify-self:center;display:inline-flex;align-items:center;gap:8px;min-width:340px;justify-content:center;height:28px;padding:0 16px;border-radius:8px;
  background:color-mix(in srgb,var(--fx-bg) 70%,var(--fx-text) 8%);color:var(--fx-muted);font:500 12.5px/1 var(--fx-font-body)}
.fx-ico-xs{width:13px;height:13px;stroke-width:2}
.fx-tag-desk{position:absolute;z-index:3;right:18px;top:11px}
.fx-desk-body{position:relative;z-index:1;flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr)}
.fx-brandpanel{position:relative;display:flex;flex-direction:column;justify-content:center;gap:22px;padding:48px 56px}
.fx-brandpanel .fx-logo b{font-size:17px}
.fx-brandpanel .fx-mark{width:42px;height:42px}
.fx-brandpanel .fx-mark svg{width:26px;height:26px}
.fx-hero{margin:0;font:var(--fx-display-weight) 46px/1.04 var(--fx-font-display);letter-spacing:-.03em;color:var(--fx-text);max-width:15ch}
.fx-herosub{margin:0;font-size:17px;line-height:1.55;color:var(--fx-muted);max-width:36ch}
.fx-trust{margin:6px 0 0;padding:0;list-style:none;display:grid;gap:12px}
.fx-trust li{display:flex;align-items:center;gap:12px;font-size:15.5px;font-weight:500;color:var(--fx-text);animation:fx-pop .5s var(--fx-ease) both;animation-delay:calc(var(--k) * 70ms + 250ms)}
.fx-trust .fx-ibox{width:34px;height:34px}
.fx-card{position:relative;display:flex;flex-direction:column;min-height:0;padding:34px 44px 26px;
  background:var(--fx-card-bg,color-mix(in srgb,var(--fx-bg) 88%,var(--fx-text) 4%));border-left:1px solid var(--fx-border)}
.fx-card .fx-prog{margin-top:0}
.fx-desk .fx-stage{margin-top:22px}
.fx-desk .fx-q{font-size:30px}
.fx-desk .fx-opts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fx-desk .fx-opt{flex-direction:column;align-items:flex-start;justify-content:space-between;gap:16px;min-height:118px;padding:16px 18px}
.fx-desk .fx-opt .fx-ibox{width:44px;height:44px}
.fx-desk .fx-opt .fx-ico{width:24px;height:24px}
.fx-desk .fx-tick{position:absolute;top:14px;right:14px}
.fx-desk .fx-form{max-width:460px}
.fx-res{display:grid;gap:14px}
.fx-res-a,.fx-res-b{display:grid;gap:14px;align-content:start}
.fx-desk .fx-res{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-areas:"win win" "sum slots";gap:18px 26px;align-items:start}
.fx-desk .fx-res-a{display:contents}
.fx-desk .fx-res .fx-win{grid-area:win;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:16px}
.fx-desk .fx-res .fx-win .fx-flag{grid-column:2;grid-row:1}
.fx-desk .fx-res .fx-win .fx-q{grid-column:1 / -1}
.fx-desk .fx-res .fx-sum{grid-area:sum}
.fx-desk .fx-res-b{grid-area:slots}
.fx-desk .fx-sum li{padding:6px 0;font-size:13px;line-height:1.35}
.fx-desk .fx-day{font-size:13px;padding:0 4px}
.fx-desk .fx-res .fx-q{font-size:26px}
.fx-desk .fx-res .fx-sub{margin-top:0}
.fx-desk .fx-done{padding-top:60px}
@media (prefers-reduced-motion:reduce){.fx-fit{transition:none}}

/* Highlight word, tip line and corner brackets: neutral here, dressed by a theme that uses them. */
.fx-pill{display:inline-block}
.fx-tip{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:var(--fx-r-card);border:1px solid var(--fx-primary);background:color-mix(in srgb,var(--fx-primary) 12%,transparent);font-size:14px;font-weight:500}
.fx-tip .fx-ico{flex:none;margin-top:1px}
.fx-br{position:absolute;z-index:3;width:16px;height:16px;border:0 solid var(--fx-border);pointer-events:none}
.fx-br-tl{top:14px;left:14px;border-top-width:1.5px;border-left-width:1.5px}
.fx-br-tr{top:14px;right:14px;border-top-width:1.5px;border-right-width:1.5px}
.fx-br-bl{bottom:14px;left:14px;border-bottom-width:1.5px;border-left-width:1.5px}
.fx-br-br{bottom:14px;right:14px;border-bottom-width:1.5px;border-right-width:1.5px}

/* 3D answer icons (Fluent Emoji 3D, self-hosted in icons3d/): a soft tile, a slow idle float, a tilt on hover or tap,
   a pop when picked. Separate translate / rotate / scale properties so the three never fight. Off under reduced motion. */
.fx .fx-opt .fx-ibox.fx-i3d{width:52px;height:52px;border-radius:14px;color:inherit;
  background:radial-gradient(120% 120% at 30% 20%,rgba(255,255,255,.95),rgba(255,255,255,.55));
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.06),0 6px 14px -8px rgba(0,0,0,.35);transition:rotate .35s var(--fx-ease),scale .35s var(--fx-ease)}
.fx-i3d img{display:block;width:44px;height:44px;object-fit:contain;pointer-events:none;user-select:none;
  filter:drop-shadow(0 4px 5px rgba(0,0,0,.18));animation:fx-float 3.4s ease-in-out infinite alternate;animation-delay:calc(var(--k,0) * -0.7s)}
@keyframes fx-float{from{translate:0 1.5px}to{translate:0 -2.5px}}
@media (hover:hover){.fx-opt:hover .fx-i3d{rotate:-6deg;scale:1.04}}
.fx-opt:active .fx-i3d{rotate:-10deg;scale:.94}
.fx-opt[aria-pressed="true"] .fx-i3d{animation:fx-i3d-pop .55s cubic-bezier(.3,1.6,.5,1) both}
@keyframes fx-i3d-pop{0%{scale:.82;rotate:-14deg}55%{scale:1.14;rotate:6deg}100%{scale:1.04;rotate:0deg}}
.fx-desk .fx-opt .fx-ibox.fx-i3d{width:72px;height:72px;border-radius:18px}
.fx-desk .fx-i3d img{width:64px;height:64px}
.fx-desk .fx-opt:has(.fx-i3d){gap:12px;padding:14px 16px}

/* Hero icons (a funnel's own set): the picture leads the tile, 64px on mobile and 96px on desktop, no tile behind it. */
.fx.fx-i3d-hero .fx-opt{gap:12px;padding:6px 14px 6px 8px;min-height:76px}
.fx.fx-i3d-hero .fx-opt .fx-ibox.fx-i3d{width:68px;height:68px;background:none;box-shadow:none;border-radius:0}
.fx.fx-i3d-hero .fx-i3d img{width:64px;height:64px;filter:drop-shadow(0 6px 6px rgba(0,0,0,.16))}
.fx.fx-desk.fx-i3d-hero .fx-opt{flex-direction:column;align-items:flex-start;gap:8px;padding:10px 16px 14px;min-height:0}
.fx.fx-desk.fx-i3d-hero .fx-opt .fx-ibox.fx-i3d{width:96px;height:96px;margin-left:-4px}
.fx.fx-desk.fx-i3d-hero .fx-i3d img{width:96px;height:96px}

/* Premium line icons on the answer tiles: one size and stroke everywhere (about 1.9px at 28px, 2px at 32px),
   in a tinted chip in each theme's accent. Themes keep their own chip shape and colours. */
.fx .fx-opt .fx-ibox:not(.fx-i3d){width:46px;height:46px;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--fx-primary) 22%,transparent)}
.fx .fx-opt .fx-ibox:not(.fx-i3d) .fx-ico{width:28px;height:28px;stroke-width:1.6}
.fx.fx-desk .fx-opt .fx-ibox:not(.fx-i3d){width:54px;height:54px}
.fx.fx-desk .fx-opt .fx-ibox:not(.fx-i3d) .fx-ico{width:32px;height:32px;stroke-width:1.5}
.fx-dk-i{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:9px;background:rgba(255,255,255,.2)}

/* Fields never wider than their card: iOS gives inputs an intrinsic minimum width, which overflowed the grid/flex
   parents and got clipped by the stage. The stage also gets 4px of room each side (offset by a negative margin, so
   nothing moves) so borders and focus rings are not cut flush at the edge. */
.fx-stage{padding-inline:4px;margin-inline:-4px}
.fx-form,.fx-field,.fx-step{min-width:0;max-width:100%}
.fx .fx-field input{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;-webkit-appearance:none;appearance:none}
.fx-form,.fx-field{grid-template-columns:minmax(0,1fr)}
