/* 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:var(--c-080f19-a961);border:0;border-bottom:1px solid var(--c-263248);border-radius:0;box-shadow:none;color:var(--c-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:var(--c-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 var(--c-56e8fa);border-radius:13px;box-shadow:0 0 16px var(--c-56e8fa-a125);background:var(--c-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:var(--c-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 var(--c-56e8fa-a467);border-radius:7px;background:var(--c-0c1c2b);color:var(--c-63e9fb);font:600 12px/1 system-ui,sans-serif;text-decoration:none;white-space:nowrap;box-shadow:0 0 10px var(--c-56e8fa-a051);cursor:pointer;text-transform:none;letter-spacing:0}.monster-header a.mh-products:hover,.monster-header .mh-logout button:hover{background:var(--c-12364a);color:var(--c-ffffff);border-color:var(--c-63e9fb);box-shadow:0 0 14px var(--c-56e8fa-a149)}.monster-header a:focus-visible,.monster-header button:focus-visible{outline:2px solid var(--c-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{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:var(--c-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{color:var(--c-60e8fa);border-bottom-color:var(--c-60e8fa);background:transparent;text-shadow:none}.monster-header .mh-nav [data-guest-trial]{border:1px solid var(--c-56e8fa-a467);border-radius:6px;padding:7px 10px;color:var(--c-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 var(--c-56e8fa);border-radius:50%;background:var(--c-091522);color:var(--c-63e9fb);text-decoration:none;overflow:hidden;box-shadow:0 0 12px var(--c-56e8fa-a078)}.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:var(--c-63e9fb);font-weight:650}.monster-header time.mh-clock{display:block!important;color:var(--c-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:var(--c-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. */
@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 var(--c-ff526b);border-radius:7px;background:var(--c-3a101e);color:var(--c-ff91a2);font:600 12px/1 system-ui,sans-serif;box-shadow:0 0 12px var(--c-ff4055-a102);cursor:pointer}.monster-header .mh-exit-company button:hover{background:var(--c-65162b);color:var(--c-ffffff);box-shadow:0 0 14px var(--c-ff4055-a251)}

/* 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 var(--c-ff526b)!important;border-radius:5px!important;background:var(--c-3a101e)!important;color:var(--c-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 var(--c-ff4055-a102)!important}
header.monster-header .mh-exit-company button:hover{background:var(--c-65162b)!important;color:var(--c-ffffff)!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 var(--c-67dbf2)!important;border-radius:7px!important;background:linear-gradient(110deg,var(--c-5de8f6),var(--c-9c9fff))!important;color:var(--c-071624)!important;font-size:12px!important;font-weight:650!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}}
