/* Shared Master/tenant page headers. Existing content, actions and artwork stay in place. */
body .mx-admin-heading{position:relative;isolation:isolate;border:1px solid #c6d9e9!important;border-radius:16px!important;background:linear-gradient(112deg,#f0ebfc,#f4f8ff 45%,#e5f7f2)!important;color:#173449!important;padding:22px 24px!important;box-shadow:0 8px 25px #29476d0b!important;min-width:0}
body .mx-admin-heading::after{content:'';position:absolute;z-index:-1;inset:0;border-radius:inherit;background:radial-gradient(ellipse at 80% 30%,#8cd9d52c,transparent 55%);pointer-events:none;animation:mx-admin-glow 8s ease-in-out infinite alternate}
html body .mx-admin-heading[data-heading-styled="1"]:not(.mx-gallery-toolbar) h1{font-size:clamp(19px,1.6vw,22px)!important;font-weight:600!important;letter-spacing:-.03em!important;line-height:1.25!important;color:#173449!important;margin:4px 0 8px!important}
body .mx-admin-heading h1 :is(span,em,strong){font-size:inherit!important;font-weight:inherit!important;color:inherit!important}
body .mx-admin-heading p{font-size:13px!important;font-weight:400!important;line-height:1.65!important;color:var(--mx-heading-muted,#36566b)!important;max-width:760px}
body .mx-admin-heading :is(.tenant-eyebrow,.ford-section-kicker){font-size:10px!important;font-weight:400!important;letter-spacing:.08em!important;color:#34647c!important}
body .mx-admin-heading-art{float:left;display:block;width:76px;height:76px;margin:0 17px 8px 0;animation:mx-admin-float 5s ease-in-out infinite;pointer-events:none}
body .mx-admin-heading-art svg{width:100%;height:100%;filter:drop-shadow(0 5px 6px #22476614)}
body .mx-admin-heading :is(.tenant-button,.platform-media-button){position:relative;min-height:38px;font-size:12px!important;font-weight:400!important;border-radius:9px!important;transition:transform .2s ease,box-shadow .2s ease!important}
body .mx-admin-heading :is(.tenant-button,.platform-media-button):hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 16px #29476d20!important}
body .mx-admin-heading :is(button,a):focus-visible{outline:2px solid #087d88;outline-offset:4px}
html[data-mymex-theme=dark] body .mx-admin-heading{background:linear-gradient(112deg,#29283f,#102d41 52%,#123a35)!important;border-color:#465675!important}
html[data-mymex-theme=dark] body .mx-admin-heading :is(h1,p,.tenant-eyebrow,.ford-section-kicker){color:#e6f1fb!important}
html[data-mymex-theme=dark] body .mx-admin-heading[data-heading-styled="1"]:not(.mx-gallery-toolbar) h1{color:#e6f1fb!important}
@keyframes mx-admin-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes mx-admin-glow{from{opacity:.35}to{opacity:1}}
@media(max-width:760px){body .mx-admin-heading{padding:16px!important;border-radius:13px!important;gap:12px!important}body .mx-admin-heading-art{width:54px;height:54px;margin-right:12px}html body .mx-admin-heading[data-heading-styled="1"]:not(.mx-gallery-toolbar) h1{font-size:18px!important;overflow-wrap:break-word}body .mx-admin-heading :is(.tenant-actions,.tenant-heading-actions){flex-wrap:wrap!important;gap:8px!important}}
@media(prefers-reduced-motion:reduce){body .mx-admin-heading::after,body .mx-admin-heading-art{animation:none!important;transform:none!important}body .mx-admin-heading :is(button,a){transition:none!important;transform:none!important}}
html body h1.mx-admin-heading-title{font-size:clamp(19px,1.6vw,22px)!important;font-weight:600!important;letter-spacing:-.03em!important;line-height:1.25!important}

body .mx-admin-heading.mymex-platform-notification-heading{display:grid!important;grid-template-columns:minmax(0,1fr) 40px!important;align-items:start!important;gap:12px!important}
body .mx-admin-heading.mymex-platform-notification-heading>div{min-width:0!important}
body .mx-admin-heading.mymex-platform-notification-heading>.mymex-notification-heading-action{position:static!important;inset:auto!important;transform:none!important;margin:0!important;align-self:start!important;width:40px!important;height:40px!important}
@media(max-width:760px){html body .mx-admin-heading[data-heading-styled="1"]:not(.mx-gallery-toolbar) h1,html body h1.mx-admin-heading-title{font-size:18px!important;font-weight:600!important;line-height:1.35!important}body .mx-admin-heading-art{width:44px;height:44px;margin-right:10px}body .mx-admin-heading.mymex-platform-notification-heading{grid-template-columns:minmax(0,1fr) 36px!important;gap:8px!important}body .mx-admin-heading.mymex-platform-notification-heading>.mymex-notification-heading-action{width:36px!important;height:36px!important}}

html body[data-gallery-compact] .mx-gallery-toolbar[class] h1{font-size:22px!important;font-weight:600!important;line-height:1.3!important}
@media(max-width:760px){html body[data-gallery-compact] .mx-gallery-toolbar[class] h1{font-size:18px!important}}
/* Empty, hidden notices must not become visible through legacy flex rules. */
body .tenant-notice[hidden]{display:none!important}

/* Nested header illustrations use the same surface palette as their heading.
   Interactive controls keep their own foreground/background pairs. */
body .mx-admin-heading{--mx-heading-ink:#102d42;--mx-heading-muted:#264c63;--mx-heading-accent:#075b70}
html[data-mymex-theme=dark] body .mx-admin-heading{--mx-heading-ink:#e6f1fb;--mx-heading-muted:#c5d9e8;--mx-heading-accent:#83e5db}
html body .mx-admin-heading[data-heading-styled="1"] :where(div,section,article,figure,figcaption,h1,h2,h3,h4,p,span,small,strong,b,em,label,dt,dd,li):not(:where(a,button,[role=button]) *){color:var(--mx-heading-ink)!important}
html body .mx-admin-heading[data-heading-styled="1"] :where(p,small,dt,figcaption):not(:where(a,button,[role=button]) *){color:var(--mx-heading-muted)!important}
html body .mx-admin-heading[data-heading-styled="1"] :where(.mx-visual-card>span,.mx-visual-card>i,.mx-campaign-safety>span){color:var(--mx-heading-accent)!important}

/* A shared, theme-aware data-flow background. No timers or canvas work. */
body .mx-admin-heading{--mx-heading-network:#388da1;--mx-heading-network-opacity:.78;--mx-heading-panel:#fff;--mx-heading-panel-line:#94b8cb;background:linear-gradient(110deg,#e9e3f8 0%,#eaf4fd 44%,#cceee5 100%)!important;border-color:#9ab9ce!important;box-shadow:0 10px 30px #24465d0a,inset 0 1px 0 #fff!important;}
body .mx-admin-heading::after{background:radial-gradient(ellipse at 90% 20%,#69d9ce35,transparent 55%),radial-gradient(ellipse at 50% 120%,#b39ae926,transparent 60%);animation:mx-admin-glow 9s ease-in-out infinite alternate}
body .mx-admin-heading-network{position:absolute;inset:0;z-index:-1;overflow:hidden;border-radius:inherit;pointer-events:none;opacity:var(--mx-heading-network-opacity,.78);color:var(--mx-heading-network)!important;mask-image:linear-gradient(90deg,transparent 22%,#000 62%)}
body .mx-admin-heading-network svg{width:100%;height:100%;display:block;color:inherit;stroke:currentColor;stroke-width:1;vector-effect:non-scaling-stroke}
body .mx-admin-heading-network svg :is(path,circle){vector-effect:non-scaling-stroke}
body .mx-admin-heading-network .mx-heading-rails{opacity:.4}
body .mx-admin-heading-network .mx-heading-flow{opacity:.75;stroke-width:1.8;stroke-dasharray:18 150;animation:mx-heading-data-flow 16s linear infinite}
body .mx-admin-heading-network .mx-heading-flow path:nth-child(2){stroke-dasharray:8 220;animation:mx-heading-data-flow 21s linear infinite reverse}
body .mx-admin-heading-network .mx-heading-nodes{fill:var(--mx-heading-panel);stroke-width:1.4}
body .mx-admin-heading-network .mx-heading-nodes circle{animation:mx-heading-node 5s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
body .mx-admin-heading-network .mx-heading-nodes circle:nth-child(3n){animation-delay:-1.7s}
body .mx-admin-heading-network .mx-heading-nodes circle:nth-child(3n + 1){animation-delay:-3.2s}
body .mx-admin-heading :is(.mx-visual-card,.mx-campaign-safety){background:var(--mx-heading-panel);border-color:var(--mx-heading-panel-line);box-shadow:0 5px 16px #24465d05}
body .mx-admin-heading .mx-visual-card>span{background:#d9f4ee}
body .mx-admin-heading .mx-visual-card strong{font-size:12px;font-weight:600}
body .mx-admin-heading .mx-visual-card small{font-size:12px;letter-spacing:.08em}
body .mx-admin-heading .mx-campaign-safety strong{font-size:12px;font-weight:600}
body .mx-admin-heading .mx-campaign-safety small{font-size:12px;line-height:1.55}
body .mx-admin-heading .mx-visual-line{border-color:var(--mx-heading-panel-line)}
body .mx-admin-heading :is(.mxpartner-hero-summary,.pw-hero>aside){background:var(--mx-heading-panel);border:1px solid var(--mx-heading-panel-line);border-radius:14px;padding:18px}
body .mx-admin-heading .pw-status{background:#dbf6e7;color:#18583f!important;border:1px solid #9bcdb0}
html[data-mymex-theme=dark] body .mx-admin-heading{--mx-heading-network:#58d5d2;--mx-heading-network-opacity:.65;--mx-heading-panel:#132e41ed;--mx-heading-panel-line:#3b5b70;background:linear-gradient(110deg,#24273f 0%,#102a3c 48%,#103b36 100%)!important;box-shadow:0 12px 32px #0002,inset 0 1px 0 #ffffff09!important}
html[data-mymex-theme=dark] body .mx-admin-heading .mx-visual-card>span{background:#224d53}
html[data-mymex-theme=dark] body .mx-admin-heading .pw-status{background:#244c3e;color:#b4f1cd!important;border-color:#54866c}
html[data-mymex-theme=dark] body .mx-admin-heading-network .mx-heading-rails{opacity:.25}
@keyframes mx-heading-data-flow{to{stroke-dashoffset:-768}}
@keyframes mx-heading-node{0%,100%{opacity:.35;transform:scale(.9)}50%{opacity:.8;transform:scale(1.12)}}
@media(max-width:760px){body .mx-admin-heading-network{mask-image:linear-gradient(90deg,transparent 18%,#000 68%);opacity:var(--mx-heading-network-opacity,.78)}}
@media(prefers-reduced-motion:reduce){body .mx-admin-heading-network *,body .mx-admin-heading::after{animation:none!important;transform:none!important}body .mx-admin-heading-network .mx-heading-nodes circle{opacity:.5}}

/* Keep the progress value readable on its neutral inset surface. */
html body .mx-admin-heading[data-heading-styled="1"] .tenant-setup-progress-donut strong{color:var(--mx-heading-ink)!important}
html body .mx-admin-heading[data-heading-styled="1"] .tenant-setup-progress-donut::before{background:#fff!important}
html[data-mymex-theme=dark] body .mx-admin-heading[data-heading-styled="1"] .tenant-setup-progress-donut::before{background:#0b2038!important}
html body .mx-admin-heading[data-heading-styled="1"] .tenant-setup-progress-donut strong{position:relative;z-index:1}
html body .tenant-launch.mx-admin-heading small{font-size:12px!important;line-height:1.5}

html body :is(section,header,div).mx-admin-heading[data-heading-styled="1"] .tenant-eyebrow{color:var(--mx-heading-accent)!important}
html body[data-gallery-compact] .mx-gallery-toolbar.mx-admin-heading[data-heading-styled="1"] p{color:var(--mx-heading-muted)!important}

/* Gallery toolbar SVG rules must not shrink the decorative header artwork. */
html body .mx-admin-heading[data-heading-styled="1"]>.mx-admin-heading-network{color:var(--mx-heading-network)!important}
html body .mx-admin-heading[data-heading-styled="1"]>.mx-admin-heading-network>svg{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important}
html body .mx-gallery-toolbar.mx-admin-heading>.mx-admin-heading-art{flex:0 0 64px;width:64px!important;height:64px!important;margin:0 16px 0 0;animation:mx-admin-float 5s ease-in-out infinite}
html body .mx-admin-heading[data-heading-styled="1"] .mx-admin-heading-art>svg{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important}

@media(max-width:760px){html body .mx-gallery-toolbar.mx-admin-heading>.mx-admin-heading-art{flex-basis:44px;width:44px!important;height:44px!important;margin-right:10px}}
@media(prefers-reduced-motion:reduce){html body .mx-gallery-toolbar.mx-admin-heading>.mx-admin-heading-art{animation:none!important}}

/* Both gallery entry headers share the global header, rather than the old compact tile. */
html body[data-gallery-compact] .mx-gallery-toolbar.mx-admin-heading[data-heading-styled="1"]{grid-template-columns:64px minmax(0,1fr) auto!important;gap:18px!important;padding:22px 24px!important;background:linear-gradient(110deg,#e9e3f8 0%,#eaf4fd 44%,#cceee5 100%)!important;border-color:#9ab9ce!important;min-height:112px}
html[data-mymex-theme=dark] body[data-gallery-compact] .mx-gallery-toolbar.mx-admin-heading[data-heading-styled="1"]{background:linear-gradient(110deg,#24273f 0%,#102a3c 48%,#103b36 100%)!important;border-color:#465675!important}
html body[data-gallery-compact] .mx-gallery-toolbar.mx-admin-heading>.mx-admin-heading-art{margin:0}
@media(max-width:760px){html body[data-gallery-compact] .mx-gallery-toolbar.mx-admin-heading[data-heading-styled="1"]{grid-template-columns:44px minmax(0,1fr)!important;gap:12px!important;padding:16px!important;min-height:0}}

/* One mobile control treatment across the existing admin and Partner shells. */
@media(max-width:760px){
 html{--mx-topbar-surface:#fff;--mx-topbar-line:#cbdce8;--mx-topbar-ink:#23475e}
 html[data-mymex-theme=dark]{--mx-topbar-surface:#102638;--mx-topbar-line:#36546a;--mx-topbar-ink:#e1edf7}
 html body :is(.tenant-topbar,.pw-topbar,.mxpartner-top){min-height:64px;gap:8px;padding:10px 12px;border-bottom:1px solid var(--mx-topbar-line)}
 html body .tenant-topbar{display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important}
 html body .tenant-topbar>div:not(.tenant-topbar-actions){min-width:0}
 html body .tenant-topbar>div:not(.tenant-topbar-actions)>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.35}
 html body :is(.tenant-topbar-actions,.pw-tools,.mxpartner-top-actions){gap:6px!important;align-items:center}
 html body .tenant-topbar :is(.tenant-menu-button,.mymex-platform-notification-trigger,.mymex-command-trigger,.tenant-theme-toggle,.tenant-topbar-profile),
 html body .pw-topbar .pw-icon,
 html body .mxpartner-top .mxpartner-theme-toggle{box-sizing:border-box!important;display:inline-grid!important;place-items:center;flex:0 0 40px!important;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border:1px solid var(--mx-topbar-line)!important;border-radius:10px!important;background:var(--mx-topbar-surface)!important;color:var(--mx-topbar-ink)!important;box-shadow:none!important}
 html body :is(.tenant-topbar,.pw-topbar,.mxpartner-top) :is(button,a,summary,label):focus-visible{outline:2px solid #07839b;outline-offset:2px}
 html body .tenant-topbar :is(.mymex-platform-notification-trigger,.mymex-command-trigger) svg,
 html body .pw-topbar .pw-icon>svg{width:18px!important;height:18px!important;stroke-width:1.4!important}
 html body .tenant-topbar .tenant-topbar-profile .tenant-avatar{width:28px!important;height:28px!important;min-width:28px!important;border-radius:50%!important;font-size:12px}
 html body .tenant-topbar .mymex-command-trigger{position:relative;overflow:visible}
 html body .tenant-topbar .mymex-command-trigger>input{position:absolute;inset:0;width:100%!important;height:100%!important;opacity:0;cursor:pointer;padding:0!important}
 html body .mxpartner-top .mxpartner-theme-toggle :is(.mxpartner-theme-copy,.is-sun){display:none!important}
}

@media(max-width:760px){
 html[data-mymex-theme] body header.tenant-topbar .tenant-theme-toggle{border-radius:10px!important;background:var(--mx-topbar-surface)!important;color:var(--mx-topbar-ink)!important;border-color:var(--mx-topbar-line)!important;box-shadow:none!important}
 html body header.tenant-topbar .tenant-menu-button{min-width:40px!important;max-width:40px!important}
}

@media(max-width:760px){html body :is(.tenant-topbar,.pw-topbar,.mxpartner-top){--mymex-theme-control-radius:10px;--mymex-theme-control-line:var(--mx-topbar-line);--mymex-theme-control-surface:var(--mx-topbar-surface);--mymex-theme-control-ink:var(--mx-topbar-ink)}}

/* Optional field hints remain readable on upload dialog surfaces. */
html body .platform-media-modal :is(label em,.platform-media-field em){color:#4d6478!important}
html[data-mymex-theme=dark] body .platform-media-modal :is(label em,.platform-media-field em){color:#bfd1e1!important}

@media(max-width:760px){
 html body .mxpartner-top .mxpartner-top-actions{display:flex!important;flex:0 0 auto}
 html body .mxpartner-top .mxpartner-preview-exit{min-height:40px;max-width:106px;padding:6px 8px;font-size:11px;line-height:1.3;white-space:normal;border:1px solid var(--mx-topbar-line);border-radius:10px;background:var(--mx-topbar-surface);color:var(--mx-topbar-ink)}
 html body .mxpartner-top .mxpartner-brand{min-width:0;flex:1}
}

/* Jarvis' legacy image overlay must not override the approved shared palette. */
html[data-mymex-theme] body section.mymex-jarvis-control-hero-v2.mx-admin-heading[data-heading-styled="1"]{background:linear-gradient(110deg,#e9e3f8 0%,#eaf4fd 44%,#cceee5 100%)!important;color:#102d42!important}
html[data-mymex-theme=dark] body section.mymex-jarvis-control-hero-v2.mx-admin-heading[data-heading-styled="1"]{background:linear-gradient(110deg,#24273f 0%,#102a3c 48%,#103b36 100%)!important;color:#e6f1fb!important}

html[data-mymex-theme=light] body .mx-admin-heading .card-scan-description{color:#4d6478!important}

/* A dismissed capacity notice must respect the existing controller state. */
body .tenant-capacity-alert[hidden]{display:none!important}

/* Shared full-screen modal header; never creates another modal or action handler. */
html body .mx-fullscreen-intelligence-header.mx-admin-heading{border-radius:0!important;margin:0!important;border-width:0 0 1px!important;flex-shrink:0;overflow:hidden}
html body .mx-fullscreen-intelligence-header.mx-admin-heading>div{position:relative;z-index:1;min-width:0}
html body .mx-fullscreen-intelligence-header.mx-admin-heading h2{font-size:18px!important;font-weight:600!important;line-height:1.3!important;color:var(--mx-heading-ink)!important}
html body .mx-fullscreen-intelligence-header.mx-admin-heading>.mx-admin-heading-network{mask-image:linear-gradient(90deg,transparent 22%,#000 62%)}
html body .mx-fullscreen-intelligence-header.mx-admin-heading .mx-admin-heading-network>svg{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important}
@media(max-width:760px){html body .mx-fullscreen-intelligence-header.mx-admin-heading{padding:16px!important}html body .mx-fullscreen-intelligence-header.mx-admin-heading>.mx-admin-heading-network{mask-image:linear-gradient(90deg,transparent 18%,#000 68%);opacity:var(--mx-heading-network-opacity,.78)}}

/* One header Jarvis button; each existing controller retains its action. */
html[data-mymex-theme] body .mx-admin-heading[data-heading-styled="1"] button.mx-header-jarvis{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;box-sizing:border-box!important;height:40px!important;min-height:40px!important;max-height:40px!important;padding:8px 12px!important;border:1px solid #cbdce8!important;border-radius:10px!important;background:#fff!important;color:#173449!important;font-size:12px!important;font-weight:500!important;line-height:1.3!important;white-space:nowrap!important;box-shadow:none!important}
html[data-mymex-theme] body .mx-admin-heading[data-heading-styled="1"] button.mx-header-jarvis :is(span,svg){color:inherit!important}
html[data-mymex-theme] body .mx-admin-heading[data-heading-styled="1"] button.mx-header-jarvis>svg{width:17px!important;height:17px!important;flex:0 0 17px;stroke-width:1.4!important;stroke-linecap:round;stroke-linejoin:round}
html[data-mymex-theme] body .mx-admin-heading[data-heading-styled="1"] button.mx-header-jarvis:hover{background:#edf6fa!important;border-color:#8eb4c7!important}

html body .mx-fullscreen-intelligence-header.mx-admin-heading .mx-gallery-mark{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;background:#fff!important;color:#296c88!important;border:1px solid #c4dbe9;border-radius:11px;animation:mx-admin-float 5s ease-in-out infinite}
html body .mx-fullscreen-intelligence-header.mx-admin-heading .mx-gallery-mark>svg{width:22px!important;height:22px!important;stroke-width:1.4!important;color:inherit!important}
@media(prefers-reduced-motion:reduce){html body .mx-fullscreen-intelligence-header.mx-admin-heading .mx-gallery-mark{animation:none!important}}

html body .mx-admin-heading .master-scan-action small{color:#fff!important;opacity:1!important}
html body .master-scan-action .card-scan-icon{width:28px;height:34px;--scan-card-fill:#12334e}
html body .master-scan-action .scan-beam{animation:mx-header-scan 4s ease-in-out infinite}
@keyframes mx-header-scan{0%,100%{transform:translateY(0);opacity:.45}50%{transform:translateY(22px);opacity:1}}
@media(prefers-reduced-motion:reduce){html body .master-scan-action .scan-beam{animation:none!important}}

html body .mx-fullscreen-intelligence-header .mymex-notification-centre-mark{background:#fff!important;color:#296c88!important;border:1px solid #c4dbe9}
html body .mx-fullscreen-intelligence-header .tenant-avatar{color:#102d42!important}

/* Expanded Notification Centre uses the complete viewport; the existing toggle restores size. */
html body dialog.mymex-notification-centre.is-expanded{position:fixed!important;inset:0!important;margin:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:100dvh!important;border:0!important;border-radius:0!important}
html body .mymex-notification-centre{--mx-nc-chip:#edf3f8;--mx-nc-chip-ink:#304c61;--mx-nc-urgent:#a82a27;--mx-nc-warning:#8b470c;--mx-nc-open:#075b70;--mx-nc-resolved:#086148}
html[data-mymex-theme=dark] body .mymex-notification-centre{--mx-nc-chip:#18374b;--mx-nc-chip-ink:#d2e4ef;--mx-nc-urgent:#ffb0aa;--mx-nc-warning:#f6ce86;--mx-nc-open:#89d9ef;--mx-nc-resolved:#a0e4c8}
html body .mymex-notification-centre-summary [data-nc-count=urgent]{color:var(--mx-nc-urgent)!important}
html body .mymex-notification-centre-summary [data-nc-count=warning]{color:var(--mx-nc-warning)!important}
html body .mymex-notification-centre-summary [data-nc-count=open]{color:var(--mx-nc-open)!important}
html body .mymex-notification-centre-summary [data-nc-count=resolved]{color:var(--mx-nc-resolved)!important}
html body .mymex-notification-centre-categories button.is-active{background:#075b70!important;color:#fff!important}
html body .mymex-notification-centre-categories button>b,
html body .mymex-notification-centre-item-meta>span{background:var(--mx-nc-chip)!important;color:var(--mx-nc-chip-ink)!important;font-size:11px!important}

/* Notification Centre: controls on the left, messages on the right. */
html body dialog.mymex-notification-centre .mymex-notification-centre-header.mx-admin-heading{min-height:64px!important;padding:12px 16px!important;gap:10px!important;grid-template-columns:36px minmax(0,1fr) auto!important}
html body dialog.mymex-notification-centre .mymex-notification-centre-mark{width:36px;height:36px;border-radius:10px}
html body dialog.mymex-notification-centre .mymex-notification-centre-header h2{margin:2px 0!important;font-size:18px!important;line-height:1.25!important}
html body dialog.mymex-notification-centre .mymex-notification-centre-header-actions button{width:36px;height:36px;border-radius:10px}
html body dialog.mymex-notification-centre .mymex-notification-centre-body{display:grid!important;grid-template-columns:248px minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;gap:0;min-height:0;overflow:hidden}
html body .mymex-notification-centre .mx-nc-sidebar{min-width:0;min-height:0;overflow:auto;border-right:1px solid #cbdce8;background:#f4f8fb;padding:12px}
html[data-mymex-theme=dark] body .mymex-notification-centre .mx-nc-sidebar{border-color:#36546a;background:#0c2237}
html body .mymex-notification-centre .mx-nc-sidebar-controls{display:flex;flex-direction:column;gap:12px;min-width:0}
html body .mymex-notification-centre .mx-nc-content{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}
html body .mymex-notification-centre .mx-nc-content>.mymex-notification-centre-list{flex:1 1 0!important;min-height:0!important;overflow:auto!important;padding:14px!important}
html body .mymex-notification-centre .mx-nc-sidebar .mymex-notification-centre-summary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px;padding:0!important;background:transparent!important}
html body .mymex-notification-centre .mx-nc-sidebar .mymex-notification-centre-summary button{padding:9px 8px!important;min-height:40px;border-radius:9px}
html body .mymex-notification-centre .mx-nc-sidebar .mymex-notification-centre-summary small{font-size:10px;letter-spacing:0}
html body .mymex-notification-centre .mx-nc-sidebar .mymex-notification-centre-summary strong{font-size:17px}
html body .mymex-notification-centre .mx-nc-sidebar .mymex-notification-centre-categories{display:flex;flex-wrap:wrap;gap:6px;padding:0!important;margin:0!important;background:transparent!important}
html body .mymex-notification-centre .mx-nc-sidebar .mymex-notification-centre-tools{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px;padding:0!important;background:transparent!important;border:0}
html body .mymex-notification-centre .mx-nc-sidebar .mymex-notification-centre-tools :is(input,select){font-size:12px;height:38px}
html body .mymex-notification-centre .mx-nc-sidebar .mymex-notification-centre-bulk{display:flex;flex-wrap:wrap;gap:6px}
html body .mymex-notification-centre .mx-nc-help{border-top:1px solid #9bb7c933;padding-top:10px;font-size:12px}
html body .mymex-notification-centre .mx-nc-help>summary{cursor:pointer;font-size:12px;font-weight:600;min-height:32px;line-height:32px}
html body .mymex-notification-centre .mx-nc-help .mymex-notification-centre-guide{display:grid;grid-template-columns:1fr!important;padding:8px 0!important;background:transparent!important}
html body .mymex-notification-centre .mx-nc-help .mymex-notification-centre-device{margin:8px 0!important}
html body .mymex-notification-centre .mx-nc-help>[data-notification-centre-scope]{font-size:12px;line-height:1.5}
html body .mymex-notification-centre .mx-nc-filter-done{display:none}
@media(max-width:760px){
 html body .mymex-notification-centre .mx-nc-filter-done{display:block;min-height:40px;background:#075b70;color:#fff;border:0;border-radius:9px;font-size:12px;font-weight:600;flex-shrink:0}
 html[data-mymex-theme=dark] body .mymex-notification-centre .mx-nc-sidebar[open]>.mx-nc-sidebar-controls{background:#0c2237;border-color:#36546a}
 html body dialog.mymex-notification-centre .mymex-notification-centre-body{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important}
 html body .mymex-notification-centre .mx-nc-sidebar{border-right:0;border-bottom:1px solid #cbdce8;padding:8px 12px;overflow:visible;position:relative;z-index:3}
 html body .mymex-notification-centre .mx-nc-sidebar>summary{cursor:pointer;min-height:36px;font-size:12px;font-weight:600;line-height:36px}
 html body .mymex-notification-centre .mx-nc-sidebar[open]>.mx-nc-sidebar-controls{position:absolute;top:calc(100% - 1px);left:12px;right:12px;max-height:calc(100dvh - 140px);overflow:auto;padding:12px;background:#f4f8fb;border:1px solid #b7cedd;border-radius:0 0 12px 12px;box-shadow:0 14px 30px #061a2e40}
 html body .mymex-notification-centre .mx-nc-sidebar .mymex-notification-centre-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html body .mymex-notification-centre .mx-nc-sidebar .mymex-notification-centre-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body .mymex-notification-centre .mx-nc-sidebar .mymex-notification-centre-tools>label,
 html body .mymex-notification-centre .mx-nc-sidebar .mymex-notification-centre-tools>.mymex-notification-centre-bulk{grid-column:1/-1}
 html body .mymex-notification-centre .mx-nc-content>.mymex-notification-centre-list{padding:10px!important}
}

html body .mymex-notification-centre .mymex-notification-centre-loading>span{color:var(--mx-nc-chip-ink)!important;font-size:12px}
html body .mymex-account-profile-summary small{color:#405d73!important}
html[data-mymex-theme=light] body .mymex-account-gallery-preview small{color:#405d73!important}
html[data-mymex-theme=dark] body .mymex-account-gallery-preview small{color:#c5d9e8!important}
html body .mx-nc-sidebar>summary:focus-visible{outline:2px solid #07839b;outline-offset:2px;border-radius:6px}

/* Profile's Master gallery adds a manage link before Close: reserve a real action column. */
html body header.tenant-media-modal-header.mx-fullscreen-intelligence-header{grid-template-columns:40px minmax(0,1fr) 36px!important;align-items:center!important;gap:12px!important}
html body header.tenant-media-modal-header.mx-fullscreen-intelligence-header:has(>a.tenant-button){grid-template-columns:40px minmax(0,1fr) auto 36px!important}
html body header.tenant-media-modal-header.mx-fullscreen-intelligence-header>.mx-gallery-mark{grid-column:1;grid-row:1}
html body header.tenant-media-modal-header.mx-fullscreen-intelligence-header>div{grid-column:2;grid-row:1}
html body header.tenant-media-modal-header.mx-fullscreen-intelligence-header>a.tenant-button{grid-column:3;grid-row:1;min-width:0!important;width:auto!important;max-width:none!important;min-height:40px!important;height:40px!important;padding:8px 12px!important;white-space:nowrap!important;font-size:12px!important}
html body header.tenant-media-modal-header.mx-fullscreen-intelligence-header>.tenant-modal-close{position:static!important;grid-column:-2/-1;grid-row:1;margin:0!important;inset:auto!important;align-self:center;width:36px!important;height:36px!important;border-radius:10px!important}
@media(max-width:600px){
 html body header.tenant-media-modal-header.mx-fullscreen-intelligence-header,
 html body header.tenant-media-modal-header.mx-fullscreen-intelligence-header:has(>a.tenant-button){grid-template-columns:40px minmax(0,1fr) 36px!important}
 html body header.tenant-media-modal-header.mx-fullscreen-intelligence-header>a.tenant-button{grid-column:2;grid-row:2;justify-self:start;max-width:100%!important}
}

html[data-mymex-theme=light] body .mymex-notification-centre-item small{color:#405d73!important;font-size:11px!important}
html[data-mymex-theme=dark] body .mymex-notification-centre-item small{color:#b3c8d4!important;font-size:11px!important}

html body .mx-fullscreen-intelligence-header .mx-header-close{display:grid!important;place-items:center;box-sizing:border-box!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:0!important;border:1px solid var(--mx-heading-panel-line,#c4dbe9)!important;border-radius:10px!important;background:var(--mx-heading-panel,#fff)!important;color:var(--mx-heading-ink,#173449)!important;box-shadow:none!important}
html body .mx-fullscreen-intelligence-header .mx-header-close>svg{width:17px!important;height:17px!important;stroke-width:1.4!important;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}

html body .mymex-notification-centre-item-actions button.is-primary{background:#075b70!important;border-color:#075b70!important;color:#fff!important}
html body .mymex-notification-centre-item-actions button.is-primary>span{color:inherit!important}
html body .mymex-notification-centre-item-actions :is(button,button>span){font-size:12px!important;font-weight:500!important}
html body .mymex-notification-centre-item-actions button{min-height:36px!important}

/* Pair inbox empty-state copy with the current theme in every workspace. */
html body .mymex-notification-centre-empty h3{color:#173449!important}
html body .mymex-notification-centre-empty p{color:#405d73!important;font-size:12px;line-height:1.5}
html[data-mymex-theme=dark] body .mymex-notification-centre-empty h3{color:#edf6ff!important}
html[data-mymex-theme=dark] body .mymex-notification-centre-empty p{color:#c5d9e8!important}

/* Read status must not fade text, timestamps or actions. */
html body .mymex-notification-centre-item.is-read{opacity:1!important}
html body .mymex-notification-centre-item-copy>p{color:#405d73!important;font-size:12px;line-height:1.5}
html[data-mymex-theme=dark] body .mymex-notification-centre-item-copy>p{color:#c5d9e8!important}
html body .mymex-notification-centre-item-actions .is-danger{color:#9b2822!important}
html[data-mymex-theme=dark] body .mymex-notification-centre-item-actions .is-danger{color:#ffbbb6!important}

html body .tenant-launch-app-icon{position:relative;display:grid;place-items:center;overflow:hidden;background:#eff9fc;color:#075b70}
html[data-mymex-theme=dark] body .tenant-launch-app-icon{background:#123749;color:#99e7e5}
html body .tenant-launch-app-icon>svg{width:48px;height:48px;stroke-width:1.4}
html body .tenant-launch-app-icon>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1}
html body .tenant-launch-app-icon>img[hidden]{display:none!important}

html body .tenant-brand-mark[data-business-icon]{position:relative;display:grid;place-items:center;overflow:hidden;color:#fff}
html body .tenant-brand-mark[data-business-icon]>svg{width:26px;height:26px;stroke-width:1.4}
html body .tenant-brand-mark[data-business-icon]>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1}
html body .tenant-brand-mark[data-business-icon]>img[hidden]{display:none!important}

/* Keep business artwork fine-lined when the preview enlarges the 24px SVG. */
html body .tenant-launch-app-icon>svg{color:#28687d!important}
html[data-mymex-theme=dark] body .tenant-launch-app-icon>svg{color:#a9e3e8!important}
html body :is(.tenant-launch-app-icon,.tenant-brand-mark[data-business-icon])>svg path{vector-effect:non-scaling-stroke;stroke-width:1.25}

/* Email composing uses the same full-screen workspace frame as the other admin editors. */
html body dialog.tenant-campaign-editor[open]{inset:0!important;margin:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important;padding:0!important}
html body dialog.tenant-campaign-editor>.tenant-lead-tool-shell{height:100%!important;max-height:none!important;border-radius:0!important;overflow:hidden!important}
html body dialog.tenant-campaign-editor .tenant-campaign-editor-heading h2{font-size:20px!important;font-weight:600!important;line-height:1.25!important}
html body dialog.tenant-campaign-editor .tenant-campaign-editor-body{min-height:0;overscroll-behavior:contain}
html body dialog.tenant-campaign-editor :is(button,a).tenant-button svg{width:17px;height:17px;stroke-width:1.4}
@media(max-width:600px){html body dialog.tenant-campaign-editor .tenant-campaign-steps{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}html body dialog.tenant-campaign-editor .tenant-campaign-steps>button{flex:0 0 auto;white-space:nowrap;font-size:12px!important}html body dialog.tenant-campaign-editor .tenant-campaign-editor-heading{align-items:start!important}}

html body .tenant-campaign-editor .tenant-campaign-steps>button{background:var(--mx-heading-panel,#fff)!important;color:var(--mx-heading-ink,#173449)!important;border:1px solid var(--mx-heading-panel-line,#94b8cb)!important;font-size:13px!important;font-weight:500!important;opacity:1!important}
html body .tenant-campaign-editor .tenant-campaign-steps>button:is(.is-active,[aria-current=step]){background:#d9f6fa!important;color:#103d50!important;border-color:#309bb2!important}
html[data-mymex-theme=dark] body .tenant-campaign-editor .tenant-campaign-steps>button:is(.is-active,[aria-current=step]){background:#174b5c!important;color:#effbff!important;border-color:#55bbcc!important}
html body .tenant-campaign-editor .tenant-campaign-steps>button:disabled{color:var(--mx-heading-muted,#36566b)!important;opacity:.8!important}

/* Global public headings retain marketing scale; admin typography stays compact. */
.mx-global-ui-video{margin:24px 0;padding:20px;border:1px solid #94b8cb;border-radius:16px;background:#f4f8ff;color:#173449}
.mx-global-ui-video video{display:block;width:100%;height:auto;max-width:100%;border-radius:10px;margin-top:16px}
.mx-global-ui-video p{line-height:1.6;font-size:14px}
html[data-mymex-theme=dark] .mx-global-ui-video{background:#132e41;color:#e6f1fb;border-color:#3b5b70}
html body .mx-admin-heading .tenant-button-quiet{background:var(--mx-heading-panel,#fff)!important;color:#173449!important;border-color:var(--mx-heading-panel-line,#94b8cb)!important}
html[data-mymex-theme=dark] body .mx-admin-heading .tenant-button-quiet{color:#e6f1fb!important}
html body .mx-admin-heading .tenant-button:not(.tenant-button-primary){background:var(--mx-heading-panel,#fff)!important;color:#173449!important;border-color:var(--mx-heading-panel-line,#94b8cb)!important}
html[data-mymex-theme=dark] body .mx-admin-heading .tenant-button:not(.tenant-button-primary){color:#e6f1fb!important}
html body .mx-admin-heading .tenant-overview-pulse{background:var(--mx-heading-panel,#fff)!important;color:#173449!important;border:1px solid var(--mx-heading-panel-line,#94b8cb)}
html body .mx-admin-heading .tenant-overview-pulse :is(a,strong,small){color:inherit!important}
html[data-mymex-theme=dark] body .mx-admin-heading .tenant-overview-pulse{color:#e6f1fb!important}
/* Reuse established button geometry and theme tokens, without touching icon-only controls. */
html body :is(.mlp-cta,.mymex-site-cta,.mymex-site-button,.mymex-button,.tenant-form button[type=submit],dialog .tenant-button){box-sizing:border-box;min-height:44px;border-radius:10px;font-weight:400;line-height:1.35;white-space:normal;max-width:100%}
html body :is(.tenant-form,.mymex-contact-form,.mlp-contact-form,dialog form,.mx-global-public form) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=file]),select,textarea){box-sizing:border-box;max-width:100%;min-width:0;min-height:44px;border-radius:10px;font:inherit;font-size:16px;line-height:1.5}
html body :is(.tenant-form,.mymex-contact-form,.mlp-contact-form,dialog form,.mx-global-public form) :is(input,select,textarea):focus-visible,html body :is(.mlp-cta,.mymex-site-cta,dialog button):focus-visible{outline:2px solid var(--mx-heading-network,#087d88);outline-offset:3px}
html body :is(.mlp-cta,.mymex-site-cta,.tenant-form button[type=submit],dialog .tenant-button):disabled{cursor:not-allowed;filter:grayscale(1);box-shadow:none;transform:none}
html body dialog .mx-fullscreen-intelligence-header :is(h2,h3){color:var(--mx-heading-ink,#173449)!important;font-size:clamp(18px,2vw,22px)!important;font-weight:600!important;line-height:1.3!important}
html[data-mymex-theme=dark] body dialog .mx-fullscreen-intelligence-header :is(h2,h3){color:#e6f1fb!important}
html body dialog .mx-fullscreen-intelligence-header{min-width:0;gap:12px}
html body dialog .mx-fullscreen-intelligence-header>div{min-width:0;overflow-wrap:break-word}
@media(prefers-reduced-motion:reduce){html body .mx-admin-heading *,html body .mx-admin-heading::after{animation:none!important;transition:none!important;transform:none!important}}

html body #platform-story>.mx-global-ui-video{grid-column:1/-1;box-sizing:border-box;width:100%;max-width:100%}
html body #platform-story>.mx-global-ui-video figcaption{display:block;padding:0;border:0}
html body #platform-story>.mx-global-ui-video figcaption strong{display:block;font-size:18px;font-weight:600}
html body #platform-story>.mx-global-ui-video figcaption p{display:block;max-width:70ch;margin:8px 0;line-height:1.6}

/* Keep photography exposed. Intelligence is a transparent layer, never a content panel. */
html body .mx-public-intelligence-heading.mx-admin-heading{position:relative;isolation:isolate;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden;--mx-heading-network:#68edff;--mx-heading-ink:#fff;--mx-heading-muted:#dfedf7}
html body .mxp-hero.mx-public-intelligence-heading{padding:0!important}
html body .mx-public-intelligence-heading::after{background:none!important;animation:none!important;pointer-events:none}
html body .mx-public-intelligence-heading>.mx-admin-heading-art{display:none!important}
html body .mx-public-intelligence-heading :is(.mlp-hero-content,.mxa-hero-copy),html body .mlp-subpage-hero.mx-public-intelligence-heading>div{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;position:relative;z-index:3;color:#fff}
html body .mxp-hero.mx-public-intelligence-heading>.mlp-hero-content{box-sizing:border-box;padding:clamp(80px,12vh,130px) 5.5% 48px;max-width:660px;width:65%}
html body .mx-public-intelligence-heading[data-heading-styled="1"]:not(.mx-gallery-toolbar) h1{font-size:clamp(36px,4.1vw,58px)!important;font-weight:600!important;line-height:1.08!important;letter-spacing:-.035em!important;color:#fff!important;max-width:17ch;text-shadow:0 2px 22px #00152970}
html body .mx-public-intelligence-heading h1 :is(span,em){color:#79e5fa!important}
html body.mx-global-public .mx-public-intelligence-heading[data-heading-styled="1"] p{color:#e3edf6!important;font-size:15px!important;line-height:1.75!important;text-shadow:0 1px 8px #00152955}
html body .mx-public-intelligence-heading :is(.mlp-eyebrow,.mxp-eyebrow){color:#9cefff!important}
html body .mx-public-intelligence-heading .mlp-hero-content :is(a,button):not(.mlp-free-start){color:#fff!important}
html body .mx-public-intelligence-heading .mlp-hero-content .mlp-start-paid{background:#ffffff0e!important;border:1px solid #b2e5f47a!important}
html body .mxp-hero.mx-public-intelligence-heading>.mlp-hero-image{z-index:0!important}
html body .mxp-hero.mx-public-intelligence-heading>.mlp-hero-shade{z-index:1!important;background:linear-gradient(90deg,#03162be8 0%,#08233ab8 34%,#08233a22 67%,transparent 100%),linear-gradient(0deg,#04152666,transparent 50%)!important}
html body .mlp-subpage-hero.mx-public-intelligence-heading{padding:72px 5.5%!important}
html body .mlp-subpage-hero.mx-public-intelligence-heading>figure{z-index:0!important}
html body .mlp-subpage-hero.mx-public-intelligence-heading::after{z-index:1!important;background:linear-gradient(90deg,#03162be8,#08233ab8 38%,#08233a22 77%)!important}
html body .mx-public-intelligence-heading:not(:has(img))[data-heading-styled="1"]:not(.mx-gallery-toolbar) h1{color:#173449!important;text-shadow:none}
html body.mx-global-public .mx-public-intelligence-heading:not(:has(img))[data-heading-styled="1"] p{color:#405d73!important;text-shadow:none}
html[data-mymex-theme=dark] body .mx-public-intelligence-heading:not(:has(img))[data-heading-styled="1"]:not(.mx-gallery-toolbar) h1{color:#e6f1fb!important}
html[data-mymex-theme=dark] body.mx-global-public .mx-public-intelligence-heading:not(:has(img))[data-heading-styled="1"] p{color:#c5d9e8!important}

/* Rails carry bright moving signals; the nucleus has three independently moving rings. */
html body .mx-public-network.mx-admin-heading-network{position:absolute;inset:0;z-index:2!important;width:100%;height:100%;overflow:hidden;pointer-events:none;mask-image:none!important;opacity:1!important;color:#62eaff!important;border-radius:inherit}
html body .mx-public-network>svg{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;stroke:currentColor;stroke-width:1;overflow:visible}
html body .mx-public-network .mx-neural-tracks{stroke-width:1;opacity:.32}
html body .mx-public-network .mx-neural-signals{stroke-width:2.3;stroke-dasharray:36 390;stroke-linecap:round;filter:drop-shadow(0 0 5px #49d9ff);animation:mx-intelligence-stream 6s linear infinite}
html body .mx-public-network .mx-neural-signals path:nth-child(2n){stroke:#b7a2ff;stroke-dasharray:18 275;animation:mx-intelligence-stream 8s linear infinite reverse}
html body .mx-neural-core{position:absolute;right:12%;top:29%;width:clamp(160px,20vw,280px);aspect-ratio:1;display:grid;place-items:center;opacity:.85}
html body .mx-neural-core>i{position:absolute;inset:0;border:1px solid #84ecff99;border-radius:50%;border-top:2px solid #d3fbff;box-shadow:0 0 24px #38d9ff18,inset 0 0 18px #38d9ff10;animation:mx-intelligence-orbit 18s linear infinite}
html body .mx-neural-core>i:nth-child(2){inset:18%;border-color:#c7afff88;border-left:2px solid #ece0ff;animation-duration:13s;animation-direction:reverse}
html body .mx-neural-core>i:nth-child(3){inset:36%;border:1px dashed #88f1ffb0;animation-duration:24s}
html body .mx-neural-core>i::after{content:'';position:absolute;left:12%;top:12%;width:7px;height:7px;border-radius:50%;background:#d8fbff;box-shadow:0 0 14px #65ebff}
html body .mx-neural-core>b{width:12px;height:12px;border-radius:50%;background:#c5faff;box-shadow:0 0 10px #70e9ff,0 0 32px #35b9ff;animation:mx-intelligence-node 3.6s ease-in-out infinite}
@keyframes mx-intelligence-stream{to{stroke-dashoffset:-852}}
@keyframes mx-intelligence-node{0%,100%{opacity:.4;transform:scale(.8)}50%{opacity:1;transform:scale(1.2)}}
@keyframes mx-intelligence-orbit{to{transform:rotate(360deg)}}
html body :is(.mx-public-intelligence-heading,.mx-intelligence-section):not(.mx-motion-visible) .mx-public-network *{animation-play-state:paused!important}

/* Pale sections keep their content clear, with a connected network behind it. */
html body .mx-intelligence-section{position:relative;isolation:isolate}
html body .mx-intelligence-section article{position:relative}
html body .mx-intelligence-section::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 83% 25%,#58d9e71c,transparent 54%),radial-gradient(ellipse at 60% 85%,#aa85e914,transparent 48%)}
html body .mx-intelligence-section>.mx-public-network{z-index:-1!important;color:#127e9e!important;opacity:.85!important;mask-image:linear-gradient(90deg,transparent 18%,#000 76%)!important}
html body .mx-intelligence-section>.mx-public-network .mx-neural-tracks{opacity:.2}
html body .mx-intelligence-section>.mx-public-network .mx-neural-signals{opacity:.8;stroke-width:1.6;filter:none;animation-duration:12s}
html body .mx-intelligence-section>.mx-public-network .mx-neural-core{display:none}
html[data-mymex-theme=dark] body .mx-intelligence-section>.mx-public-network{color:#69dfe5!important}
html[data-mymex-theme=dark] body .mx-intelligence-section>.mx-public-network .mx-neural-tracks{opacity:.2}

@media(max-width:760px){
 html body .mxp-hero.mx-public-intelligence-heading>.mlp-hero-content{width:100%;max-width:570px;padding:150px 24px 35px}
 html body .mx-public-intelligence-heading[data-heading-styled="1"]:not(.mx-gallery-toolbar) h1{font-size:clamp(34px,7.5vw,44px)!important;max-width:17ch}
 html body .mxp-hero.mx-public-intelligence-heading>.mlp-hero-shade{background:linear-gradient(0deg,#041326eb 0%,#05203bb8 58%,#05203b33 100%)!important}
 html body .mx-public-intelligence-heading[data-heading-styled="1"] p{font-size:13px!important}
 html body .mx-neural-core{right:7%;top:5%;width:140px;opacity:.75}
 html body .mx-public-intelligence-heading>.mx-public-network>svg{opacity:.65}
 html body .mlp-subpage-hero.mx-public-intelligence-heading{padding:110px 24px 48px!important}
 html body .mx-intelligence-section>.mx-public-network{opacity:.6!important}
}
@media(prefers-reduced-motion:reduce){html body .mx-public-network *,html body .mx-public-network *::after{animation:none!important;transition:none!important;transform:none!important}html body .mx-public-network .mx-neural-signals{stroke-dasharray:none;opacity:.18}html body .mx-neural-core{opacity:.5}}

html body .mx-public-network>.mx-neural-point{position:absolute;width:6px;height:6px;border-radius:50%;border:1px solid #8befff;background:#c5faff;box-shadow:0 0 9px #6deaff;animation:mx-intelligence-node 3.6s ease-in-out infinite}
html body .mx-public-network>.mx-neural-point:nth-of-type(3n){animation-delay:-1.2s;background:#e4d9ff;border-color:#e4d9ff}
html body .mx-public-network>.mx-neural-point:nth-of-type(3n+1){animation-delay:-2.4s}
html body .mx-intelligence-section>.mx-public-network>.mx-neural-point{width:4px;height:4px;border-color:#3e9eb2;background:#b8e7ef;box-shadow:none;opacity:.5}

/* Workspace and form/modal headers share the same motion, scaled for compact surfaces. */
html body .mx-interface-network.mx-public-network.mx-admin-heading-network{z-index:-1!important;color:#187f98!important;mask-image:linear-gradient(90deg,transparent 20%,#000 78%)!important;opacity:.9!important}
html body .mx-interface-network .mx-neural-tracks{opacity:.2;stroke-width:1}
html body .mx-interface-network .mx-neural-signals{opacity:.8;stroke-width:1.7;filter:none;animation-duration:9s}
html body .mx-interface-network>.mx-neural-point{width:4px;height:4px;background:#d5f9fb;border-color:#3d9cb1;box-shadow:0 0 6px #4bbec333}
html body .mx-admin-heading:not(.mx-motion-visible)>.mx-interface-network *{animation-play-state:paused!important}
html body dialog.mx-intelligence-dialog{isolation:isolate}
html body dialog.mx-intelligence-dialog:not(.mx-motion-visible)>.mx-interface-network *{animation-play-state:paused!important}
html body dialog.mx-intelligence-dialog>.mx-interface-network{opacity:.5!important}
html body dialog.mx-intelligence-dialog .mx-header-close{display:grid;place-items:center;box-sizing:border-box;width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border-radius:10px;border:1px solid #94b8cb;background:#fff;color:#173449}
html body dialog.mx-intelligence-dialog .mx-header-close>svg{width:17px;height:17px;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
html[data-mymex-theme=dark] body dialog.mx-intelligence-dialog .mx-header-close{background:#132e41;color:#e6f1fb;border-color:#3b5b70}
html[data-mymex-theme=dark] body .mx-interface-network.mx-public-network.mx-admin-heading-network{color:#69e5e3!important}
html[data-mymex-theme=dark] body .mx-interface-network .mx-neural-tracks{opacity:.3}
html[data-mymex-theme=dark] body .mx-interface-network>.mx-neural-point{background:#bbfaff;border-color:#68d5d8}
@media(prefers-reduced-motion:reduce){html body .mx-interface-network *{animation:none!important;transition:none!important;transform:none!important}}
