/* FVA registration, upgraded design. Clean internal tool style only.
   Light grey page, white cards, blue primary, strong contrast,
   44px taps, real 375px rule, no animation noise. No secret here. */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#0f172a;background:#f1f5f9;line-height:1.5}
[hidden]{display:none!important}
.top{background:#0b6fd6;color:#fff}
.top-inner{max-width:720px;margin:0 auto;padding:20px 16px 16px}
.top h1{margin:0;font-size:26px;line-height:1.2}
.top p{margin:8px 0 0;font-size:16px;color:#dbeafe}
.top p strong{color:#fff}
main{max-width:720px;margin:0 auto;padding:16px;padding-bottom:calc(32px + env(safe-area-inset-bottom))}
.card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;margin:0 0 16px;min-width:0}
.card h2{margin:0 0 4px;font-size:22px;line-height:1.25}
.card h3{margin:20px 0 4px;font-size:18px}
.card p{margin:8px 0;font-size:16px}
.note{color:#0f172a;font-size:16px;min-height:24px}
.note:empty{display:none}
.warn{background:#fff7ed;border:1px solid #f59e0b;border-radius:8px;color:#7c2d12;padding:12px 14px;font-size:16px;font-weight:600}
.warn:empty{display:none}
.field{display:block;margin:16px 0}
.field span{display:block;font-size:16px;font-weight:600;margin-bottom:6px}
.field input,.field select{width:100%;min-height:44px;padding:10px 12px;border:1px solid #94a3b8;border-radius:8px;font-size:16px;color:#0f172a;background:#fff;min-width:0}
.field input:focus,.field select:focus{outline:3px solid #0b6fd6;outline-offset:1px;border-color:#0b6fd6}
.field input[aria-invalid="true"]{border-color:#b91c1c}
.input-row{display:flex;gap:8px}
.input-row input{flex:1;min-width:0}
.toggle{flex:0 0 auto;min-width:44px;min-height:44px;padding:10px 12px;border:1px solid #94a3b8;border-radius:8px;background:#fff;font-size:15px;cursor:pointer;color:#0f172a}
.field-error{color:#b91c1c;font-size:15px;font-weight:600;min-height:22px;margin:6px 0 0}
.field-error:empty{display:none}
.hint{color:#475569;font-size:15px}
.strength{color:#475569;font-size:15px;font-weight:600;min-height:22px;margin:6px 0 0}
.strength:empty{display:none}
.btn,.card button{min-height:44px;padding:12px 18px;border:1px solid #94a3b8;border-radius:8px;background:#fff;font-size:16px;font-weight:600;cursor:pointer;color:#0f172a;margin:6px 6px 6px 0}
.btn.primary,.card button.primary{background:#0b6fd6;border-color:#0b6fd6;color:#fff}
.btn.danger,.card button.danger{color:#b91c1c}
.btn.full,.card button.full{width:100%;margin-right:0}
.break{overflow-wrap:anywhere;word-break:break-word;min-width:0}
.code-line{font-size:16px;overflow-wrap:anywhere;word-break:break-word;min-width:0}
#session-list{padding-left:20px}
#session-list li{margin:8px 0;font-size:16px;overflow-wrap:anywhere;word-break:break-word}
.footer{color:#475569;font-size:14px}
@media(max-width:375px){
  .top-inner{padding:16px 12px 12px}
  .top h1{font-size:23px}
  main{padding:12px;padding-bottom:calc(28px + env(safe-area-inset-bottom))}
  .card{padding:16px 14px;border-radius:10px}
  .card h2{font-size:20px}
  .btn,.card button{width:100%;margin-right:0}
  .toggle{padding:10px}
}
.provider-row{display:flex;flex-direction:column;gap:6px;margin:10px 0}
.provider-row .btn{text-decoration:none;text-align:center;display:block}
.provider-row .provider-btn{display:flex;align-items:center;justify-content:center;gap:10px}
.provider-row .provider-icon{width:20px;height:20px;flex:0 0 auto}
.small-link{text-align:center;margin:12px 0 0}
.small-link a{color:#0b6fd6;font-size:14px}
.hint:empty{display:none}

/* Password Show button, mobile first: inside the field as a flex
   row, never an absolutely positioned box sticking out of it. */
.pw-wrap{position:relative;display:flex;align-items:stretch}
.pw-wrap input{flex:1;min-width:0;padding-right:12px;border-radius:8px 0 0 8px}
.pw-toggle{position:static;transform:none;flex:0 0 auto;min-height:44px;min-width:56px;border:1px solid #94a3b8;border-left:0;border-radius:0 8px 8px 0;background:#fff;color:#0b6fd6;font-size:15px;font-weight:700;cursor:pointer;padding:6px 10px}
@media(max-width:320px){
  main{padding:10px}
  .card{padding:14px 12px}
  .card h2{font-size:19px}
  .field input,.field select{font-size:16px}
}
