/* MostHelt V3 — Authentication & Registration System */
:root{
  --mha-ink:#15372f;
  --mha-text:#2d4740;
  --mha-muted:#71817c;
  --mha-green:#087c69;
  --mha-green-dark:#056455;
  --mha-mint:#eaf7f3;
  --mha-canvas:#f8faf8;
  --mha-warm:#fbfaf7;
  --mha-line:#dde8e4;
  --mha-line-strong:#cfded9;
  --mha-shadow:0 28px 80px rgba(21,55,47,.10);
}
body.mh-auth-v3{margin:0;min-height:100vh;background:var(--mha-canvas)!important;color:var(--mha-ink);font-family:var(--mh-font,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important}
.mh-auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(420px,.92fr) minmax(520px,1.08fr)}
.mh-auth-story{position:relative;overflow:hidden;display:flex;flex-direction:column;padding:42px clamp(38px,5vw,78px);background:#123d35;color:#fff}
.mh-auth-story:before{content:"";position:absolute;width:540px;height:540px;border-radius:50%;right:-270px;top:-210px;background:radial-gradient(circle,rgba(131,219,190,.22),rgba(131,219,190,0) 68%)}
.mh-auth-story:after{content:"";position:absolute;inset:auto -90px -160px auto;width:420px;height:420px;border-radius:50%;border:1px solid rgba(255,255,255,.08);box-shadow:0 0 0 70px rgba(255,255,255,.025),0 0 0 140px rgba(255,255,255,.018)}
.mh-auth-brand{position:relative;z-index:2;display:inline-flex;width:max-content;align-items:center;padding:10px 0}.mh-auth-brand img{display:block;width:166px;filter:brightness(0) invert(1)}
.mh-auth-story-copy{position:relative;z-index:2;margin:auto 0 36px;max-width:610px}.mh-auth-eyebrow{display:inline-flex;margin-bottom:18px;color:#9fe2d0;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.mh-auth-story h1{margin:0 0 18px;color:#fff!important;font-size:clamp(40px,4.7vw,66px);font-weight:730;line-height:1.01;letter-spacing:-.055em;max-width:680px}.mh-auth-story-copy>p{margin:0;max-width:590px;color:#c4d8d2;font-size:17px;line-height:1.72}
.mh-auth-feature-list{position:relative;z-index:2;display:grid;gap:10px;max-width:580px;margin-bottom:34px}.mh-auth-feature-list>div{display:flex;align-items:center;gap:11px;min-height:34px;color:#e6f2ef}.mh-auth-feature-list>div>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:rgba(145,222,199,.13);color:#a6e6d4;font-size:12px;font-weight:900}.mh-auth-feature-list b{font-size:14px;font-weight:600}
.mh-auth-trust{position:relative;z-index:2;display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding-top:22px;border-top:1px solid rgba(255,255,255,.10);color:#9fbab3;font-size:14px;font-weight:650}.mh-auth-trust span{display:inline-flex;align-items:center;gap:7px}.mh-auth-trust i{width:7px;height:7px;border-radius:50%;background:#8cdec5;box-shadow:0 0 0 5px rgba(140,222,197,.08)}
.mh-auth-form-panel{display:grid;place-items:center;padding:48px clamp(28px,6vw,92px);background:linear-gradient(180deg,#fff 0%,#fbfcfa 100%)}
.mh-auth-form-wrap{width:min(100%,510px)}.mh-auth-mobile-brand{display:none}.mh-auth-role{display:inline-flex;align-items:center;min-height:30px;padding:0 11px;border:1px solid #cfe4dd;border-radius:999px;background:#f1f9f6;color:var(--mha-green);font-size:14px;font-weight:800;letter-spacing:.04em}.mh-auth-form-wrap h2{margin:19px 0 8px;color:var(--mha-ink)!important;font-size:38px;line-height:1.08;letter-spacing:-.045em}.mh-auth-form-lead{margin:0 0 30px;color:var(--mha-muted);font-size:15px;line-height:1.65}
.mh-auth-form{display:grid;gap:17px}.mh-auth-field{display:grid;gap:8px}.mh-auth-field>span{color:#415a53;font-size:13px;font-weight:700}.mh-auth-input{position:relative;display:flex;align-items:center;min-height:58px;border:1px solid var(--mha-line-strong);border-radius:16px;background:#fff;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.mh-auth-input:focus-within{border-color:#78bcae;box-shadow:0 0 0 4px rgba(8,124,105,.075)}.mh-auth-input>i{display:grid;place-items:center;flex:0 0 48px;color:#7b8d88}.mh-auth-input>i svg,.mh-auth-eye svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.mh-auth-input input{width:100%;height:56px!important;min-height:56px!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:0 10px 0 0!important;color:var(--mha-ink)!important;font-size:15px!important}.mh-auth-input input::placeholder{color:#a0aba7}.mh-auth-eye{display:grid;place-items:center;flex:0 0 48px;height:48px;border:0;background:transparent;color:#7f8e8a;cursor:pointer}.mh-auth-eye:hover{color:var(--mha-green)}
.mh-auth-form-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:-2px}.mh-auth-remember{display:flex;align-items:center;gap:8px;color:#697a75;font-size:13px}.mh-auth-remember input{width:16px;height:16px;margin:0;accent-color:var(--mha-green)}.mh-auth-form-meta>a{color:var(--mha-green);font-size:13px;font-weight:700;text-decoration:none}.mh-auth-form-meta>a:hover{text-decoration:underline;text-underline-offset:3px}
.mh-auth-submit{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:58px;margin-top:3px;border:0;border-radius:16px;background:var(--mha-green);color:#fff;font-size:15px;font-weight:800;cursor:pointer;box-shadow:0 12px 25px rgba(8,124,105,.16);transition:background .16s ease,transform .16s ease,box-shadow .16s ease}.mh-auth-submit:hover{background:var(--mha-green-dark);transform:translateY(-1px);box-shadow:0 16px 32px rgba(8,124,105,.20)}.mh-auth-submit span{font-size:19px;font-weight:500}
.mh-auth-security-note{display:grid;grid-template-columns:32px 1fr;gap:10px;align-items:start;margin-top:18px;padding:14px 15px;border:1px solid #e0e9e6;border-radius:14px;background:#f8fbfa;color:#6a7a76}.mh-auth-security-note>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#e9f5f1;color:var(--mha-green);font-weight:900}.mh-auth-security-note p{margin:2px 0 0;font-size:14px;line-height:1.55}
.mh-auth-register{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:25px;padding-top:24px;border-top:1px solid var(--mha-line);color:#76837f;font-size:13px}.mh-auth-register a{color:var(--mha-green);font-weight:800;text-decoration:none}.mh-auth-help{margin-top:20px;color:#64736f}.mh-auth-help summary{display:flex;align-items:center;justify-content:center;gap:7px;list-style:none;cursor:pointer;font-size:12px;font-weight:700}.mh-auth-help summary::-webkit-details-marker{display:none}.mh-auth-help summary svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}.mh-auth-help[open] summary svg{transform:rotate(180deg)}.mh-auth-help>div{margin-top:13px;padding:15px 16px;border:1px solid var(--mha-line);border-radius:14px;background:#fff;color:#71807c;font-size:12px;line-height:1.6}.mh-auth-help p{margin:0}.mh-auth-help p+p{margin-top:8px}
.mh-auth-v3 .mh-login-alert{margin:0 0 18px!important;border-radius:14px!important;font-size:12.5px!important}.mh-auth-v3 .mh-login-inline-action{margin:-5px 0 18px!important}.mh-auth-v3 .mh-login-inline-action a{color:var(--mha-green)!important}

/* Registration hub */
body.auth-page.mh-register-v3{background:var(--mha-warm)!important}.mh-register-v3 .auth-top{height:78px!important;border-bottom:1px solid var(--mha-line)!important;background:rgba(255,255,255,.92)!important;backdrop-filter:blur(12px)}.mh-register-v3 .auth-top .container{max-width:1240px!important}.mh-register-v3 .auth-top .logo img{width:154px!important}.mh-register-v3 .auth-top .container>div{display:flex;align-items:center;gap:12px;color:#75847f;font-size:13px}.mh-register-v3 .auth-top .outline{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border:1px solid #d2e0dc!important;border-radius:12px;color:var(--mha-green)!important;text-decoration:none;font-weight:750;background:#fff}
.mh-register-v3 .reg-wrap{width:min(100% - 40px,1240px)!important;max-width:1240px!important;padding:68px 0 90px!important}.mh-register-v3 .reg-intro{max-width:770px}.mh-register-v3 .kicker{display:inline-flex;margin-bottom:15px;color:var(--mha-green);font-size:14px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.mh-register-v3 .reg-title{margin:0 0 14px!important;color:var(--mha-ink);font-size:clamp(38px,5vw,58px)!important;line-height:1.02;letter-spacing:-.055em!important}.mh-register-v3 .reg-lead{max-width:760px;margin:0;color:#667872;font-size:16px;line-height:1.72}.mh-register-v3 .role-box{margin-top:42px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.mh-register-v3 .role-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}.mh-register-v3 .role-card{position:relative;display:flex!important;flex-direction:column;min-height:330px;padding:26px!important;border:1px solid var(--mha-line)!important;border-radius:24px!important;background:#fff!important;text-align:left!important;text-decoration:none!important;overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.mh-register-v3 .role-card:hover{transform:translateY(-4px)!important;border-color:#b9d9d0!important;box-shadow:0 24px 55px rgba(21,55,47,.09)!important}.mh-register-v3 .role-visual{display:flex;align-items:center;justify-content:space-between;margin-bottom:42px}.mh-register-v3 .role-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:17px;background:var(--mha-mint);color:var(--mha-green)}.mh-register-v3 .role-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.mh-register-v3 .role-status{display:inline-flex;align-items:center;min-height:28px;padding:0 9px;border-radius:999px;background:#f5f8f7;color:#71817c;font-size:13.5px;font-weight:800}.mh-register-v3 .role-card.primary .role-status{background:#ebf7f3;color:var(--mha-green)}.mh-register-v3 .role-card h2{margin:0 0 10px!important;color:var(--mha-ink)!important;font-size:22px!important;line-height:1.18;letter-spacing:-.035em}.mh-register-v3 .role-card p{margin:0!important;color:#6d7e79!important;font-size:13px!important;line-height:1.66!important}.mh-register-v3 .role-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:28px;color:var(--mha-green);font-size:12px;font-weight:800}.mh-register-v3 .round-arrow{margin:0!important;width:38px!important;height:38px!important;background:#edf7f4!important;font-size:19px!important}.mh-register-v3 .registration-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:24px!important;padding:22px 0 0;border-top:1px solid var(--mha-line)}.mh-register-v3 .registration-actions a{min-height:46px!important;border-radius:13px!important;padding:0 17px!important;font-size:12px!important;text-decoration:none!important}.mh-register-v3 .registration-primary{width:auto!important;display:inline-flex!important;align-items:center;justify-content:center;background:var(--mha-green)!important}.mh-register-v3 .security-note{display:flex;align-items:center;justify-content:flex-start;gap:9px;margin-top:28px!important;padding:15px 17px;border:1px solid var(--mha-line);border-radius:14px;background:#fff;color:#70807b!important;font-size:14px!important;text-align:left!important}

/* Citizen sign-up */
body.auth-page.mh-citizen-register-v3{background:linear-gradient(135deg,#f7faf8 0%,#fff 55%,#f1f8f5 100%)!important}.mh-citizen-register-v3 .password-shell{width:min(calc(100% - 32px),920px)!important;padding:48px 0!important}.mh-citizen-register-v3 .portal-brand{margin:0 0 24px!important}.mh-citizen-register-v3 .password-card{padding:38px!important;border:1px solid var(--mha-line)!important;border-radius:28px!important;box-shadow:var(--mha-shadow)!important}.mh-citizen-register-v3 .citizen-register-head{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:start;margin-bottom:28px}.mh-citizen-register-v3 .password-card h1{margin:13px 0 9px!important;color:var(--mha-ink)!important;font-size:38px!important;letter-spacing:-.045em!important}.mh-citizen-register-v3 .password-card .citizen-register-head p{max-width:610px;margin:0;color:#6d7e79;font-size:14px;line-height:1.68}.mh-citizen-register-v3 .portal-pill{background:#ebf7f3!important;color:var(--mha-green)!important;border-color:#cde4dd!important}.mh-citizen-register-v3 .citizen-register-badge{display:grid;place-items:center;width:62px;height:62px;border-radius:20px;background:#edf8f4;color:var(--mha-green)}.mh-citizen-register-v3 .citizen-register-badge svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.mh-citizen-register-v3 .form-grid{gap:15px!important}.mh-citizen-register-v3 .portal-form label>span{font-size:12.5px!important;color:#425b54!important}.mh-citizen-register-v3 .portal-form input:not([type=checkbox]){min-height:54px!important;border-radius:14px!important;font-size:14px!important;background:#fff!important}.mh-citizen-register-v3 .form-help{font-size:14px!important;color:#879590!important}.mh-citizen-register-v3 .consent-check{border-radius:14px!important;background:#f9fbfa!important;font-size:12px!important}.mh-citizen-register-v3 .consent-check a{color:var(--mha-green);font-weight:750}.mh-citizen-register-v3 .portal-form-actions{margin-top:7px!important;gap:10px!important}.mh-citizen-register-v3 .action-button{min-height:50px!important;border-radius:14px!important;font-size:13px!important}.mh-citizen-register-v3 .register-assurance{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px;padding-top:20px;border-top:1px solid var(--mha-line)}.mh-citizen-register-v3 .register-assurance>span{display:flex;align-items:center;gap:7px;color:#72817d;font-size:13.5px}.mh-citizen-register-v3 .register-assurance i{width:7px;height:7px;border-radius:50%;background:#79c6b2}

@media(max-width:980px){
 .mh-auth-shell{grid-template-columns:1fr}.mh-auth-story{display:none}.mh-auth-form-panel{min-height:100vh;padding:32px 20px}.mh-auth-mobile-brand{display:block;margin-bottom:42px}.mh-auth-mobile-brand img{width:155px}.mh-auth-form-wrap{width:min(100%,520px)}
 .mh-register-v3 .role-grid{grid-template-columns:1fr 1fr!important}.mh-register-v3 .role-card:last-child{grid-column:1/-1}.mh-register-v3 .role-card{min-height:300px}
}
@media(max-width:640px){
 .mh-auth-form-panel{align-items:start;padding:24px 18px 38px}.mh-auth-mobile-brand{margin-bottom:36px}.mh-auth-mobile-brand img{width:145px}.mh-auth-form-wrap h2{font-size:32px}.mh-auth-form-lead{margin-bottom:25px}.mh-auth-input{min-height:56px}.mh-auth-form-meta{align-items:flex-start}.mh-auth-register{flex-direction:column;gap:5px}.mh-auth-security-note{grid-template-columns:28px 1fr}
 .mh-register-v3 .auth-top{height:70px!important}.mh-register-v3 .auth-top .container{width:min(100% - 24px,100%)!important}.mh-register-v3 .auth-top .container>div{font-size:0}.mh-register-v3 .reg-wrap{width:min(100% - 24px,100%)!important;padding:42px 0 60px!important}.mh-register-v3 .reg-title{font-size:36px!important}.mh-register-v3 .reg-lead{font-size:14px}.mh-register-v3 .role-box{margin-top:30px!important}.mh-register-v3 .role-grid{grid-template-columns:1fr!important}.mh-register-v3 .role-card:last-child{grid-column:auto}.mh-register-v3 .role-card{min-height:270px;padding:22px!important}.mh-register-v3 .role-visual{margin-bottom:30px}.mh-register-v3 .registration-actions{display:grid;grid-template-columns:1fr;width:100%}.mh-register-v3 .registration-actions a{width:100%!important}.mh-register-v3 .security-note{align-items:flex-start}
 .mh-citizen-register-v3 .password-shell{width:min(calc(100% - 20px),100%)!important;padding:22px 0 38px!important}.mh-citizen-register-v3 .password-card{padding:24px 18px!important;border-radius:22px!important}.mh-citizen-register-v3 .citizen-register-head{grid-template-columns:1fr}.mh-citizen-register-v3 .citizen-register-badge{display:none}.mh-citizen-register-v3 .password-card h1{font-size:31px!important}.mh-citizen-register-v3 .portal-form-actions{display:grid!important;grid-template-columns:1fr!important}.mh-citizen-register-v3 .portal-form-actions>*{width:100%!important}.mh-citizen-register-v3 .register-assurance{grid-template-columns:1fr;gap:8px}
}
@media(prefers-reduced-motion:reduce){.mh-auth-submit,.mh-register-v3 .role-card{transition:none!important}.mh-auth-submit:hover,.mh-register-v3 .role-card:hover{transform:none!important}}
