body.mhd-premium{margin:0}body.mhd-premium .mhdp-footer{width:min(1280px,calc(100% - 40px));margin:auto;padding:40px 0 25px;border-top:1px solid var(--ds-line);font-size:12px;color:var(--ds-muted)}body.mhd-premium .mhdp-footer strong{color:var(--ds-text)}body.mhd-premium .mhdp-footer nav{display:flex;gap:25px;margin:20px 0}body.mhd-premium .mhdp-footer p{font-size:11px}.mhd-premium-avatar{border-radius:50%}.mhd-member-account summary{list-style:none;cursor:pointer}.mhd-member-account summary::-webkit-details-marker{display:none}

/* One sticky glass surface on the homepage and internal page headers. */
body.mhd-premium{--mhd-header-top:14px}
body.mhd-premium.admin-bar{--mhd-header-top:46px}
body.mhd-premium .mhd-header,body.mhd-premium .mhdp-header{position:sticky;top:var(--mhd-header-top);z-index:70;background:rgba(11,17,26,.62);-webkit-backdrop-filter:blur(24px) saturate(125%);backdrop-filter:blur(24px) saturate(125%);border:1px solid rgba(244,247,250,.13);box-shadow:0 8px 30px #00000012}
body.mhd-premium .mhdp-header{width:min(1200px,calc(100% - 64px));margin:22px auto 0;padding:12px 20px}
body.mhd-premium .mhdp-main{position:relative}
body.mhd-premium .mhdp-main,.mhd-premium .mhp-tab-pane{scroll-margin-top:140px}
@media(min-width:901px){body.mhd-premium .mhd-live-sidebar{top:calc(var(--mhd-header-top) + 110px)}}
@media(max-width:782px){body.mhd-premium.admin-bar{--mhd-header-top:60px}}
@media(max-width:700px){body.mhd-premium{--mhd-header-top:8px}body.mhd-premium.admin-bar{--mhd-header-top:54px}body.mhd-premium .mhdp-header{width:calc(100% - 24px);padding:11px 14px;margin-top:12px}}

/* Readable fallback when the browser cannot blur the content behind the header. */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){body.mhd-premium .mhd-header,body.mhd-premium .mhdp-header{background:rgba(11,17,26,.94)}}

/* More specific than the Portal sidebar rules: always clear the real sticky header. */
@media(min-width:901px){body.mhd-premium .mhd-live-dashboard > .mhd-live-sidebar{position:sticky;top:var(--mhd-sticky-sidebar-top,calc(var(--mhd-header-top,14px) + 110px));z-index:1}}

