/* ===========================================================
   fp-account.css: the account pages (round frontend/3a, 2026-11-14)
   Lifted from the design's user-m.css (fe-review/2, 2026-10-28), the parts the login, the registration,
   the forgotten password and the profile's first page draw; the social login block, the chips, the lists,
   the selection bar and the stat strip wait for the pages that use them (rounds 3b to 3d).
   MOBILE FIRST: the base is the 390 px phone, min-width queries only. Built on site.css's tokens.
   Loaded by the account pages only (FiokController::page()).
   =========================================================== */

/* ---------- base ---------- */
.umPg h1,.umPane h2,.umPane h3,.umPromo h2,.umSub,.umHelp,.umTx,.umCue{margin:0}
[hidden]{display:none!important}
/* round frontend/5a: no focus outline anywhere (the owner, 2026-11-17; site.css removes the browser's own ring) */
.srOnly{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* the account's address beside a new password, for the browser's password manager only (the owner, 2026-11-14):
   off the screen, never `hidden` or display:none, which the browsers skip */
.umUserHint{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}
main{padding:12px 0 28px}
.umTx a,.umCue a,.umAlert a,.umHelp a,.umSub a,.umChk a{color:var(--fp-link);font-weight:700;text-decoration:underline;text-underline-offset:2px;padding:0}
.umTx a:hover,.umCue a:hover,.umAlert a:hover,.umHelp a:hover,.umSub a:hover,.umChk a:hover{color:var(--fp-light-blue)}

/* ---------- page hero: one low blue band, the only h1 of the page ---------- */
.umPg{position:relative;overflow:hidden;background:var(--fp-blue-gradient);color:#fff;padding:16px 0 14px}
.umPg::after{content:"";position:absolute;right:-60px;bottom:-140px;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,.06);pointer-events:none}
.umPg .container{position:relative;z-index:1;display:flex;flex-direction:column;gap:10px}
.umPg .k{align-self:flex-start;background:var(--fp-yellow);color:#000;padding:0 8px;line-height:22px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.7px}
.umPg h1{font-size:26px;line-height:30px;font-weight:700;text-transform:uppercase;letter-spacing:.3px;text-wrap:pretty}
.umPg h1 small{display:block;font-size:13px;line-height:17px;font-weight:600;text-transform:none;letter-spacing:.2px;color:rgba(255,255,255,.88);margin-top:6px;max-width:640px;text-wrap:pretty}

/* ---------- layout ---------- */
.umAuth{display:flex;flex-direction:column;gap:14px}
.efjWrap{max-width:680px;margin:0 auto;width:100%}
.efjExp{color:var(--fp-red-text)}

/* ---------- window: 30 px header, h2 inside (the page's h1 is the hero), no cut on a phone ---------- */
.umAuth .window,.efjWrap .window{margin:0;background:transparent;position:relative}
.umAuth .windowHeader,.efjWrap .windowHeader{height:30px;padding:0 12px 0 14px;gap:10px;clip-path:none}
.windowHeader h2{margin:0;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.7px;line-height:30px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}
.windowHeader .whR{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.4px;color:rgba(255,255,255,.9);white-space:nowrap;display:inline-flex;align-items:center;gap:6px}
.windowHeader .whR .star{color:var(--fp-yellow)}
.umAuth .windowContent,.efjWrap .windowContent{--wp:14px;padding:var(--wp)}
.umTx{font-size:14px;line-height:20px;color:var(--fp-fg-muted);text-wrap:pretty}
.umTx b{color:var(--fp-fg)}

/* ---------- buttons: 44 px, the label always says what it does ---------- */
.umBtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;background:var(--fp-ctl);color:#fff!important;font:inherit;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;border-radius:4px;border:1px solid var(--fp-ctl);transition:var(--fp-trans);text-align:center;white-space:nowrap;cursor:pointer;text-decoration:none!important}
.umBtn:hover{opacity:.88}
.umBtn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.2}
.umBtn.alt{background:var(--fp-bg-input);color:var(--fp-link)!important;border-color:var(--fp-divider)}
.umBtn.alt:hover{background:var(--fp-ctl);color:#fff!important;border-color:var(--fp-ctl);opacity:1}
.umBtn.blk{display:flex;width:100%}
.umBtn[disabled],.umBtn[aria-disabled="true"]{background:var(--fp-low-gray);border-color:var(--fp-low-gray);color:var(--fp-mid-gray)!important;cursor:not-allowed;opacity:1}
.umActs{display:flex;flex-direction:column-reverse;gap:8px;margin-top:16px}
.umActs.fwd{flex-direction:column}
.umActs .umTx{text-align:center}
.umLinkBtn{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0;background:none;border:0;font:inherit;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:var(--fp-link)!important;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.umInline{display:block;margin:4px 0 0}

/* ---------- forms: real <form method="post">, the submit inside ---------- */
.umForm{display:flex;flex-direction:column;gap:14px}
.umRow2{display:grid;gap:14px}
.umField{display:flex;flex-direction:column;gap:6px;min-width:0;border:0;margin:0;padding:0}
.umField>label:not(.umChk),.umField>legend,.umField>.umLbl{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--fp-fg);display:flex;align-items:center;gap:6px;padding:0;margin-bottom:6px}
fieldset.umField>legend{float:left;width:100%}
fieldset.umField>legend+*{clear:both}
.umField>label:not(.umChk){margin-bottom:0}
.umReq{color:var(--fp-red-text)}
.umHint{margin-left:auto;font-size:12px;font-weight:600;text-transform:none;letter-spacing:0;color:var(--fp-fg-muted)}
.umCtl{display:flex;align-items:stretch;background:var(--fp-bg-input);border:2px solid var(--fp-low-gray);position:relative;transition:border-color .15s}
.umCtl:focus-within{border-color:var(--fp-link);background:var(--fp-bg-surface)}
.umCtl input,.umCtl select{flex:1;min-width:0;height:44px;padding:0 12px;border:0;outline:0;background:transparent;color:var(--fp-fg);font-family:inherit;font-size:16px}
.umCtl select{appearance:none;padding-right:36px;cursor:pointer}
/* the open list is drawn by the browser: it takes the page's colours, or a dark theme shows light text on the
   browser's white list (round frontend/3b, the owner's finding on the registration and the profile) */
.umCtl select option{background-color:var(--fp-bg-input);color:var(--fp-fg)}
[data-theme="dark"] .umCtl select{color-scheme:dark}
.umCtl.sel::after{content:"";position:absolute;right:14px;top:50%;border:5px solid transparent;border-top-color:var(--fp-link);transform:translateY(-2px);pointer-events:none}
.umCtl .lead{display:flex;align-items:center;justify-content:center;width:40px;flex:none;color:var(--fp-fg-muted)}
/* the typed text keeps 8 px from the icon's box, also on a browser-filled (coloured) field (the owner, 2026-11-14) */
.umCtl .lead+input{padding-left:8px}
.umCtl .lead svg,.umCtl .tail svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
.umCtl .tail{display:flex;align-items:center;justify-content:center;width:44px;min-height:44px;flex:none;padding:0;background:none;border:0;cursor:pointer;color:var(--fp-fg-muted)}
.umCtl .tail:hover,.umCtl .tail[aria-pressed="true"]{color:var(--fp-link)}
.umHelp{font-size:12px;line-height:16px;color:var(--fp-fg-muted)}
/* invalid and valid: an icon and a sentence beside the border colour, never the colour alone */
.umMsg{display:none;align-items:flex-start;gap:6px;margin:0;font-size:13px;line-height:17px;font-weight:600}
.umMsg svg{width:16px;height:16px;flex:none;stroke:currentColor;fill:none;stroke-width:2.4;margin-top:1px}
.umField.bad .umCtl,.umField.bad .umSeg,.umField.bad .umOtp input{border-color:var(--fp-red)}
.umField.bad .umMsg.bad{display:flex;color:var(--fp-red-text)}
.umField.ok .umCtl{border-color:var(--fp-green,#1f9d55)}
.umField.ok .umMsg.ok{display:flex;color:#16703d}
[data-theme="dark"] .umField.ok .umMsg.ok{color:#7ed6a0}

/* checkbox row: the whole row is the 44 px target, the box carries a tick */
.umChk{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:11px 0;font-size:14px;line-height:20px;font-weight:400;text-transform:none;letter-spacing:0;color:var(--fp-fg);cursor:pointer;position:relative}
.umChk input{position:absolute;opacity:0;width:22px;height:22px;margin:0}
.umChk .box{width:22px;height:22px;flex:none;border:2px solid var(--fp-low-gray);background:var(--fp-bg-input);display:flex;align-items:center;justify-content:center;transition:var(--fp-trans)}
.umChk .box::after{content:"";width:10px;height:6px;border-left:2.5px solid #fff;border-bottom:2.5px solid #fff;transform:rotate(-45deg) translate(1px,-1px);opacity:0}
.umChk input:checked+.box{background:var(--fp-ctl);border-color:var(--fp-ctl)}
.umChk input:checked+.box::after{opacity:1}
.umChk small{display:block;font-size:12px;line-height:16px;color:var(--fp-fg-muted)}
.umChk.boxed{padding:12px;background:var(--fp-bg-input);border-left:3px solid var(--fp-link)}
.umField.bad .umChk .box{border-color:var(--fp-red)}
.umField.bad .umChk.boxed{border-left-color:var(--fp-red)}

/* segmented radio: the chosen one is filled AND carries a tick */
.umSeg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;border:2px solid var(--fp-low-gray);background:var(--fp-bg-input)}
.umSeg label{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 6px;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:var(--fp-fg-muted);cursor:pointer}
.umSeg label+label{border-left:2px solid var(--fp-low-gray)}
.umSeg input{position:absolute;opacity:0;width:1px;height:1px}
.umSeg svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2.4;display:none}
.umSeg label:has(input:checked){background:var(--fp-ctl);color:#fff}
.umSeg label:has(input:checked) svg{display:inline-block}

/* ---------- alerts: an icon and a bold word lead, the colour only follows ---------- */
.umAlert{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;align-items:start;margin:0 0 14px;padding:12px;font-size:14px;line-height:19px;border-left:4px solid var(--fp-link);background:var(--fp-tag-bg);color:var(--fp-fg)}
.umAlert>svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2.2;color:var(--fp-link)}
.umAlert b{display:block;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;margin-bottom:2px}
.umAlert.err{border-color:var(--fp-red);background:#fdecec}.umAlert.err>svg,.umAlert.err b{color:var(--fp-red-text)}
.umAlert.ok{border-color:var(--fp-green,#1f9d55);background:#e7f4ec}.umAlert.ok>svg,.umAlert.ok b{color:#16703d}
.umAlert.warn{border-color:#c98209;background:#fff6dc}.umAlert.warn>svg,.umAlert.warn b{color:#7a5b00}
[data-theme="dark"] .umAlert.err{background:#3f1416}[data-theme="dark"] .umAlert.ok{background:#173824}[data-theme="dark"] .umAlert.warn{background:#3d3210}
[data-theme="dark"] .umAlert.ok>svg,[data-theme="dark"] .umAlert.ok b{color:#7ed6a0}[data-theme="dark"] .umAlert.warn>svg,[data-theme="dark"] .umAlert.warn b{color:#f6c700}
/* the time until the next try, top right in the "too many attempts" box (the owner, 2026-11-14) */
.umAlert.hasCd{padding-right:70px}
.umCd{position:absolute;top:12px;right:12px;font-size:16px;line-height:19px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--fp-red-text)}
.umCue{margin-top:16px;padding:12px;background:var(--fp-tag-bg);font-size:14px;line-height:20px;text-align:center}

/* ---------- promo panel: blue, yellow kicker, the perks list ---------- */
.umPromo{position:relative;overflow:hidden;background:var(--fp-blue);color:#fff;padding:20px 16px}
.umPromo::before{content:"";position:absolute;right:-100px;top:-100px;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,.05);pointer-events:none}
.umPromo::after{content:"";position:absolute;left:-50px;bottom:-50px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.04);pointer-events:none}
.umPromo>*{position:relative;z-index:1}
.umPromo .k{font-size:13px;line-height:17px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;color:var(--fp-yellow);margin:0 0 4px}
.umPromo h2{font-size:24px;line-height:27px;font-weight:700;text-transform:uppercase;margin-bottom:18px;text-wrap:pretty}
.umPerks{display:grid;gap:14px;list-style:none;margin:0;padding:0}
.umPerks li{display:grid;grid-template-columns:36px minmax(0,1fr);gap:14px;align-items:start}
.umPerks .pi{width:36px;height:36px;background:rgba(255,255,255,.12);color:#fff;display:flex;align-items:center;justify-content:center;border-left:3px solid var(--fp-yellow)}
.umPerks .pi svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
.umPerks b{display:block;font-size:14px;line-height:18px;text-transform:uppercase;letter-spacing:.4px}
.umPerks div>span{display:block;font-size:14px;line-height:19px;color:rgba(255,255,255,.85);margin-top:2px}

/* ---------- the registration panel's counters (the design's .umStats.onBlue): three columns, yellow figures ---------- */
.umStats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:20px;background:rgba(255,255,255,.18);border-top:1px solid rgba(255,255,255,.18)}
.umStats>*{background:var(--fp-blue);min-height:56px;padding:12px 8px 0 0;display:flex;flex-direction:column;justify-content:center;gap:4px}
.umStats>*+*{padding-left:10px}
.umStats b{font-size:22px;line-height:24px;font-weight:700;color:var(--fp-yellow);font-variant-numeric:tabular-nums}
.umStats span{font-size:12px;line-height:15px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:rgba(255,255,255,.78)}

/* ---------- the stepper ---------- */
.umShell{background:var(--fp-bg-surface)}
.umSteps{display:flex;gap:6px;padding:12px 14px 0;list-style:none;margin:0}
.umSteps li{flex:1;min-width:0;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:var(--fp-fg-muted);padding-bottom:8px;border-bottom:3px dashed var(--fp-low-gray)}
/* the number in the ring's centre (the owner, 2026-11-14): a grid cell, line-height 1, tabular digits, the font's
   high digits nudged 1 px down and 1 px right (the owner's measure); a done step's tick stays centred */
.umSteps li b{width:24px;height:24px;border-radius:999px;background:var(--fp-bg-input);border:2px solid var(--fp-low-gray);color:var(--fp-fg-muted);display:grid;place-items:center;padding:1px 0 0 2px;margin:0;font-size:12px;font-style:normal;line-height:1;text-align:center;font-variant-numeric:tabular-nums;flex:none}
.umSteps li.done b{padding:0}
.umSteps li span{display:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.umSteps li.on{color:var(--fp-fg);border-bottom-style:solid;border-color:var(--fp-accent)}
.umSteps li.on b{background:var(--fp-ctl);border-color:var(--fp-ctl);color:#fff}
.umSteps li.on span{display:inline}
/* a done step: the number becomes a tick and the line turns solid; never the green alone */
.umSteps li.done{border-bottom-style:solid;border-color:var(--fp-green,#1f9d55)}
.umSteps li.done b{background:var(--fp-green,#1f9d55);border-color:var(--fp-green,#1f9d55)}
/* the tick is an SVG centred in the ring (the owner, 2026-11-14: the rotated-border tick sat off centre) */
.umSteps li.done b svg{display:block;width:12px;height:12px;stroke:#fff;fill:none;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.umPane{padding:18px 14px 20px}
.umPane h3{margin:0 0 6px;font-size:20px;line-height:24px;font-weight:700;text-transform:uppercase;letter-spacing:.2px;text-wrap:pretty}
.umSub{margin:0 0 16px;color:var(--fp-fg-muted);font-size:14px;line-height:20px;text-wrap:pretty}
.umSub b{color:var(--fp-fg)}
.umDone{text-align:center;padding:4px 0 12px}
.umDone .ic{width:60px;height:60px;border-radius:999px;background:var(--fp-green,#1f9d55);color:#fff;display:inline-flex;align-items:center;justify-content:center;margin-bottom:10px}
.umDone .ic svg{width:28px;height:28px;stroke:currentColor;fill:none;stroke-width:3}

/* ---------- the OTP input ---------- */
.umOtp{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;max-width:360px;border:0;margin:0;padding:0}
.umOtp input{width:100%;height:52px;text-align:center;font-size:22px;font-weight:700;background:var(--fp-bg-input);border:2px solid var(--fp-low-gray);color:var(--fp-fg);font-family:inherit;padding:0}
.umOtp input:focus{outline:0;border-color:var(--fp-link);background:var(--fp-bg-surface)}
.umResend{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;margin-top:10px;font-size:14px;color:var(--fp-fg-muted)}
.umResend b{color:var(--fp-fg);font-variant-numeric:tabular-nums}

/* ---------- password strength: segments to count and a word, plus a requirement list with marks ---------- */
.umPw{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:2px}
.umPw span{height:6px;background:var(--fp-divider)}
.umPw[data-s="1"] span:nth-child(-n+1){background:var(--fp-red)}
.umPw[data-s="2"] span:nth-child(-n+2){background:var(--fp-orange)}
.umPw[data-s="3"] span:nth-child(-n+3){background:#c98209}
.umPw[data-s="4"] span:nth-child(-n+4){background:var(--fp-green,#1f9d55)}
.umPwTx{display:flex;justify-content:space-between;margin:0;font-size:12px;font-weight:600;color:var(--fp-fg-muted);text-transform:uppercase;letter-spacing:.4px}
.umPwTx b{color:var(--fp-fg)}
.umRules{display:grid;gap:4px;margin:4px 0 0;padding:0;list-style:none}
.umRules li{display:flex;align-items:center;gap:8px;font-size:13px;line-height:18px;color:var(--fp-fg-muted)}
.umRules li::before{content:"";flex:none;width:18px;height:18px;border-radius:50%;border:2px solid var(--fp-low-gray);box-sizing:border-box}
.umRules li.met{color:var(--fp-fg)}
.umRules li.met::before{border:0;background:var(--fp-green,#1f9d55) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat}
.umRules li .st{margin-left:auto;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.4px}
.umRules li.met .st{color:#16703d}
[data-theme="dark"] .umRules li.met .st{color:#7ed6a0}

/* ---------- the robot check's box (the design's rg- slot, regisztracio-m.html): the design's box first; a tick
   is replaced by Google's own widget when it has loaded (.rgCap.on) ---------- */
.rgCap{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;max-width:320px;min-height:78px;padding:0 12px;background:#f9f9f9;border:1px solid #d3d3d3;border-radius:3px;box-shadow:inset 0 0 4px rgba(0,0,0,.05)}
[data-theme="dark"] .rgCap{background:var(--fp-bg-input);border-color:var(--fp-card-bd)}
.rgCap .umChk{padding:0;align-items:center;font-size:15px}
.rgCap .umChk .box{width:28px;height:28px;background:#fff;border-color:#c1c1c1}
.rgCap .rgBrand{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:12px;line-height:14px;color:#555;text-align:center}
.rgCap .rgBrand svg{width:30px;height:30px}
.rgCap .rgBrand b{font-weight:600}
[data-theme="dark"] .rgCap .rgBrand{color:var(--fp-fg-muted)}
.rgCap.on{display:block;padding:0;border:0;background:none;box-shadow:none;min-height:78px}
.umField.bad .rgCap{border-color:var(--fp-red)}

/* ---------- the toast: moved to site.css § 11 by round frontend/4b (the heart, fp-fav.js, shows it on every content page) ---------- */

/* ---------- the profile's facts ---------- */
.umFacts{display:grid;gap:10px;margin:0}
.umFacts div{display:grid;gap:2px}
.umFacts dt{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--fp-fg-muted)}
.umFacts dd{margin:0;font-size:16px;line-height:22px;color:var(--fp-fg);overflow-wrap:anywhere}

/* ---------- tablet ---------- */
@media (min-width:600px){
  .umRow2{grid-template-columns:1fr 1fr}
  .umActs,.umActs.fwd{flex-direction:row;justify-content:space-between;align-items:center}
  .umActs .umTx{text-align:left}
  .umSteps li span{display:inline}
  .umPane{padding:24px}
  .umPane h3{font-size:24px;line-height:28px}
  .umAuth{max-width:640px;margin:0 auto;width:100%}
  .umPromo{padding:26px}
}

/* ---------- desktop ---------- */
@media (min-width:861px){
  main{padding:20px 0 40px}
  .umAuth{gap:18px}
  .umPg{padding:24px 0 22px}
  .umPg h1{font-size:36px;line-height:40px}
  .umPg h1 small{font-size:14px;line-height:19px}
  .umAuth .windowContent,.efjWrap .windowContent{--wp:18px}
  .umAuth .windowHeader:not(:has(>:not(h2))),.efjWrap .windowHeader:not(:has(>:not(h2))){clip-path:polygon(0 0,calc(100% - 16px) 0,100% 100%,0 100%)}
  .umBtn{min-height:40px}
  .umPromo{padding:30px}
  .umPromo h2{font-size:28px;line-height:30px;margin-bottom:22px}
}
@media (min-width:1101px){
  .umAuth{max-width:1080px;display:grid;grid-template-columns:minmax(0,1fr) 380px;align-items:start}
}
