:root{--site-nav-height:72px}
.global-header{position:sticky;top:0;z-index:300;height:var(--site-nav-height);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 clamp(18px,3vw,40px);border-bottom:1px solid rgba(228,231,236,.9);background:#fff;box-shadow:0 1px 3px rgba(16,24,40,.04);backdrop-filter:none;contain:layout paint style}
.global-brand{display:flex;align-items:center;gap:12px;color:#101828;text-decoration:none;font-size:17px;font-weight:720;letter-spacing:-.02em;white-space:nowrap}
.global-brand-logo{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;background:linear-gradient(145deg,#3b82f6,#1d4ed8);color:#fff;font-size:19px;font-weight:800;box-shadow:0 7px 16px rgba(37,99,235,.22)}
.global-brand:hover{color:#2563eb}
.global-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}
.global-header-note{padding:7px 11px;border:1px solid #bbf7d0;border-radius:999px;background:#f0fdf4;color:#15803d;font-size:11px;font-weight:650;white-space:nowrap}
.global-account{min-height:44px;display:flex;align-items:center;gap:10px;padding:4px 13px 4px 5px;border:1px solid #e4e7ec;border-radius:999px;background:#fff;color:#101828;text-decoration:none;text-align:left;box-shadow:0 1px 2px rgba(16,24,40,.05);cursor:pointer}
.global-account:hover{border-color:#bfdbfe;background:#eff6ff;transform:translateY(-1px)}
.global-avatar{position:relative;width:36px;height:36px;display:grid;place-items:center;flex:0 0 auto;overflow:hidden;border-radius:50%;background:linear-gradient(145deg,#3b82f6,#1d4ed8);color:#fff;font-size:13px;font-weight:750;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}
.global-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.global-account-copy{min-width:0;display:flex;flex-direction:column;line-height:1.15}
.global-account-name{max-width:160px;overflow:hidden;color:#101828;font-size:13px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}
.global-account-role{max-width:160px;margin-top:3px;overflow:hidden;color:#98a2b3;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.global-header--workspace{display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr)}
@media(max-width:720px){:root{--site-nav-height:64px}.global-header{padding:0 14px}.global-brand{gap:9px;font-size:15px}.global-brand-logo{width:36px;height:36px;border-radius:11px;font-size:18px}.global-header-note{display:none}.global-account{min-height:40px;padding:3px}.global-avatar{width:34px;height:34px}.global-account-copy{display:none}.global-header--workspace{height:auto;min-height:64px;grid-template-columns:1fr auto;padding:10px 12px}}

/* Shared page identity; business toolbars remain in their own pages. */
.global-header-identity{display:flex;align-items:center;gap:20px;min-width:0;flex:1}
.global-page-title{border-left:1px solid #dce4ef;padding-left:20px;color:#475467;font-size:15px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.global-header.global-header,.global-header.site-nav{box-sizing:border-box;flex-shrink:0;min-height:var(--site-nav-height);height:var(--site-nav-height);padding:0 clamp(18px,3vw,40px);gap:20px}
.global-header a.global-brand{color:#101828;text-decoration:none}
.global-header .global-brand-logo{color:white}
.global-header .global-account{font-weight:400}
.global-nav-link{color:#475467;text-decoration:none;font-size:14px;white-space:nowrap}
.classification-entry{display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;border:1px solid #cfdbec;border-radius:9px;background:#fff;color:#233b60;padding:9px 14px;font:inherit;text-decoration:none;white-space:nowrap;cursor:pointer}
.classification-entry:visited{color:#233b60}
.classification-entry:hover{border-color:#3470ed;color:#1859df;background:#f5f9ff}
.classification-entry:focus-visible,.global-header a:focus-visible{outline:3px solid #83acff;outline-offset:3px}
.tabs:has(.classification-entry){flex-wrap:wrap}
.formula-category-head .classification-entry{padding:6px 8px;font-size:12px}
@media(max-width:720px){.global-header.global-header,.global-header.site-nav{padding:0 14px;gap:10px}.global-header-identity{gap:10px}.global-page-title{font-size:13px;padding-left:10px}.global-header-identity .global-brand{font-size:14px}.global-header-identity .site-brand{font-size:14px}.global-header-identity .global-brand-logo{width:30px;height:30px}.classification-entry{white-space:normal}.global-header-actions{gap:8px}}

/* Explicit business links; document content keeps its own link presentation. */
.business-data-link{display:inline-block;padding:4px 8px;border:1px solid #cfdbec;
  border-radius:6px;background:#f5f9ff;color:#245ac2;text-decoration:none;
  overflow-wrap:anywhere;max-width:100%;box-sizing:border-box}
.business-data-link:visited{color:#245ac2}
.business-data-link:hover{background:#e8f0ff;border-color:#83acff;color:#1747a6}
.business-data-link:focus-visible{outline:3px solid #83acff;outline-offset:3px}
.global-nav-link:hover{color:#1859df;background:#f5f9ff;border-radius:6px}
.hero-cache-action{padding:4px 9px;border:1px solid #ffffff66;border-radius:6px;
  background:#ffffff14;color:#fff;font:inherit;font-size:11px;cursor:pointer}
.hero-cache-action:hover{background:#ffffff30}
.hero-cache-action:focus-visible{outline:2px solid #fff;outline-offset:3px}
