/* Native forms keep their Django handlers, validation and payment states. */
[hidden]{display:none!important}
.public-body .brand{min-height:44px}
.public-body .button--primary{background:var(--orange);border-color:var(--orange);color:#fff}
.public-body .button:disabled{cursor:not-allowed;opacity:.5}
.public-body .button:not(.button--primary):not(.button-primary):not(.button-small){border:1px solid var(--line);background:var(--white);color:var(--ink)}
.nav-logout{border:0;background:none;color:var(--muted);padding:10px;font-size:12px;min-height:44px}
.login-shell{max-width:1080px;margin:48px auto 56px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,480px);gap:56px;align-items:start}
.login-shell>div:first-child>h1{font-size:clamp(32px,3.6vw,48px);line-height:1.15;margin:16px 0 20px;max-width:14ch}
.login-shell>div:first-child>p:not(.eyebrow){font-size:17px;line-height:1.8;max-width:49ch}
.login-card{min-width:0;display:grid;gap:20px;padding:28px;background:var(--white);border:1px solid var(--line);border-radius:7px}
.login-card h2{font-size:24px;letter-spacing:-.03em}
.login-card p{margin:0}
.login-card>a:not(.button),.payment-offer a,.registration-password-help summary>span{text-decoration:underline;text-underline-offset:4px}
.login-card>a:not(.button){min-height:44px;display:flex;align-items:center;justify-content:center;font-size:14px}
.auth-field{display:grid;gap:8px;min-width:0;font-size:14px;line-height:1.65;color:var(--ink)}
.auth-field>label{font-weight:600}
.auth-field input:not([type=checkbox]){display:block;width:100%;min-width:0;min-height:48px;border:1px solid #bfc3b5;border-radius:4px;background:#fff;color:var(--ink);padding:11px 13px;font-size:16px;line-height:1.5}
.auth-field input:focus{outline:2px solid var(--orange);outline-offset:1px;border-color:var(--orange)}
.auth-field input[aria-invalid=true]{border-color:var(--orange)}
.auth-control{display:flex;position:relative;min-width:0}
.auth-control input{padding-right:52px!important}
.password-toggle{display:grid;place-items:center;position:absolute;inset:2px 2px 2px auto;width:44px;min-height:44px;border:0;border-radius:3px;background:transparent;color:var(--muted)}
.password-toggle[aria-pressed=true]{color:var(--orange);background:#fff1e9}
.field-errors,.form-error{color:#a22e20;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.field-errors{display:grid;gap:4px}
.field-errors small{font-size:inherit}
.form-error{padding:12px 14px;border:1px solid #e5b3a8;border-radius:4px;background:#fff1e9}
.form-error p{color:inherit}
.checkline,.payment-offer{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px;font-size:14px;line-height:1.7}
.checkline{min-height:44px;align-items:center}
.checkline input,.payment-offer input{width:18px;height:18px;margin:4px 0 0;accent-color:var(--orange)}
.checkline input{margin:0}
.registration-password-help{border-top:1px solid var(--line);padding-top:4px;font-size:13px;color:var(--muted)}
.registration-password-help summary{min-height:44px;display:flex;align-items:center;gap:10px;font-weight:600;cursor:pointer;list-style:none}
.registration-password-help summary::-webkit-details-marker{display:none}
.registration-password-help summary>svg{margin-left:auto;flex:none}
.registration-password-help[open] summary>svg{transform:rotate(45deg)}
.registration-password-help ul{padding-left:20px;margin:4px 0 10px}
.auth-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:28px 0 0;font-size:12px;color:var(--muted)}
.auth-progress li{display:flex;align-items:center;gap:7px;min-height:38px;border-top:1px solid var(--line)}
.auth-progress li[aria-current]{color:var(--orange);border-color:var(--orange);font-weight:700}
.auth-progress span{font-size:10px;font-variant-numeric:tabular-nums}
.registration-status{justify-items:start}
.registration-status__mark{display:grid;place-items:center;width:44px;height:44px;border:1px solid #e5b3a8;border-radius:50%;color:var(--orange);background:#fff1e9}
.registration-status__mark svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.registration-email{font-weight:650;overflow-wrap:anywhere;color:var(--ink)}
.registration-status .button{width:100%}
.payment-shell{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:40px}
.payment-card{gap:20px;container-type:inline-size}
.payment-card__heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.payment-card__heading .muted{font-size:13px}
.payment-card__heading h2{font-size:42px;color:var(--orange);margin-top:4px;font-variant-numeric:tabular-nums}
.test-badge,.payment-qr__badge{background:var(--soft);border-radius:4px;padding:5px 9px;font-size:11px;font-weight:650;color:var(--muted)}
.payment-methods{display:grid;gap:14px}
.payment-methods__label{font-size:13px;font-weight:650;color:var(--ink)}
.payment-methods__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.payment-methods__grid form{margin:0;min-width:0}
.payment-method{display:grid;grid-template-columns:24px minmax(0,1fr) 16px;gap:10px;align-items:start;width:100%;height:100%;padding:16px 12px;border:1px solid var(--line);border-radius:5px;background:var(--white);color:var(--ink);text-align:left}
.payment-method:hover:not(:disabled),.payment-method[aria-expanded=true]{border-color:var(--orange);background:#fff1e9}
.payment-method:disabled{opacity:.55;cursor:not-allowed}
.payment-method strong{display:block;font-size:15px;margin-bottom:6px}
.payment-method small{display:block;color:var(--muted);font-size:12px;line-height:1.65}
.payment-method svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.payment-method__icon{color:var(--orange)}
.payment-method__arrow svg{width:16px;height:20px}
.payment-card__notice,.payment-card__activation{font-size:14px;line-height:1.75}
.payment-details{display:grid;gap:10px;margin:0;font-size:13px;padding-top:18px;border-top:1px solid var(--line)}
.payment-details>div{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:baseline}
.payment-details dt{color:var(--muted)}
.payment-details dd{margin:0;text-align:right;overflow-wrap:anywhere}
.payment-card>small{font-size:12px;line-height:1.7}
.payment-qr{display:grid;gap:20px;padding:20px;border:1px solid var(--line);border-radius:5px;background:#fff}
.payment-qr__visual{display:grid;place-items:center;min-height:224px}
.payment-qr__visual img{display:block;max-width:100%;height:auto}
.payment-qr__copy{display:grid;gap:10px;justify-items:start}
.payment-qr__copy strong{font-size:16px}
.payment-qr__copy p{font-size:13px;line-height:1.7}
.payment-qr__link{min-height:44px;display:inline-flex;align-items:center;font-weight:650;text-decoration:underline;text-underline-offset:4px;color:var(--orange)}
.payment-qr__loader{display:grid;grid-template-columns:repeat(2,12px);gap:5px;animation:payment-pulse 1.4s ease-in-out infinite}
.payment-qr__loader span{width:12px;height:12px;border:2px solid var(--orange);border-radius:2px}
@keyframes payment-pulse{50%{opacity:.35}}
@container(min-width:520px){.payment-qr{grid-template-columns:224px minmax(0,1fr);align-items:center}}
@media(max-width:900px){.login-shell{gap:28px}.payment-shell{grid-template-columns:1fr;max-width:620px}.payment-shell>div:first-child>h1{max-width:none}}
@media(max-width:700px){.login-shell{grid-template-columns:1fr;max-width:540px;margin:28px auto 36px;gap:24px}.login-shell>div:first-child>h1{max-width:none;margin:12px 0 14px}.login-shell>div:first-child>p:not(.eyebrow){font-size:15px}.login-card{padding:20px;gap:18px}.auth-progress{margin-top:18px}.payment-methods__grid{grid-template-columns:1fr}.payment-method{padding:16px}.payment-card__heading h2{font-size:36px}.payment-offer{font-size:13px}.payment-qr{padding:16px}.payment-details>div{grid-template-columns:1fr;gap:2px}.payment-details dd{text-align:left}}
@media(prefers-reduced-motion:reduce){.payment-qr__loader{animation:none}}
.actual-contacts>.contact-option:last-child:nth-child(odd){grid-column:1/-1}
.not-found-shell{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:48px;align-items:center;max-width:1080px;margin:48px auto 56px}
.not-found-copy h1{font-size:clamp(32px,4vw,52px);margin:14px 0 20px;line-height:1.15}
.not-found-copy .lead{font-size:16px;line-height:1.85}
.not-found-help{font-size:14px;margin-top:24px}
.not-found-help a{text-decoration:underline;text-underline-offset:4px}
.not-found-visual{display:grid;justify-items:center;gap:12px;padding:32px;border-block:1px solid var(--line);color:var(--orange)}
.not-found-visual strong{font-size:clamp(100px,12vw,160px);font-weight:600;line-height:1;letter-spacing:-.08em}
.not-found-visual>span{font-size:13px;color:var(--muted)}
@media(max-width:700px){.not-found-shell{grid-template-columns:1fr;gap:28px;margin:28px auto 36px}.not-found-visual{padding:24px}}
.public-body .footer-bottom{padding-bottom:80px}