/* Shared two-line menu control and popup: homepage + every internal header. */
body.mhd-premium .mhdp-header>.mhd-menu-button{display:none}
body.mhd-premium .mhdp-header>.mhdp-logo{order:0}
body.mhd-premium .mhdp-header>.mhdp-nav{order:1}
body.mhd-premium .mhdp-header>.mhdp-account{order:3}
body.mhd-premium .mhdp-header>.mhd-mobile-nav,body.mhd-premium .mhd-header>.mhd-mobile-nav{position:absolute;top:calc(100% + 12px);inset-inline:0;background:rgba(26,38,51,.98);border:1px solid rgba(244,247,250,.13);border-radius:20px;padding:18px;direction:rtl;max-height:70vh;overflow:auto;box-shadow:0 18px 50px #0005;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
body.mhd-premium .mhdp-header>.mhd-mobile-nav[hidden],body.mhd-premium .mhd-header>.mhd-mobile-nav[hidden]{display:none!important}
body.mhd-premium .mhdp-header>.mhd-mobile-nav a,body.mhd-premium .mhd-header>.mhd-mobile-nav a{display:block;padding:12px 14px;font-size:13px;min-height:44px;border-radius:9px;color:#f4f7fa;text-align:right}
body.mhd-premium .mhdp-header>.mhd-mobile-nav a:hover,body.mhd-premium .mhd-header>.mhd-mobile-nav a:hover,body.mhd-premium .mhd-mobile-nav [aria-current=page]{background:#08c9c310;color:#08c9c3}
@media(max-width:1100px){
 body.mhd-premium .mhdp-header,body.mhd-premium .mhd-header{flex-wrap:nowrap}
 body.mhd-premium .mhdp-header>.mhdp-nav,body.mhd-premium .mhd-header>.mhd-desktop-nav{display:none}
 body.mhd-premium .mhdp-header>.mhd-menu-button,body.mhd-premium .mhd-header>.mhd-menu-button{display:flex;order:2;flex-direction:column;gap:5px;align-items:center;justify-content:center;width:35px;min-width:35px;min-height:38px;background:none;border:0;padding:8px;cursor:pointer;margin-inline-start:auto}
 body.mhd-premium .mhd-menu-button span{height:1px;width:18px;background:#f4f7fa;display:block}
 body.mhd-premium .mhdp-header>.mhdp-account{margin-left:0;flex-shrink:0}
}
@media(max-width:400px){body.mhd-premium .mhdp-header .mhdp-logo{width:98px}body.mhd-premium .mhdp-header .mhdp-account{gap:6px;font-size:9px}body.mhd-premium .mhdp-header .mhdp-account>a{padding:8px}}

/* Explicit contrast for the real portal custom-plan quantity buttons. */
body.mhd-premium .mhp-custom-pricing-card .mhp-custom-qty button{background:#08c9c3;color:#0b111a;-webkit-text-fill-color:#0b111a;border:1px solid #08c9c3;font-size:24px;font-weight:700;line-height:1;display:inline-flex;align-items:center;justify-content:center;padding:0}
body.mhd-premium .mhp-custom-pricing-card .mhp-custom-qty button:hover{background:#56eee5;color:#0b111a;-webkit-text-fill-color:#0b111a;border-color:#56eee5}
body.mhd-premium .mhp-custom-pricing-card .mhp-custom-qty button:focus-visible{outline:2px solid #f4f7fa;outline-offset:3px}
body.mhd-premium .mhp-custom-pricing-card .mhp-custom-qty button:disabled{background:#253443;color:#c3cbd7;-webkit-text-fill-color:#c3cbd7;border-color:#526174;cursor:not-allowed}

body.mhd-premium .mhd-registration-message{display:block;margin-top:7px;font-size:12px;color:#ffadb0}body.mhd-premium [data-mhd-registration] [aria-invalid=true]{border-color:#f18b91!important;outline-color:#f18b91}

/* Shared minimal homepage-style footer across all real templates. */
body.mhd-premium .mhd-shared-footer{width:min(1280px,calc(100% - 40px));margin:0 auto;padding:45px 0 24px;color:#a6b5c3;font-family:Tahoma,"Segoe UI",Arial,sans-serif}
body.mhd-premium .mhd-shared-footer-bottom{border-top:1px solid rgba(244,247,250,.13);padding-top:20px;display:flex;justify-content:space-between;align-items:center;gap:18px;font-size:10px;line-height:1.8}
body.mhd-premium .mhd-shared-footer a{color:inherit;text-decoration:none}body.mhd-premium .mhd-shared-footer a:hover{color:#08c9c3}
@media(max-width:700px){body.mhd-premium .mhd-shared-footer{width:calc(100% - 36px);padding-top:30px}body.mhd-premium .mhd-shared-footer-bottom{flex-direction:column;align-items:flex-start;gap:12px;font-size:9px}}

/* Approved navy/gold/white logo asset shared by homepage and internal headers. */
body.mhd-premium .mhd-header .mhd-brand,body.mhd-premium .mhdp-header .mhdp-logo{background:transparent;border:0;padding:0;box-shadow:none;width:190px;flex-shrink:0;border-radius:0}
body.mhd-premium .mhd-header .mhd-brand img,body.mhd-premium .mhdp-header .mhdp-logo img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}
@media(max-width:700px){body.mhd-premium .mhd-header .mhd-brand,body.mhd-premium .mhdp-header .mhdp-logo{width:132px}}
@media(max-width:400px){body.mhd-premium .mhd-header .mhd-brand,body.mhd-premium .mhdp-header .mhdp-logo{width:112px}}

/* Homepage account dropdown opens inward to the left of the right-hand avatar. */
body.mhd-premium .mhd-header .mhd-member-account{position:relative}
body.mhd-premium .mhd-header .mhd-account-menu{inset-inline-start:auto;inset-inline-end:auto;left:auto;right:0;max-width:calc(100vw - 40px);box-sizing:border-box}
body.mhd-premium .mhd-header .mhd-desktop-nav>a,body.mhd-premium .mhdp-header .mhdp-nav>a,body.mhd-premium .mhd-mobile-nav>a{font-weight:700}

/* Partner link matches the navigation typography and spacing. */
body.mhd-premium .mhdp-header .mhdp-nav>a.mhdp-partner-link,body.mhd-premium .mhd-header .mhd-desktop-nav>a.mhdp-partner-link{color:#f4f7fa;border:0;background:transparent;border-radius:0;padding:0;font:inherit;font-weight:700;white-space:nowrap;align-self:center;box-shadow:none}
body.mhd-premium .mhdp-header a.mhdp-partner-link:hover,body.mhd-premium .mhd-header a.mhdp-partner-link:hover,body.mhd-premium .mhdp-header a.mhdp-partner-link[aria-current=page],body.mhd-premium .mhd-header a.mhdp-partner-link[aria-current=page]{color:#08c9c3;background:transparent}
body.mhd-premium a.mhdp-partner-link:focus-visible{outline:2px solid #08c9c3;outline-offset:5px}
body.mhd-premium .mhd-mobile-nav>a.mhdp-partner-link{color:#f4f7fa;border:0;margin:0}

body.mhd-premium .mhd-header .mhd-brand img,body.mhd-premium .mhdp-header .mhdp-logo img{aspect-ratio:3 / 1}
