/* MK3Node Home: client portal, isolated from account, order and staff layouts. */
html body:has(#mk3-home){background:var(--mh-bg,#101114)!important}
html:has(#mk3-home){--mh-bg:#101114;--mh-card:#191b20;--mh-soft:#22252c;--mh-line:#30343d;--mh-ink:#f1f3f6;--mh-muted:#aab3bf;--mh-accent:#a0dfbe;--mh-button:#a0dfbe;--mh-button-ink:#10271c}
html[data-mk3-theme=light]:has(#mk3-home){--mh-bg:#f5f6f8;--mh-card:#fff;--mh-soft:#eef1f4;--mh-line:#dce1e7;--mh-ink:#202830;--mh-muted:#5e6b78;--mh-accent:#23734f;--mh-button:#256e4e;--mh-button-ink:#fff}
html body:has(#mk3-home)>.title{display:none!important}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);gap:30px 58px;max-width:1160px;width:100%;margin:56px auto 0;padding:0 12px;color:var(--mh-ink)!important;font-family:inherit;line-height:1.6}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home *{box-sizing:border-box;text-shadow:none}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home :is(h1,h2,h3,p){padding:0;border:0;background:none;color:var(--mh-ink)!important}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-main{display:contents}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-heading{grid-column:1;grid-row:1;align-self:center;margin:0;padding:26px 0 32px;max-width:590px}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-eyebrow{display:block;color:var(--mh-accent)!important;font-size:11px;font-weight:650;letter-spacing:1.65px;line-height:1.5}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home h1{font-family:inherit;font-size:clamp(32px,3.3vw,46px);font-weight:650;line-height:1.16;letter-spacing:-1.7px;margin:19px 0 20px;max-width:580px}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home h2{font-family:inherit;font-size:23px;font-weight:600;line-height:1.3;letter-spacing:-.65px;margin:10px 0 13px}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home h3{font-family:inherit;font-size:18px;font-weight:600;line-height:1.4;letter-spacing:-.3px;margin:0 0 9px}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home p{font-size:14px;line-height:1.75;font-weight:400;color:var(--mh-muted)!important;margin:0 0 18px}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-heading p{font-size:16px;max-width:450px;margin:0}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-account{grid-column:2;grid-row:1;display:flex;flex-direction:column;min-width:0;border:1px solid var(--mh-line)!important;border-radius:20px;padding:30px;background:var(--mh-card)!important;box-shadow:0 10px 35px #00000008}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-account .mh-eyebrow{letter-spacing:.3px;font-size:12px}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-account h2{font-size:25px;margin-top:9px}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-account-actions{display:grid;gap:10px;padding-top:8px;margin-top:auto}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home a{color:var(--mh-accent)!important;font-size:13px;font-weight:600;text-decoration:none!important;transition:background .15s,border-color .15s,transform .15s}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home :is(.mh-primary,.mh-secondary){display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:46px;padding:12px 17px;border-radius:9px;border:1px solid var(--mh-line)!important;background:var(--mh-soft)!important;color:var(--mh-ink)!important}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-primary{background:var(--mh-button)!important;color:var(--mh-button-ink)!important;border-color:var(--mh-button)!important}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-primary span{color:inherit!important}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-primary:hover{filter:brightness(1.06)}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-secondary:hover{border-color:var(--mh-accent)!important}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-services{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:14px 0 0;margin:0;min-width:0}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-services>h2{grid-column:1/-1;font-size:19px;margin:0 0 3px;letter-spacing:-.3px}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-service{display:flex;gap:20px;align-items:flex-start;padding:25px;margin:0;border:1px solid var(--mh-line)!important;border-radius:15px;background:var(--mh-card)!important;min-width:0}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-service>div{min-width:0}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-service-symbol{display:block;width:43px;height:43px;flex:0 0 43px;margin:2px 0 0}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-service p{margin:0 0 12px;max-width:360px;font-size:13px}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-text-link{display:inline-flex;align-items:center;gap:16px;padding:5px 0;min-height:34px}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-text-link:hover{text-decoration:underline!important;text-underline-offset:5px}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-panel{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0;padding:21px 25px;border:1px solid var(--mh-line)!important;border-radius:14px;background:transparent!important}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-panel h2{font-size:18px;margin:3px 0}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-panel .mh-eyebrow{color:var(--mh-muted)!important;font-size:11px;letter-spacing:.1px}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-panel p{font-size:13px;margin:0}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-panel>a{min-width:185px;flex-shrink:0}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-help{grid-column:1/-1;margin:0;padding:0}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-help>h2{font-size:19px;margin:0 0 17px}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-help-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-help-grid article{border-left:2px solid var(--mh-line);padding:0 0 0 20px}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-help-grid h3{font-size:15px;margin:0 0 5px}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-help-grid p{font-size:13px;margin:0 0 5px}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-footer{grid-column:1/-1;display:flex!important;align-items:flex-start;justify-content:space-between;gap:30px;border-top:1px solid var(--mh-line)!important;background:none!important;padding:25px 0 12px;margin:6px 0 0}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-footer strong{font-size:19px;letter-spacing:-.7px;color:var(--mh-ink)!important}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-footer strong span{color:var(--mh-accent)!important}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-footer p{font-size:11px;margin:5px 0 0}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-footer nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px 20px;max-width:650px}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-footer a{font-size:11px;font-weight:400;color:var(--mh-muted)!important}
html[data-mk3-theme] body.mk3-portal-skin #mk3-home :is(a,button):focus-visible{outline:2px solid var(--mh-accent);outline-offset:4px}
@media(max-width:850px){html[data-mk3-theme] body.mk3-portal-skin #mk3-home{grid-template-columns:1fr;gap:25px;margin-top:28px;padding:0 16px}html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-heading{grid-column:1;grid-row:auto;padding:8px 0 0;max-width:580px}html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-account{grid-column:1;grid-row:auto;padding:25px}html[data-mk3-theme] body.mk3-portal-skin #mk3-home h1{font-size:34px;letter-spacing:-1.2px}html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-services{padding-top:4px}}
@media(max-width:600px){html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-services,html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-help-grid{grid-template-columns:1fr}html[data-mk3-theme] body.mk3-portal-skin #mk3-home h1{font-size:30px}html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-heading p{font-size:14px}html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-service{padding:21px;gap:16px}html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-panel{flex-direction:column;align-items:stretch;padding:21px;gap:15px}html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-footer{flex-direction:column;gap:17px}html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-footer nav{justify-content:flex-start}html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-service-symbol{width:36px;height:36px;flex-basis:36px}html[data-mk3-theme] body.mk3-portal-skin #mk3-home .mh-help-grid{gap:22px}}

/* Home Light: stronger separation between the page and its cards. */
html[data-mk3-theme=light]:has(#mk3-home){--mh-bg:#edf0f4;--mh-line:#b8c2ce}
html[data-mk3-theme=light] body.mk3-portal-skin #mk3-home :is(.mh-account,.mh-service,.mh-panel){background:#fff!important;border-color:#b8c2ce!important;box-shadow:0 4px 14px rgba(29,43,61,.09),0 1px 3px rgba(29,43,61,.05)}
html[data-mk3-theme=light] body.mk3-portal-skin #mk3-home .mh-help-grid article{background:#fff;border:1px solid #b8c2ce;border-radius:14px;padding:20px;box-shadow:0 3px 12px rgba(29,43,61,.06)}
