/* Zive suite (Nov 20, Rajesh: "make them look the same ... a similar experience"): the zSign look for LP Roster, KYC & AML,
   LP Onboarding and Data Room, over the shared Zive shell (layout T). One dark Zive bar (Zive | product, product switcher,
   Firm), a white side menu, zSign blue #0C41E1, Inter with Space Grotesk headings. Only applies under html[data-zsk]. */
html[data-zsk] {
  --zs-font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --zs-primary: #0c41e1; --zs-primary-hover: #0a33b0; --zs-ink-btn: #0c41e1; --zs-ring: 0 0 0 3px rgba(12, 65, 225, .25);
  --ink-btn: #0c41e1; --ink-btn-h: #0a33b0; --p: #0c41e1; --ph: #0a33b0; --primary: #0c41e1; --primary-h: #0a33b0;
  --brand: #0c41e1; --brand-2: #0a33b0; --pri: #0c41e1; --pri-2: #0a33b0; --pri-h: #0a33b0; --link: #0c41e1;
  --zsk-dark: #101014; --zsk-dark-2: #26262c; --zsk-line: #3f3f46;
}
html[data-zsk][data-zs-layout=T]:not([data-zs-ctx]) { --zs-top-h: 56px !important; }
html[data-zsk][data-zs-layout=T][data-zs-ctx] { --zs-top-h: 108px !important; }
html[data-zsk] body { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important; }
html[data-zsk] body :is(h1, h2, h3):not(.zs-top *):not(.zs-side *) { font-family: "Space Grotesk", Inter, system-ui, sans-serif !important; letter-spacing: -.01em; }

