/*
Theme Name: MOMS Workspace
Theme URI: https://moms.mikoko.or.tz
Author: Mikoko Development Foundation
Description: Minimal headerless authentication workspace for Mikoko Operational Management System.
Version: 1.3.3
Requires PHP: 7.4
Text Domain: moms-workspace
*/
:root{--pine:#063e31;--forest:#075943;--mint:#e8f4ed;--lime:#c5e55d;--ink:#14372f;--muted:#637a73;--border:#dce9e3}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#f6faf7}a{color:#087054}a:hover{text-decoration:none}.site-main{min-height:calc(100vh - 64px)}.minimal-footer{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px max(24px,5vw);font-size:12px;color:#657e74;background:#fff;border-top:1px solid var(--border)}.auth-shell{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);min-height:calc(100vh - 64px)}.story-panel{padding:clamp(28px,4vw,70px);background:radial-gradient(circle at 80% 80%,#29765b 0%,transparent 40%),linear-gradient(135deg,#05382e,#09694f 70%,#0b4233);color:#fff;display:flex;flex-direction:column;position:relative;overflow:hidden}.story-panel:after{content:"";position:absolute;width:500px;height:500px;border:1px solid #ffffff2e;border-radius:50%;right:-250px;bottom:-240px;box-shadow:0 0 0 70px #ffffff0b,0 0 0 140px #ffffff09}.mini-brand{display:flex;align-items:center;gap:12px;position:relative;z-index:1}.mini-brand strong{font-size:17px;line-height:1.25;display:block}.mini-brand small{display:block;font-size:11px;opacity:.8;margin-top:5px}.brand-symbol{height:49px;width:49px;border:2px solid var(--lime);color:var(--lime);border-radius:16px;display:grid;place-items:center;font-size:28px;font-weight:900}.story-content{margin:auto 0;position:relative;z-index:1;max-width:650px;padding:65px 0}.eyebrow{font-size:12px;font-weight:850;letter-spacing:.14em;color:#0c7156}.eyebrow.light{color:var(--lime)}h1,h2,p{margin-top:0}h1{font-size:clamp(42px,5.2vw,76px);letter-spacing:-.055em;line-height:1.07;margin:22px 0}h1 em{font-style:normal;color:var(--lime)}.story-content p{font-size:18px;line-height:1.75;color:#e1eee8;max-width:570px}.story-points,.benefits{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}.story-points span{border:1px solid #ffffff4d;border-radius:30px;padding:9px 14px;font-size:12px;font-weight:700}.story-bottom{font-size:12px;color:#d3e7dc;position:relative;z-index:1}.auth-panel{padding:50px 30px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#f0f7f3,#fff)}.auth-card{background:#fff;border:1px solid var(--border);border-radius:25px;box-shadow:0 24px 75px #143d3012;padding:clamp(28px,4vw,60px);width:100%;max-width:550px}.auth-card h2,.registration-card h2{font-size:clamp(27px,2.5vw,38px);letter-spacing:-.04em;line-height:1.16;margin:12px 0}.muted{color:var(--muted);line-height:1.7}.auth-card form{margin-top:30px}label{display:block;font-weight:750;font-size:13px;margin:17px 0 8px}label b{color:#b4342b}input[type=text],input[type=email],input[type=password],input[type=tel]{width:100%;padding:15px 16px;border:1px solid #cbded5;border-radius:11px;background:#fff;font:inherit;font-size:15px;color:var(--ink);outline:none;min-height:52px}input:focus{border-color:#08785b;box-shadow:0 0 0 3px #08785b1e}.form-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:19px 0;font-size:13px}.form-row a{font-weight:650}.check{display:flex;align-items:flex-start;gap:9px;font-size:13px;font-weight:500;line-height:1.55;margin:0}.check input{accent-color:var(--forest);margin-top:3px}.primary-button,.secondary-button{width:100%;min-height:53px;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:10px;text-align:center;font-weight:800;font-size:15px;text-decoration:none;cursor:pointer}.primary-button{background:var(--forest);color:#fff;border:0}.primary-button:hover{background:var(--pine)}.secondary-button{border:1px solid #a8cec0;color:var(--pine);background:#f5fbf7}.form-divider{text-align:center;margin:28px 0 20px;color:#84988e;font-size:11px;font-weight:800;letter-spacing:.12em}.micro{font-size:12px;color:#72867e;line-height:1.7;margin:22px 0 0}.notice{padding:13px 15px;background:#eaf8ef;border:1px solid #b7dbc3;border-radius:10px;font-size:13px;line-height:1.6;margin:18px 0}.notice.error{background:#fff2f0;border-color:#f2c3bd}.register-shell{max-width:1440px;margin:0 auto;padding:34px clamp(18px,4vw,64px) 65px}.mini-brand.dark .brand-symbol{color:var(--forest);border-color:var(--forest)}.mini-brand.dark small{color:var(--muted)}.register-intro{background:linear-gradient(115deg,#f4faf6,#e8f3ed);border-radius:25px;padding:30px clamp(22px,4vw,55px) 0;overflow:hidden;border:1px solid var(--border)}.intro-flex{display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:20px}.intro-flex>div:first-child{padding:55px 0}.intro-flex h1{font-size:clamp(38px,4vw,61px);margin:14px 0}.intro-flex h1 em{color:#0b815b}.intro-flex p{max-width:670px;color:#58746a;line-height:1.75;font-size:16px}.benefits{margin-top:20px}.benefits span{font-size:12px;background:#fff;border:1px solid var(--border);border-radius:30px;padding:10px 12px;font-weight:700}.nature-art{min-height:320px;position:relative;align-self:stretch;overflow:hidden}.nature-art .sun{position:absolute;width:170px;height:170px;background:#c7e577;border-radius:50%;right:20%;top:15%}.hill{position:absolute;width:130%;height:190px;border-radius:50% 50% 0 0;bottom:-70px;left:0}.hill.one{background:#3d9a6d;transform:rotate(-13deg)}.hill.two{background:#075943;left:25%;bottom:-110px;transform:rotate(12deg)}.tree{position:absolute;bottom:20px;right:26%;font-size:230px;color:#084e3b;line-height:1}.register-grid{display:grid;grid-template-columns:minmax(260px,370px) minmax(0,1fr);gap:25px;margin-top:26px;align-items:start}.type-panel{border-radius:22px;padding:28px;background:var(--pine);color:#fff}.type-panel h2{font-size:26px;margin:12px 0}.type-panel p{font-size:13px;line-height:1.7;color:#cde4d9}.type-options{display:grid;gap:7px;margin-top:20px}.type-option{background:#fff;color:var(--ink);border:2px solid transparent;border-radius:10px;display:flex;align-items:center;gap:12px;width:100%;text-align:left;min-height:50px;padding:8px 12px;cursor:pointer;font-weight:750;font-size:13px}.type-option>span:nth-child(2){flex:1}.type-option.active,.type-option:hover{background:#e9f5cc;border-color:var(--lime)}.type-icon{display:grid;place-items:center;background:#e6f4e9;color:#0b7756;border-radius:9px;width:32px;height:32px;font-size:21px}.registration-card{background:#fff;border:1px solid var(--border);box-shadow:0 14px 50px #143d300d;border-radius:22px;padding:clamp(20px,3vw,42px)}.steps{display:flex;justify-content:space-between;gap:10px;margin-bottom:35px}.steps>span{color:#91a49b;border-top:3px solid #e3eee7;padding-top:12px;flex:1;font-weight:800}.steps>span.current{color:var(--forest);border-color:var(--forest)}.steps small{display:block;font-size:11px;font-weight:500;margin-top:4px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 18px;margin:24px 0}.consent{margin:18px 0}.after-card{margin-top:25px;background:#f1f8ed;border:1px solid #d7e9c9;border-radius:14px;padding:18px}.after-card p{font-size:13px;line-height:1.6;margin:7px 0 0;color:#547267}.honeypot{position:absolute;left:-9999px}.simple-page{max-width:1000px;margin:60px auto;background:#fff;border:1px solid var(--border);border-radius:22px;padding:40px}@media(max-width:950px){.auth-shell{grid-template-columns:1fr}.story-panel{min-height:370px}.story-content{padding:50px 0 20px}.story-content h1{font-size:45px}.auth-panel{padding:35px 20px}.register-grid{grid-template-columns:1fr}.type-options{grid-template-columns:repeat(2,minmax(0,1fr))}.intro-flex{grid-template-columns:1fr}.nature-art{display:none}}@media(max-width:580px){.minimal-footer{flex-direction:column;text-align:center}.register-shell{padding:16px 12px 40px}.register-intro{padding:24px}.intro-flex>div:first-child{padding:36px 0 18px}.intro-flex h1{font-size:39px}.type-options{grid-template-columns:1fr}.field-grid{grid-template-columns:1fr}.steps small{font-size:9px}.story-panel{padding:26px}.story-content h1{font-size:38px}.auth-card{padding:28px 22px}}

/* v1.2.1: header-free, viewport-first authentication refinement */
body{background:#f3f8f5}
.auth-shell{min-height:100vh;grid-template-columns:minmax(0,1fr) minmax(440px,.88fr)}
.story-panel{background:radial-gradient(ellipse at 10% 92%,rgba(173,221,108,.2),transparent 48%),linear-gradient(155deg,#052f27 0%,#075642 65%,#0d7051 100%);padding:clamp(26px,3.5vw,58px)}
.story-content{padding:34px 0}
.story-content h1{font-size:clamp(44px,4.6vw,69px);max-width:650px}
.story-content p{font-size:16px;line-height:1.65}
.story-points{margin-top:23px}
.auth-panel{padding:28px clamp(18px,4vw,65px)}
.auth-card{max-width:510px;padding:clamp(25px,3.1vw,44px);border-radius:22px}
.auth-card h2{font-size:clamp(29px,2.7vw,39px)}
.auth-card form{margin-top:20px}
.auth-card label{margin:14px 0 7px}
.auth-card input[type=text],.auth-card input[type=password]{min-height:49px}
.auth-card .primary-button{min-height:51px}
.auth-card .form-divider{margin:21px 0 15px}
.auth-card .micro{margin-top:15px}
.brand-symbol{border-radius:50%;background:rgba(255,255,255,.09);font-size:25px}
.password-wrap{position:relative}
.password-wrap input{padding-right:76px}
.toggle-password{position:absolute;right:9px;top:50%;transform:translateY(-50%);border:0;background:#eaf4ee;color:#075943;border-radius:7px;padding:7px 11px;cursor:pointer;font-weight:700}
.toggle-password:focus-visible,.primary-button:focus-visible,.secondary-button:focus-visible,.type-option:focus-visible{outline:3px solid #a6d54e;outline-offset:3px}
.minimal-footer{min-height:48px;padding:12px 4vw}
.register-shell{padding-top:20px}
.register-intro{padding-top:24px}
.intro-flex>div:first-child{padding:28px 0}
.nature-art{min-height:240px}
.register-grid{margin-top:18px}
.type-panel{position:sticky;top:18px}
@media(max-width:950px){.auth-shell{grid-template-columns:1fr}.story-panel{min-height:auto;padding:26px}.story-content{padding:30px 0 15px}.story-content h1{font-size:42px}.auth-panel{padding:24px 15px}.type-panel{position:static}}
@media(max-width:580px){.story-panel .story-bottom{display:none}.story-content h1{font-size:37px}.auth-card{padding:25px 20px}.mini-brand strong{font-size:14px}.register-shell{padding:12px 10px 35px}}

/* v1.2.2: registration should never render as an empty large shell. */
.register-shell{padding-top:22px}.register-intro{padding-top:23px}.intro-flex>div:first-child{padding:26px 0}.nature-art{min-height:210px}.register-grid{margin-top:18px}.register-intro h1{font-size:clamp(34px,3.4vw,54px)}.type-panel{position:relative}.type-option:focus-visible,.primary-button:focus-visible,.secondary-button:focus-visible{outline:3px solid #a6d66d;outline-offset:2px}.registration-card{min-height:480px}.register-shell .mini-brand{margin-bottom:8px}@media(max-width:950px){.register-grid{grid-template-columns:1fr}.register-intro{padding-bottom:16px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* v1.2.3 registration experience; scoped to registration only */
.moms-register-v123{max-width:1380px;margin:0 auto;padding:22px clamp(15px,3vw,48px) 45px}.moms-register-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.moms-signin{font-size:13px;text-decoration:none;color:#075943}.moms-register-hero{background:linear-gradient(115deg,#f4faf5,#e6f3eb);border:1px solid #d6e8de;border-radius:24px;padding:clamp(25px,3.4vw,50px);display:grid;grid-template-columns:minmax(0,1.65fr) minmax(210px,.8fr);gap:20px;overflow:hidden}.moms-register-hero h1{font-size:clamp(32px,3.8vw,56px);max-width:720px;margin:12px 0}.moms-register-hero h1 em{color:#0a805c}.moms-register-hero p{font-size:16px;color:#526f63;line-height:1.7;max-width:690px}.moms-hero-chips{display:flex;gap:9px;flex-wrap:wrap}.moms-hero-chips span{background:#fff;border:1px solid #d4e7da;border-radius:30px;padding:9px 12px;font-size:12px;font-weight:700}.moms-hero-art{border-radius:22px;background:linear-gradient(150deg,#0a674d,#073d30);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px;gap:8px}.moms-hero-art span{font-size:85px}.moms-hero-art strong{font-size:19px}.moms-hero-art small{color:#d2e8dc}.moms-registration-layout{display:grid;grid-template-columns:minmax(260px,365px) minmax(0,1fr);gap:20px;align-items:start;margin-top:22px}.moms-categories{background:#073e31;border-radius:22px;padding:25px;color:#fff}.moms-category-heading h2{font-size:25px;margin:12px 0}.moms-category-heading p{font-size:13px;line-height:1.6;color:#d1e7dd}.moms-category-options{display:grid;gap:7px;margin-top:17px}.moms-category{width:100%;border:2px solid transparent;border-radius:11px;background:#fff;display:flex;gap:11px;align-items:center;text-align:left;padding:10px;cursor:pointer;color:#14372f;font:inherit}.moms-category:hover,.moms-category.active{background:#edf7d7;border-color:#a3d54e}.moms-category-copy{flex:1;min-width:0}.moms-category-copy strong{display:block;font-size:13px}.moms-category-copy small{display:block;font-size:11px;color:#61766b;line-height:1.4;margin-top:3px}.moms-category-icon{height:35px;width:35px;flex-shrink:0;display:grid;place-items:center;border-radius:9px;background:#e4f3e9;color:#08704f;font-size:21px}.moms-internal-note{margin-top:20px;padding:15px;border:1px solid #ffffff40;border-radius:12px;font-size:12px;line-height:1.65;color:#e1efe7}.moms-registration-formcard{background:#fff;border:1px solid #dbe9e1;border-radius:22px;padding:clamp(22px,3vw,40px);box-shadow:0 14px 55px #173f2b0c;scroll-margin-top:20px}.moms-stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:34px}.moms-stepper>span{border-top:3px solid #e1eae4;padding-top:10px;font-size:14px;font-weight:800;color:#91a29a}.moms-stepper>span.active,.moms-stepper>span.done{border-color:#0b7855;color:#075943}.moms-stepper small{display:block;font-size:10px;font-weight:500;margin-top:4px}.moms-form-panel[hidden]{display:none!important}.moms-form-panel h2{font-size:clamp(27px,2.7vw,37px);letter-spacing:-.04em;margin:12px 0}.moms-info-strip,.moms-after{background:#f2f8ed;border:1px solid #dceccf;border-radius:14px;padding:19px;margin:22px 0}.moms-info-strip p,.moms-after p{font-size:13px;color:#526f63;line-height:1.65;margin:7px 0 0}.moms-form-panel .primary-button{margin-top:20px}.moms-step-actions{display:flex;gap:12px;align-items:center;margin-top:20px}.moms-step-actions .primary-button{width:auto;flex:1;margin:0}.moms-back{border:1px solid #bad5c7;background:#fff;color:#075943;border-radius:11px;padding:14px 20px;font-weight:750;cursor:pointer}.moms-review{border:1px solid #dceae2;border-radius:13px;overflow:hidden}.moms-review div{display:grid;grid-template-columns:130px 1fr;padding:13px 15px;gap:12px;border-bottom:1px solid #e6efe9}.moms-review div:last-child{border:0}.moms-review dt{font-weight:750;font-size:13px}.moms-review dd{margin:0;overflow-wrap:anywhere;font-size:13px}.moms-register-bottom{margin:25px 0;text-align:center;color:#607a6d;font-size:13px}.moms-result{margin:18px 0}.moms-category:focus-visible,.moms-back:focus-visible{outline:3px solid #b6dc57;outline-offset:3px}@media(max-width:920px){.moms-registration-layout{grid-template-columns:1fr}.moms-category-options{grid-template-columns:repeat(2,minmax(0,1fr))}.moms-register-hero{grid-template-columns:1fr}.moms-hero-art{display:none}}@media(max-width:580px){.moms-register-top{align-items:flex-start}.moms-register-top .mini-brand strong{font-size:12px}.moms-signin{font-size:11px;min-width:100px}.moms-category-options{grid-template-columns:1fr}.moms-stepper small{font-size:9px}.moms-step-actions{flex-direction:column;align-items:stretch}.moms-step-actions .primary-button{width:100%}.moms-review div{grid-template-columns:95px 1fr}}

/* 1.2.4: keep registration content visible above footer, without generic page shell */
.moms-register-v123{min-height:calc(100vh - 64px)}
.moms-registration-layout{display:grid!important;visibility:visible!important;opacity:1!important}
@media(max-width:900px){.moms-registration-layout{grid-template-columns:1fr!important}}

/* v1.2.5 MDF institutional identity and registration hero */
.moms-register-top .moms-logo-top{width:70px;height:62px;display:grid;place-items:center;border-radius:15px;background:#063f31;padding:7px;flex-shrink:0}
.moms-logo-top img{width:100%;height:100%;object-fit:contain}
.moms-register-hero{grid-template-columns:minmax(0,1.45fr) minmax(320px,1fr);align-items:stretch}
.moms-hero-art{padding:clamp(24px,2.6vw,38px);gap:12px;background:linear-gradient(145deg,#096a50,#06372c);box-shadow:inset 0 0 0 1px #ffffff22}
.moms-hero-logo{display:block;width:min(235px,78%);height:130px;object-fit:contain;filter:drop-shadow(0 3px 12px #00000025)}
.moms-hero-art strong{font-size:clamp(18px,1.5vw,24px);line-height:1.25;letter-spacing:-.02em}
.moms-hero-art .moms-vision{color:#e3f3e9;font-size:14px;line-height:1.65;max-width:360px;margin:0}
.moms-partnership-card{width:100%;background:#ffffff14;border:1px solid #ffffff40;border-radius:14px;padding:16px 18px;text-align:left;margin-top:5px}
.moms-partnership-card span{display:block;color:#d4ec78;font-size:11px;letter-spacing:.12em;font-weight:800;margin-bottom:7px}
.moms-partnership-card p{color:#fff;font-size:13px;line-height:1.6;margin:0}
.moms-institutional-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.moms-institutional-footer nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.moms-institutional-footer a{color:inherit;text-decoration:none}.moms-institutional-footer a:hover{text-decoration:underline}
@media(max-width:920px){.moms-register-hero{grid-template-columns:1fr}.moms-hero-art{display:flex}.moms-hero-logo{height:105px}}
@media(max-width:650px){.moms-register-top .moms-logo-top{width:55px;height:51px}.moms-hero-art{padding:23px}.moms-institutional-footer,.moms-institutional-footer nav{justify-content:center;text-align:center}.moms-partnership-card{padding:14px}}

/* v1.2.6: contain MDF logo, prevent image-driven grid expansion */
html,body{max-width:100%;overflow-x:clip}
.moms-register-v123,.moms-register-top,.moms-register-hero,.moms-registration-layout{min-width:0;max-width:100%}
.moms-register-top .mini-brand{min-width:0;flex:1}
.moms-register-top .mini-brand>div{min-width:0}
.moms-register-hero>*{min-width:0}
.moms-register-top .moms-logo-top{width:70px!important;height:62px!important;max-width:70px!important;max-height:62px!important;overflow:hidden;flex:0 0 70px}
.moms-register-top .moms-logo-top img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
.moms-hero-art{min-width:0;max-width:100%;overflow:hidden;align-self:stretch}
.moms-hero-art img.moms-hero-logo{display:block!important;width:100%!important;max-width:235px!important;height:auto!important;max-height:140px!important;aspect-ratio:2048/1205;object-fit:contain!important;flex:0 0 auto;margin:0 auto}
.moms-hero-art .moms-partnership-card span{font-size:11px!important}
.moms-hero-art .moms-partnership-card p{font-size:13px!important}
@media(max-width:650px){.moms-register-top .moms-logo-top{width:55px!important;height:51px!important;max-width:55px!important;max-height:51px!important;flex-basis:55px}.moms-hero-art img.moms-hero-logo{max-width:190px!important;max-height:115px!important}}

/* v1.2.7: isolate institutional branding from inherited hero typography */
.moms-register-v123 .moms-register-top{display:flex!important;align-items:center!important;gap:18px!important;min-height:78px!important}
.moms-register-v123 .moms-register-top .mini-brand{display:flex!important;align-items:center!important;gap:13px!important;min-width:0!important}
.moms-register-v123 .moms-register-top .moms-logo-top{display:flex!important;width:72px!important;height:64px!important;max-width:72px!important;max-height:64px!important;flex:0 0 72px!important;overflow:hidden!important}
.moms-register-v123 .moms-register-top .moms-logo-top img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
.moms-register-v123 .moms-register-hero{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr)!important;align-items:stretch!important;overflow:hidden!important}
.moms-register-v123 .moms-hero-art{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:14px!important;min-width:0!important;max-width:100%!important;padding:28px!important;text-align:center!important;overflow:hidden!important}
.moms-register-v123 .moms-hero-art img.moms-hero-logo{display:block!important;position:static!important;float:none!important;width:220px!important;height:auto!important;max-width:100%!important;max-height:140px!important;object-fit:contain!important;flex:none!important;margin:0 auto!important}
.moms-register-v123 .moms-hero-art .moms-partnership-card{width:100%!important;max-width:100%!important;min-width:0!important;padding:17px 18px!important;text-align:left!important;overflow:hidden!important}
.moms-register-v123 .moms-hero-art .moms-partnership-card .moms-partnership-label{display:block!important;font-size:12px!important;line-height:1.5!important;letter-spacing:.08em!important;white-space:normal!important;overflow-wrap:break-word!important;font-weight:800!important;color:#d4ec78!important;margin:0 0 9px!important}
.moms-register-v123 .moms-hero-art .moms-partnership-card .moms-partnership-description{display:block!important;font-size:14px!important;line-height:1.7!important;color:#fff!important;white-space:normal!important;overflow-wrap:break-word!important;margin:0!important;max-width:100%!important}
.moms-register-v123 .moms-hero-art .moms-vision{color:#e3f3e9!important}
@media(max-width:920px){.moms-register-v123 .moms-register-hero{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:650px){.moms-register-v123 .moms-register-top .moms-logo-top{width:55px!important;height:51px!important;max-width:55px!important;max-height:51px!important;flex-basis:55px!important}.moms-register-v123 .moms-hero-art{padding:22px!important}.moms-register-v123 .moms-hero-art img.moms-hero-logo{width:185px!important}}

/* v1.2.8: Login-only MDF identity refinement. No registration or authentication changes. */
.login-shell .moms-login-logo{display:flex;flex:0 0 auto;align-items:center;justify-content:center;width:104px;height:68px;overflow:hidden;border:1px solid rgba(207,235,216,.38);border-radius:13px;background:rgba(255,255,255,.07);padding:8px}
.login-shell .moms-login-logo img{display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;position:static!important;transform:none!important;margin:0!important}
.login-shell .mini-brand{min-width:0;gap:16px}
.login-shell .mini-brand>div{min-width:0}
.login-shell .story-content h1{font-size:clamp(38px,4.3vw,65px);line-height:1.12;letter-spacing:-.045em;overflow-wrap:break-word}
.login-shell .story-content p{max-width:640px;font-size:clamp(15px,1.35vw,18px);line-height:1.7;color:#e8f5ed}
.login-shell .story-content{max-width:690px}
@media(max-width:580px){.login-shell .moms-login-logo{width:82px;height:58px}.login-shell .story-content h1{font-size:clamp(32px,8vw,42px)}.login-shell .mini-brand strong{font-size:14px}.login-shell .story-content{padding:28px 0 12px}}

/* v1.2.9 Category-specific registration fields */
.moms-dynamic-field[hidden]{display:none!important}.moms-registration-formcard textarea{width:100%;min-height:96px;border:1px solid #cbded2;border-radius:12px;padding:13px 15px;font:inherit;resize:vertical;box-sizing:border-box}.moms-registration-formcard textarea:focus{outline:2px solid #0a785a;outline-offset:1px}.moms-registration-layout,.moms-registration-formcard{min-width:0}

/* MOMS v1.3.0 location controls */
.moms-location-section{grid-column:1/-1;padding-top:14px;border-top:1px solid #d9e8df;margin-top:10px}.moms-location-section h3{margin:0 0 5px;color:#0c513f;font-size:1.2rem}.moms-location-section p{margin:0}.field-grid select{width:100%;min-height:50px;border:1px solid #cbded3;border-radius:10px;padding:10px 12px;background:white;color:#143a31;font:inherit}.field-grid small{display:block;color:#557168;font-size:.76rem;margin-top:5px}.field-grid [hidden]{display:none!important}

/* v1.3.1: consistent dependent geographic inputs */
.moms-location-section{grid-column:1/-1}.field-grid select,.field-grid input,.field-grid textarea{max-width:100%;min-width:0}.field-grid input[hidden],.field-grid select[hidden]{display:none!important}.field-grid small{display:block;font-size:12px;color:#657e74;margin-top:6px;line-height:1.5}

.moms-volunteer-cv{grid-column:1/-1}.moms-volunteer-cv input{display:block;width:100%;margin-top:8px}.moms-dynamic-field select{width:100%;max-width:100%;min-height:48px;border:1px solid #cbded2;border-radius:12px;padding:10px;background:white}
