/* FCMB client PPQ: mobile-first, fcmb.ae brand (Jost; sky #0284c7, deep #075985, navy #154e74, amber #f59e0b). */
:root{
  --brand:#0284c7; --brand-deep:#075985; --navy:#154e74; --amber:#f59e0b;
  --bg:#f5f8fb; --card:#ffffff; --ink:#0f1f2e; --muted:#5b6b7c; --line:#dfe6ee; --soft:#e8f3fb; --sunk:#eef3f8;
  --ok:#15803d; --ok-bg:#dcfce7; --warn:#92400e; --warn-bg:#fef3c7; --bad:#b42318; --bad-bg:#fee4e2;
  --r:16px; --r-s:12px; --shadow:0 1px 2px rgba(15,31,46,.05),0 8px 28px rgba(15,31,46,.08);
  --font:"Jost",system-ui,-apple-system,"Segoe UI",sans-serif; --ease:cubic-bezier(.2,.7,.2,1);
  color-scheme:light;
}
@media (prefers-color-scheme:dark){ :root{
  --bg:#0a1622; --card:#102131; --ink:#e7eef5; --muted:#9fb1c2; --line:#22384c; --soft:#0f3550; --sunk:#0d1c2a;
  --brand:#38bdf8; --ok:#4ade80; --ok-bg:#12321f; --warn:#fbbf24; --warn-bg:#3a2c0b; --bad:#f97066; --bad-bg:#3d1714; color-scheme:dark; } }
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0; height:100%}
html{scrollbar-gutter:stable}   /* nothing moves sideways when the page gets longer or shorter */
body{background:var(--bg); color:var(--ink); font:17px/1.5 var(--font); -webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit; color:inherit}
:focus-visible{outline:3px solid color-mix(in srgb,var(--brand) 55%,transparent); outline-offset:2px}
h1:focus,h2:focus,h1:focus-visible,h2:focus-visible,main:focus{outline:none}

/* layout */
.app{min-height:100dvh; display:grid; grid-template-columns:1fr}
.pane{display:flex; flex-direction:column; min-height:100dvh; max-width:620px; width:100%; margin:0 auto}
.bar{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 20px 10px; padding-top:max(14px, env(safe-area-inset-top))}
.logo{height:34px; width:auto}
@media (prefers-color-scheme:dark){ .logo{background:#fff; border-radius:8px; padding:4px 6px; height:38px} }
.savedmark{font-size:13px; color:var(--ok); opacity:0; transition:opacity .3s}
.savedmark.on{opacity:1}
.progress{padding:0 20px 6px}
.track{height:6px; border-radius:99px; background:var(--sunk); overflow:hidden}
.track i{display:block; height:100%; width:0; border-radius:99px; background:linear-gradient(90deg,var(--brand-deep),var(--brand)); transition:width .45s var(--ease)}
.plabel{display:flex; justify-content:space-between; font-size:13px; color:var(--muted); margin-top:6px}
main{flex:1; display:flex; flex-direction:column; padding:8px 20px 0; outline:none}   /* bottom space is in .actions, so Continue sits in the same place on short and long screens */
.screen{flex:1; display:flex; flex-direction:column}
.screen.in-f{animation:inF .18s var(--ease)} .screen.in-b{animation:inB .18s var(--ease)}
@keyframes inF{from{opacity:0; transform:translateX(12px)}to{opacity:1; transform:none}}
@keyframes inB{from{opacity:0; transform:translateX(-12px)}to{opacity:1; transform:none}}
@media (prefers-reduced-motion:reduce){ .screen.in-f,.screen.in-b{animation:fade .2s} @keyframes fade{from{opacity:0}to{opacity:1}} .track i{transition:none} }

/* type */
.section{font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--brand)}
h1{font-size:28px; line-height:1.2; font-weight:600; margin:6px 0 10px; letter-spacing:-.01em; outline:none}
h2{font-size:24px; line-height:1.25; font-weight:600; margin:8px 0 8px; letter-spacing:-.005em; outline:none}
.lead{color:var(--muted); margin:0 0 18px}
.help{color:var(--muted); font-size:15px; margin:0 0 16px}

/* welcome */
.hero{background:linear-gradient(135deg,var(--brand-deep),var(--brand)); color:#fff; border-radius:var(--r); padding:22px 20px; margin:6px 0 16px; box-shadow:var(--shadow)}
.hero h1{color:#fff; font-size:26px; margin:0 0 8px}
.hero p{margin:0; opacity:.92}
.facts{display:flex; flex-wrap:wrap; gap:8px; margin-top:16px}
.facts span{background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.25); border-radius:99px; padding:4px 12px; font-size:14px}
.broker{display:flex; gap:12px; align-items:center; background:var(--card); border:1px solid var(--line); border-radius:var(--r); padding:14px 16px; margin-bottom:12px}
.broker .av{width:44px; height:44px; border-radius:50%; display:grid; place-items:center; background:var(--soft); color:var(--brand-deep); font-weight:700}
.broker small{display:block; color:var(--muted); font-size:13px}
.trust{list-style:none; margin:0 0 14px; padding:0; display:flex; flex-direction:column; gap:8px}
.trust li{display:flex; gap:10px; align-items:flex-start; font-size:15px}
.trust li::before{content:"✓"; flex:none; width:22px; height:22px; border-radius:50%; display:grid; place-items:center; background:var(--ok-bg); color:var(--ok); font-size:13px; font-weight:700}
.consent{display:flex; gap:12px; align-items:flex-start; background:var(--card); border:1.5px solid var(--line); border-radius:var(--r-s); padding:14px; cursor:pointer; font-size:15px}
.consent.on{border-color:var(--brand); background:var(--soft)}
.consent.need{border-color:var(--bad); animation:shake .3s}
.consent input{width:22px; height:22px; margin:2px 0 0; accent-color:var(--brand); flex:none}
details.privacy{margin:10px 0 0; font-size:14px; color:var(--muted)}
details.privacy summary{cursor:pointer; color:var(--brand); font-weight:500; padding:6px 0}
details.privacy ul{margin:4px 0 0; padding-left:20px}

/* answers */
.opts{display:flex; flex-direction:column; gap:10px; margin-top:4px}
.opts.grid{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.opt{display:flex; align-items:center; gap:12px; width:100%; min-height:58px; padding:14px 16px; border-radius:var(--r-s); border:1.5px solid var(--line); background:var(--card); text-align:left; cursor:pointer; font-size:17px; font-weight:500; transition:border-color .12s, background .12s; -webkit-tap-highlight-color:transparent; touch-action:manipulation}
.opt:hover{border-color:var(--brand)}
.opt:active{background:var(--soft)}   /* feedback without moving anything under the finger */
.opt::before{content:""; flex:none; box-sizing:border-box; width:22px; height:22px; border-radius:50%; border:2px solid var(--line)}   /* same size when picked: the card never changes height */
.opt[aria-pressed="true"]{border-color:var(--brand); background:var(--soft)}
.opt[aria-pressed="true"]::before{border:7px solid var(--brand)}
.yn{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.yn .opt{justify-content:center; font-size:18px}
.yn .opt::before{display:none}
.field{display:flex; align-items:center; gap:8px; background:var(--card); border:1.5px solid var(--line); border-radius:var(--r-s); padding:0 16px; min-height:62px; transition:border-color .15s}
.field:focus-within{border-color:var(--brand); box-shadow:0 0 0 4px color-mix(in srgb,var(--brand) 18%,transparent)}
.field .pre,.field .suf{color:var(--muted); font-weight:500}
.field input,.field textarea,.field select{flex:1; border:0; outline:0; background:transparent; font-size:22px; font-weight:500; padding:14px 0; min-width:0}
.field textarea{font-size:18px; min-height:110px; resize:vertical}
.field input[type=date]{font-size:19px}
.field.err{border-color:var(--bad); animation:shake .3s}
@keyframes shake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
.under{font-size:15px; color:var(--muted); margin-top:10px; min-height:22px}
.under b{color:var(--ink)}
.error{color:var(--bad); font-size:15px; margin-top:10px}
.warning{background:var(--warn-bg); color:var(--warn); border-radius:var(--r-s); padding:12px 14px; font-size:15px; margin-top:12px}
.info{background:var(--soft); color:var(--brand-deep); border-radius:var(--r-s); padding:12px 14px; font-size:15px; margin-top:12px}
@media (prefers-color-scheme:dark){ .info{color:var(--ink)} ol.next li::before,.broker .av{color:var(--brand)} }
.chips{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
.chip{border:1.5px solid var(--line); background:var(--card); border-radius:99px; padding:10px 16px; cursor:pointer; font-weight:500; font-size:16px}
.chip[aria-pressed="true"]{border-color:var(--brand); background:var(--brand); color:#fff}
.minor{margin-top:10px; font-size:14px; color:var(--muted)}
.steppers{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.stepper{background:var(--card); border:1.5px solid var(--line); border-radius:var(--r-s); padding:12px; text-align:center}
.stepper label{display:block; font-size:14px; color:var(--muted); margin-bottom:6px}
.stepper .row{display:grid; grid-template-columns:44px minmax(0,1fr) 44px; align-items:center; gap:6px}
.stepper button{width:44px; height:44px; border-radius:50%; border:1.5px solid var(--line); background:var(--sunk); font-size:22px; cursor:pointer}
.stepper output{font-size:26px; font-weight:600; min-width:40px}
.stepper input{width:100%; min-width:0; box-sizing:border-box; text-align:center; font:600 26px var(--font); color:var(--ink); background:transparent; border:0; border-bottom:2px solid var(--line); padding:4px 0; outline:none}
.stepper input:focus{border-bottom-color:var(--brand)}
.search{margin-bottom:10px}
.list{display:flex; flex-direction:column; gap:8px; padding:2px}   /* the page scrolls, not a box inside it */
.listhead{font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin:10px 2px 2px}
.listhead:first-child{margin-top:0}
/* date: day, month, year */
.dob{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.5fr); gap:10px}
.dpart{display:flex; flex-direction:column; gap:6px}
.dpart span{font-size:14px; color:var(--muted)}
.mon{display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:10px}
.mpart select{width:100%; min-width:0; min-height:62px; box-sizing:border-box; padding:0 12px; font:600 19px var(--font); color:var(--ink); background:var(--card); border:1.5px solid var(--line); border-radius:var(--r-s); outline:none}
.mpart select:focus{border-color:var(--brand)}
.dpart input{width:100%; min-width:0; min-height:62px; box-sizing:border-box; text-align:center; font:600 22px var(--font); color:var(--ink); background:var(--card); border:1.5px solid var(--line); border-radius:var(--r-s); outline:none; transition:border-color .12s}
.dpart input:focus{border-color:var(--brand)}
.dob.err .dpart input{border-color:var(--bad)}
/* developer and community search list */
.sugg{display:flex; flex-direction:column; gap:6px; margin-top:8px}
.sg{display:flex; flex-direction:column; align-items:flex-start; gap:2px; width:100%; min-height:52px; padding:10px 14px; border-radius:var(--r-s); border:1.5px solid var(--line); background:var(--card); color:var(--ink); text-align:left; cursor:pointer; font:500 16px var(--font); touch-action:manipulation}
.sg span{font-size:13px; color:var(--muted); font-weight:400}
.sg:active{background:var(--soft)}
.sgnote{margin-top:4px}
.lrow{background:var(--card); border:1.5px solid var(--line); border-radius:var(--r-s); padding:12px; display:flex; flex-direction:column; gap:8px; margin-bottom:10px}
.lrow .two{display:grid; grid-template-columns:1fr 1fr; gap:8px}
.lrow input,.lrow select{width:100%; border:1.5px solid var(--line); border-radius:10px; padding:10px 12px; background:var(--card); font-size:16px}
.linkbtn{background:none; border:0; color:var(--brand); font-weight:500; cursor:pointer; padding:8px 0; font-size:15px; text-align:left}

/* upload */
.drop{display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; text-align:center; border:2px dashed color-mix(in srgb,var(--brand) 55%,transparent); background:var(--soft); border-radius:var(--r); padding:26px 16px; cursor:pointer; transition:background .15s}
.drop:hover{background:color-mix(in srgb,var(--brand) 14%,var(--card))}
.drop .ic{width:52px; height:52px; border-radius:50%; display:grid; place-items:center; background:var(--brand); color:#fff; font-size:24px}
.drop b{font-size:18px}
.drop span{color:var(--muted); font-size:14px}
.filedone{display:flex; gap:12px; align-items:center; background:var(--ok-bg); color:var(--ok); border-radius:var(--r-s); padding:14px 16px; font-weight:500}
.alts{display:flex; flex-direction:column; gap:10px; margin-top:14px}
.alt{width:100%; padding:14px 16px; border-radius:var(--r-s); border:1.5px solid var(--line); background:var(--card); cursor:pointer; font-weight:500; text-align:center}
.alt[aria-pressed="true"]{border-color:var(--brand); background:var(--soft)}
details.how{margin-top:12px; background:var(--card); border:1px solid var(--line); border-radius:var(--r-s); padding:10px 14px}
details.how summary{cursor:pointer; color:var(--brand); font-weight:500; min-height:44px; display:flex; align-items:center}
details.how ol{margin:8px 0 2px; padding-left:20px; font-size:15px}

/* review */
.rv{display:flex; flex-direction:column; gap:12px}
.rvb{background:var(--card); border:1px solid var(--line); border-radius:var(--r); overflow:hidden}
.rvb h3{margin:0; padding:12px 16px; font-size:14px; letter-spacing:.05em; text-transform:uppercase; color:var(--brand); background:var(--sunk)}
.rvi{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 12px; padding:12px 16px; border-top:1px solid var(--line); align-items:center}
.rvi small{color:var(--muted); font-size:13.5px; grid-column:1}
.rvi div{font-weight:500; grid-column:1}
.rvi button{grid-column:2; grid-row:1 / span 2; background:none; border:0; color:var(--brand); font-weight:500; cursor:pointer; padding:8px 4px 8px 12px; min-height:44px; min-width:44px}

/* done */
.tick{width:84px; height:84px; border-radius:50%; background:var(--ok-bg); display:grid; place-items:center; margin:24px auto 8px; animation:pop .5s var(--ease)}
.tick svg{width:44px; height:44px; stroke:var(--ok); stroke-width:3; fill:none; stroke-dasharray:60; stroke-dashoffset:60; animation:draw .6s .25s var(--ease) forwards}
@keyframes pop{from{transform:scale(.6); opacity:0}to{transform:none; opacity:1}}
@keyframes draw{to{stroke-dashoffset:0}}
.center{text-align:center}
.borrow{background:linear-gradient(135deg,var(--brand-deep),var(--brand)); color:#fff; border-radius:var(--r); padding:18px 18px 14px; margin:4px 0 18px; text-align:left; box-shadow:var(--shadow)}
.borrow p{margin:2px 0} .borrow .big{font-size:24px; font-weight:600; line-height:1.25; margin:6px 0}
.borrow .disc{font-size:12.5px; opacity:.85; margin-top:12px; line-height:1.45}
ol.next{counter-reset:n; list-style:none; padding:0; margin:12px 0 18px; display:flex; flex-direction:column; gap:12px}
ol.next li{counter-increment:n; display:flex; gap:12px; align-items:flex-start; background:var(--card); border:1px solid var(--line); border-radius:var(--r-s); padding:12px 14px; font-size:15.5px}
ol.next li::before{content:counter(n); flex:none; width:28px; height:28px; border-radius:50%; display:grid; place-items:center; background:var(--soft); color:var(--brand-deep); font-weight:700; font-size:14px}

/* bottom actions */
.actions{position:sticky; bottom:0; margin-top:auto; padding:16px 0 calc(24px + env(safe-area-inset-bottom)); display:flex; gap:10px; background:linear-gradient(to top,var(--bg) 70%,transparent)}
.btn{flex:1; min-height:56px; border-radius:var(--r-s); border:0; background:var(--brand-deep); color:#fff; font-size:18px; font-weight:600; cursor:pointer; transition:filter .12s, opacity .12s; touch-action:manipulation}
.btn:hover{filter:brightness(1.1)}
.btn:active{filter:brightness(.92)}
.btn.wait{opacity:.55}   /* no answer yet: tapping it explains what is needed */
.btn:disabled{opacity:.45; cursor:not-allowed}
.actions.static{position:static; background:none}
@media (max-height:740px){ .drop{padding:16px 12px} .drop .ic{width:42px; height:42px; font-size:20px} h2{font-size:22px} .help{margin-bottom:12px} }
.btn.ghost{flex:0 0 56px; background:var(--card); color:var(--ink); border:1.5px solid var(--line); font-size:22px}
.btn.wa{background:#1fa855}
.spacer{height:12px}
.picklist{display:flex; flex-direction:column; gap:10px; margin-top:12px}
.picklist a{display:block; padding:14px 16px; border-radius:var(--r-s); border:1.5px solid var(--line); background:var(--card); color:var(--ink); text-decoration:none; font-weight:500}

/* desktop: brand panel on the left */
.brandside{display:none}
@media (min-width:980px){
  .app{grid-template-columns:minmax(360px,42%) 1fr}
  .brandside{display:flex; flex-direction:column; justify-content:space-between; padding:48px; color:#fff; background:radial-gradient(1200px 600px at 0% 0%,#0ea5e9 0%,transparent 60%),linear-gradient(160deg,var(--brand-deep),var(--navy)); position:sticky; top:0; height:100vh}
  .brandside h2{color:#fff; font-size:34px; line-height:1.15; margin:18px 0 12px}
  .brandside p{opacity:.9; margin:0}
  .brandside .tag{font-size:13px; letter-spacing:.14em; text-transform:uppercase; opacity:.8}
  .brandside ul{list-style:none; padding:0; margin:28px 0 0; display:flex; flex-direction:column; gap:12px}
  .brandside li{display:flex; gap:10px; align-items:center}
  .brandside li::before{content:"✓"; width:24px; height:24px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.18); font-size:13px}
  .brandside .bk{display:flex; gap:12px; align-items:center; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); border-radius:var(--r); padding:14px 16px}
  .brandside .bk .av{width:46px; height:46px; border-radius:50%; display:grid; place-items:center; background:#fff; color:var(--brand-deep); font-weight:700}
  .brandside .bk small{display:block; opacity:.8; font-size:13px}
  .pane{padding:24px 24px 0}
  h2{font-size:28px}
  .opts.grid{grid-template-columns:1fr 1fr}
  .pane .broker,.pane .trust{display:none}
}
.privacy summary{min-height:44px; display:flex; align-items:center; cursor:pointer}   /* a full-size tap target */
/* sense check: "Is this right?" */
.check{margin-top:12px; padding:12px 14px; border-radius:var(--r-s); background:var(--warn-bg,rgba(230,181,102,.14)); border:1.5px solid var(--warn,#E6B566); color:var(--ink); font-size:15px; line-height:1.45}
.check b{display:block; margin-bottom:2px}
.check span{display:block; margin-top:6px; color:var(--muted); font-size:14px}
.opt.owed{margin-top:12px}

/* the message sits in the Continue bar, above the buttons: always fully visible (13 Nov 2026) */
.actions{flex-wrap:wrap}
.actions > .error, .actions > .check{flex:0 0 100%; margin:0 0 2px}
.actions > .error{padding:10px 12px; border-radius:var(--r-s); background:var(--bad-bg, rgba(214,69,69,.08)); border:1.5px solid var(--bad); font-size:15px; line-height:1.4}
.actions.has-note{background:var(--bg); box-shadow:0 -1px 0 var(--line); padding-top:12px}
.screen.center + .actions, .screen > .actions.static{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
main > .screen:not(:has(.actions)):last-child{padding-bottom:calc(24px + env(safe-area-inset-bottom))}   /* screens without a Continue bar keep their bottom space */

/* TEST VERSION strip (every address except the live my.fcmb.ae). The page below keeps its full height minus the strip, so nothing else moves. */
.testbar{height:30px; box-sizing:border-box; display:flex; align-items:center; justify-content:center; padding:0 16px; background:#fef3c7; color:#78350f; font-size:13px; font-weight:600; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border-bottom:1px solid #fcd34d}
body.test .app, body.test .pane{min-height:calc(100dvh - 30px)}
@media (prefers-color-scheme: dark){ .testbar{background:#422006; color:#fde68a; border-bottom-color:#78350f} }

/* Privacy pack: the short notice on the welcome screen, the full notice, the credit report consent */
.pnote{margin:20px 0 4px; padding:16px; border:1px solid var(--line); border-radius:var(--r-s); background:var(--card)}
.pnote h2{font-size:17px; margin:0 0 8px}
.pnote ul{margin:0; padding-left:20px; font-size:15px; color:var(--muted)} .pnote li{margin:4px 0}
.pnlinks{display:flex; flex-wrap:wrap; gap:4px 16px; margin-top:8px} .pnlinks.center{justify-content:center}
.pnlinks .linkbtn, .notice .linkbtn{min-height:44px}
.notice h2{font-size:18px; margin:22px 0 6px} .notice p{margin:0 0 10px; color:var(--ink)}
.consent.credit{margin:14px 0 12px}
.drop.off{opacity:.55}

/* The document list (thank-you screen, and when the client comes back) */
.docs{margin:24px 0 8px; text-align:left}
.docs h2{font-size:20px; margin:0 0 6px} .docs h3{font-size:15px; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); margin:18px 0 8px}
.dprog{display:flex; align-items:center; gap:12px; margin:10px 0 4px; font-size:15px; color:var(--muted)} .dprog .track{flex:1; height:6px; border-radius:3px; background:var(--line); overflow:hidden} .dprog .track i{display:block; height:100%; background:var(--brand)}
.doc{display:flex; gap:12px; align-items:center; padding:14px; margin:0 0 10px; border:1.5px solid var(--line); border-radius:var(--r-s); background:var(--card)}
.doc.ok{border-color:var(--brand)} .doc.again{border-color:var(--bad)}
.aecbgot{margin:10px 0 0; padding:10px 14px; border:1px solid var(--brand); border-radius:12px; color:var(--brand); font-weight:600}
.dtext{flex:1; min-width:0; display:flex; flex-direction:column; gap:3px} .dtext b{font-size:16px} .dtext span{font-size:14px; color:var(--muted)}
.dtext .dstate{color:var(--brand); font-weight:600} .doc.again .dstate, .dtext .derr{color:var(--bad); font-weight:600}
.dbtn{flex:none; display:grid; place-items:center; min-height:44px; min-width:92px; padding:0 14px; border-radius:var(--r-s); background:var(--brand-deep); color:#fff; font-weight:600; font-size:15px; cursor:pointer}
.dbtn.ghost{background:transparent; color:var(--brand); border:1.5px solid var(--line)}

/* The indicative result on the thank-you screen */
.indic{margin:20px 0 4px; padding:16px; border:1.5px solid var(--brand); border-radius:var(--r-s); background:var(--soft); text-align:left}
.indic h2{font-size:18px; margin:0 0 8px} .indic p{margin:0 0 8px; font-size:16px} .indic .disc{font-size:14px; color:var(--muted); margin:10px 0 0}

/* the returning page: the AECB credit report for each applicant, above the document list (24 Nov 2026) */
.aecbback{text-align:left; margin:8px 0 0}
.aecbone{margin:0 0 22px}
.aecbone h2{font-size:20px; margin:0 0 6px}
.aecbone .error{margin-top:10px}
details.how .guide{margin:8px 0 4px; font-size:15px} details.how .guide a{color:var(--brand); font-weight:600; text-decoration:underline; display:inline-block; min-height:44px; line-height:44px}
.emailfix{margin-top:10px; background:none; border:1.5px solid var(--brand); color:var(--brand); border-radius:var(--r-s); padding:10px 14px; font:inherit; font-weight:600; min-height:44px; text-align:left; cursor:pointer}
/* "Upload everything at once" (24 Nov 2026) */
.bulk{margin:14px 0 6px} .bulkbtn{display:grid; place-items:center; width:100%; cursor:pointer} .bulkbtn.wait{opacity:.7}
.bulklist{list-style:none; padding:0; margin:10px 0 0; font-size:14px} .bulklist li{display:flex; justify-content:space-between; gap:10px; padding:8px 0; border-bottom:1px solid var(--line)} .bulklist li span{overflow-wrap:anywhere} .bulklist li b{color:var(--brand); white-space:nowrap; font-weight:600} .bulklist li.bad b{color:var(--bad); white-space:normal}
/* The sticky Continue bar must never cover the last option (Vishwa's iPhone, 24 Nov 2026): clear space under the last block of
   options, and anything scrolled into view stops above the bar (its own height plus the iPhone's bottom safe area). */
html{scroll-padding-bottom:calc(150px + env(safe-area-inset-bottom))}
.screen .opts, .screen .chips, .screen .drop, .screen details.how, .screen .info, .screen .consent{scroll-margin-bottom:calc(150px + env(safe-area-inset-bottom))}
.screen > .opts:last-of-type, .screen > .info:last-of-type, .screen > details.how:last-of-type{margin-bottom:24px}
.screen > .actions:not(.static){margin-top:auto; padding-top:20px}
main{padding-bottom:env(safe-area-inset-bottom)}
/* whatever comes last before the Continue bar (options, country suggestions, a note) keeps 24px of clear space above it */
.screen > :nth-last-child(2):not(.actions){margin-bottom:24px}
.aecbone > .btn[data-act="keepHeld"]{width:100%; margin-top:4px}
.namepair .namelabel{display:block; margin:6px 0 6px; font-weight:600; color:var(--ink)} .namepair .field + .namelabel{margin-top:16px}
/* the reason an answer is not accepted, right under the box (24 Nov 2026) */
.fielderr{color:var(--bad); font-weight:600; font-size:15px; margin:8px 2px 0}
/* lets the page notice a box the browser filled in by itself (autofill), which sends no typing event on some phones */
@keyframes fcmbAutofill{from{opacity:1}to{opacity:1}} input:-webkit-autofill{animation-name:fcmbAutofill; animation-duration:1ms}