/* one bar: the product tabs strip goes, its job moves to the product switcher */
html[data-zsk] .zs-strip { display: none !important; }
html[data-zsk] .zs-top { top: 0 !important; height: 56px !important; background: var(--zsk-dark) !important; border-bottom: 1px solid var(--zsk-dark) !important; color: #fff !important; padding: 0 20px !important; }
html[data-zsk] .zs-top .zs-word, html[data-zsk] .zs-top .zs-divider { display: none !important; }
.zsk-brand { display: flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none !important; white-space: nowrap; margin-right: 6px; font-family: Inter, system-ui, sans-serif; }
.zsk-brand .zsk-mark { width: 24px; height: 24px; border-radius: 6px; background: #0c41e1; display: grid; place-items: center; font: 700 13px/1 Inter, sans-serif; color: #fff; }
.zsk-brand .zsk-z { font: 700 16px/1 Inter, sans-serif; letter-spacing: -.02em; }
.zsk-brand .zsk-prod { font: 600 15px/1 Inter, sans-serif; padding-left: 12px; border-left: 1px solid var(--zsk-line, #3f3f46); }
.zsk-sel { display: inline-flex; align-items: center; gap: 6px; background: var(--zsk-dark-2, #26262c); border: 1px solid var(--zsk-line, #3f3f46); color: #fff; border-radius: 6px; padding: 0 10px; height: 32px; font: 500 13px Inter, sans-serif; cursor: pointer; white-space: nowrap; }
.zsk-sel span { color: #a1a1aa; }
.zsk-sel:hover { border-color: #71717a; }
.zsk-sel svg { width: 14px; height: 14px; color: #a1a1aa; }
.zsk-menu { position: fixed; z-index: 2147483000; min-width: 280px; background: #fff; border: 1px solid #e4e4e7; border-radius: 10px; box-shadow: 0 12px 32px rgba(16, 16, 20, .18); padding: 6px; font: 14px Inter, sans-serif; color: #1d1d20; }
.zsk-menu[hidden] { display: none; }
.zsk-menu .zsk-mh { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #71717a; padding: 8px 10px 4px; }
.zsk-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; color: #1d1d20 !important; text-decoration: none !important; min-height: 40px; }
.zsk-menu a:hover, .zsk-menu a:focus-visible { background: #f4f4f5; outline: none; }
.zsk-menu a[aria-current] { background: #eef2ff; color: #0c41e1 !important; font-weight: 600; }
.zsk-menu a i { width: 28px; height: 28px; border-radius: 7px; flex: none; display: grid; place-items: center; font: 700 11px/1 Inter, sans-serif; font-style: normal; color: #fff; background: #0c41e1; }
.zsk-menu a b { display: block; font-weight: 600; }
.zsk-menu a small { display: block; color: #5f5f68; font-size: 12.5px; line-height: 1.35; }
html[data-zsk] .zs-top .zs-firm { min-height: 32px !important; height: 32px !important; padding: 0 10px 0 4px !important; border: 1px solid var(--zsk-line) !important; border-radius: 6px !important; background: var(--zsk-dark-2) !important; color: #fff !important; }
html[data-zsk] .zs-top .zs-firm:hover { border-color: #71717a !important; }
html[data-zsk] .zs-top .zs-av { width: 22px !important; height: 22px !important; border-radius: 5px !important; background: #3f3f46 !important; color: #fff !important; font-size: 10px !important; }
html[data-zsk] .zs-top .zs-firm-t { flex-direction: row !important; align-items: baseline !important; gap: 6px !important; display: flex !important; }
html[data-zsk] .zs-top .zs-firm-t::before { content: "Firm" !important; color: #a1a1aa !important; font-size: 13px !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; }
html[data-zsk] .zs-top .zs-firm-n { color: #fff !important; font-size: 13px !important; font-weight: 500 !important; }
html[data-zsk] .zs-top .zs-search { height: 34px !important; width: 300px !important; background: var(--zsk-dark-2) !important; border: 1px solid var(--zsk-line) !important; border-radius: 6px !important; color: #a1a1aa !important; }
html[data-zsk] .zs-top .zs-ask { height: 34px !important; background: transparent !important; border: 1px solid var(--zsk-line) !important; border-radius: 6px !important; color: #fff !important; box-shadow: none !important; }
html[data-zsk] .zs-top .zs-ask:hover, html[data-zsk] .zs-top .zs-search:hover { border-color: #71717a !important; }
html[data-zsk] .zs-top .zs-bell, html[data-zsk] .zs-top .zs-bellb, html[data-zsk] .zs-top .zs-burger { color: #d4d4d8 !important; }
html[data-zsk] .zs-top .zs-me-av { background: #eef2ff !important; color: #0c41e1 !important; }

/* the context row (product, fund, page) sits under the bar, white and slimmer */
html[data-zsk][data-zs-ctx] .zs-ctx { top: 56px !important; height: 52px !important; background: #fff !important; border-bottom: 1px solid #e4e4e7 !important; }
html[data-zsk] .zs-ctx .zs-ent { min-height: 38px !important; border-radius: 6px !important; }

/* white side menu, blue when on */
html[data-zsk] .zs-side { --zs-side-bg: #fff; --zs-side-line: #e4e4e7; --zs-side-hover: #f4f4f5; --zs-side-text: #3f3f46; --zs-side-muted: #71717a; --zs-text: #1d1d20; --zs-muted: #71717a;
  background: #fff !important; border-right: 1px solid #e4e4e7 !important; color: #3f3f46 !important; }
html[data-zsk] .zs-side .zs-item { color: #3f3f46 !important; border-radius: 6px !important; font-weight: 500 !important; }
html[data-zsk] .zs-side .zs-item:hover { background: #f4f4f5 !important; color: #1d1d20 !important; }
html[data-zsk] .zs-side .zs-item .zs-ic { color: #71717a !important; }
html[data-zsk] .zs-side .zs-item[aria-current=page] { background: #eef2ff !important; color: #0c41e1 !important; box-shadow: none !important; font-weight: 600 !important; }
html[data-zsk] .zs-side .zs-item[aria-current=page]::before { display: none !important; }
html[data-zsk] .zs-side .zs-item[aria-current=page] .zs-ic { color: #0c41e1 !important; }
html[data-zsk] .zs-side .zs-kids, html[data-zsk] .zs-side .zs-sub { border-left-color: #e4e4e7 !important; }
html[data-zsk] .zs-side .zs-side-lbl, html[data-zsk] .zs-side .zs-gh { color: #71717a !important; }
html[data-zsk] .zs-side .zs-toggle, html[data-zsk] .zs-side .zs-ctl { color: #3f3f46 !important; background: #fff !important; border-color: #e4e4e7 !important; }
html[data-zsk] .zs-side .zs-twist { color: #71717a !important; }
html[data-zsk] .zs-side .zs-me { background: #fafafb !important; border: 1px solid #e4e4e7 !important; color: #1d1d20 !important; }
html[data-zsk] .zs-side .zs-me * { color: inherit; }
html[data-zsk] .zs-side .zs-me .zs-me-av { background: #eef2ff !important; color: #0c41e1 !important; }
html[data-zsk] .zs-side .zs-n, html[data-zsk] .zs-side .zs-count { background: #f4f4f5 !important; color: #3f3f46 !important; }

/* the page itself: zSign canvas */
html[data-zsk] body { background: #fafafb; }

/* phones: the bar keeps the brand, the switcher and the menu button */
@media (max-width: 900px) {
  html[data-zsk] .zs-top { padding: 0 10px !important; }
  html[data-zsk] .zs-top .zs-search, html[data-zsk] .zs-top .zs-ask, html[data-zsk] .zs-top .zs-firm { display: none !important; }
  .zsk-brand .zsk-z { display: none; }
  .zsk-brand .zsk-prod { border-left: 0; padding-left: 0; }
}

/* the old Home's Users & roles is not on this site (KYC and Data Room have their own) */
html[data-zsk] #zs-side li:has(> a.zs-item[href="/#/users"]), html[data-zsk] #zs-side a.zs-item[href="/#/users"] { display: none !important; }
/* phones: the shell hides the context row, so the page starts right under the bar */
@media (max-width: 900px) { html[data-zsk][data-zs-layout=T][data-zs-ctx], html[data-zsk][data-zs-layout=T]:not([data-zs-ctx]) { --zs-top-h: 56px !important; } }
