:root{--ml-app-navy:#1c2d60;--ml-app-petrol:#12798d;--ml-app-gold:#e3b349;--ml-app-ink:#253451;--ml-app-muted:#61728e}
.ml-app-hub{margin:0;background:#f3f6fb;color:var(--ml-app-ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;line-height:1.55}.ml-app-hub *{box-sizing:border-box}.ml-app-hub a{text-decoration:none}.ml-app-hub button,.ml-app-hub input{font:inherit}.ml-app-hub button{cursor:pointer}.ml-app-hub [hidden]{display:none!important}.ml-app-top{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px max(20px,env(safe-area-inset-right)) 12px max(20px,env(safe-area-inset-left));background:#fff;border-bottom:1px solid #e0e7f0}.ml-app-top img{width:175px;height:auto;display:block}.ml-app-top>span{font-size:12px;font-weight:700;background:#edf4f8;border-radius:30px;padding:7px 12px;color:#31516c}.ml-app-main{max-width:1120px;margin:0 auto;padding:24px 22px 100px}.ml-app-hero{position:relative;overflow:hidden;padding:32px;border-radius:24px;background:linear-gradient(125deg,#192950,#244974);color:#fff;box-shadow:0 16px 40px #1c2d601a}.ml-app-hero:after{content:"";pointer-events:none;position:absolute;right:-45px;top:-60px;width:220px;height:220px;border:35px solid #ffffff06;border-radius:50%}.ml-app-eyebrow{color:#efd08b;font-size:11px;font-weight:800;letter-spacing:.12em}.ml-app-hero h1{font-size:clamp(26px,4vw,40px);line-height:1.18;max-width:650px;margin:14px 0}.ml-app-hero p{max-width:620px;color:#d8e3f1;margin:10px 0}.ml-app-name{font-weight:700}.ml-app-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.ml-app-hero-actions>a,.ml-app-hero-actions>button{min-height:46px;border-radius:12px;padding:12px 18px;display:inline-flex;gap:20px;align-items:center;justify-content:center;font-weight:750;border:1px solid #ffffff55;background:transparent;color:#fff}.ml-app-hero-actions .ml-app-primary{background:var(--ml-app-gold);color:#182957;border-color:var(--ml-app-gold)}.ml-app-install-help{padding:22px;background:#fff9e9;border:1px solid #e6ce97;border-radius:16px;margin:16px 0}.ml-app-install-help h2{font-size:20px}.ml-app-install-help button{background:var(--ml-app-navy);color:#fff;border:0;border-radius:9px;min-height:44px;padding:9px 22px}.ml-app-find{margin:28px 0 14px}.ml-app-find label{font-size:20px;font-weight:800;display:block;margin-bottom:10px}.ml-app-find input{width:100%;min-height:50px;padding:13px 16px;border:1px solid #cfdae8;border-radius:13px;background:#fff;color:var(--ml-app-ink);font-size:16px}.ml-app-find p{min-height:20px;margin:5px 0;font-size:12px;color:var(--ml-app-muted)}.ml-app-jumps{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:24px}.ml-app-jumps a{font-size:12px;font-weight:700;min-height:42px;padding:10px 13px;background:#fff;border:1px solid #d8e2ee;color:#253b68;border-radius:30px}.ml-app-section{scroll-margin-top:100px;margin:28px 0}.ml-app-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 14px}.ml-app-section-head h2{font-size:23px;line-height:1.3;margin:0;color:#1c2d60}.ml-app-section-head>span{white-space:nowrap;color:var(--ml-app-muted);font-size:12px}.ml-app-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.ml-app-card{display:flex;flex-direction:column;min-width:0;gap:8px;padding:20px;border:1px solid #dce5ef;border-radius:18px;background:#fff;color:var(--ml-app-ink);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.ml-app-card-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:13px;background:#edf5f8;color:var(--ml-app-petrol);margin-bottom:5px}.ml-app-card-icon svg{width:26px;height:26px}.ml-app-card strong{font-size:16px;line-height:1.35;color:var(--ml-app-navy);overflow-wrap:anywhere}.ml-app-card>span:not(.ml-app-card-icon){font-size:13px;color:var(--ml-app-muted);line-height:1.55;overflow-wrap:anywhere}.ml-app-card small{font-size:12px;font-weight:750;color:var(--ml-app-petrol);margin-top:auto;padding-top:10px;display:flex;justify-content:space-between}.ml-app-switch{display:block;padding:14px 0;color:var(--ml-app-petrol);font-weight:700}.ml-app-footnote,.ml-app-footer{font-size:12px;color:var(--ml-app-muted);text-align:center;margin-top:28px}.ml-app-footer a{color:var(--ml-app-petrol);display:inline-block;padding:7px}.ml-app-skip{position:fixed;left:10px;top:-80px;z-index:10000;background:#fff;color:#1c2d60;padding:15px}.ml-app-skip:focus{top:10px}.ml-app-hub :focus-visible,.ml-app-bottom a:focus-visible{outline:3px solid #168aa3;outline-offset:4px}
.ml-app-bottom{position:fixed;bottom:0;left:0;right:0;z-index:9990;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #d8e2ed;box-shadow:0 -5px 20px #132d5010;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}.ml-app-bottom a{display:flex;min-height:54px;flex-direction:column;gap:4px;align-items:center;justify-content:center;text-decoration:none!important;color:#61718b!important;font-size:10px!important;font-weight:750!important;border-radius:12px;line-height:1.25;text-align:center;padding:5px 2px}.ml-app-bottom svg{width:23px;height:23px}.ml-app-bottom a[aria-current="page"]{color:#12798d!important;background:#eaf5f7}.ml-app-mode body{padding-bottom:calc(78px + env(safe-area-inset-bottom))!important}.ml-app-network{position:fixed;top:0;left:0;right:0;z-index:11000;background:#fff2ce;border-bottom:1px solid #e0c46b;color:#5b471d;font:13px/1.5 system-ui;padding:12px 16px;text-align:center}.ml-app-profile-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;margin:18px 0;border:1px solid #cce3e9;border-radius:14px;background:#f0f9fb;color:#1c2d60;font:14px/1.5 system-ui}.ml-app-profile-entry a{color:#12798d;font-weight:750;text-decoration:none}.ml-app-install-help[hidden]{display:none!important}@media(hover:hover){.ml-app-card:hover{transform:translateY(-4px);box-shadow:0 10px 22px #1c2d6015;border-color:#70aebe}.ml-app-jumps a:hover{border-color:#12798d;color:#12798d}}
@media(max-width:850px){.ml-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ml-app-main{max-width:720px}.ml-app-hero{padding:26px}}@media(max-width:480px){.ml-app-main{padding:18px 16px 100px}.ml-app-top{padding:12px 16px}.ml-app-top img{width:145px}.ml-app-hero{padding:24px 20px;border-radius:20px}.ml-app-hero-actions{gap:9px}.ml-app-hero-actions>a,.ml-app-hero-actions>button{flex:1;padding:11px 10px;font-size:13px;gap:8px}.ml-app-section-head h2{font-size:20px}.ml-app-grid{gap:10px}.ml-app-card{padding:15px 12px;border-radius:15px}.ml-app-card strong{font-size:14px}.ml-app-card>span:not(.ml-app-card-icon){font-size:12px}.ml-app-jumps{gap:6px}.ml-app-jumps a{font-size:11px}.ml-app-profile-entry{flex-wrap:wrap}}@media(max-width:340px){.ml-app-main{padding-left:12px;padding-right:12px}.ml-app-top>span{font-size:10px;padding:6px}.ml-app-top img{width:135px}.ml-app-card strong{font-size:13px}.ml-app-card{padding:13px 10px}}@media(prefers-reduced-motion:reduce){.ml-app-card{transition:none}.ml-app-card:hover{transform:none}}
@media print{.ml-app-bottom,.ml-app-network,.ml-app-profile-entry{display:none!important}.ml-app-mode body{padding-bottom:0!important}}

.ml-app-preview{display:block;margin-top:16px;min-height:44px;padding:8px 0;background:none;border:0;color:#dce8f4;text-decoration:underline;text-underline-offset:4px;font-size:12px!important}.ml-app-mode body{box-sizing:border-box!important}

/* Keep admin page gutters inside the PWA viewport; tables retain their own scrolling. */
@media(max-width:600px){.ml-app-mode .right_col{overflow-x:clip}.ml-app-mode .right_col>.row{margin-left:0!important;margin-right:0!important}.ml-app-mode .mt-hero-top{flex-wrap:wrap}.ml-app-mode .mt-period{max-width:100%;white-space:normal;overflow-wrap:anywhere}}

.ml-app-person{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:20px 0;padding:18px 20px;background:#fff;border:1px solid #dbe5ee;border-left:4px solid #d9aa46;border-radius:15px}.ml-app-person>div{display:flex;flex-direction:column;gap:4px;min-width:0}.ml-app-person small{font-size:10px;letter-spacing:.1em;color:#677992;font-weight:800}.ml-app-person strong{font-size:17px;color:#1c2d60;overflow-wrap:anywhere}.ml-app-person span{font-size:13px;color:#61728e}.ml-app-person a{font-size:13px;color:#12798d;font-weight:750}.ml-app-person form{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.ml-app-person label{font-size:12px;flex-basis:100%;color:#61728e}.ml-app-person select{min-height:44px;max-width:100%;border:1px solid #cfdae8;border-radius:9px;padding:8px;color:#1c2d60;background:#fff}.ml-app-person button{min-height:44px;padding:9px 13px;border:0;border-radius:9px;background:#1c2d60;color:#fff;font-weight:700}.ml-app-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.ml-app-quick>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:86px;text-align:center;padding:12px 8px;border:1px solid #cee0e8;border-radius:13px;background:#edf7f9;color:#234169;font-weight:750;font-size:13px;line-height:1.4}.ml-app-quick svg{width:24px;height:24px;color:#12798d}.ml-app-person :focus-visible,.ml-app-quick a:focus-visible{outline:3px solid #168aa3;outline-offset:3px}
@media(max-width:600px){.ml-app-jumps{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin}.ml-app-jumps>a{flex-shrink:0}.ml-app-person{padding:15px}.ml-app-person form{width:100%}.ml-app-person select{min-width:0;flex:1}.ml-app-quick{gap:7px}.ml-app-quick>a{font-size:11px;padding:10px 5px;min-height:86px}}
