:root{color-scheme:light;--ink:#173f35;--muted:#607269;--line:#d4dfd7;--green:#e5edd5}*{box-sizing:border-box}body{margin:0;background:#f9faf7;color:var(--ink);font:16px/1.5 system-ui,-apple-system,sans-serif}a{color:var(--ink)}button,input,select{font:inherit}button,a.button{cursor:pointer;border:1px solid var(--line);border-radius:9px;padding:12px 22px;min-height:48px;color:var(--ink);background:#f5f7f2;text-decoration:none;font-weight:650}button.primary,a.primary{color:#fff;background:var(--ink);border-color:var(--ink)}button:disabled{opacity:.6;cursor:wait}input,select{width:100%;border:1px solid #c7d4cb;border-radius:8px;min-height:50px;padding:12px;background:#fff;color:#173f35}input:focus,select:focus{outline:3px solid #b8d0bc;outline-offset:1px}label{display:grid;gap:7px;min-width:0}h1{font:normal clamp(29px,4vw,43px)/1.2 Georgia,serif;margin:8px 0 12px}h2{font-size:23px;margin:0 0 16px}p{margin:8px 0 16px}.shell{max-width:1160px;margin:auto;padding:20px 26px}.account-header{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:12px 0 20px}.brand{font-size:30px;font-weight:800;letter-spacing:-1px;text-decoration:none}.header-links{display:flex;align-items:center;gap:16px}.header-links select{width:auto;min-height:40px;padding:6px}.hero{margin:22px 0;background:var(--green);padding:24px 28px;border-radius:12px}.eyebrow{font-size:12px;letter-spacing:2px}.hero p{margin:0;color:#4b6254}.account-card{padding:26px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 2px 8px #173f3505}.two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.password-wrap{position:relative;display:flex}.password-wrap input{padding-right:60px}.eye{position:absolute;right:4px;top:4px;bottom:4px;padding:8px 12px;min-height:0;border:0;background:transparent;display:flex;align-items:center;justify-content:center}.eye svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7}.eye .slash{display:none}.eye[aria-pressed=true] .slash{display:block}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}.forgot{display:inline-block;margin:14px 0 0}.registration{padding:22px 0 0;margin-top:22px;border-top:1px solid var(--line)}.region-fields{margin-top:18px}.hint{color:var(--muted);font-size:14px}.notice{margin:16px 0;min-height:24px;white-space:pre-wrap}.notice.error{color:#9a342c}.account-footer{border-top:1px solid var(--line);padding:20px 0;margin-top:28px;color:var(--muted)}.code-input{max-width:320px;letter-spacing:.3em;font-size:22px}.account-links{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.profile-meta{color:var(--muted)}[hidden]{display:none!important}@media(max-width:650px){.shell{padding:12px}.account-header{align-items:flex-start;gap:12px}.header-links{gap:9px;flex-wrap:wrap;justify-content:flex-end;font-size:14px}.hero{padding:20px}.account-card{padding:18px}.two{grid-template-columns:1fr;gap:16px}.actions button{flex:1}.hero p{font-size:15px}.brand{font-size:27px}}
.method-label{max-width:560px;margin-bottom:8px}#verificationMethod{max-width:560px}#verifyEmail{margin-top:14px}
.verification-status:not(:empty){padding:14px 16px;border:1px solid #a6bcae;border-radius:9px;background:#edf5ef;color:#173f35;font-weight:650;overflow-wrap:anywhere}.verification-status.error:not(:empty){background:#fff0ed;border-color:#dc9b91;color:#8a2920}.verification-status:empty{display:none}

/* F4: two mutually exclusive, accessible verification choices. */
.method-fieldset{border:0;padding:0;margin:0 0 10px;min-width:0}
.method-fieldset legend{font-size:inherit;font-weight:650;margin-bottom:10px;padding:0}
.method-choices{display:flex;gap:12px;flex-wrap:wrap}
.method-choice{display:inline-flex;align-items:center;gap:11px;min-width:170px;min-height:52px;padding:12px 18px;border:1px solid #becdc4;border-radius:10px;background:#fff;cursor:pointer;font-size:17px}
.method-choice:has(input:checked){border-color:#247a61;background:#eaf5ef;box-shadow:inset 0 0 0 1px #247a61}
.method-choice:has(input:disabled){opacity:.5;cursor:not-allowed}
.method-choice input[type=radio]{width:21px;height:21px;min-height:21px;padding:0;margin:0;accent-color:#17634c;flex:none}
.method-choice:focus-within{outline:2px solid #17634c;outline-offset:2px}
.method-hidden{display:none!important}
@media(max-width:480px){.method-choices{flex-direction:column}.method-choice{width:100%}}

/* F5: smaller registration form; Kommune retained internally for the existing API. */
.hero{padding:14px 22px;margin:12px 0}.hero h1{margin:3px 0;font-size:clamp(25px,3vw,34px)}.account-card{padding:22px}.registration{padding-top:16px;margin-top:16px}.region-fields{margin-top:12px}.actions{margin-top:18px}.method-fieldset{margin-bottom:12px}.method-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.method-choice{min-width:0}.internal-select{display:none!important}#norwayArea{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end}#districtLabel{display:grid;gap:7px}@media(max-width:650px){#norwayArea{grid-template-columns:1fr}.method-choices{grid-template-columns:1fr}}

.button{display:inline-flex;align-items:center;justify-content:center}.recovery-actions{gap:14px}.recovery-send{background:var(--green)!important;color:var(--ink)!important;border-color:#cfdbc9!important;box-shadow:none}.recovery-send:hover,.recovery-send:focus{filter:brightness(.98)}.recovery-back{background:#fff;border-color:var(--line);color:var(--ink);font-weight:650}@media(max-width:650px){.recovery-actions .button,.recovery-actions button{width:100%}}

/* F9: forgot-password actions */
.recovery-actions .recovery-send{background:#e5edd5!important;color:#173f35!important;border:1px solid #c8d8bc!important}.recovery-actions .recovery-back{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;border:1px solid #d4dfd7;border-radius:9px;background:#fff;color:#173f35;text-decoration:none;font-weight:650}.recovery-actions .recovery-send:hover,.recovery-actions .recovery-back:hover{filter:brightness(.96)}

/* F10: email or SMS password recovery */
.recovery-fieldset{margin:0 0 18px;border:0;padding:0}.recovery-fieldset legend{font-weight:700;margin-bottom:10px}.recovery-methods{display:flex;flex-wrap:wrap;gap:12px}.recovery-method{display:flex;align-items:center;gap:10px;padding:12px 17px;border:1px solid var(--line);border-radius:10px;cursor:pointer;background:#f9faf7;font-weight:650}.recovery-method:has(input:checked){background:var(--green);border-color:#bccfb7}.recovery-method input{width:19px;height:19px;min-height:19px;margin:0;accent-color:var(--ink)}#smsCodeArea{margin-top:16px}
