/* FormFit v3.3a · accessibility options + baseline (owned by js/ui/a11y.js). Linked last. */
/* ---------- baseline ---------- */
:root{--faint:rgba(255,255,255,.56)} /* was .42: 4.0:1 on --bg, now 6.4:1 */
:where(a,button,input,select,textarea,summary,[tabindex],[role=button],[role=switch]):focus-visible{outline:2px solid #7FD3FF!important;outline-offset:2px!important}
:is(.searchbox,.ws-search,.searchf):focus-within{outline:2px solid #7FD3FF;outline-offset:2px}
a.skip:focus,a.skip:focus-visible{position:fixed!important;z-index:200;left:12px;top:calc(10px + env(safe-area-inset-top));width:auto;height:auto;clip:auto;overflow:visible;padding:13px 18px;border-radius:12px;background:#fff;color:#090A0C;font:600 15px/1 var(--font);box-shadow:0 10px 30px rgba(0,0,0,.5)}
#main:focus,#mc:focus,.a11y-tgt:focus{outline:none}
.band.light .eyebrow{color:#C2410C} /* orange on the light band was 2.1:1 */

/* ---------- 44 px tap targets without changing the look: an invisible hit area ---------- */
:is(.seg>button,.seg>a,.ws-item,.dz-fb,.btn.small,.crumb,.wordmark,summary){position:relative}
:is(.seg>button,.seg>a,.ws-item,.dz-fb,.btn.small,.crumb,.wordmark,summary,.replay-ic,.dz-tabs>button)::before{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%);background:none;pointer-events:auto}

/* ---------- the button ---------- */
.a11y-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:transparent;color:var(--muted);cursor:pointer;font:500 13px/1 var(--font);transition:color 160ms cubic-bezier(.2,.8,.2,1),background-color 160ms cubic-bezier(.2,.8,.2,1)}
.a11y-btn .i{width:22px;height:22px;flex:none}
@media (hover:hover){.a11y-btn:hover{color:var(--text)}}
.a11y-btn:active{color:var(--text);filter:brightness(1.15)}
.a11y-bl{display:none}
.a11y-tb{width:44px;height:44px;border-radius:var(--r-pill);margin-left:auto;flex:none}
.topbar:has(.a11y-tb) .pill-cta{margin-left:-20px}
.topbar:has(.a11y-tb) .tb-links{margin-right:0}
@media (hover:hover){.a11y-tb:hover{background:var(--fill)}}
@media (min-width:1024px){body[data-page=forms] .a11y-tb{display:none}}
.a11y-side{display:none}
@media (min-width:1024px){.ws-side .a11y-side{display:flex}}
.a11y-side{justify-content:flex-start;margin-top:auto;height:44px;padding:0 12px;border-radius:var(--r-ui);width:100%}
.a11y-side .a11y-bl{display:inline}
@media (hover:hover){.a11y-side:hover{background:var(--fill)}}

/* ---------- the sheet ---------- */
.a11y-sh .panel{max-width:460px}
.a11y-k{margin:2px 4px 14px;color:var(--muted);font-size:13px}
.a11y-list{border:1px solid var(--line-2);border-radius:var(--r-card);background:var(--bg-2);overflow:hidden}
.a11y-row{display:flex;align-items:center;gap:14px;min-height:60px;padding:10px 14px 10px 16px;cursor:pointer}
.a11y-row+.a11y-row{border-top:1px solid var(--line)}
.a11y-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.a11y-tx b{font:600 15px/1.25 var(--font);color:var(--text)}
.a11y-tx small{font-size:13px;line-height:1.35;color:var(--muted)}
.a11y-row .switch{box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
.a11y-row .switch:checked{background:var(--blue);box-shadow:none}
.a11y-reset{display:block;margin:14px auto 4px;min-height:44px;padding:0 14px;border:0;background:none;color:var(--muted);font:500 14px/1 var(--font);cursor:pointer}
@media (hover:hover){.a11y-reset:hover{color:var(--text)}}

/* ---------- Larger text ---------- */
html.a11y-lg :is(#app,.sheet .panel,.toast,.aistat){zoom:1.18}
html.a11y-lg .dock{zoom:1.06}
html.a11y-lg body{overflow-x:hidden}

/* ---------- High contrast ---------- */
html.a11y-hc{--bg:#000;--bg-1:#050506;--bg-2:#0A0A0C;--bg-3:#111114;--bg2:#050506;--bg3:#111114;
  --text:#fff;--text-2:#fff;--muted:#D6D7DB;--faint:rgba(255,255,255,.85);--label:#fff;--label2:#D6D7DB;--label3:rgba(255,255,255,.75);
  --line:rgba(255,255,255,.36);--line-2:rgba(255,255,255,.55);--sep:rgba(255,255,255,.34);--sep2:rgba(255,255,255,.24);
  --fill:rgba(255,255,255,.14);--fill2:rgba(255,255,255,.24);--mat:#000;--mat-thick:#000}
html.a11y-hc body{background:#000}
html.a11y-hc *,html.a11y-hc *:before,html.a11y-hc *:after{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;text-shadow:none!important}
html.a11y-hc :is(.topbar,.dock .in,.sheet .panel,.toast,.aistat){background:#000!important;border-color:rgba(255,255,255,.6)!important}
html.a11y-hc :is(p,li,dd,dt,small,em,span,label,figcaption,h1,h2,h3,h4,h5,h6){-webkit-text-fill-color:currentColor}
html.a11y-hc :is(.st-copy,.st-art){opacity:1!important}
html.a11y-hc :is(button,.press,input,select,textarea,.seg){border-color:rgba(255,255,255,.6)}
html.a11y-hc :is(input,select,textarea){border:1px solid rgba(255,255,255,.6)!important}
html.a11y-hc .switch{box-shadow:inset 0 0 0 1px rgba(255,255,255,.7)}
html.a11y-hc .sheet .dim{background:rgba(0,0,0,.75)}

/* ---------- Reduce motion ---------- */
html.a11y-rm *:not(.spin),html.a11y-rm *:not(.spin):before,html.a11y-rm *:not(.spin):after{animation-duration:.01ms!important;animation-iteration-count:1!important;animation-delay:0s!important;transition-duration:.01ms!important;transition-delay:0s!important;scroll-behavior:auto!important}
html.a11y-rm .mq-tr{animation:none!important;transform:none!important}
html.a11y-rm :is(.st-copy,.st-art,[data-rv]){opacity:1!important;transform:none!important}
html.a11y-rm .tilt-chip{display:none!important}
html.a11y-rm{--fx:0!important;--fy:0!important}

/* ---------- Readable spacing ---------- */
html.a11y-rd{--font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--display:var(--font);--font-display:var(--font)}
html.a11y-rd body,html.a11y-rd body *:not(svg):not(svg *){font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif!important;letter-spacing:.03em!important;word-spacing:.1em}
html.a11y-rd :is(p,li,dd,small,label,figcaption,.t2){line-height:1.7!important}
html.a11y-rd :is(h1,h2,h3,h4){line-height:1.3!important}
html.a11y-rd :is(p,li){max-width:65ch}

/* ---------- Underline links ---------- */
html.a11y-ul :is(p,li,dd,small,figcaption,label,.note,.tb-links,.sr-copy) a,html.a11y-ul a:is(.link,.tl,.quiet,.txt-link,.more,.emb-more){text-decoration:underline!important;text-underline-offset:3px;text-decoration-thickness:1px}

.fft.tkf{background:#16A34A!important;box-shadow:none!important;outline:0}.fft.tkf::before,.fft.tkf::after{content:none!important;display:none!important}.fft.tkf svg path{stroke:#fff}

.band.light.emb .emb-card{background:#fff;border-color:rgba(10,12,16,.08);box-shadow:0 1px 0 #fff inset,0 16px 36px -26px rgba(10,12,16,.35)}
.band.light.emb .emb-wm,.band.light.emb .emb-h,.band.light.emb .emb-pts b{color:#0B0D10}
.band.light.emb .emb-p{color:#303236}.band.light.emb .emb-eb,.band.light.emb .emb-pts span{color:#5E6169}
.band.light.emb .emb-pts li{background:#F6F7F9;border-color:rgba(10,12,16,.07)}
.band.light.emb .emb-tile{box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(10,12,16,.1),0 6px 14px -8px rgba(10,12,16,.35)}
.band.light.emb .emb-more{color:#1B3FD1;border-color:rgba(27,63,209,.35)}

.ringw,.ringw svg{width:56px;height:56px}.ringw b{font-size:12px;letter-spacing:-.04em}@media (max-width:480px){.ringw,.ringw svg{width:52px;height:52px}.ringw b{font-size:11px}}

.band.light.fz-cta{background:#fff}.band.light.fz-cta .h2{color:#0B0D10}.band.light.fz-cta .lead{color:#303236}.band.light.fz-cta .pill-cta{background:#0B0D10;color:#fff;box-shadow:0 8px 20px -10px rgba(11,13,16,.5)}

/* Nov 9: About "The hassle is real." sourced stats */
.hz-band .h2{margin:0 auto 28px;max-width:1180px}
.hzs{display:grid;gap:14px;max-width:1180px;margin:0 auto}
@media (min-width:640px){.hzs{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media (min-width:1100px){.hzs{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}}
.hzs>div{display:flex;flex-direction:column;gap:10px;padding:24px 22px 20px;border-radius:20px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08)}
.hzs b{font:700 clamp(34px,4.2vw,46px)/1 var(--display,Inter);letter-spacing:-.03em;color:#fff}
.hzs>div:first-child b{color:#FF8964}
.hzs span{font:400 15px/1.45 var(--font,Inter);color:#A3A6AE;flex:1}
.hz-src{font:500 12.5px/1.3 var(--font,Inter);color:#7F8A9E;text-decoration:none;border-bottom:1px solid rgba(127,138,158,.35);align-self:flex-start;transition:opacity .2s}
.hz-src:hover{opacity:.75}
.hz-fine{max-width:1180px;margin:22px auto 0}
.hz-fine .hz-src{display:inline;margin-left:4px}

/* Nov 9: the beam is gone. Hero "fit" visual: a messy photo card, measured by thin spec guides, settles into its form slot; coral tick. transform/opacity only. */
.stagewrap.gl .beam,.stagewrap.gl .frame-spill{display:none!important}
/* no WebGL: CSS fallback beam from the CTA down to the frame */
.stagewrap:not(.gl) .beam{top:calc(-1 * var(--bh,150px))!important;height:var(--bh,150px)!important}
.frame:before{animation:none!important;background:linear-gradient(90deg,transparent,rgba(255,255,255,.28) 50%,transparent)!important}
.fitviz{position:absolute;z-index:0;pointer-events:none;left:0;top:-146px;width:100%;height:140px}
.fv-in{position:absolute;left:8px;top:-4px;width:300px;height:310px;transform:scale(.47);transform-origin:0 0}
@media (min-width:1024px){.fitviz{left:-10px;top:-236px;width:240px;height:260px}.fv-in{left:0;transform:scale(.78)}}
@media (min-width:1024px) and (max-width:1279px){.fitviz{top:-230px}.fv-in{transform:scale(.6)}}
@media (min-width:1500px){.fitviz{left:-40px}}
.fv-slot{position:absolute;left:76px;top:60px;width:150px;height:190px;border-radius:14px;border:1.5px dashed rgba(169,196,255,.38);background:rgba(61,126,255,.05)}
.fv-slot span{position:absolute;left:0;right:0;bottom:-26px;text-align:center;font:500 13px/1 var(--font,Inter);color:#7F8A9E;letter-spacing:.01em}
.fv-card{position:absolute;left:76px;top:60px;width:150px;height:190px;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 18px 40px rgba(0,0,0,.45);animation:fvcard 9s cubic-bezier(.65,0,.35,1) infinite;will-change:transform,opacity}
.fv-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fv-card .fv-ok{opacity:0;animation:fvok 9s cubic-bezier(.65,0,.35,1) infinite}
.fv-g{position:absolute;display:block;background:rgba(169,196,255,.5);opacity:0;animation:fvg 9s cubic-bezier(.65,0,.35,1) infinite}
.fv-g.gx{left:60px;top:52px;width:182px;height:1px;transform-origin:0 50%}
.fv-g.gx2{left:60px;top:258px;width:182px;height:1px;transform-origin:100% 50%}
.fv-g.gy{left:240px;top:44px;width:1px;height:222px;transform-origin:50% 0}
.fv-t{position:absolute;font:500 12.5px/1 var(--font,Inter);color:#C9D6F5;padding:6px 9px;border-radius:99px;background:rgba(18,22,32,.82);border:1px solid rgba(169,196,255,.22);white-space:nowrap;opacity:0;animation:fvt 9s cubic-bezier(.65,0,.35,1) infinite}
.fv-t.t1{left:66px;top:20px}
.fv-t.t2{left:250px;top:140px;animation-delay:.25s}
.fv-t.t3{left:0;top:272px;animation-delay:.5s}
.fv-tick{position:absolute;left:206px;top:40px;width:40px;height:40px;opacity:0;animation:fvtick 9s cubic-bezier(.65,0,.35,1) infinite}
.fv-tick svg{width:100%;height:100%;display:block;filter:drop-shadow(0 6px 14px rgba(255,137,100,.35))}
@keyframes fvcard{0%{opacity:0;transform:translate(-64px,-30px) rotate(-10deg) scale(1.05)}6%{opacity:1;transform:translate(-58px,-26px) rotate(-9deg) scale(1.05)}38%{opacity:1;transform:none}88%{opacity:1;transform:none}96%,100%{opacity:0;transform:translateY(6px)}}
@keyframes fvok{0%,40%{opacity:0}52%,100%{opacity:1}}
@keyframes fvg{0%,14%{opacity:0;transform:scale(.6)}32%{opacity:.75;transform:none}62%{opacity:.75;transform:none}74%,100%{opacity:0;transform:none}}
@keyframes fvt{0%,18%{opacity:0;transform:translateY(5px)}32%{opacity:1;transform:none}84%{opacity:1;transform:none}92%,100%{opacity:0;transform:none}}
@keyframes fvtick{0%,50%{opacity:0;transform:scale(.86)}58%{opacity:1;transform:none}86%{opacity:1;transform:none}94%,100%{opacity:0;transform:none}}
.stagewrap:not(.lit) .fitviz *{animation-play-state:paused!important}
@media (prefers-reduced-motion:reduce){.fitviz *{animation:none!important}.fv-card{opacity:1;transform:none}.fv-card .fv-ok,.fv-t,.fv-tick{opacity:1}.fv-g{opacity:.6}}
html.rm .fitviz *{animation:none!important}html.rm .fv-card,html.rm .fv-card .fv-ok,html.rm .fv-t,html.rm .fv-tick{opacity:1}

/* hero name: FormFit in blue→orange, Fitz pops up on hover */
.ffn{position:relative;display:inline-block;font-weight:800;background:linear-gradient(90deg,#3D7EFF 10%,#FF8964 90%);-webkit-background-clip:text;background-clip:text;color:transparent;cursor:default;outline:none}
.ffn-fz{position:absolute;left:50%;bottom:100%;display:flex;flex-direction:column;align-items:center;pointer-events:none;opacity:0;transform:translate(-50%,14px) scale(.85);transition:opacity .28s ease,transform .38s cubic-bezier(.34,1.4,.64,1)}
.ffn-fz em{order:-1;font-style:normal;font-size:13px;font-weight:700;color:#0b0b0f;background:#fff;border-radius:999px;padding:3px 10px;margin-bottom:4px;box-shadow:0 4px 14px rgba(0,0,0,.25);-webkit-text-fill-color:#0b0b0f}
.ffn:hover .ffn-fz,.ffn:focus .ffn-fz,.ffn:active .ffn-fz{opacity:1;transform:translate(-50%,0) scale(1)}
@media (prefers-reduced-motion:reduce){.ffn-fz{transition:opacity .2s}}

/* beam comes out of the Find your form button, phone + web */

.band .stats{grid-template-columns:repeat(2,1fr)}
.hz-band{padding-bottom:clamp(24px,4vw,48px)!important}.hz-band+.band{padding-top:clamp(24px,4vw,48px)!important}

/* v2: head + waving hand only, peeks up from behind the name, no text */
.ffn-fz em{display:none}
.ffn-fz{bottom:calc(100% - 6px);transform:translate(-50%,0)}
.ffn-crop{display:block;width:84px;height:58px;overflow:hidden;-webkit-mask:linear-gradient(#000 78%,transparent);mask:linear-gradient(#000 78%,transparent)}
.ffn-crop .fitz{display:block;width:84px;height:auto;transform:translateY(60px);transition:transform .45s cubic-bezier(.34,1.45,.64,1)}
.ffn-crop .fz-shadow{display:none}
.ffn:hover .ffn-fz,.ffn:focus .ffn-fz,.ffn:active .ffn-fz{transform:translate(-50%,0)}
.ffn:hover .ffn-crop .fitz,.ffn:focus .ffn-crop .fitz,.ffn:active .ffn-crop .fitz{transform:translateY(-4px)}
.ffn:hover .ffn-crop .fz-armRL .wv,.ffn:focus .ffn-crop .fz-armRL .wv,.ffn:active .ffn-crop .fz-armRL .wv{animation:ffwave .42s ease-in-out .35s 4 alternate}
@keyframes ffwave{from{transform:rotate(-14deg)}to{transform:rotate(16deg)}}
@media (prefers-reduced-motion:reduce){.ffn-crop .fitz{transition:none}.ffn-crop .fz-armRL .wv{animation:none!important}}

/* cut-out reveal: soft shadow so the fixed photo reads as laid over the original, not glitch-overlapping */
.dm-sh .stage .wipe{height:100%;width:2px;box-shadow:0 0 10px 2px rgba(255,255,255,.55)}
.dm-sh .stage .wipe:after{content:"";position:absolute;top:0;bottom:0;left:2px;width:34px;background:linear-gradient(90deg,rgba(4,10,30,.45),rgba(4,10,30,.18) 40%,transparent);pointer-events:none}
.dm-sh .stage .clean{filter:drop-shadow(0 10px 22px rgba(0,0,0,.5)) drop-shadow(0 2px 4px rgba(0,0,0,.3))}

/* About: fill the right side with Fitz + spec chips (desktop) */
.about .ab-side{display:none}
@media (min-width:1024px){
.hero3.about{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:center;gap:48px}
.about .ab-side{display:block;position:relative;justify-self:center;width:340px;height:300px}
.about .ab-side .fitz{position:absolute;left:75px;top:50px;width:190px;height:auto}
.ab-chip{position:absolute;z-index:2;font:600 14px/1 var(--font,Inter);color:#fff;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:9px 14px;white-space:nowrap;backdrop-filter:blur(6px);animation:abfloat 4.5s ease-in-out infinite alternate}
.ab-chip.c1{left:0;top:30px;color:#FF8964}.ab-chip.c2{right:-40px;top:190px;animation-delay:-1.5s}.ab-chip.c3{left:10px;bottom:20px;color:#8FB4FF;animation-delay:-3s}
@keyframes abfloat{from{transform:translateY(-5px)}to{transform:translateY(5px)}}
}
@media (prefers-reduced-motion:reduce){.ab-chip{animation:none}}

.dz-ib>i{position:absolute!important;top:-5px;right:-5px}.dz-ib>i:empty{display:none!important}.dz-ib>svg,.dz-ib>.mk,.dz-ib>span:first-child{grid-area:1/1}

/* phone: lift the tab bar clear of the Embarko badge (bottom-left, host-injected) */
@media (max-width:1023px){.dock{bottom:calc(64px + env(safe-area-inset-bottom))!important}body{padding-bottom:calc(var(--tabh,80px) + 64px)!important}}

.ba figure img{min-width:96px;min-height:96px}
/* CTA = the beam's source: beam-style lit border, glow at its foot; hover/press strengthens the beam */
.h3-copy .pill-cta{position:relative;isolation:isolate;box-shadow:0 0 0 1px rgba(190,210,255,.55),0 0 18px 2px rgba(61,126,255,.35),0 10px 30px -8px rgba(61,126,255,.45);transition:box-shadow .3s ease,transform .3s ease}
.h3-copy .pill-cta::before{content:"";position:absolute;inset:-1.5px;border-radius:inherit;padding:1.5px;background:conic-gradient(from var(--ca,0deg),rgba(255,255,255,.95),rgba(61,126,255,.9) 25%,rgba(255,137,100,.85) 50%,rgba(61,126,255,.9) 75%,rgba(255,255,255,.95));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;z-index:-1;animation:ctaspin 6s linear infinite;pointer-events:none}
.h3-copy .pill-cta::after{content:"";position:absolute;left:50%;bottom:-14px;width:70%;height:28px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.95),rgba(170,200,255,.6) 35%,rgba(61,126,255,.25) 65%,transparent);filter:blur(4px);opacity:.8;pointer-events:none;transition:opacity .3s ease,transform .3s ease}
@property --ca{syntax:"<angle>";inherits:false;initial-value:0deg}
@keyframes ctaspin{to{--ca:360deg}}
.h3-copy .pill-cta:hover,.h3-copy .pill-cta:focus-visible{box-shadow:0 0 0 1px rgba(220,232,255,.9),0 0 30px 6px rgba(61,126,255,.6),0 14px 40px -8px rgba(61,126,255,.7)}
.h3-copy .pill-cta:hover::after,.h3-copy .pill-cta:active::after{opacity:1;transform:translateX(-50%) scale(1.25)}
.stagewrap .beam-gl{transition:filter .35s ease,opacity .35s ease}
.stagewrap.boost .beam-gl{filter:brightness(1.7) saturate(1.15)}
.stagewrap.boost .frame-spill{opacity:1;filter:brightness(1.5)}
@media (prefers-reduced-motion:reduce){.h3-copy .pill-cta::before{animation:none}}

/* no overlaps: frame label moves to the right of the bar (clear of the beam's landing), Fitz sits fully above the frame edge */
.h33 .frame-bar{justify-content:flex-start!important}
.h33 .frame-bar>span{margin-left:auto!important;margin-right:4px!important}
.h33 .perch{top:-104px!important}
@media (max-width:640px){.h33 .perch{top:-80px!important;right:14px!important}.h33 .stagewrap{margin-top:30px!important}}

@media (max-width:640px){.dm-st{left:auto!important;right:16px!important;transform:translateY(-50%)!important}.h33 .perch{right:2px!important;top:-74px!important;transform:scale(.78);transform-origin:100% 100%}}

/* DigiLocker save step (appears after the ZIP) */
.dlk{padding:18px 18px 16px!important;border:1px solid rgba(255,255,255,.1);background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));opacity:0;transform:translateY(8px);transition:opacity .4s ease,transform .5s cubic-bezier(.34,1.3,.64,1)}
.dlk.in{opacity:1;transform:none}
.dlk-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.dlk-h img{height:40px;width:auto}
.dlk-tag{font:600 11px/1 var(--font,Inter);color:var(--muted,#9a9da6);border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:5px 9px}
.dlk-t{font:650 17px/1.25 var(--font,Inter);color:#fff;margin-bottom:6px}
.dlk-p{font-size:13.5px;line-height:1.5;color:var(--muted,#A3A6AE);margin:0 0 14px}
.dlk-b{width:100%;justify-content:center;background:#fff!important;color:#0B1533!important;font-weight:650}
.dlk-f{display:flex;gap:8px;align-items:flex-start;margin-top:12px;font-size:12px;line-height:1.45;color:var(--faint,#7c7f88)}
.dlk-f svg{width:14px;height:14px;flex:none;margin-top:2px}

.dlk-logo{display:block;height:40px;width:auto;color:#B9BCC6}
.dlk-logo path[fill="#602EF9"]{fill:#7B55FF}
.dlk-h{padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.08)}

.dlk.wait .dlk-b{opacity:.45;pointer-events:none}
.dlk.pulse{animation:dlkp 1.1s ease}
@keyframes dlkp{0%{box-shadow:0 0 0 0 rgba(123,85,255,.6)}100%{box-shadow:0 0 0 14px rgba(123,85,255,0)}}

@media (max-width:640px){#dlk{margin-bottom:0}}

/* phone: action bar (Download all) sits above the lifted tab bar, fully tappable */
@media (max-width:1023px){.actionbar{bottom:calc(136px + env(safe-area-inset-bottom))!important}}

/* page-enter anim must not leave a transform behind (it traps position:fixed bars like Download all) */
.pg-in{animation-fill-mode:backwards!important}

/* iPhone Safari: lighter on memory so the tab doesn't get reloaded mid-scroll */
html.ios .topbar{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(9,10,12,.97)!important}
html.ios[data-theme=light] .topbar{background:rgba(246,246,246,.97)!important}
html.ios .dock .in{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(20,21,25,.96)!important}
html.ios[data-theme=light] .dock .in{background:rgba(255,255,255,.97)!important}
html.ios .stage .hud,html.ios .ab-chip,html.ios .dm-sh,html.ios .btn.ghost2,html.ios .actionbar{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}

/* phone: theme toggle lives only in the top bar (hide the sidebar copy that drops into the Forms list) */
@media (max-width:1023px){.thm-side{display:none!important}}
/* top bar icons: plain, no ring, tight pair flush right */
.topbar .thm{border:0!important;background:transparent!important;box-shadow:none!important;width:44px;height:44px;margin:0 0 0 auto!important}
.topbar .thm + .a11y-tb{margin-left:-6px!important}
body[data-page=forms] .topbar .a11y-tb{margin-right:-10px}

/* phone: one bottom clearance (body), not two stacked; extra only while the Download-all bar is showing */
@media (max-width:1023px){
  .ws-main,.site,body[data-page=forms] .ws-main{padding-bottom:12px!important}
  body{padding-bottom:calc(var(--tabh,80px) + 72px + env(safe-area-inset-bottom))!important}
  body:has(#zip):has(.actionbar.on){padding-bottom:calc(var(--tabh,80px) + 150px + env(safe-area-inset-bottom))!important}
}

/* phone top bar: solid so content never shows through */
@media (max-width:1023px){html .topbar,html.ios .topbar{background:#090A0C!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}html[data-theme=light] .topbar,html.ios[data-theme=light] .topbar{background:#F6F6F6!important}}
@media (max-width:640px){#dlk + .sidecard{margin-top:0!important}}

/* theme toggle lives at the foot of the icon rail (desktop), styled like the rail icons */
.ws-rail .thm-rail{width:36px;height:36px;border-radius:10px;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--muted);margin:auto 0 0!important}
.ws-rail .thm-rail+a[href="#/about"]{margin-top:6px!important}
.ws-rail{padding-bottom:64px!important} /* clear the host's Embarko badge */
.ws-rail .thm-rail svg{width:19px;height:19px}
@media (hover:hover){.ws-rail .thm-rail:hover{background:var(--p2)!important;color:var(--text-2)}}
html[data-theme=light] .ws-rail .thm-rail{background:transparent!important;box-shadow:none!important;border:0!important}

/* sheet icons (v1109g): title tile, row icons, group-head icons, hint icon */
.shead b{display:inline-flex;align-items:center;gap:8px;justify-content:center}
.shead .stt{overflow:hidden;text-overflow:ellipsis}
.shead .stile{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:color-mix(in srgb,var(--blue) 16%,transparent);color:var(--blue)}
.shead .stile .i{width:15px;height:15px}
.sheet .cell .cic{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:9px;margin-right:12px;background:var(--p2,rgba(255,255,255,.06));color:var(--text-2,var(--muted))}
.sheet .cell .cic .i{width:16px;height:16px}
.sheet .cell.tint .cic{background:color-mix(in srgb,var(--blue) 14%,transparent);color:var(--blue)}
.ghead .gh{display:inline-flex;align-items:center;gap:6px}
.ghead .gh .i{width:13px;height:13px;opacity:.85}
.sheet .hint{display:flex;align-items:center;justify-content:center;gap:6px}
.sheet .hint .i{width:14px;height:14px;flex:none;opacity:.8}
html[data-theme=light] .sheet .cell .cic{background:rgba(11,13,16,.05)}
.sheet .cell.tint .cic{background:color-mix(in srgb,var(--orange) 14%,transparent)!important;color:var(--orange)!important}
.sheet .hint.safe{margin-top:18px!important}
.sheet .hint.safe{margin-bottom:64px!important}
