/* MonsterLabs.Ai header contract: company / products / navigation / account. */
header.monster-header{box-sizing:border-box;position:relative;display:grid!important;grid-template-columns:minmax(280px,auto) minmax(0,1fr) auto!important;align-items:center;gap:16px!important;min-height:78px;height:auto;max-height:none;padding:12px clamp(14px,3vw,56px)!important;overflow:visible!important;background:#080f19f5;border:0;border-bottom:1px solid #263248;border-radius:0;box-shadow:none;color:#f4f6ff;font:14px/1.3 system-ui,-apple-system,Segoe UI,sans-serif}
.monster-header *{box-sizing:border-box}.monster-header .mh-brand-group{display:flex;align-items:center;gap:22px;min-width:0;grid-column:1;grid-row:1}.monster-header .mh-brand{display:flex;align-items:center;gap:12px;min-width:0;color:#f4f6ff;text-decoration:none;flex:0 1 auto}.monster-header .mh-logo-box{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border:1px solid #56e8fa;border-radius:13px;box-shadow:0 0 16px #56e8fa20;background:#091522;overflow:hidden}.monster-header .mh-logo{width:42px;height:42px;object-fit:contain}.monster-header .mh-brand-copy{display:block;min-width:0;max-width:260px}.monster-header .mh-company-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:20px;font-weight:750;letter-spacing:-.4px}.monster-header .mh-brand-copy small{display:block;margin-top:4px;color:#56e8fa;font-size:9px;font-weight:700;letter-spacing:2.4px;white-space:nowrap}
.monster-header a.mh-products,.monster-header .mh-logout button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:auto;min-width:0;min-height:34px;height:34px;margin:0;padding:7px 13px;border:1px solid #56e8fa77;border-radius:7px;background:#0c1c2b;color:#63e9fb;font:600 12px/1 system-ui,sans-serif;text-decoration:none;white-space:nowrap;box-shadow:0 0 10px #56e8fa0d;cursor:pointer;text-transform:none;letter-spacing:0}.monster-header a.mh-products:hover,.monster-header .mh-logout button:hover{background:#12364a;color:#fff;border-color:#63e9fb;box-shadow:0 0 14px #56e8fa26}.monster-header a:focus-visible,.monster-header button:focus-visible{outline:2px solid #63e9fb;outline-offset:3px}
.monster-header nav.mh-nav{display:flex!important;align-items:center;justify-content:center;align-self:center;gap:18px;min-width:0;flex-wrap:wrap;grid-column:2!important;grid-row:1!important}.monster-header .mh-nav a,.monster-header .mh-nav .header-button{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:0;min-height:30px;height:auto;margin:0;padding:5px 0;border:0;border-bottom:2px solid transparent;background:transparent;box-shadow:none;color:#aab7cc;font:500 13px/1.25 system-ui,sans-serif;text-transform:none;letter-spacing:0;text-decoration:none;white-space:nowrap;cursor:pointer}.monster-header .mh-nav a:hover,.monster-header .mh-nav .header-button:hover,.monster-header .mh-nav .header-button.active{color:#60e8fa;border-bottom-color:#60e8fa;background:transparent;text-shadow:none}.monster-header .mh-nav [data-guest-trial]{border:1px solid #56e8fa77;border-radius:6px;padding:7px 10px;color:#63e9fb}.monster-header [hidden]{display:none!important}
.monster-header .mh-account{display:flex!important;align-items:center;justify-content:flex-end;gap:12px;min-width:0;white-space:nowrap;grid-column:3!important;grid-row:1!important}.monster-header .mh-avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;height:42px;padding:0;border:1px solid #56e8fa;border-radius:50%;background:#091522;color:#63e9fb;text-decoration:none;overflow:hidden;box-shadow:0 0 12px #56e8fa14}.monster-header .mh-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.monster-header .mh-avatar svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.monster-header .mh-greeting{display:flex;flex-direction:column;gap:5px;font-size:12px;line-height:1.2}.monster-header .mh-greeting strong{color:#63e9fb;font-weight:650}.monster-header time.mh-clock{display:block!important;color:#aab7cc;font-size:10px;line-height:1.2;white-space:nowrap}.monster-header .mh-logout{display:block;width:auto;margin:0;padding:0}.monster-header .mh-god{position:absolute;top:0;left:50%;transform:translateX(-50%);color:#ffe45c;font-size:10px}.monster-header .monster-account-frame{display:block;width:270px;height:54px;max-width:none;border:0;background:transparent;flex-shrink:0}
/* Native Dispatch has a fixed viewport grid: let the full header occupy its row. */
.dashboard{grid-template-rows:minmax(78px,auto) minmax(0,56fr) minmax(0,38fr)}.resizable-dashboard{grid-template-rows:minmax(78px,auto) minmax(160px,56fr) 12px minmax(120px,38fr)}.dashboard>header.monster-header{padding:9px 16px!important;border:1px solid #56e8fa66;border-radius:6px}
@media(max-width:1350px){header.monster-header{grid-template-columns:minmax(0,1fr) auto!important;row-gap:8px!important}.monster-header nav.mh-nav{grid-column:1/-1!important;grid-row:2!important;justify-content:center;gap:18px}.monster-header .mh-account{grid-column:2!important;grid-row:1!important}.monster-header .mh-company-name{font-size:18px}}
@media(max-width:700px){header.monster-header{padding:10px 12px!important;column-gap:10px!important}.monster-header .mh-brand-group{gap:10px}.monster-header .mh-logo-box{width:38px;height:38px;flex-basis:38px;border-radius:10px}.monster-header .mh-logo{width:33px;height:33px}.monster-header .mh-brand{gap:8px}.monster-header .mh-brand-copy{max-width:135px}.monster-header .mh-company-name{font-size:15px}.monster-header .mh-brand-copy small{font-size:7px;letter-spacing:1px}.monster-header a.mh-products{padding:6px 8px;font-size:10px}.monster-header .mh-account{gap:8px}.monster-header .mh-avatar{width:32px;height:32px}.monster-header .mh-greeting{font-size:11px}.monster-header .mh-logout button{padding:6px 8px;font-size:10px}.monster-header .monster-account-frame{width:240px}.monster-header nav.mh-nav{overflow-x:auto;flex-wrap:wrap;gap:12px}.monster-header time.mh-clock{font-size:9px}}
@media(max-width:520px){header.monster-header{grid-template-columns:minmax(0,1fr)!important}.monster-header .mh-brand-group{grid-column:1;justify-content:space-between}.monster-header .mh-brand-copy{max-width:220px}.monster-header .mh-account{grid-column:1!important;grid-row:2!important;justify-content:flex-end}.monster-header nav.mh-nav{grid-row:3!important}.monster-header .mh-god{display:block;left:auto;right:8px;top:0;transform:none;font-size:8px}}

.monster-header .mh-brand-group{flex-wrap:wrap}.monster-header .mh-exit-company{margin:0;padding:0;width:auto}.monster-header .mh-exit-company button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;width:auto;margin:0;padding:7px 12px;border:1px solid #ff526b;border-radius:7px;background:#3a101e;color:#ff91a2;font:600 12px/1 system-ui,sans-serif;box-shadow:0 0 12px #ff40551a;cursor:pointer}.monster-header .mh-exit-company button:hover{background:#65162b;color:#fff;box-shadow:0 0 14px #ff405540}

/* Shared header finish: resist product-specific button and font rules. */
header.monster-header,header.monster-header *{font-family:system-ui,-apple-system,Segoe UI,sans-serif!important}
header.monster-header .mh-exit-company{display:inline-flex!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important}
header.monster-header .mh-exit-company button{width:auto!important;min-width:0!important;max-width:none!important;height:25px!important;min-height:25px!important;padding:4px 8px!important;border:1px solid #ff526b!important;border-radius:5px!important;background:#3a101e!important;color:#ff91a2!important;font-size:10px!important;line-height:1!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;box-shadow:0 0 8px #ff40551a!important}
header.monster-header .mh-exit-company button:hover{background:#65162b!important;color:#fff!important}
header.monster-header .mh-logout button{width:auto!important;min-width:0!important;min-height:34px!important;height:34px!important;padding:7px 13px!important;border:1px solid #67dbf2!important;border-radius:7px!important;background:linear-gradient(110deg,#5de8f6,#9c9fff)!important;color:#071624!important;font-size:12px!important;font-weight:650!important;box-shadow:none!important}
.dashboard>header.monster-header{padding:12px 16px!important;border:0!important;border-bottom:1px solid #263248!important;border-radius:0!important;background:#080f19f5!important;box-shadow:none!important}

/* Paired company controls share exact dimensions. */
header.monster-header .mh-brand-group>a.mh-products,header.monster-header .mh-exit-company button{box-sizing:border-box!important;width:108px!important;min-width:108px!important;max-width:108px!important;height:34px!important;min-height:34px!important;padding:7px 10px!important;border-radius:7px!important;font:600 12px/1 system-ui,-apple-system,Segoe UI,sans-serif!important;letter-spacing:0!important}
@media(max-width:700px){header.monster-header .mh-brand-group>a.mh-products,header.monster-header .mh-exit-company button{width:90px!important;min-width:90px!important;max-width:90px!important;height:32px!important;min-height:32px!important;padding:6px 8px!important;font-size:10px!important}}
