/* Inter, served from this site (one file for every weight) instead of Google Fonts: no extra
   connections before text can draw. The second file only downloads if a page uses accented
   letters outside Western European. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-wght.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Fonts for the VIN Decoder, Charging Utility and LES plate (downloaded only on pages that use them) */
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Tinos"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/tinos-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Arimo"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/arimo-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Arimo"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/arimo-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Garden State Blue site shell. Tool pages bring their own styles; the shell
   is scoped to #gsb-header / #gsb-main / #gsb-footer so they don't collide. */
:root {
  --gsb-bg: #151515;
  --gsb-link: #3d8bff;   /* logo blue, lightened so text links stay readable on the dark background */
  --gsb-link-hover: #6aa6ff;
  --gsb-blue: #0066e2;
  --gsb-head: #C3C3C3;  /* headings: soft grey, easier on the eyes at night */
  --gsb-text: #aaa;
  --gsb-font: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
}
html { background: var(--gsb-bg); }
body.gsb {
  margin: 0;
  background: var(--gsb-bg);
  color: var(--gsb-text);
  font-family: var(--gsb-font);
  font-size: 15.7px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- header ---------- */
#gsb-header {
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 4vw;
  border-bottom: 1px solid #262b33;
  font-family: var(--gsb-font);
  font-size: 15px;
  line-height: 1.4;
  background: var(--gsb-bg);
}
#gsb-header .gsb-brand { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; color: var(--gsb-head); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: .01em; }
#gsb-header .gsb-brand img { height: 32px; width: auto; display: block; }
#gsb-header nav { flex: 1; display: flex; }
#gsb-header nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
#gsb-header li { position: relative; margin: 0; padding: 0; }
#gsb-header nav > ul > li > a,
#gsb-header nav > ul > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  color: #e4e7ec; font: inherit; font-weight: 500; text-decoration: none;
  background: none; border: 0; border-radius: 6px; padding: 8px 12px; cursor: pointer;
}
#gsb-header .has-sub > button::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-2px) rotate(45deg); opacity: .75; }
#gsb-header .has-sub.open > button::after { transform: translateY(1px) rotate(-135deg); }
#gsb-header nav > ul > li > a:hover,
#gsb-header nav > ul > li > button:hover,
#gsb-header nav > ul > li.active > a,
#gsb-header nav > ul > li.active > button,
#gsb-header .has-sub.open > button { background: #1d2530; color: #fff; }

#gsb-header .gsb-drop {
  display: none; position: absolute; left: 0; top: 100%; margin-top: 8px;
  background: #1a1d22; border: 1px solid #2f3540; border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
}
#gsb-header .gsb-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
#gsb-header .has-sub.open > .gsb-drop { display: block; }
@media (hover: hover) and (min-width: 768px) {
  #gsb-header .has-sub:hover > .gsb-drop { display: block; }
}
#gsb-header .gsb-mega { width: min(900px, 92vw); padding: 24px 28px 18px; }
#gsb-header .gsb-mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
#gsb-header .gsb-mega-head { font-size: 13px; font-weight: 600; color: #a3abb7; margin-bottom: 8px; }
#gsb-header .gsb-mega a { display: block; padding: 8px 10px; margin: 0 -10px 2px; border-radius: 6px; text-decoration: none; color: #e4e7ec; }
#gsb-header .gsb-mega a b { display: block; font-weight: 600; font-size: 15px; }
#gsb-header .gsb-mega a span { display: block; font-size: 13px; color: #a3abb7; margin-top: 1px; }
#gsb-header .gsb-mega a:hover, #gsb-header .gsb-mega a[aria-current] { background: #232a34; color: #fff; }
#gsb-header .gsb-mega-note { display: flex; align-items: center; gap: 7px; border-top: 1px solid #2a2f37; margin: 16px 0 0; padding-top: 12px; font-size: 13px; font-weight: 600; color: #a3abb7; }
#gsb-header .gsb-mega-note svg { color: var(--gsb-link); flex: 0 0 auto; }
#gsb-header .gsb-depts { min-width: 250px; padding: 8px; }
#gsb-header .gsb-dept { display: flex; align-items: center; border-radius: 6px; }
#gsb-header .gsb-dept:hover { background: #232a34; }
#gsb-header .gsb-dept a { flex: 1; padding: 9px 12px; color: #e4e7ec; text-decoration: none; font-weight: 500; }
#gsb-header .gsb-dept a.gsb-dept-map { flex: 0 0 auto; color: var(--gsb-link); font-size: 13px; font-weight: 600; }
#gsb-header .gsb-dept a:hover { color: #fff; }
#gsb-header .gsb-dept a.gsb-dept-map:hover { color: var(--gsb-link-hover); }

#gsb-header .gsb-search {
  position: relative; flex: 0 1 260px; display: flex; align-items: center; gap: 8px;
  background: #1a1d22; border: 1px solid #2c323b; border-radius: 8px; padding: 0 12px; height: 38px; color: #9aa3b0;
}
#gsb-header .gsb-search:focus-within { border-color: var(--gsb-link); }
#gsb-header .gsb-search input { flex: 1; min-width: 0; background: none; border: 0; color: #eef1f5; font: inherit; font-size: 14px; outline: none; }
#gsb-header .gsb-search input::placeholder { color: #8b94a1; }
#gsb-header #gsb-q-results {
  position: absolute; right: 0; top: calc(100% + 8px); width: max(100%, 320px); list-style: none; margin: 0; padding: 6px;
  background: #1a1d22; border: 1px solid #2f3540; border-radius: 10px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
}
#gsb-header #gsb-q-results a { display: block; padding: 8px 10px; border-radius: 6px; text-decoration: none; color: #e4e7ec; }
#gsb-header #gsb-q-results a span { display: block; font-size: 12.5px; color: #a3abb7; }
#gsb-header #gsb-q-results li[aria-selected="true"] a, #gsb-header #gsb-q-results a:hover { background: #232a34; color: #fff; }
#gsb-header #gsb-q-results .none { padding: 8px 10px; color: #a3abb7; font-size: 14px; }

#gsb-header .gsb-menu-toggle {
  display: none; margin-left: auto; color: #e4e7ec; background: none;
  border: 1px solid #3a414c; border-radius: 6px; padding: 6px 12px; font: inherit; cursor: pointer;
}

@media (max-width: 1000px) {
  #gsb-header .gsb-search { flex-basis: 190px; }
}
@media (max-width: 767px) {
  #gsb-header { flex-wrap: wrap; gap: 12px; }
  #gsb-header .gsb-menu-toggle { display: block; }
  #gsb-header nav, #gsb-header .gsb-search { display: none; flex-basis: 100%; }
  #gsb-header.menu-open nav { display: block; }
  #gsb-header.menu-open .gsb-search { display: flex; order: 5; }
  #gsb-header nav > ul { flex-direction: column; align-items: stretch; }
  #gsb-header nav > ul > li > a, #gsb-header nav > ul > li > button { width: 100%; box-sizing: border-box; justify-content: space-between; }
  #gsb-header .gsb-drop { position: static; width: auto; margin: 4px 0 8px; box-shadow: none; }
  #gsb-header .gsb-mega { padding: 14px 16px; }
  #gsb-header .gsb-mega-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (max-width: 480px) {
  #gsb-header .gsb-mega-grid { grid-template-columns: 1fr; }
}

/* ---------- content ---------- */
#gsb-main { flex: 1; padding: 40px 0 72px; }
#gsb-main .band {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  column-gap: 0;
  max-width: 1500px;
  margin: 0 auto 28px;
  padding: 0 4vw;
}
#gsb-main .col { grid-column: var(--c1) / var(--c2); min-width: 0; padding: 0 10px; }
body.page-tool #gsb-main .band:has(.blk-code) .col { grid-column: 1 / -1; }
/* a lone code block (e.g. the MDT quick-setup links) gets the full width */
#gsb-main .band > .col:only-child:has(> .blk-code:only-child) { grid-column: 1 / -1; }
@media (max-width: 767px) {
  #gsb-main .col { grid-column: 1 / -1; margin-bottom: 20px; }
}
#gsb-main .blk + .blk { margin-top: 18px; }

#gsb-main .blk-text h1,
#gsb-main .blk-text h2,
#gsb-main .blk-text h3,
#gsb-main .blk-text h4 {
  color: var(--gsb-head);
  font-family: var(--gsb-font);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
#gsb-main .blk-text h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
#gsb-main .blk-text h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
#gsb-main .blk-text h3 { font-size: clamp(1.5rem, 2.6vw, 2.45rem); }
#gsb-main .blk-text h4 { font-size: 1.35rem; }
#gsb-main .blk-text p,
#gsb-main .blk-text li { color: var(--gsb-text); margin: 0; line-height: 1.5; }
#gsb-main .blk-text p + p { margin-top: .2em; }
/* Squarespace uses empty paragraphs as blank lines */
#gsb-main .blk-text p:empty::before { content: "\00a0"; }
#gsb-main .blk-text h1 + p, #gsb-main .blk-text h2 + p,
#gsb-main .blk-text h3 + p, #gsb-main .blk-text h4 + p { margin-top: .3em; }
#gsb-main .blk-text ul,
#gsb-main .blk-text ol { padding-left: 1.3em; }
#gsb-main .blk-text a,
#gsb-main .blk-acc a {
  color: var(--gsb-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}
#gsb-main .blk-text a:hover, #gsb-main .blk-acc a:hover, #gsb-main .gsb-auth-alt a:hover { color: var(--gsb-link-hover); }
#gsb-main .blk-img img { max-width: 100%; height: auto; display: block; margin: 0 auto; border-radius: 4px; }

#gsb-main .btn,
#gsb-main button.btn {
  display: inline-block;
  background: var(--gsb-blue);
  color: #fff;
  font-family: var(--gsb-font);
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 4px;
  border: 0;
  text-decoration: none;
  cursor: pointer;
}
#gsb-main .btn:hover { filter: brightness(1.15); }

/* accordions (from Squarespace accordion blocks) */
#gsb-main .blk-acc details { border-bottom: 1px solid #2f3540; }
#gsb-main .blk-acc summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 32px 14px 0;
  position: relative;
  color: #ddd;
  font-weight: 500;
  font-size: 1.05rem;
}
#gsb-main .blk-acc summary::-webkit-details-marker { display: none; }
#gsb-main .blk-acc summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 10px;
  font-size: 1.4rem;
  color: var(--gsb-link);
}
#gsb-main .blk-acc details[open] summary::after { content: "–"; }
#gsb-main .acc-body { padding: 0 0 16px; color: var(--gsb-text); }
#gsb-main .acc-body p { margin: 0 0 .6em; }
#gsb-main .acc-body ul { padding-left: 1.3em; }

/* contact form */
#gsb-main .blk-form form { display: grid; gap: 14px; max-width: 560px; margin: 0 auto; }
#gsb-main .blk-form label { display: grid; gap: 6px; color: #ccc; font-weight: 500; }
#gsb-main .blk-form input,
#gsb-main .blk-form textarea {
  background: #1a1d22;
  border: 1px solid #353c47;
  border-radius: 8px;
  color: #eee;
  font: inherit;
  padding: 10px 12px;
}
#gsb-main .blk-form input:focus,
#gsb-main .blk-form textarea:focus { outline: none; border-color: var(--gsb-link); box-shadow: 0 0 0 3px rgba(61, 139, 255, .28); }
#gsb-main .blk-form .hp { position: absolute; left: -9999px; }
#gsb-main .blk-form button { justify-self: start; }

/* Squarespace tooltip tags used on the town pages */
#gsb-main tooltip { cursor: help; color: #777; }

/* ---------- home page: blue background, dark type, no header logo ---------- */

/* ---------- sign-in ---------- */
#gsb-header #gsb-account { flex: 0 0 auto; min-width: 40px; display: flex; justify-content: flex-end; align-items: center; }
#gsb-header .gsb-signin-link {
  color: var(--gsb-link);
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(61, 139, 255, .6);
  border-radius: 4px;
  padding: 5px 12px;
  white-space: nowrap;
}
#gsb-header .gsb-signin-link:hover { background: rgba(61, 139, 255, .12); }
@media (max-width: 767px) {
  #gsb-header #gsb-account { order: 2; }
  #gsb-header .gsb-menu-toggle { order: 3; margin-left: 0; }
  #gsb-header .gsb-brand { margin-right: auto; }
  #gsb-header nav { order: 4; }
}
#gsb-main .gsb-auth { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
#gsb-main .gsb-auth > h1 { color: var(--gsb-head); font-weight: 500; font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
#gsb-main .gsb-auth-note { max-width: 520px; margin: 0 0 8px; color: var(--gsb-text); }
#gsb-main .gsb-auth-alt { color: var(--gsb-text); margin: 6px 0 0; }
#gsb-main .gsb-auth-alt a { color: var(--gsb-link); }
#gsb-main .gsb-auth-status { color: #ff6a5c; }
#gsb-main .gsb-auth-status[hidden] { display: none; }
/* "New to Garden State Blue? Request access", right under the sign-in box, for first-time visitors. */
#gsb-main .gsb-auth-request { box-sizing: border-box; width: 100%; max-width: 400px; margin: -4px 0 0; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 12px; padding: 12px 14px 12px 18px; border: 1px solid #2c4a72; border-radius: 10px; background: #13233a; color: #dbe6f5; font-weight: 600; text-align: left; }
#gsb-main .gsb-auth-request a { display: inline-block; padding: 8px 16px; border-radius: 6px; background: #0066e2; color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
#gsb-main .gsb-auth-request a:hover { background: #1a78f0; }
@media (max-width: 520px) { #gsb-main .gsb-auth-request { flex-direction: column; justify-content: center; text-align: center; padding: 14px 16px; } }
#gsb-main #gsb-sign-in, #gsb-main #gsb-waitlist { min-height: 380px; }
/* The space is only held while the box loads, so nothing below it jumps; once it's there it takes its own height. */
#gsb-main #gsb-sign-in:has(.cl-cardBox), #gsb-main #gsb-sign-in:has(.cl-cardBox) .cl-rootBox { min-height: 0; }

/* ---------- footer ---------- */
#gsb-footer { display: none; }

/* ---------- card layout: department pages and LES ---------- */
#gsb-main .gsb-page { max-width: 1180px; margin: 0 auto; padding: 0 4vw; box-sizing: content-box; color: #eef1f5; }
body.page-dept #gsb-main, body.page-les #gsb-main { padding-top: 28px; }
#gsb-main .gsb-page h1, #gsb-main .gsb-page h2 { color: var(--gsb-head); font-family: var(--gsb-font); }
#gsb-main .gsb-page h1 { margin: 0; font-size: clamp(2.1rem, 4.5vw, 2.75rem); line-height: 1.05; letter-spacing: -.02em; font-weight: 700; }
#gsb-main .gsb-h1 { margin-bottom: 24px !important; }
#gsb-main .gsb-page h2 { margin: 0 0 10px; font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
#gsb-main .gsb-crumbs { font-size: 14px; color: #a3abb7; margin-bottom: 8px; }
#gsb-main .gsb-titlebar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 20px; flex-wrap: wrap; margin-bottom: 24px; }
#gsb-main .gsb-seg { display: flex; background: #1a1d22; border: 1px solid #2a2f37; border-radius: 9px; padding: 4px; }
#gsb-main .gsb-seg a { color: #e4e7ec; padding: 7px 18px; border-radius: 6px; font-weight: 600; font-size: 14px; text-decoration: none; }
#gsb-main .gsb-seg a[aria-current] { background: var(--gsb-blue); color: #fff; }
#gsb-main .gsb-seg a:not([aria-current]):hover { background: #232a34; }

#gsb-main .gsb-card { background: #1a1d22; border: 1px solid #2a2f37; border-radius: 12px; padding: 18px 22px; min-width: 0; }
#gsb-main .gsb-card-sm p { margin: 0; font-size: 14px; color: #a3abb7; line-height: 1.45; }
#gsb-main .gsb-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
#gsb-main .gsb-card-head h2 { margin: 0; }
#gsb-main .gsb-lock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #a3abb7; }
#gsb-main .gsb-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
#gsb-main .gsb-span2 { grid-column: span 2; }
#gsb-main .gsb-stack { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
#gsb-main .gsb-list { display: flex; flex-direction: column; }
#gsb-main .gsb-list-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
#gsb-main .gsb-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid #262b32; color: var(--gsb-link); text-decoration: none; font-size: 15px; line-height: 1.35; }
#gsb-main .gsb-list a:hover { color: var(--gsb-link-hover); }
#gsb-main .gsb-list a span { color: #a3abb7; font-size: 13px; white-space: nowrap; }
#gsb-main .gsb-list > a:last-child { border-bottom: 0; }
#gsb-main .gsb-list-2 > a:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
#gsb-main .gsb-sub { font-size: 13px; font-weight: 600; color: #a3abb7; margin: 10px 0 0; }
#gsb-main .gsb-note { margin: 6px 0 0; font-size: 13px; color: #a3abb7; }
#gsb-main .gsb-more { display: inline-block; margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--gsb-link); text-decoration: none; }
#gsb-main .gsb-more:hover { color: var(--gsb-link-hover); }

#gsb-main .gsb-mdt { position: relative; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; max-width: 100%; margin-top: 18px; background: #1a1d22; border: 1px solid #2a2f37; border-radius: 10px; padding: 7px 8px 7px 14px; }
#gsb-main .gsb-mdt-text { display: flex; align-items: center; gap: 8px; }
#gsb-main .gsb-mdt h2 { margin: 0; font-size: .95rem; font-weight: 600; }
#gsb-main .gsb-mdt-help { width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid #6b7380; background: none; color: #a3abb7; font: 700 11px/1 var(--gsb-font); padding: 0; cursor: pointer; }
#gsb-main .gsb-mdt-help:hover, #gsb-main .gsb-mdt-help[aria-expanded="true"] { border-color: var(--gsb-link); color: var(--gsb-link); }
#gsb-main .gsb-mdt-btn { background: var(--gsb-blue); color: #fff; border: 0; padding: 6px 14px; border-radius: 7px; font: 600 14px var(--gsb-font); cursor: pointer; }
#gsb-main .gsb-mdt-btn:hover { filter: brightness(1.1); }
#gsb-main .gsb-mdt-info { flex-basis: 100%; max-width: 520px; font-size: 13.5px; color: #a3abb7; line-height: 1.5; padding: 2px 0 4px; }

/* agency pages: Favorites tiles and grouped restricted links */
#gsb-main .gsb-favs { margin-bottom: 22px; }
#gsb-main .gsb-favs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
#gsb-main .gsb-favs-head h2 { margin: 0; }
#gsb-main .gsb-fav-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
#gsb-main .gsb-fav { display: block; background: #1a1d22; border: 1px solid #2a2f37; border-top: 3px solid var(--gsb-blue); border-radius: 10px; padding: 13px 16px; text-decoration: none; }
#gsb-main .gsb-fav:hover { background: #20242a; }
#gsb-main .gsb-fav b { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--gsb-link); font-size: 16px; font-weight: 700; }
#gsb-main .gsb-fav b svg { flex: 0 0 auto; }
#gsb-main .gsb-fav > span { display: block; margin-top: 4px; font-size: 13px; color: #a3abb7; }
#gsb-main .gsb-groups { columns: 2; column-gap: 28px; margin-top: 8px; }
#gsb-main .gsb-group { break-inside: avoid; margin-bottom: 14px; }
#gsb-main .gsb-group .gsb-sub { margin: 0 0 2px; }

#gsb-main .gsb-wordmark img { display: block; height: clamp(34px, 5vw, 56px); width: auto; max-width: 100%; }

/* link icons (downloaded at build time by scripts/fetch-favicons.mjs; letter tile if missing) */
#gsb-main .gsb-groups .gsb-list a { justify-content: flex-start; align-items: center; gap: 10px; }
#gsb-main .gsb-groups .gsb-list a > span:last-child { color: inherit; font-size: inherit; white-space: normal; }
#gsb-main .gsb-ico { flex: 0 0 16px; width: 16px; height: 16px; border-radius: 4px; overflow: hidden; display: inline-flex; }
#gsb-main .gsb-ico img { width: 16px; height: 16px; display: block; }
#gsb-main .gsb-ico.light { background: #eef0f3; }
#gsb-main .gsb-ico.light img { width: 12px; height: 12px; margin: 2px; }
#gsb-main .gsb-ico.miss img { display: none; }
#gsb-main .gsb-ico.miss::before { content: attr(data-l); width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--gsb-blue); color: var(--gsb-ico-fg, #fff); font: 700 10px/1 var(--gsb-font); }
#gsb-main .gsb-fav-name { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
body.page-riverdale #gsb-main { --gsb-ico-fg: #151515; }

/* LES */
#gsb-main .gsb-les-warn { background: #4a1717; border-bottom: 1px solid #6b2424; margin: -28px 0 28px; padding: 11px 4vw; }
#gsb-main .gsb-les-warn > div { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 10px; font-size: 14px; color: #ffd9d6; line-height: 1.4; }
#gsb-main .gsb-les-warn svg { flex: 0 0 auto; color: #ffb3ad; }
#gsb-main .gsb-tags { display: flex; gap: 24px 28px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; padding: 24px; }
#gsb-main .gsb-tags-info { flex: 1 1 220px; }
#gsb-main .gsb-tags-info h2 { color: #a3abb7; }
#gsb-main .gsb-tags-info p { margin: 0; font-size: 14px; color: #a3abb7; line-height: 1.6; }
#gsb-main .gsb-tags-row { display: flex; gap: 18px; flex-wrap: wrap; }
#gsb-main .gsb-notices { margin-top: 24px; border: 1px dashed #343b46; border-radius: 12px; padding: 16px 22px; }
#gsb-main .gsb-notices h2 { font-size: 1rem; margin: 0 0 2px; }
#gsb-main .gsb-notices p { margin: 0; font-size: 14px; color: #a3abb7; }

#gsb-main .gsb-tag-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
#gsb-main .gsb-tag-links .gsb-more { margin-top: 0; }
#gsb-main .gsb-btn-sm { display: inline-block; background: var(--gsb-blue); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 7px; }
#gsb-main .gsb-btn-sm:hover { filter: brightness(1.12); }
#gsb-main .gsb-back { display: inline-block; margin-bottom: 14px; font-size: 14px; color: var(--gsb-link); text-decoration: none; }
#gsb-main .gsb-bulletin { max-width: 760px; padding: 26px 30px 30px; color: #d6dae0; font-size: 16px; line-height: 1.6; }
#gsb-main .gsb-bulletin h1 { margin: 2px 0 18px; font-size: 2rem; }
#gsb-main .gsb-bulletin h2 { margin: 26px 0 8px; font-size: 1.2rem; }
#gsb-main .gsb-bulletin p { margin: 0 0 12px; }
#gsb-main .gsb-bulletin a { color: var(--gsb-link); }
#gsb-main .gsb-bulletin-meta { font-size: 13.5px; color: #a3abb7; margin: 0 !important; }
#gsb-main .gsb-bulletin blockquote { margin: 4px 0 14px; padding: 12px 16px; border-left: 3px solid var(--gsb-blue); background: #15181c; border-radius: 0 8px 8px 0; color: #c6cbd2; font-size: 15px; }
#gsb-main .gsb-email { white-space: pre-line; }
#gsb-main .gsb-email p, #gsb-main .gsb-email blockquote { white-space: normal; }
#gsb-main .gsb-seq { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
#gsb-main .gsb-seq div { background: #15181c; border: 1px solid #2a2f37; border-radius: 10px; padding: 10px 16px; min-width: 160px; }
#gsb-main .gsb-seq span { display: block; font-size: 13px; color: #a3abb7; }
#gsb-main .gsb-seq b { font-size: 26px; letter-spacing: .02em; color: #eef1f5; }

/* NJ temp tag, styled after the NJMVC printout (seals left as plain rings) */
.njtag { position: relative; width: 360px; max-width: 100%; box-sizing: border-box; background: #f7f7f4; color: #000; border-radius: 3px; box-shadow: 0 10px 24px rgba(0,0,0,.35); padding: 10px 14px 12px; font-family: Arimo, Arial, Helvetica, sans-serif; font-weight: 700; container-type: inline-size; }
.njtag-top { display: flex; align-items: center; justify-content: space-between; }
.njtag-state { font-family: Tinos, "Times New Roman", Times, serif; font-weight: 700; font-size: 38px; line-height: 1; letter-spacing: -.005em; }
.njtag-hole { width: 11px; height: 11px; border-radius: 50%; background: #1a1d22; margin: 0 8px; }
.njtag-seal { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #8a8a84; box-shadow: inset 0 0 0 4px #f7f7f4, inset 0 0 0 5px #b5b5ae; box-sizing: border-box; }
.njtag-num { font-size: 84px; line-height: .88; letter-spacing: -.02em; text-align: center; margin-top: 2px; }
.njtag-exp { font-size: 29px; line-height: 1.1; margin: 8px 0 0 34px; }
.njtag-kind { font-size: 11.5px; margin: 2px 0 0 38px; }
.njtag-issued { font-weight: 400; font-size: 9px; color: #222; margin-top: 6px; }
.njtag-badge { position: absolute; top: 0; right: 10px; transform: translateY(-50%); background: var(--gsb-blue); color: #fff; font: 700 11px var(--gsb-font); padding: 3px 8px; border-radius: 4px; }
.njtag[data-kind="Non-Resident"] .njtag-badge { background: #6b7280; }
@container (max-width: 340px) {
  .njtag-state { font-size: 10.5cqi; } .njtag-num { font-size: 23.5cqi; } .njtag-exp { font-size: 8cqi; margin-left: 9cqi; } .njtag-kind { font-size: 3.4cqi; margin-left: 10cqi; }
  .njtag-seal { width: 9cqi; height: 9cqi; }
}

@media (max-width: 900px) {
  #gsb-main .gsb-grid3 { grid-template-columns: 1fr 1fr; }
  #gsb-main .gsb-span2 { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  #gsb-main .gsb-fav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  #gsb-main .gsb-groups { columns: 1; }
  #gsb-main .gsb-grid3, #gsb-main .gsb-list-2 { grid-template-columns: 1fr; }
  #gsb-main .gsb-list-2 > a:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid #262b32; }
  #gsb-main .gsb-tags-row, #gsb-main .njtag { width: 100%; }
}

/* Riverdale resources keeps its original gold accent */
body.page-riverdale #gsb-main { --gsb-link: #f6c34d; --gsb-link-hover: #ffd97f; --gsb-blue: #f6c34d; }
body.page-riverdale #gsb-main .gsb-seg a[aria-current] { color: #151515; }
body.page-riverdale #gsb-main .gsb-mdt-btn { color: #151515; }

/* Kinnelon: green accent. #165135 for solid fills; a lighter shade of it for link text so it stays readable on the dark background */
body.page-kinnelon #gsb-main { --gsb-link: #5bbe8f; --gsb-link-hover: #7fd2aa; --gsb-blue: #165135; }

/* access request form (/waitlist/) */
#gsb-main .gsb-request { display: grid; gap: 14px; width: 100%; max-width: 560px; text-align: left; }
#gsb-main .gsb-request-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { #gsb-main .gsb-request-row { grid-template-columns: 1fr; } }
#gsb-main .gsb-request label,
#gsb-main .gsb-admin-dialog label { display: grid; gap: 6px; color: #ccc; font-weight: 500; }
#gsb-main .gsb-request .opt,
#gsb-main .gsb-admin-dialog .opt { color: #8d97a3; font-weight: 400; font-size: .9em; }
#gsb-main .gsb-request input, #gsb-main .gsb-request textarea, #gsb-main .gsb-request select,
#gsb-main .gsb-admin input, #gsb-main .gsb-admin select, #gsb-main .gsb-admin textarea {
  background: #1a1d22; border: 1px solid #353c47; border-radius: 8px; color: #eee; font: inherit; padding: 10px 12px;
}
#gsb-main .gsb-request input:focus, #gsb-main .gsb-request textarea:focus, #gsb-main .gsb-request select:focus,
#gsb-main .gsb-admin input:focus, #gsb-main .gsb-admin select:focus, #gsb-main .gsb-admin textarea:focus { outline: none; border-color: var(--gsb-link); box-shadow: 0 0 0 3px rgba(61, 139, 255, .28); }
#gsb-main .gsb-request .hp { position: absolute; left: -9999px; }
#gsb-main .gsb-request button { justify-self: start; }
#gsb-main .gsb-request button:disabled { opacity: .6; cursor: wait; }
#gsb-main .gsb-request .gsb-auth-status { margin: 0; }
#gsb-main .gsb-auth-status a { color: var(--gsb-link); }
#gsb-main .gsb-request-done { max-width: 520px; }
#gsb-main .gsb-request-done h2 { color: var(--gsb-head); font-weight: 500; margin: 0 0 8px; }

/* admin: user directory (/admin/users/) */
#gsb-main .gsb-admin { width: 100%; max-width: 1400px; margin: 0 auto; }
#gsb-main .gsb-admin h1 { color: var(--gsb-head); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 4px; }
#gsb-main .gsb-admin-sub { margin: 0 0 18px; }
#gsb-main .gsb-admin-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
#gsb-main .gsb-admin-bar input[type="search"] { flex: 1 1 260px; }
#gsb-main .gsb-admin-bar .btn { padding: 10px 16px; }
#gsb-main .btn.btn-quiet { background: #2a2f37; color: #ddd; }
#gsb-main .btn.btn-danger { background: #8a2c24; }
#gsb-main .gsb-admin-count { color: #8d97a3; font-size: .9rem; margin-left: auto; }
#gsb-main .gsb-admin-wrap { overflow-x: auto; border: 1px solid #2a2f37; border-radius: 6px; }
#gsb-main .gsb-admin table { width: 100%; border-collapse: collapse; font-size: .92rem; }
#gsb-main .gsb-admin th, #gsb-main .gsb-admin td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #262b32; white-space: nowrap; }
#gsb-main .gsb-admin td.wrap { white-space: normal; min-width: 160px; }
#gsb-main .gsb-admin th { background: #1a1d22; color: #bbb; font-weight: 600; cursor: pointer; user-select: none; position: sticky; top: 0; }
#gsb-main .gsb-admin th[aria-sort="ascending"]::after { content: " ▲"; font-size: .7em; }
#gsb-main .gsb-admin th[aria-sort="descending"]::after { content: " ▼"; font-size: .7em; }
#gsb-main .gsb-admin th.nosort { cursor: default; }
#gsb-main .gsb-admin tbody tr:hover { background: #1e232a; }
#gsb-main .gsb-admin td { color: #ddd; }
#gsb-main .gsb-admin td .muted { color: #8d97a3; }
#gsb-main .gsb-admin td a { color: var(--gsb-link); }
#gsb-main .gsb-admin .tag { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: .8rem; font-weight: 600; background: #2a2f37; color: #ccc; }
#gsb-main .gsb-admin .tag-Active { background: #143d26; color: #7ee2a8; }
#gsb-main .gsb-admin .tag-Pending { background: #3d3214; color: #f6c34d; }
#gsb-main .gsb-admin .tag-Approved, #gsb-main .gsb-admin .tag-Invited { background: #13304f; color: #8bbcff; }
#gsb-main .gsb-admin .tag-Rejected, #gsb-main .gsb-admin .tag-Banned { background: #4a1b17; color: #ff9b91; }
#gsb-main .gsb-admin .linkish { background: none; border: 0; color: var(--gsb-link); font: inherit; cursor: pointer; padding: 0; }
#gsb-main .gsb-admin-msg { padding: 24px; text-align: center; color: #aaa; }
#gsb-main .gsb-admin-msg a, #gsb-main .gsb-admin-msg a:visited { color: var(--gsb-link); }
#gsb-main .gsb-admin-msg.err { color: #ff6a5c; }
#gsb-main .gsb-admin-dialog { background: #1b1e24; color: #ddd; border: 1px solid #353c47; border-radius: 8px; padding: 22px; width: min(560px, 92vw); }
#gsb-main .gsb-admin-dialog::backdrop { background: rgba(0, 0, 0, .6); }
#gsb-main .gsb-admin-dialog form { display: grid; gap: 12px; }
#gsb-main .gsb-admin-dialog h2 { margin: 0 0 4px; color: var(--gsb-head); font-weight: 500; font-size: 1.3rem; }
#gsb-main .gsb-admin-dialog .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#gsb-main .gsb-admin-dialog .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
#gsb-main .gsb-admin-dialog .actions .btn-danger { margin-right: auto; }
#gsb-main .gsb-request[hidden], #gsb-main .gsb-request-done[hidden], #gsb-main .gsb-auth-note[hidden] { display: none; }
#gsb-main .gsb-request-row { align-items: end; }
#gsb-main .gsb-admin-wrap { color-scheme: dark; }

/* "Sign in by text" reminder (auth.js) */
#gsb-main .gsb-nudge { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; max-width: 1100px; margin: -16px auto 28px; padding: 12px 16px; background: #13243a; border: 1px solid #22426b; border-radius: 6px; color: #cfd8e3; font-size: .95rem; }
#gsb-main .gsb-nudge b { color: #fff; font-weight: 600; }
#gsb-main .gsb-nudge-actions { display: flex; align-items: center; gap: 14px; }
#gsb-main .gsb-nudge .btn { padding: 8px 14px; font-size: .9rem; }
#gsb-main .gsb-nudge-later { background: none; border: 0; color: #9fb0c4; font: inherit; cursor: pointer; padding: 0; }
#gsb-main .gsb-nudge-later:hover { color: #fff; }
@media (max-width: 760px) { #gsb-main .gsb-nudge { margin: -16px 12px 24px; } }

/* Admin link beside the account button (admin account only, see auth.js) */
#gsb-header #gsb-account { gap: 12px; }
#gsb-header .gsb-admin-link { color: #cfd6df; font-size: 14px; font-weight: 600; text-decoration: none; padding: 5px 10px; border-radius: 4px; background: rgba(255, 255, 255, .06); white-space: nowrap; }
#gsb-header .gsb-admin-link:hover, #gsb-header .gsb-admin-link[aria-current="page"] { color: #fff; background: rgba(61, 139, 255, .22); }

/* Idle sign-out warning (auth.js) */
#gsb-idle { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .65); padding: 20px; font-family: var(--gsb-font); }
#gsb-idle .gsb-idle-card { background: #1b1e24; border: 1px solid #353c47; border-radius: 8px; padding: 24px 26px; max-width: 380px; text-align: center; color: #ccc; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
#gsb-idle h2 { margin: 0 0 8px; color: var(--gsb-head); font-weight: 500; font-size: 1.4rem; }
#gsb-idle p { margin: 0 0 18px; line-height: 1.5; }
#gsb-idle b { color: #fff; }
#gsb-idle button { background: var(--gsb-blue); color: #fff; border: 0; border-radius: 4px; padding: 11px 22px; font: 600 15px var(--gsb-font); cursor: pointer; }
#gsb-idle button:hover { filter: brightness(1.15); }
#gsb-main .gsb-nudge a { color: #8bbcff; }
#gsb-main .gsb-request input::placeholder, #gsb-main .gsb-request textarea::placeholder { color: #7d8693; opacity: 1; }
#gsb-main .gsb-admin .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
#gsb-main .gsb-admin .dot-on { background: #3fd07f; box-shadow: 0 0 0 3px rgba(63, 208, 127, .18); }
#gsb-main .gsb-admin .dot-idle { background: #8bbcff; }

/* Sign in with your phone: sign-in page (phone-login.js) */
#gsb-main .gsb-phone-login { width: 100%; max-width: 560px; margin: 0 auto; text-align: center; }
#gsb-main .gsb-phone-start { display: inline-flex; align-items: center; gap: 8px; background: #1a1d22; color: #ddd; border: 1px solid #353c47; border-radius: 6px; padding: 10px 16px; font: 600 15px var(--gsb-font); cursor: pointer; }
#gsb-main .gsb-phone-start:hover { border-color: #3d8bff; color: #fff; }
#gsb-main .gsb-phone-start svg { width: 18px; height: 18px; }
#gsb-main .gsb-phone-panel { display: flex; gap: 22px; align-items: center; text-align: left; background: #1a1d22; border: 1px solid #2f3540; border-radius: 10px; padding: 20px; }
#gsb-main .gsb-phone-panel[hidden], #gsb-main .gsb-phone-start[hidden], #gsb-main .gsb-phone-login[hidden] { display: none; }
#gsb-main .gsb-phone-qr { flex: 0 0 190px; width: 190px; height: 190px; background: #fff; border-radius: 8px; padding: 8px; box-sizing: border-box; }
#gsb-main .gsb-phone-qr svg { display: block; width: 100%; height: 100%; }
#gsb-main .gsb-phone-qr.is-expired { opacity: .15; }
#gsb-main .gsb-phone-steps h2 { margin: 0 0 8px; color: var(--gsb-head); font-weight: 500; font-size: 1.25rem; }
#gsb-main .gsb-phone-steps ol { margin: 0 0 10px; padding-left: 20px; color: #bbb; line-height: 1.5; font-size: .95rem; }
#gsb-main .gsb-phone-steps li { margin-bottom: 6px; }
#gsb-main .gsb-phone-code { display: inline-block; font-size: 1.6rem; color: #fff; background: #0066e2; border-radius: 6px; padding: 0 10px; margin-left: 4px; vertical-align: middle; letter-spacing: .04em; }
#gsb-main .gsb-phone-state { margin: 0 0 10px; color: #9aa3b0; font-size: .9rem; min-height: 1.3em; }
#gsb-main .gsb-phone-state.is-ok { color: #7ee2a8; }
#gsb-main .gsb-phone-state.is-warn { color: #f6c34d; }
#gsb-main .gsb-phone-again { margin-left: 0; background: #0066e2; color: #fff; border: 0; border-radius: 4px; padding: 8px 14px; font: 600 14px var(--gsb-font); cursor: pointer; }
#gsb-main .gsb-phone-cancel { background: none; border: 0; color: #8d97a3; font: inherit; font-size: .9rem; cursor: pointer; padding: 0; }
#gsb-main .gsb-phone-cancel:hover { color: #fff; }
@media (max-width: 560px) { #gsb-main .gsb-phone-panel { flex-direction: column; text-align: center; } #gsb-main .gsb-phone-steps ol { text-align: left; } }

/* Sign in with your phone: approval page on the phone (/phone/, phone-approve.js) */
#gsb-main .gsb-approve { max-width: 460px; margin: 0 auto; }
#gsb-main .gsb-approve h1 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
#gsb-main .gsb-approve-who { margin: 4px 0 14px; color: #fff; font-size: 1.1rem; font-weight: 600; }
#gsb-main .gsb-approve-who .muted { display: block; color: #8d97a3; font-weight: 400; font-size: .9rem; margin-top: 2px; }
#gsb-main .gsb-approve-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 22px; }
#gsb-main .gsb-approve-choices button { background: #1a1d22; color: #fff; border: 1px solid #353c47; border-radius: 10px; padding: 20px 0; font: 600 2rem var(--gsb-font); cursor: pointer; }
#gsb-main .gsb-approve-choices button:active, #gsb-main .gsb-approve-choices button:hover { border-color: #0066e2; background: #13243a; }
#gsb-main .gsb-approve button:disabled { opacity: .5; cursor: wait; }
#gsb-main .gsb-approve-deny { background: none; border: 0; color: #ff9b91; font: inherit; cursor: pointer; padding: 6px 0; }
#gsb-main .gsb-approve-done.ok h1 { color: #7ee2a8; }
#gsb-main .gsb-approve-done.warn h1 { color: #f6c34d; }

/* Agencies: /agency/ and /admin/agencies/ (agency.js, admin-agencies.js) */
#gsb-main .gsb-agency h1 { margin-bottom: 4px; }
#gsb-main .gsb-admin-sub.small { font-size: .88rem; color: #8d97a3; }
#gsb-main .ag-h2 { color: var(--gsb-head); font-weight: 500; font-size: 1.3rem; margin: 30px 0 10px; display: flex; align-items: center; gap: 10px; }
#gsb-main .ag-h2 .muted { color: #8d97a3; font-size: 1rem; }
#gsb-main .ag-banner { background: #3d3214; border: 1px solid #6b5520; color: #f3dca0; border-radius: 6px; padding: 12px 16px; margin: 0 0 16px; }
#gsb-main .ag-flash { background: #143d26; border: 1px solid #23683f; color: #b9f0cf; border-radius: 6px; padding: 10px 14px; margin: 0 0 14px; }
#gsb-main .ag-flash.bad { background: #4a1b17; border-color: #7a2c25; color: #ffc1ba; }
#gsb-main .ag-seats { background: #1a1d22; border: 1px solid #2a2f37; border-radius: 8px; padding: 14px 16px; margin: 6px 0 8px; max-width: 640px; }
#gsb-main .ag-seats-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-bottom: 10px; color: #ddd; }
#gsb-main .ag-seats-top .muted { color: #8d97a3; font-size: .85rem; }
#gsb-main .ag-meter { height: 10px; background: #2a2f37; border-radius: 5px; overflow: hidden; }
#gsb-main .ag-meter span { display: block; height: 100%; background: #0066e2; }
#gsb-main .ag-meter span.full { background: #f6c34d; }
#gsb-main .ag-invite { display: flex; flex-wrap: wrap; gap: 10px; max-width: 900px; }
#gsb-main .ag-invite input { flex: 1 1 180px; }
#gsb-main .ag-invite select { flex: 0 1 230px; }
#gsb-main .ag-invite input[type="email"] { flex-basis: 300px; }
#gsb-main .ag-invites { max-width: 900px; margin: 8px 0 0; }
#gsb-main .ag-invites > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #262b32; color: #ddd; }
#gsb-main .ag-invites .muted, #gsb-main .ag-log .muted { color: #8d97a3; }
#gsb-main .ag-inv-acts { display: inline-flex; flex-wrap: wrap; gap: 4px 16px; }
#gsb-main .ag-actions { display: flex; gap: 12px; align-items: center; white-space: nowrap; }
#gsb-main .btn.ag-small { padding: 6px 12px; font-size: .85rem; }
#gsb-main .ag-decline { color: #ff9b91 !important; }
#gsb-main .ag-act { padding: 6px 8px !important; font-size: .85rem; }
#gsb-main .ag-removed { margin-top: 14px; color: #aaa; }
#gsb-main .ag-removed summary { cursor: pointer; margin-bottom: 8px; }
#gsb-main .ag-topic { background: #1a1d22; border: 1px solid #2f3540; border-radius: 4px; padding: 4px 8px; color: #fff; user-select: all; }
#gsb-main .ag-log { list-style: none; padding: 0; margin: 0; max-width: 900px; max-height: 420px; overflow: auto; border-top: 1px solid #262b32; }
#gsb-main .ag-log li { padding: 8px 0; border-bottom: 1px solid #262b32; color: #ccc; font-size: .92rem; }
#gsb-main .gsb-admin-dialog select { background: #1a1d22; border: 1px solid #353c47; border-radius: 8px; color: #eee; font: inherit; padding: 10px 12px; }
#gsb-main .gsb-grace { background: #3d3214; border-color: #6b5520; color: #f3dca0; }

/* Agency pages: readable links on the dark background; long dialogs scroll. */
#gsb-main .gsb-admin p a, #gsb-main .gsb-admin .gsb-admin-sub a, #gsb-main .gsb-agency a:not(.btn) { color: var(--gsb-link); }
#gsb-main .gsb-admin-dialog { max-height: 90vh; overflow-y: auto; }

/* Account-sharing signals (directory and agency page). */
#gsb-main .gsb-admin .tag-warn { background: #4a3313; color: #ffc46b; cursor: help; white-space: nowrap; }
#gsb-main .gsb-devices h3 { font-size: 15px; margin: 14px 0 6px; color: #eee; }
#gsb-main .gsb-devices ul { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 1.5; }
#gsb-main .gsb-devices li { padding: 3px 0; border-top: 1px solid #2a2f37; }
#gsb-main .gsb-devices-flags { color: #ffc46b; font-size: 13px; margin: 0 0 6px; }

/* "Logged in as Ptl. Pollack #63" next to the account button. */
#gsb-header .gsb-whoami { color: #b5b5b5; font-size: 13px; white-space: nowrap; margin-right: 4px; }
@media (max-width: 900px) { #gsb-header .gsb-whoami { display: none; } }

/* Agency page: compact member list, multi-select bar, member details panel. */
#gsb-main .ag-table { width: 100%; }
#gsb-main .ag-table td { vertical-align: middle; }
#gsb-main .ag-members .ag-check { width: 34px; text-align: center; }
#gsb-main .ag-members input[type="checkbox"] { width: 17px; height: 17px; padding: 0; accent-color: #0066e2; cursor: pointer; }
#gsb-main .ag-members input[type="checkbox"]:disabled { cursor: not-allowed; opacity: .35; }
#gsb-main .ag-row { cursor: pointer; }
#gsb-main .ag-row:hover td { background: rgba(255, 255, 255, .03); }
#gsb-main .ag-name { background: none; border: 0; padding: 0; color: #f0f0f0; font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
#gsb-main .ag-name:hover, #gsb-main .ag-name:focus-visible { color: var(--gsb-link-hover); text-decoration: underline; }
#gsb-main .ag-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; padding: 10px 12px;
  background: #13233a; border: 1px solid #23405f; border-radius: 6px; color: #e6eef8; position: sticky; top: 8px; z-index: 2; }
#gsb-main .ag-bulk b { margin-right: 6px; }
#gsb-main .ag-armed { outline: 2px solid #ff9b91; }
#gsb-main .ag-user { width: min(520px, 94vw); }
#gsb-main .ag-user h2 { margin: 0 0 12px; }
#gsb-main .ag-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 12px; font-size: 14px; }
#gsb-main .ag-facts dt { color: #9aa3b0; }
#gsb-main .ag-facts dd { margin: 0; color: #eee; overflow-wrap: anywhere; }
#gsb-main .ag-recent { margin: 0 0 12px; font-size: 13px; }
#gsb-main .ag-recent summary { cursor: pointer; color: #cfd6df; }
#gsb-main .ag-recent ul { list-style: none; margin: 6px 0 0; padding: 0; line-height: 1.5; }
#gsb-main .ag-recent li { padding: 3px 0; border-top: 1px solid #2a2f37; }
#gsb-main .ag-user-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
#gsb-main .ag-user-actions .ag-close { margin-left: auto; }

#gsb-main .ag-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; }
#gsb-main .ag-filter input { flex: 1 1 260px; max-width: 420px; }
#gsb-main .ag-filter select { flex: 0 0 auto; }
#gsb-main .ag-hidden-note { font-weight: 400; color: #9fb6d2; }
#gsb-main .ag-bulk[hidden], #gsb-main .ag-row[hidden] { display: none; }

/* SuperAdmin directory: bulk "Add to agency" picker. */
#gsb-main .ag-assign { display: inline-flex; gap: 6px; align-items: center; }
#gsb-main .ag-assign[hidden] { display: none; }
#gsb-main .ag-bulk select { padding: 6px 8px; }

/* Searchable agency picker (agency-picker.js). */
.gsb-picker { position: relative; }
.gsb-picker > input { width: 100%; box-sizing: border-box; }
.gsb-picker.picked > input { border-color: #2f6f3e; }
.gsb-picker-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 60; margin: 0; padding: 4px 0; list-style: none;
  max-height: 300px; overflow-y: auto; background: #1b1e24; border: 1px solid #353c47; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.gsb-picker-list[hidden] { display: none; }
.gsb-picker-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 12px; cursor: pointer; font-size: 14px; color: #e8e8e8; }
.gsb-picker-list li.on, .gsb-picker-list li[role="option"]:hover { background: #0b3a73; }
.gsb-picker-meta { color: #a9b4c2; white-space: nowrap; font-size: 13px; }
.gsb-picker-list .gsb-picker-more { cursor: default; color: #9aa3b0; font-size: 13px; }
.gsb-picker-list .gsb-picker-more:hover { background: none; }
.gsb-picker.other > input { border-color: #8a6d1f; }
.gsb-picker-note { margin-top: 6px; font-size: 13px; color: #f0c674; }
.gsb-picker-note[hidden] { display: none; }
.gsb-picker-note .linkish { background: none; border: 0; padding: 0; color: var(--gsb-link); font: inherit; cursor: pointer; text-decoration: underline; }
.gsb-picker-list li.gsb-picker-other .gsb-picker-name { color: #f0c674; }
#gsb-main .gsb-admin td .small { font-size: 12px; }
#gsb-main .ag-invite .gsb-picker { flex: 0 1 230px; }
#gsb-main .ag-invite .gsb-picker > input { width: 100%; }
#gsb-main .gsb-admin .tag-super { background: #2b1f4a; color: #c6b3ff; }

/* SuperAdmin tabs (Users | Agencies). */
#gsb-main .gsb-tabs { display: flex; gap: 4px; border-bottom: 1px solid #2f3540; margin: 4px 0 18px; }
#gsb-main .gsb-tabs a { padding: 10px 18px; color: #aab3bf; text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; border-radius: 6px 6px 0 0; }
#gsb-main .gsb-tabs a:hover { color: #fff; background: #1e232a; }
#gsb-main .gsb-tabs a[aria-current="page"] { color: #fff; border-bottom-color: #0066e2; }
#gsb-main .gsb-auth-note a { color: var(--gsb-link); white-space: nowrap; }
#gsb-main .ag-roles { border: 1px solid #2f3540; border-radius: 6px; padding: 10px 14px; margin: 0 0 12px; }
#gsb-main .ag-roles legend { padding: 0 6px; color: #cfd6df; font-weight: 600; font-size: 14px; }
#gsb-main .ag-roles label { display: flex; gap: 8px; align-items: baseline; margin: 4px 0; font-size: 14px; color: #eee; }
#gsb-main .ag-roles .btn { margin-top: 6px; }

/* ---- Inventory (/inventory/) and vehicle reports (/reports/…) ---- */
.inv-table .ag-row { cursor: pointer; }
.inv-dlg { max-width: 760px; }
.inv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .6rem 1rem; margin: .5rem 0 1rem; }
#gsb-main .gsb-admin-dialog .inv-grid label { display: flex; flex-direction: column; gap: .25rem; font-size: .9rem; }
.inv-grid label.inv-wide { grid-column: 1 / -1; }
.inv-grid input:not([type="checkbox"]), .inv-grid select, .inv-grid textarea { width: 100%; box-sizing: border-box; }
#gsb-main .inv-grid .inv-check input { width: 1.1rem; height: 1.1rem; flex: none; margin: 0; }
#gsb-main .gsb-admin-dialog .inv-grid label.inv-check { display: flex; flex-direction: row; align-items: center; gap: .4rem; align-self: end; padding-bottom: .4rem; }
#gsb-main .gsb-admin-dialog .inv-assign > label { display: inline-flex; align-items: center; gap: .35rem; margin-right: 1rem; }
.inv-people { margin-top: .5rem; }
.inv-people input[type="search"] { width: 100%; box-sizing: border-box; margin-bottom: .4rem; }
.inv-people-list { max-height: 220px; overflow: auto; border: 1px solid var(--line, #d0d7e2); border-radius: 6px; padding: .3rem .5rem; }
#gsb-main .gsb-admin-dialog .inv-people-list label { display: flex; align-items: baseline; gap: .4rem; padding: .15rem 0; }
#gsb-main .gsb-admin-dialog .inv-people-list label[hidden] { display: none; }
.inv-flag { background: #fdecec; border: 1px solid #f1b5b5; color: #7a1d1d; border-radius: 6px; padding: .5rem .75rem; margin: .5rem 0 1rem; }
.vr-form { max-width: 520px; display: flex; flex-direction: column; gap: .9rem; }
.vr-form > label { display: flex; flex-direction: column; gap: .3rem; }
.vr-form input, .vr-form select, .vr-form textarea { width: 100%; box-sizing: border-box; font-size: 1rem; }
.vr-checks label, .vr-problems label { display: flex; align-items: center; gap: .5rem; padding: .35rem 0; font-size: 1.05rem; }
.vr-checks input[type="checkbox"], .vr-problems input[type="checkbox"] { width: 1.3rem; height: 1.3rem; }
.vr-problems textarea { margin: 0 0 .5rem 1.8rem; width: calc(100% - 1.8rem); }
.vr-problems textarea[hidden] { display: none; }
.vr-form .actions .btn { width: 100%; padding: .8rem; font-size: 1.05rem; }
.vr-done { font-size: 1.05rem; }
#gsb-main .btn.btn-danger-quiet { background: transparent; color: #e58b82; border: 1px solid #8a2c24; margin-right: auto; }
#gsb-main .btn.btn-danger-quiet:hover { background: #3a1714; }
#gsb-main .btn.btn-danger:disabled { opacity: .45; cursor: not-allowed; }
#gsb-main .gsb-admin-dialog label.inv-ack, #gsb-main .inv-ack { display: flex; flex-direction: row; align-items: flex-start; gap: .5rem; margin: .75rem 0; font-weight: 600; }
#gsb-main .gsb-admin-dialog label.inv-ack input, #gsb-main .inv-ack input { margin: .2rem 0 0; width: 1.1rem; min-width: 0; height: 1.1rem; flex: none; }
#gsb-main .inv-tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
#gsb-main .inv-tabs::-webkit-scrollbar { display: none; }
#gsb-main .inv-tabs a { white-space: nowrap; flex: none; }
@media (max-width: 640px) {
  #gsb-main .inv-tabs a { padding: 10px 12px; }
  #gsb-main .ag-filter:has(#inv-q) { flex-wrap: wrap; }
  #gsb-main .ag-filter #inv-q { flex: 1 1 100%; min-width: 0; }
  /* Items as stacked cards instead of a wide table */
  #gsb-main .inv-table thead { display: none; }
  #gsb-main .inv-table, .inv-table tbody { display: block; }
  #gsb-main .inv-table tr.ag-row { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; padding: .7rem .8rem; border-bottom: 1px solid #2a2f37; }
  #gsb-main .inv-table tr.ag-row td { display: block; padding: 0; border: 0; }
  #gsb-main .inv-table td:first-child { flex: 1 1 100%; }
  #gsb-main .inv-table td:empty { display: none; }
  #gsb-main .inv-table .inv-c-fact { flex: 1 1 100%; font-size: .85rem; }
  #gsb-main .inv-table .inv-c-asg { font-size: .85rem; color: #cfd6df; }
  #gsb-main .inv-grid { grid-template-columns: 1fr; }
  #gsb-main .inv-dlg .ag-facts { grid-template-columns: 9rem 1fr; }
}
/* Inventory capsules: blue = an officer has it; slate = shared Pool / Fleet */
#gsb-main .gsb-admin .tag-person { background: #13304f; color: #8bbcff; white-space: nowrap; margin: 1px 0; }
#gsb-main .gsb-admin .tag-shared { background: #26303b; color: #b9c6d4; }
#gsb-main .gsb-admin .tag-Stock { background: #2a2f37; color: #cfcfcf; }
#gsb-main .gsb-admin .tag-svc { background: #2b2f24; color: #d6e2a8; }
#gsb-main .gsb-admin .tag-cal { background: #32263f; color: #d2b5ff; }
#gsb-main .gsb-admin .tag-note { background: #2a2f37; color: #ddd; }
#gsb-main .inv-head { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: #9aa3b0; margin: -4px 0 12px; }
#gsb-main .inv-dtabs { margin: 4px 0 12px; }
#gsb-main .inv-dtabs a { padding: 8px 12px; font-size: .92rem; }
#gsb-main .inv-pane { min-height: min(46vh, 440px); max-height: 62vh; overflow: auto; }
#gsb-main .inv-log { list-style: none; margin: 0; padding: 0; }
#gsb-main .inv-log li { padding: 8px 0; border-bottom: 1px solid #2a2f37; font-size: .92rem; line-height: 1.45; }
#gsb-main .inv-log-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
#gsb-main .inv-rm { margin-left: auto; font-size: .85rem; }
#gsb-main .inv-addwrap { position: relative; display: inline-block; }
#gsb-main .inv-menu { position: absolute; bottom: calc(100% + 6px); right: 0; background: #262b32; border: 1px solid #353c47; border-radius: 8px; padding: 4px; display: flex; flex-direction: column; min-width: 13rem; z-index: 5; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
#gsb-main .inv-menu[hidden] { display: none; }
#gsb-main .inv-menu button { background: none; border: 0; color: #eee; text-align: left; padding: 9px 12px; border-radius: 6px; font: inherit; cursor: pointer; }
#gsb-main .inv-menu button:hover, #gsb-main .inv-menu button:focus-visible { background: #33415a; }
#gsb-main .gsb-admin-dialog .inv-svc-types label { display: flex; flex-direction: row; align-items: center; gap: .5rem; padding: .25rem 0; }
#gsb-main .gsb-admin-dialog .inv-svc-types input[type="checkbox"] { width: 1.1rem; height: 1.1rem; margin: 0; }
#gsb-main .gsb-admin-dialog .inv-svc-types input[name="other"] { margin-top: .4rem; width: 100%; box-sizing: border-box; }
#gsb-main .gsb-admin-dialog .inv-svc-types input[name="other"][hidden] { display: none; }
#gsb-main .gsb-admin-dialog .ag-user-actions { flex-wrap: wrap; }
/* Active issues: a red button with the count that opens them, or a green "none" */
#gsb-main .inv-issues-bar { margin: 0 0 10px; }
#gsb-main .inv-issues-btn { background: #4a1b17; color: #ffb0a8; border: 1px solid #7a2c24; border-radius: 999px; padding: 5px 14px; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; }
#gsb-main .inv-issues-btn:hover { background: #5a221d; }
#gsb-main .inv-issues-ok { display: inline-block; background: #143d26; color: #7ee2a8; border: 1px solid #1f5c39; border-radius: 999px; padding: 5px 14px; font-weight: 700; font-size: .9rem; }
#gsb-main .inv-active { background: #2a1513; border: 1px solid #4a1b17; border-radius: 8px; padding: 0 12px; margin: 0 0 12px; }
#gsb-main .inv-active li:last-child { border-bottom: 0; }
#gsb-main .inv-resolve { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
#gsb-main .inv-resolve[hidden] { display: none; }
#gsb-main .inv-resolve input { flex: 1 1 200px; min-width: 0; }

/* Quick motion (≈0.15s) so things don't jump; off for people who ask for less motion */
#gsb-main .inv-collapse { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .15s ease-out, opacity .15s ease-out; }
#gsb-main .inv-collapse.open { grid-template-rows: 1fr; opacity: 1; }
#gsb-main .inv-collapse > div { overflow: hidden; min-height: 0; }
#gsb-main .inv-issues-btn span { display: inline-block; transition: transform .15s ease-out; }
@keyframes inv-fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes inv-pop { from { opacity: 0; transform: translateY(4px) scale(.98); } to { opacity: 1; transform: none; } }
#gsb-main .inv-fade { animation: inv-fade-in .12s ease-out; }
#gsb-main .inv-menu:not([hidden]) { animation: inv-pop .1s ease-out; transform-origin: bottom right; }
#gsb-main .inv-dlg[open] { animation: inv-pop .14s ease-out; }
#gsb-main .inv-dlg[open]::backdrop { animation: inv-fade-in .14s ease-out; }
@media (max-width: 640px) { #gsb-main .inv-pane { height: auto; max-height: 55vh; } }
@media (prefers-reduced-motion: reduce) {
  #gsb-main .inv-collapse, #gsb-main .inv-issues-btn span { transition: none; }
  #gsb-main .inv-fade, #gsb-main .inv-menu:not([hidden]), #gsb-main .inv-dlg[open], #gsb-main .inv-dlg[open]::backdrop { animation: none; }
}
/* MM/DD/YYYY date box with a clear calendar button */
#gsb-main .inv-date { position: relative; display: flex; align-items: stretch; }
#gsb-main .inv-date .inv-date-text { flex: 1; min-width: 0; padding-right: 44px; }
#gsb-main .inv-date-btn { position: absolute; right: 1px; top: 1px; bottom: 1px; width: 40px; display: flex; align-items: center; justify-content: center; color: #e8eef6; background: #2e3742; border-left: 1px solid #44505e; border-radius: 0 6px 6px 0; cursor: pointer; }
#gsb-main .inv-date-btn:hover { background: #3a4654; color: #fff; }
#gsb-main .inv-date-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0; color-scheme: dark; }
#gsb-main .inv-date-native::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
/* Item details: two compact columns, label above value */
#gsb-main .gsb-admin-dialog.inv-dlg { width: min(720px, 94vw); max-width: none; }
#gsb-main .inv-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 2px 0 6px; }
#gsb-main .inv-facts > div { min-width: 0; }
#gsb-main .inv-facts > div.wide { grid-column: 1 / -1; }
#gsb-main .inv-facts dt { font-size: .75rem; color: #8d97a3; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 1px; }
#gsb-main .inv-facts dd { margin: 0; font-size: .95rem; color: #e6e6e6; overflow-wrap: anywhere; }
@media (min-width: 900px) { #gsb-main .inv-facts { grid-template-columns: 1fr 1fr 1fr; } }
/* Agency emblem beside page titles */
/* Title block: emblem sized to the name, subtitle and buttons beside it, centred together */
#gsb-main .as-title { display: flex; align-items: center; gap: 20px; margin: 0 0 22px; }
#gsb-main .as-title > div { min-width: 0; }
#gsb-main .as-title h1 { margin: 0 0 6px; line-height: 1.1; }
#gsb-main .as-title .gsb-admin-sub { margin: 0; }
#gsb-main .as-title-emblem { width: 104px; height: 104px; object-fit: contain; flex: none; }
#gsb-main .as-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
#gsb-main .as-links .btn { text-decoration: none; }
@media (max-width: 640px) { #gsb-main .as-title { gap: 14px; } #gsb-main .as-title-emblem { width: 72px; height: 72px; } }
/* Inventory dashboard */
#gsb-main .inv-dash-for { margin: -4px 0 14px; }
#gsb-main .inv-dash-sec { margin: 0 0 28px; }
#gsb-main .inv-dash-sec h2 { font-size: 1.15rem; margin: 0 0 10px; }
#gsb-main .inv-dash-list { list-style: none; margin: 0; padding: 0; border: 1px solid #2a2f37; border-radius: 8px; overflow: hidden; }
#gsb-main .inv-dash-list li { padding: 10px 14px; border-bottom: 1px solid #2a2f37; cursor: pointer; display: grid; gap: 3px; }
#gsb-main .inv-dash-list li:last-child { border-bottom: 0; }
#gsb-main .inv-dash-list li:hover, #gsb-main .inv-due-row:hover { background: #1c2430; }
#gsb-main .inv-due-row { cursor: pointer; }
#gsb-main .inv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
#gsb-main .inv-chip { background: #20242b; border: 1px solid #353c47; color: #ccc; border-radius: 999px; padding: 4px 12px; font: inherit; font-size: .85rem; cursor: pointer; }
#gsb-main .inv-chip span { color: #8d97a3; }
#gsb-main .inv-chip.on { background: #13304f; border-color: #2a5a8f; color: #fff; }
/* Agency settings */
#gsb-main .as-card { background: #181b20; border: 1px solid #2a2f37; border-radius: 10px; padding: 18px 20px; margin: 0 0 20px; }
#gsb-main .as-card h2 { font-size: 1.15rem; margin: 0 0 10px; }
#gsb-main .as-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px 14px; }
#gsb-main .as-f { display: flex; flex-direction: column; gap: 4px; grid-column: span 3; font-size: .9rem; }
#gsb-main .as-f input { width: 100%; box-sizing: border-box; }
#gsb-main .as-f-city { grid-column: span 3; } #gsb-main .as-f-state { grid-column: span 1; } #gsb-main .as-f-zip { grid-column: span 2; }
#gsb-main .as-f-phone, #gsb-main .as-f-nonEmergency, #gsb-main .as-f-fax { grid-column: span 2; }
#gsb-main .as-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
#gsb-main .as-msg { margin: 0 auto 0 0; font-size: .9rem; }
#gsb-main .as-msg.good { color: #7ee2a8; } #gsb-main .as-msg.bad { color: #ff9b91; }
#gsb-main .as-checker { background-color: #2a2f37; background-image: linear-gradient(45deg, #2f3540 25%, transparent 25%, transparent 75%, #2f3540 75%), linear-gradient(45deg, #2f3540 25%, transparent 25%, transparent 75%, #2f3540 75%); background-size: 16px 16px; background-position: 0 0, 8px 8px; }
#gsb-main .as-emblem-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
#gsb-main .as-emblem-now { width: 120px; height: 120px; border-radius: 8px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: .85rem; }
#gsb-main .as-emblem-now img { width: 100%; height: 100%; object-fit: contain; }
#gsb-main .as-emblem-btns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
#gsb-main .as-file { cursor: pointer; }
#gsb-main .as-warn { background: #3d3214; color: #f6c34d; border-radius: 6px; padding: 8px 12px; margin: 14px 0 0; }
#gsb-main .as-ed { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; margin-top: 16px; }
#gsb-main .as-ed-view { flex: none; width: 300px; max-width: 100%; height: auto; aspect-ratio: 1; align-self: flex-start; border-radius: 8px; overflow: hidden; outline: 2px dashed #4a5a6e; outline-offset: 2px; touch-action: none; }
#gsb-main .as-ed-view canvas { width: 100%; height: 100%; display: block; cursor: grab; }
#gsb-main .as-ed-view canvas:active { cursor: grabbing; }
#gsb-main .as-ed-tools { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; }
#gsb-main .as-range { display: grid; grid-template-columns: 5rem 1fr; align-items: center; gap: 8px; font-size: .9rem; }
#gsb-main .as-check { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
#gsb-main .as-check input { width: 1.1rem; height: 1.1rem; margin: 0; }
#gsb-main .as-ed-prev { display: flex; align-items: center; gap: 10px; }
#gsb-main .as-prev { width: 64px; height: 64px; border-radius: 8px; }
#gsb-main .as-prev-dark { background: #0f1720; } #gsb-main .as-prev-light { background: #f2f2f2; }
#gsb-main .as-soon { margin: 0 0 14px; font-size: .95rem; }
#gsb-main .as-soon input { width: 5rem; margin: 0 4px; }
#gsb-main .as-iv-kind { border: 1px solid #2a2f37; border-radius: 8px; padding: 8px 14px 12px; margin: 0 0 14px; }
#gsb-main .as-iv-kind legend { font-weight: 700; padding: 0 6px; }
#gsb-main .as-iv-table { border-collapse: collapse; width: 100%; max-width: 560px; }
#gsb-main .as-iv-table th { text-align: left; font-size: .8rem; color: #8d97a3; font-weight: 600; padding: 4px 8px 6px 0; }
#gsb-main .as-iv-table td { padding: 4px 8px 4px 0; }
#gsb-main .as-iv-table input { width: 8rem; box-sizing: border-box; }
@media (max-width: 640px) {
  #gsb-main .as-grid { grid-template-columns: 1fr 1fr; }
  #gsb-main .as-f, #gsb-main .as-f-city, #gsb-main .as-f-phone, #gsb-main .as-f-nonEmergency, #gsb-main .as-f-fax { grid-column: 1 / -1; }
  #gsb-main .as-f-state, #gsb-main .as-f-zip { grid-column: span 1; }
  #gsb-main .as-iv-table input { width: 100%; }
}

/* Officer Reporting switches */
#gsb-main .as-switch { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid #262b32; cursor: pointer; }
#gsb-main .as-switch:last-of-type { border-bottom: 0; }
#gsb-main .as-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#gsb-main .as-switch-ui { flex: none; width: 40px; height: 22px; border-radius: 999px; background: #353c47; position: relative; transition: background .15s; margin-top: 2px; }
#gsb-main .as-switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #ddd; transition: transform .15s; }
#gsb-main .as-switch input:checked + .as-switch-ui { background: #1f6fd1; }
#gsb-main .as-switch input:checked + .as-switch-ui::after { transform: translateX(18px); background: #fff; }
#gsb-main .as-switch input:focus-visible + .as-switch-ui { outline: 2px solid #8bbcff; outline-offset: 2px; }
/* My Dashboard quick actions */
#gsb-main .my-acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0 0 26px; }
#gsb-main .my-act { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #13304f; border: 1px solid #23507f; border-radius: 10px; color: #e8f1ff; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; text-align: left; }
#gsb-main .my-act:hover { background: #18406a; }
#gsb-main .my-act svg { flex: none; color: #8bbcff; }
#gsb-main .my-act-warn { background: #3a1f10; border-color: #6b3a18; color: #ffe2cc; }
#gsb-main .my-act-warn:hover { background: #4a2814; }
#gsb-main .my-act-warn svg { color: #ffb067; }
#gsb-main .my-f { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; }
#gsb-main .my-f select, #gsb-main .my-f textarea { width: 100%; box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) { #gsb-main .as-switch-ui, #gsb-main .as-switch-ui::after { transition: none; } }
#gsb-nav li.gsb-my > a { white-space: nowrap; }

/* Header search: a button on computers that opens into the box */
#gsb-header .gsb-search-btn { display: none; }
@media (min-width: 768px) {
  #gsb-header .gsb-search { transition: flex-basis .15s ease-out, padding .15s ease-out; }
  #gsb-header .gsb-search.collapsed { flex: 0 0 38px; padding: 0; justify-content: center; }
  #gsb-header .gsb-search.collapsed > svg, #gsb-header .gsb-search.collapsed > input { display: none; }
  #gsb-header .gsb-search.collapsed .gsb-search-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: none; border: 0; color: #c3cad4; cursor: pointer; border-radius: 8px; padding: 0; }
  #gsb-header .gsb-search.collapsed .gsb-search-btn:hover { color: #fff; background: #222831; }
  #gsb-header .gsb-search.collapsed .gsb-search-btn:focus-visible { outline: 2px solid var(--gsb-link); outline-offset: 2px; }
}
@media (prefers-reduced-motion: reduce) { #gsb-header .gsb-search { transition: none; } }

/* Dropdowns: our own arrow, inset from the edge, instead of the browser's (which can poke out) */
#gsb-main :is(.gsb-admin, .gsb-request) select:not([multiple]):not([size]) {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239aa3b0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 12px center !important; background-size: 12px 8px !important;
  padding-right: 36px !important; text-overflow: ellipsis; cursor: pointer;
}
#gsb-main :is(.gsb-admin, .gsb-request) select:not([multiple]):not([size]):disabled { cursor: default; opacity: .6; }

/* Make / model type-or-pick boxes */
#gsb-main .inv-combo { position: relative; display: block; }
#gsb-main .inv-combo-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; list-style: none; margin: 0; padding: 4px; max-height: 240px; overflow: auto; background: #1f232a; border: 1px solid #353c47; border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.5); }
#gsb-main .inv-combo-list[hidden] { display: none; }
#gsb-main .inv-combo-list li { padding: 7px 10px; border-radius: 6px; cursor: pointer; color: #e6e6e6; font-size: .95rem; }
#gsb-main .inv-combo-list li.on, #gsb-main .inv-combo-list li:hover { background: #33415a; color: #fff; }
#gsb-main .inv-combo-list li.other { color: #9fc3ff; border-top: 1px solid #2f3540; margin-top: 2px; }
#gsb-main .inv-combo-list li.other:first-child { border-top: 0; margin-top: 0; }

/* Agency settings: switch rows with a button, checklist editor */
#gsb-main .as-switch-row { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #262b32; }
#gsb-main .as-switch-row .as-switch { flex: 1; border-bottom: 0; }
#gsb-main .as-switch-row:last-of-type { border-bottom: 0; }
#gsb-main .as-cl { background: #15181c; border: 1px solid #2a2f37; border-radius: 8px; padding: 14px 16px; margin: 4px 0 12px; }
#gsb-main .as-cl h3 { margin: 0 0 6px; font-size: 1rem; }
#gsb-main .as-cl-list { margin: 10px 0; padding: 0 0 0 22px; display: grid; gap: 8px; }
#gsb-main .as-cl-list li { display: flex; gap: 8px; align-items: center; }
#gsb-main .as-cl-list .as-cl-label { flex: 1 1 200px; min-width: 0; }
#gsb-main .as-cl-list .as-cl-kind { flex: 0 0 150px; }
#gsb-main .as-cl-mv { background: #20242b; border: 1px solid #353c47; color: #ddd; border-radius: 6px; width: 34px; height: 34px; cursor: pointer; font: inherit; }
#gsb-main .as-cl-mv:disabled { opacity: .35; cursor: default; }
#gsb-main .as-cl-rm { background: none; border: 0; color: #ff9b91; cursor: pointer; font: inherit; font-size: .9rem; padding: 4px 6px; }
#gsb-main .as-cl-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) { #gsb-main .as-cl-list li { flex-wrap: wrap; } #gsb-main .as-cl-list .as-cl-kind { flex: 1 1 auto; } }
/* Inspection page: text items */
#gsb-main .vr-checks label.vr-text { flex-direction: column; align-items: stretch; gap: 4px; font-size: 1rem; }
#gsb-main .my-chips { margin: -8px 0 16px; }
#gsb-main .gsb-admin-dialog .inv-checks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; }
#gsb-main .gsb-admin-dialog .inv-checks[hidden] { display: none; }
#gsb-main .gsb-admin-dialog .inv-checks label { display: flex; flex-direction: row; align-items: center; gap: 6px; }
#gsb-main .gsb-admin-dialog .inv-checks input { width: 1.05rem; height: 1.05rem; margin: 0; }
/* Status filter: dropdown of checkboxes + Hide Retired */
#gsb-main .inv-sf { position: relative; flex: 0 0 auto; }
#gsb-main .inv-sf-btn { background: #1a1d22 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239aa3b0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 12px 8px; border: 1px solid #353c47; border-radius: 4px; color: #eee; font: inherit; padding: 10px 36px 10px 12px; cursor: pointer; min-width: 150px; text-align: left; white-space: nowrap; height: 100%; }
#gsb-main .inv-sf-btn:focus-visible { outline: none; border-color: var(--gsb-link); box-shadow: 0 0 0 3px rgba(61, 139, 255, .28); }
#gsb-main .inv-sf-menu { position: absolute; top: calc(100% + 4px); left: 0; z-index: 20; min-width: 190px; background: #1f232a; border: 1px solid #353c47; border-radius: 8px; padding: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.5); display: grid; gap: 2px; }
#gsb-main .inv-sf-menu[hidden] { display: none; }
#gsb-main .inv-sf-menu label { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 6px; cursor: pointer; white-space: nowrap; }
#gsb-main .inv-sf-menu label:hover { background: #2e3644; }
#gsb-main .inv-sf-menu label:first-child { border-bottom: 1px solid #2f3540; border-radius: 6px 6px 0 0; margin-bottom: 2px; }
#gsb-main .inv-sf-menu input, #gsb-main .inv-hide-ret input { width: 1.05rem; height: 1.05rem; margin: 0; padding: 0; }
#gsb-main .inv-hide-ret { display: flex; align-items: center; gap: 6px; white-space: nowrap; flex: 0 0 auto; cursor: pointer; }
#gsb-main .ag-filter .inv-sf-menu input, #gsb-main .ag-filter .inv-hide-ret input { flex: none; width: 1.05rem; min-width: 0; }
/* Assigned To: Pool/Fleet toggle · officer search · Unassign All, with the current assignment below */
#gsb-main .inv-asg-row { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
#gsb-main .inv-asg-shared { flex: 0 0 auto; background: #1a1d22; border: 1px solid #353c47; color: #ddd; border-radius: 6px; padding: 0 16px; font: inherit; font-weight: 600; cursor: pointer; min-height: 40px; }
#gsb-main .inv-asg-shared:hover { background: #262d36; }
#gsb-main .inv-asg-shared.on { background: #26303b; border-color: #5a6b80; color: #fff; box-shadow: inset 0 0 0 1px #5a6b80; }
#gsb-main .inv-asg-find { flex: 1 1 220px; }
#gsb-main .inv-asg-find input { width: 100%; box-sizing: border-box; }
#gsb-main .inv-asg-clear { flex: 0 0 auto; }
#gsb-main .inv-asg-clear:disabled { opacity: .45; cursor: default; }
#gsb-main .inv-asg-now { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 26px; }
#gsb-main .inv-asg-chip { display: inline-flex; align-items: center; gap: 4px; padding-right: 4px; }
#gsb-main .inv-asg-chip button { background: none; border: 0; color: inherit; font: inherit; font-size: 1rem; line-height: 1; padding: 0 4px; border-radius: 50%; cursor: pointer; opacity: .8; }
#gsb-main .inv-asg-chip button:hover { opacity: 1; background: rgba(255,255,255,.12); }
#gsb-main .inv-combo-list li.none { color: #8d97a3; cursor: default; }
#gsb-main .inv-combo-list li.none:hover { background: none; }
#gsb-main .ag-filter #inv-add { margin-left: auto; }
/* Agency page: Invite Member opens a pop-up */
#gsb-main .ag-h2-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
#gsb-main .ag-h2-row .ag-h2 { margin-bottom: 8px; }
#gsb-main .gsb-admin-dialog.ag-invite-dlg { width: min(560px, 94vw); overflow: visible; }
#gsb-main .ag-invite-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin: 12px 0 6px; }
#gsb-main .ag-invite-grid label { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
#gsb-main .ag-invite-grid label.wide { grid-column: 1 / -1; }
#gsb-main .ag-invite-grid input, #gsb-main .ag-invite-grid select { width: 100%; box-sizing: border-box; }
@media (max-width: 520px) { #gsb-main .ag-invite-grid { grid-template-columns: 1fr; } }
/* Agency: invite in the seats bar, civilian, certifications */
#gsb-main .ag-seats-invite { margin-left: auto; display: flex; align-items: center; gap: 10px; }
#gsb-main .ag-seats-invite .btn:disabled { opacity: .45; cursor: not-allowed; }
#gsb-main .ag-noseats { color: #f6c34d; font-size: .85rem; font-weight: 600; }
#gsb-main .ag-seats-top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
#gsb-main .gsb-admin-dialog label.ag-civ, #gsb-main .ag-invite-grid label.ag-civ { display: flex; flex-direction: row; align-items: flex-start; gap: 8px; }
#gsb-main .ag-civ input, #gsb-main .ag-civ-switch input { width: 1.05rem; height: 1.05rem; margin: .15rem 0 0; flex: none; padding: 0; }
#gsb-main .ag-invite-grid label[hidden] { display: none; }
#gsb-main .gsb-admin-dialog label.ag-civ-switch { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; margin: 12px 0 4px; padding: 10px 12px; border: 1px solid #2a2f37; border-radius: 8px; }
#gsb-main .ag-utabs { margin: 0 0 12px; }
#gsb-main .ag-certs { list-style: none; margin: 0 0 8px; padding: 0; }
#gsb-main .ag-certs li { padding: 10px 0; border-bottom: 1px solid #2a2f37; }
#gsb-main .ag-cert-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#gsb-main .ag-cert-acts { margin-left: auto; display: flex; gap: 12px; }
#gsb-main .ag-cert-rm { color: #ff9b91 !important; }
#gsb-main .gsb-admin-dialog .ag-cert-other[hidden] { display: none; }
#gsb-main .ag-invite-grid input[type="file"] { padding: 8px; }
/* Dashboards: certifications */
#gsb-main .inv-dash-list li.static { cursor: default; }
#gsb-main .inv-dash-list li.static:hover { background: none; }
#gsb-main a.inv-cert-link { display: grid; gap: 3px; color: inherit; text-decoration: none; }
#gsb-main .as-civ { display: flex; flex-wrap: wrap; gap: 10px 22px; }
/* Pills with "+N" (names in a tooltip on hover or focus) */
#gsb-main .pills { display: inline-flex; flex-wrap: nowrap; gap: 4px; align-items: center; max-width: 100%; }
#gsb-main .pills.wrap { flex-wrap: wrap; }
#gsb-main .pills .tag { white-space: nowrap; }
#gsb-main .gsb-admin .tag-civ { background: #32263f; color: #d2b5ff; }
#gsb-main .gsb-admin .tag-more { position: relative; background: #2a2f37; color: #cfd6df; cursor: default; }
#gsb-main .tag-more .pill-tip { display: none; position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 30; background: #262b32; border: 1px solid #353c47; border-radius: 8px; padding: 8px 10px; color: #eee; font-weight: 500; font-size: .85rem; line-height: 1.5; white-space: nowrap; box-shadow: 0 10px 26px rgba(0,0,0,.5); }
#gsb-main .tag-more:hover .pill-tip, #gsb-main .tag-more:focus .pill-tip { display: block; }
/* SuperAdmin → Agencies: rows open a details panel */
#gsb-main .aa-table .ag-row { cursor: pointer; }
#gsb-main .aa-table .ag-row:hover { background: #1c2430; }
#gsb-main .aa-table .ag-row:focus-visible { outline: 2px solid var(--gsb-link); outline-offset: -2px; }
#gsb-main .aa-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
#gsb-main .aa-links .btn { text-decoration: none; }
/* Member panel tabs: body fades in on a tab switch */
#gsb-main .ag-ubody { display: block; }
#gsb-main .as-cl-list .as-cl-kind { flex: 0 0 140px; }
#gsb-main .gsb-admin .as-cl-notify { display: flex; align-items: center; gap: 5px; font-size: .85rem; white-space: nowrap; color: #cfd6df; cursor: pointer; }
#gsb-main .as-cl-notify input { width: 1rem; height: 1rem; margin: 0; padding: 0; }
#gsb-main .as-cl-notify:has(input:disabled) { opacity: .4; cursor: default; }
/* Service intervals: two columns of compact tables */
#gsb-main .as-iv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; align-items: start; }
#gsb-main .as-iv-grid .as-iv-kind { margin: 0; padding: 6px 12px 10px; min-width: 0; }
#gsb-main .as-iv-grid .as-iv-table { width: 100%; }
#gsb-main .as-iv-grid .as-iv-table th { font-size: .78rem; padding: 4px 6px; }
#gsb-main .as-iv-grid .as-iv-table td { padding: 3px 6px; }
#gsb-main .as-iv-grid .as-iv-table td:first-child { width: 100%; }
#gsb-main .as-iv-grid .as-iv-table input { width: 82px; padding: 5px 8px; min-height: 0; }
@media (max-width: 760px) { #gsb-main .as-iv-grid { grid-template-columns: 1fr; } }
/* Tab bars keep their own colors inside admin/agency pages, whose general link rule
   (#gsb-main .gsb-agency a:not(.btn) and friends) would otherwise paint inactive tabs blue. */
#gsb-main .gsb-tabs.gsb-tabs a { color: #aab3bf; }
#gsb-main .gsb-tabs.gsb-tabs a:hover, #gsb-main .gsb-tabs.gsb-tabs a[aria-current="page"] { color: #fff; }
/* SuperAdmin bar: full width above the site header, SuperAdmins only */
#gsb-sa-bar { position: relative; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap;
  padding: 6px 16px; background: #1756d6; color: #fff; font: 600 13.5px/1.3 Inter, system-ui, sans-serif; box-shadow: 0 1px 0 rgba(0,0,0,.35); }
#gsb-sa-bar .sa-left, #gsb-sa-bar .sa-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
#gsb-sa-bar .sa-tag { text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 4px; background: rgba(255,255,255,.18); }
#gsb-sa-bar .sa-who { font-weight: 500; }
#gsb-sa-bar .sa-who b { font-weight: 700; }
#gsb-sa-bar .sa-email { margin-left: 8px; opacity: .8; font-weight: 400; }
#gsb-sa-bar .sa-btn { appearance: none; border: 1px solid rgba(255,255,255,.55); background: transparent; color: #fff; font: inherit; padding: 5px 12px; border-radius: 6px; cursor: pointer; text-decoration: none; white-space: nowrap; }
#gsb-sa-bar .sa-btn:hover, #gsb-sa-bar .sa-btn[aria-expanded="true"], #gsb-sa-bar .sa-btn[aria-current="page"] { background: rgba(255,255,255,.16); }
#gsb-sa-bar .sa-btn.sa-primary { background: #fff; color: #1756d6; border-color: #fff; }
#gsb-sa-bar .sa-btn.sa-primary:hover { background: #e7efff; }
#gsb-sa-bar .sa-btn:disabled { opacity: .6; cursor: default; }
#gsb-sa-bar .sa-panel { position: absolute; top: 100%; right: 12px; width: min(440px, calc(100vw - 24px)); margin-top: 6px; padding: 10px;
  background: #1b1f26; border: 1px solid #2f3a4a; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.5); color: #e4e7ec; font-weight: 400; }
#gsb-sa-bar .sa-panel[hidden] { display: none; }
#gsb-sa-bar #sa-q { width: 100%; box-sizing: border-box; padding: 8px 10px; border-radius: 6px; border: 1px solid #3a4352; background: #12151a; color: #fff; font: inherit; }
#gsb-sa-bar #sa-results { list-style: none; margin: 8px 0 0; padding: 0; max-height: 50vh; overflow: auto; }
#gsb-sa-bar #sa-results button { display: grid; gap: 2px; width: 100%; text-align: left; padding: 7px 8px; border: 0; border-radius: 6px; background: none; color: #e4e7ec; font: inherit; cursor: pointer; }
#gsb-sa-bar #sa-results button:hover, #gsb-sa-bar #sa-results button:focus-visible { background: #232a34; outline: none; }
#gsb-sa-bar #sa-results button:disabled { opacity: .45; cursor: default; }
#gsb-sa-bar #sa-results b { font-weight: 600; }
#gsb-sa-bar #sa-results span { font-size: 12.5px; color: #a3abb7; }
#gsb-sa-bar .sa-msg { margin: 8px 2px 2px; font-size: 13px; color: #c6cdd6; }
@media (max-width: 640px) { #gsb-sa-bar .sa-email { display: none; } #gsb-sa-bar { padding: 6px 10px; } }
#gsb-main .inv-sf-menu .sf-head { margin: 4px 8px 0; padding-top: 6px; border-top: 1px solid #2f3540; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #8d97a3; }
#gsb-main .gsb-admin-bar .inv-sf-menu input { flex: none; width: 1.05rem; min-width: 0; }
/* Typed confirmation for permanent deletes */
#gsb-main .ag-typed { display: grid; gap: 10px; width: 100%; padding: 12px; border: 1px solid #6b2a2a; border-radius: 8px; background: #2a1717; }
#gsb-main .ag-typed p { margin: 0; color: #f1d0d0; }
#gsb-main .ag-typed-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#gsb-main .ag-typed-row input { width: 140px; flex: none; font-family: ui-monospace, monospace; letter-spacing: .08em; }
#gsb-main .ag-typed-acts { display: flex; gap: 8px; justify-content: flex-end; }
#gsb-main .ag-typed-bulk { flex-basis: 100%; }
/* View Site As: the SuperAdmin's own account menu stays out of the viewed person's header */
#gsb-header #gsb-account > div[hidden] { display: none !important; }
/* SuperAdmin bar stays at the top of the window while scrolling */
#gsb-sa-bar { position: sticky; top: 0; z-index: 1100; }
#gsb-sa-bar .sa-agency, #gsb-sa-bar .sa-email { margin-left: 8px; padding-left: 8px; border-left: 1px solid rgba(255,255,255,.35); font-weight: 400; opacity: .9; }
#gsb-sa-bar .sa-email { opacity: .8; }
@media (max-width: 640px) { #gsb-sa-bar .sa-agency { display: none; } }
/* View Site As… pop-out panel */
#sa-dialog { width: min(920px, calc(100vw - 32px)); max-height: min(720px, calc(100vh - 64px)); padding: 0; border: 1px solid #2f3a4a; border-radius: 12px;
  background: #171a20; color: #e4e7ec; font: 400 14px/1.4 Inter, system-ui, sans-serif; box-shadow: 0 24px 70px rgba(0,0,0,.6); overflow: hidden; }
#sa-dialog[open] { display: flex; flex-direction: column; }
#sa-dialog::backdrop { background: rgba(5, 8, 14, .65); }
#sa-dialog .sa-dlg-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 0; }
#sa-dialog h2 { margin: 0; font-size: 18px; color: #fff; }
#sa-dialog .sa-x { border: 0; background: none; color: #aab3bf; font-size: 24px; line-height: 1; cursor: pointer; padding: 4px 8px; border-radius: 6px; }
#sa-dialog .sa-x:hover { background: #232a34; color: #fff; }
#sa-dialog .sa-dlg-sub { margin: 4px 20px 12px; color: #a3abb7; font-size: 13px; }
#sa-dialog #sa-q { margin: 0 20px; padding: 10px 12px; border-radius: 8px; border: 1px solid #3a4352; background: #0f1216; color: #fff; font: inherit; font-size: 15px; }
#sa-dialog #sa-q:focus { outline: none; border-color: #3d8bff; }
#sa-dialog .sa-cols, #sa-dialog #sa-results button { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1.4fr); gap: 12px; align-items: center; }
#sa-dialog .sa-cols { margin: 14px 20px 4px; padding: 0 10px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #7f8a98; }
#sa-dialog #sa-results { list-style: none; margin: 0; padding: 0 12px; overflow: auto; flex: 1; min-height: 120px; }
#sa-dialog #sa-results button { width: 100%; text-align: left; padding: 9px 10px; border: 0; border-radius: 8px; background: none; color: #d3d9e1; font: inherit; cursor: pointer; }
#sa-dialog #sa-results button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sa-dialog #sa-results button:hover, #sa-dialog #sa-results button[aria-selected="true"] { background: #1f3a66; color: #fff; }
#sa-dialog #sa-results button:disabled { opacity: .45; cursor: default; }
#sa-dialog .sa-c-name { display: grid; }
#sa-dialog .sa-c-name b { color: #fff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sa-dialog .sa-c-name small { color: #8d97a3; font-size: 12px; }
#sa-dialog .sa-c-email { color: #a3abb7; font-size: 13px; }
#sa-dialog .sa-msg { margin: 8px 20px 14px; min-height: 1.2em; color: #a3abb7; font-size: 13px; }
@media (max-width: 700px) {
  #sa-dialog .sa-cols { display: none; }
  #sa-dialog #sa-results button { grid-template-columns: 1fr; gap: 1px; }
  #sa-dialog .sa-c-agency, #sa-dialog .sa-c-county, #sa-dialog .sa-c-email { font-size: 12.5px; color: #a3abb7; }
}
/* Header search sits in the menu, right after Contact (computers) */
@media (min-width: 768px) {
  #gsb-header nav { align-items: center; gap: 4px; }
  #gsb-header nav > .gsb-search { flex: 0 1 260px; }
  #gsb-header nav > .gsb-search.collapsed { flex: 0 0 38px; }
  #gsb-header nav > .gsb-search #gsb-q-results { left: 0; right: auto; }
}
/* Site-wide notices (sign in by text, paused agency) keep the site's own blue on agency pages
   that recolor their content (Riverdale gold, Kinnelon green). */
#gsb-main .gsb-nudge { --gsb-blue: #0066e2; --gsb-link: #3d8bff; --gsb-link-hover: #6aa6ff; }
/* A label's note on its own line ("Agency phone number" / "(for verification)") */
#gsb-main .gsb-request .opt-line { display: block; }
/* Personal email warning (sign-in, request access) */
#gsb-main .gsb-personal-alert { margin: 6px 0 0; padding: 8px 12px; border: 1px solid #7a2b2b; border-left: 4px solid #e5484d; border-radius: 6px; background: #2a1414; color: #ffb4b4; font-size: .92rem; line-height: 1.35; }
#gsb-main input[aria-invalid="true"] { border-color: #e5484d !important; }
/* Equipment Roles in the member panel: option cards with a custom checkbox, grey descriptions */
#gsb-main .ag-rolecards { padding: 12px 14px 14px; }
#gsb-main .ag-rc-list { display: grid; gap: 8px; }
#gsb-main .ag-roles label.ag-rc { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 10px 12px; border: 1px solid #333a45; border-radius: 8px; background: #1c1f25; cursor: pointer; transition: border-color .12s, background-color .12s; }
#gsb-main .ag-roles label.ag-rc:hover { border-color: #4a5566; background: #20252d; }
#gsb-main .ag-roles label.ag-rc:has(input:checked) { border-color: #2f6fd6; background: #15233a; }
#gsb-main .ag-rc input[type="checkbox"] { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; padding: 0; border: 2px solid #5b6575; border-radius: 5px; background: #12151a; cursor: pointer; display: grid; place-content: center; transition: background-color .12s, border-color .12s; }
#gsb-main .ag-rc input[type="checkbox"]::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .12s ease-out; }
#gsb-main .ag-rc input[type="checkbox"]:checked { background: #0066e2; border-color: #0066e2; }
#gsb-main .ag-rc input[type="checkbox"]:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
#gsb-main .ag-rc input[type="checkbox"]:focus-visible { outline: 2px solid #3d8bff; outline-offset: 2px; }
#gsb-main .ag-rc-text { display: grid; gap: 2px; min-width: 0; }
#gsb-main .ag-rc-text b { color: #f1f4f8; font-weight: 600; font-size: 14.5px; }
#gsb-main .ag-rc-text span { color: #8d97a3; font-size: 13px; line-height: 1.35; }
#gsb-main .ag-rc-actions { display: flex; justify-content: flex-end; margin-top: 10px; }
#gsb-main .ag-rc-actions .btn { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { #gsb-main .ag-roles label.ag-rc, #gsb-main .ag-rc input, #gsb-main .ag-rc input::after { transition: none; } }
/* Item form: a small note under a field (e.g. Last Qualification) */
#gsb-main .inv-note { display: block; margin-top: 4px; color: #8d97a3; font-size: 12px; line-height: 1.35; }
/* Sign in with your phone: second step (authenticator / texted / emailed code) */
#gsb-main .gsb-phone-2fa-msg { margin: 0 0 8px; color: #cfe3ff; }
#gsb-main .gsb-phone-2fa { display: flex; gap: 8px; align-items: center; }
#gsb-main .gsb-phone-2fa input { width: 150px; padding: 9px 12px; border-radius: 6px; border: 1px solid #3a4352; background: #111; color: #fff; font: 600 1.1rem ui-monospace, monospace; letter-spacing: .15em; }
#gsb-main .gsb-phone-2fa input:focus { outline: none; border-color: #3d8bff; }
#gsb-main .gsb-phone-2fa-err { margin: 8px 0 0; color: #ff9b91; font-size: .92rem; }
#gsb-main .gsb-phone-2fa-alt { margin-top: 8px; background: none; border: 0; padding: 0; color: #8bbcff; font: inherit; font-size: .9rem; cursor: pointer; text-decoration: underline; }
#gsb-main .aa-copy { margin: 26px 0 8px; padding: 14px 16px; border: 1px dashed #4a5566; border-radius: 8px; }
#gsb-main .aa-copy .ag-h2 { margin-top: 0; }
#gsb-main .aa-copy-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
#gsb-main .aa-copy-row input { width: 150px; font-family: ui-monospace, monospace; letter-spacing: .08em; }

/* Activity log search (SuperAdmin → Agencies) */
#gsb-main .aa-logsearch { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; max-width: 1100px; margin: 0 0 6px; }
#gsb-main .aa-logsearch input[type=search] { flex: 1 1 200px; width: auto; min-width: 0; }
#gsb-main .aa-logsearch select { flex: 0 1 220px; width: 220px; max-width: 220px; min-width: 0; }
#gsb-main .aa-logsearch .aa-ls-d { display: flex; align-items: center; gap: 6px; margin: 0; color: #aaa; font-size: .88rem; white-space: nowrap; }
#gsb-main .aa-logsearch .aa-ls-dates { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; }
#gsb-main .aa-logsearch input[type=date] { width: auto; }
#gsb-main .aa-ls-more { max-width: 1100px; margin-top: 10px; }
#gsb-main #aa-log { max-width: 1100px; overflow-x: hidden; }
#gsb-main #aa-log li { overflow-wrap: anywhere; }
#gsb-main .aa-logsearch [hidden], #gsb-main .aa-ls-more [hidden] { display: none; }

/* Pop-up windows never wider than a phone screen (padding included). */
#gsb-main dialog.gsb-admin-dialog { box-sizing: border-box; max-width: calc(100vw - 16px) !important; }
@media (max-width: 600px) {
  #gsb-main dialog.gsb-admin-dialog { width: calc(100vw - 16px) !important; padding: 16px; }
}

/* SuperAdmin bar on phones: short button labels, viewed person on one line, at most two rows. */
#gsb-sa-bar .sa-short { display: none; }
@media (max-width: 600px) {
  #gsb-sa-bar { padding: 5px 10px; gap: 4px 8px; font-size: 13px; }
  #gsb-sa-bar .sa-long { display: none; }
  #gsb-sa-bar .sa-short { display: inline; }
  #gsb-sa-bar .sa-left { flex: 1 1 100%; flex-wrap: nowrap; }
  #gsb-sa-bar .sa-left:not(:has(.sa-who)) { flex: 0 0 auto; }
  #gsb-sa-bar .sa-who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #gsb-sa-bar .sa-email { display: none; }
  #gsb-sa-bar .sa-right { gap: 6px; flex-wrap: nowrap; }
  #gsb-sa-bar .sa-btn { padding: 4px 9px; }
}

/* Activity search on phones: the date pair may wrap under the other controls. */
@media (max-width: 600px) {
  #gsb-main .aa-logsearch .aa-ls-dates { flex: 1 1 100%; gap: 8px; }
  #gsb-main .aa-logsearch .aa-ls-d { flex: 1 1 0; min-width: 0; }
  #gsb-main .aa-logsearch .aa-ls-d input { flex: 1 1 auto; min-width: 0; width: 100%; }
  #gsb-main .aa-logsearch select { flex: 1 1 100%; width: auto; max-width: none; }
}

/* Agency settings on phones: interval tables fit the screen (headers wrap, smaller boxes). */
@media (max-width: 600px) {
  #gsb-main .as-iv-grid .as-iv-table th { white-space: normal; line-height: 1.25; }
  #gsb-main .as-iv-grid .as-iv-table td:first-child { width: auto; }
  #gsb-main .as-iv-grid .as-iv-table input { width: 56px; padding: 5px 6px; }
  #gsb-main .as-iv-grid .as-iv-table th, #gsb-main .as-iv-grid .as-iv-table td { padding: 3px 4px; }
  #gsb-main .as-iv-grid .as-iv-kind { padding: 4px 8px 8px; }
  #gsb-main .as-iv-grid .as-iv-table td:first-child { white-space: normal; overflow-wrap: anywhere; }
}

/* Member, user and agency tables on phones: each row becomes a card. The name (with the
   select box beside it) on top; role, status, activity and the rest flow underneath. */
@media (max-width: 600px) {
  #gsb-main .gsb-admin-wrap > table.ag-table { display: block; width: 100%; min-width: 0; }
  #gsb-main table.ag-table thead tr { display: flex; align-items: center; gap: 10px; }
  #gsb-main table.ag-table thead th { display: none; }
  #gsb-main table.ag-table thead th.ag-check, #gsb-main table.ag-table thead th.ag-check + th,
  #gsb-main table.ag-table thead th:first-child { display: block; }
  #gsb-main table.ag-table tbody { display: block; }
  #gsb-main table.ag-table tbody tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; position: relative; border-bottom: 1px solid #262b32; }
  #gsb-main table.ag-table tbody tr:has(> td.ag-check) { padding-left: 44px; }
  #gsb-main table.ag-table tbody td { display: block; padding: 0; border: 0; white-space: normal; flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; }
  #gsb-main table.ag-table tbody td.ag-check { position: absolute; left: 12px; top: 12px; width: 20px; }
  #gsb-main table.ag-table th.ag-check { flex: 0 0 20px; width: 20px; min-width: 0; padding: 0; }
  /* the name, and any two-line cell (an agency with its account), get a line of their own */
  #gsb-main table.ag-table tbody td:first-child:not(.ag-check), #gsb-main table.ag-table tbody td.ag-check + td,
  #gsb-main table.ag-table tbody td:has(br) { flex-basis: 100%; }
  #gsb-main table.ag-table tbody td:empty { display: none; }
  #gsb-main table.ag-table thead tr { background: #1a1d22; border-bottom: 1px solid #262b32; padding: 0 12px; }
  #gsb-main table.ag-table thead th { border: 0; background: none; padding: 8px 0; position: static; }
  #gsb-main table.ag-table td.wrap { min-width: 0; }
  #gsb-main table.aa-table tbody td:nth-child(3)::before { content: "Seats "; color: #8d97a3; }
}

/* A single short field (e.g. hire date) at half width in a form, like the paired fields above it. */
label.gsb-admin-half { max-width: calc(50% - 6px); }
@media (max-width: 600px) { label.gsb-admin-half { max-width: none; } }

/* Ammunition: Record Rounds Used / Received. One card per type: a big checkbox on the left,
   the ammo in the middle, the rounds box and what's on hand on the right. A ticked card is
   outlined in blue; the whole card is clickable. */
#gsb-main .inv-rounds { list-style: none; margin: 4px 0 .5rem; padding: 2px; display: flex; flex-direction: column; gap: 8px; max-height: 46vh; overflow-y: auto; }
#gsb-main .inv-rounds li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #2a2f37; border-radius: 10px; background: #1a1d22; cursor: pointer; transition: border-color .12s, background .12s; }
#gsb-main .inv-rounds li:hover { border-color: #353c47; background: #1a1d22; }
#gsb-main .inv-rounds li.on { border-color: #2f7bf5; background: #13233a; box-shadow: 0 0 0 1px #2f7bf5 inset; }
#gsb-main .gsb-admin-dialog label.inv-rounds-pick { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: row; align-items: center; gap: 14px; margin: 0; cursor: pointer; font-weight: 400; color: #ddd; }
#gsb-main .gsb-admin-dialog .inv-rounds-pick input[type=checkbox] { flex: none; width: 22px; height: 22px; min-width: 0; margin: 0; padding: 0; accent-color: #2f7bf5; cursor: pointer; }
#gsb-main .gsb-admin-dialog .inv-rounds-pick input[type=checkbox]:focus-visible { outline: 2px solid #5b9bff; outline-offset: 2px; }
#gsb-main .inv-rounds-pick b { color: #f2f2f2; font-size: 1rem; }
#gsb-main .inv-rounds-n { flex: 0 0 130px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
#gsb-main .gsb-admin-dialog .inv-rounds-n input { width: 100%; box-sizing: border-box; text-align: right; font-weight: 600; }
#gsb-main .gsb-admin-dialog .inv-rounds-n input[readonly] { opacity: .35; cursor: pointer; }
#gsb-main .inv-rounds li.on .inv-rounds-n input { border-color: #2f7bf5; }
#gsb-main #inv-rounds-total { color: #9cc3ff; font-weight: 600; min-height: 1.2em; }
@media (max-width: 480px) {
  #gsb-main .inv-rounds li { flex-wrap: wrap; gap: 10px; }
  #gsb-main .inv-rounds-n { flex: 1 1 100%; flex-direction: row; align-items: center; justify-content: space-between; padding-left: 36px; }
  #gsb-main .gsb-admin-dialog .inv-rounds-n input { width: 130px; }
}
/* My Dashboard → My Details: the hire date's date box and buttons on one line. */
.my-hire-form { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.my-hire-form .inv-date { width: 172px; }
.my-hire-form .gsb-auth-status { flex-basis: 100%; margin: 4px 0 0; }

/* Ammunition tab: the Ammunition Log under the list. One card per recording; the types it covered inside. */
#gsb-main .inv-ammo-log { margin-top: 28px; }
#gsb-main .inv-ammo-log h2 { font-size: 1.15rem; margin: 0 0 10px; }
#gsb-main .inv-ammo-log-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#gsb-main .inv-ammo-log-list > li { border: 1px solid #2a2f37; border-radius: 10px; background: #1a1d22; padding: 12px 14px; }
#gsb-main .inv-al-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 6px; }
#gsb-main .inv-al-note { color: #ddd; }
#gsb-main .inv-al-types { list-style: none; margin: 0 0 6px; padding: 0; }
#gsb-main .inv-al-types li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 4px 0; border-top: 1px solid #242930; }
#gsb-main .inv-al-types li:first-child { border-top: 0; }
#gsb-main .inv-al-n { margin-left: auto; font-weight: 600; white-space: nowrap; }

/* inventory: ammunition actions — received (green) and used (amber) match their log tags; new type is outlined */
#gsb-main .btn.btn-recv { background: #143d26; color: #7ee2a8; border: 1px solid #1f5c39; }
#gsb-main .btn.btn-recv:hover { background: #1a4d30; }
#gsb-main .btn.btn-used { background: #3d3214; color: #f6c34d; border: 1px solid #5c4b1f; }
#gsb-main .btn.btn-used:hover { background: #4d3f19; }
#gsb-main .btn.btn-recv span, #gsb-main .btn.btn-used span { font-weight: 700; margin-right: 2px; }
#gsb-main .btn.btn-outline { background: transparent; color: #ddd; border: 1px solid #4a5463; }
#gsb-main .btn.btn-outline:hover { border-color: #8d97a3; color: #fff; }

/* inventory: list-only type-or-choose boxes (Assignment, Year, Status) get a dropdown arrow */
#gsb-main .inv-pick input { padding-right: 30px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23aaa' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }
#gsb-main .inv-pick input:focus { cursor: text; }

/* =====================================================================
   UI polish (Nov 2026): one look for buttons, fields, tables, pop-ups and
   headings across the newer card pages and the older admin pages. Layout
   and colors stay as they were; this evens out corners, spacing, hover,
   pressed and keyboard-focus states, and tidies a few phone layouts.
   ===================================================================== */
html { scrollbar-color: #3a414c var(--gsb-bg); }
body.gsb { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.gsb ::selection { background: rgba(61, 139, 255, .38); color: #fff; }
/* Browser-drawn parts (checkboxes, date pickers, scrollbars inside lists) follow the dark theme */
#gsb-header, #gsb-main :is(.gsb-admin, .gsb-request, .gsb-admin-dialog, .blk-form, .vr-form), #sa-dialog { color-scheme: dark; }

/* Keyboard focus: one clear ring everywhere (mouse clicks don't show it) */
#gsb-header :is(a, button):focus-visible,
#gsb-main :is(a, button, summary, [tabindex="0"]):focus-visible,
#gsb-sa-bar :is(a, button):focus-visible { outline: 2px solid var(--gsb-link); outline-offset: 2px; }
#gsb-main dialog.gsb-admin-dialog:focus-visible, #sa-dialog:focus-visible { outline: none; }

/* ---- header ---- */
#gsb-header nav > ul > li > a, #gsb-header nav > ul > li > button, #gsb-header .gsb-mega a, #gsb-header .gsb-dept,
#gsb-header .gsb-signin-link, #gsb-header .gsb-admin-link, #gsb-header .gsb-menu-toggle { transition: background-color .12s ease-out, color .12s ease-out, border-color .12s ease-out; }
#gsb-header .has-sub > button::after { transition: transform .15s ease-out; }
@keyframes gsb-drop-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (min-width: 768px) { #gsb-header .gsb-drop, #gsb-header #gsb-q-results:not([hidden]) { animation: gsb-drop-in .12s ease-out; } }
#gsb-header .gsb-signin-link { border-radius: 8px; padding: 6px 14px; font-weight: 600; }
#gsb-header .gsb-admin-link { border-radius: 8px; }
#gsb-header .gsb-menu-toggle { border-radius: 8px; padding: 7px 14px; font-weight: 500; }
#gsb-header .gsb-menu-toggle:hover, #gsb-header .gsb-menu-toggle[aria-expanded="true"] { background: #1d2530; border-color: #4a5463; color: #fff; }
@media (max-width: 767px) {
  /* Bigger touch targets in the phone menu */
  #gsb-header nav > ul > li > a, #gsb-header nav > ul > li > button { padding: 11px 12px; }
  #gsb-header .gsb-mega a { padding: 9px 10px; }
  #gsb-header .gsb-dept a { padding: 11px 12px; }
}

/* ---- headings ---- */
#gsb-main .gsb-admin h1 { font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 6px; }
#gsb-main .gsb-auth > h1 { font-weight: 600; letter-spacing: -.02em; }
#gsb-main .ag-h2, #gsb-main .gsb-admin-dialog h2, #gsb-idle h2, #gsb-main .gsb-request-done h2, #gsb-main .gsb-phone-steps h2 { font-weight: 600; letter-spacing: -.01em; }
#gsb-main .gsb-admin-sub { color: #a3abb7; }

/* ---- buttons ---- */
#gsb-main .btn, #gsb-main button.btn {
  border: 1px solid transparent; border-radius: 8px; line-height: 1.25; text-align: center;
  transition: background-color .12s ease-out, border-color .12s ease-out, color .12s ease-out, filter .12s ease-out, transform .06s ease-out;
}
#gsb-main .btn:active:not(:disabled) { transform: translateY(1px); filter: brightness(.95); }
#gsb-main .btn:disabled { opacity: .5; cursor: not-allowed; filter: none; }
#gsb-main .gsb-request button:disabled { cursor: wait; }
#gsb-main .btn.btn-quiet { background: #252a32; border-color: #353c47; color: #e4e7ec; }
#gsb-main .btn.btn-quiet:hover { background: #2c323b; border-color: #465061; color: #fff; filter: none; }
#gsb-main .btn.btn-danger { background: #a3322a; }
#gsb-main .btn.btn-danger-quiet { border-color: #8a2c24; }
#gsb-main .btn.btn-outline { border-color: #4a5463; }
#gsb-main .btn.btn-outline:hover { border-color: #7d8693; background: rgba(255, 255, 255, .04); filter: none; }
#gsb-main .btn.btn-recv:hover, #gsb-main .btn.btn-used:hover { filter: none; }
#gsb-main .gsb-btn-sm, #gsb-main .gsb-mdt-btn, #gsb-main .gsb-auth-request a, #gsb-main .gsb-phone-again, #gsb-idle button {
  border-radius: 8px; transition: background-color .12s ease-out, filter .12s ease-out; }
#gsb-main .gsb-phone-start { border-radius: 8px; transition: border-color .12s ease-out, color .12s ease-out; }
#gsb-main .linkish:hover, #gsb-main .gsb-back:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- fields ---- */
#gsb-main :is(.gsb-request, .gsb-admin, .gsb-admin-dialog, .blk-form) :is(input, select, textarea) { transition: border-color .12s ease-out, box-shadow .12s ease-out; }
#gsb-main :is(.gsb-request, .gsb-admin, .gsb-admin-dialog) :is(input, textarea)::placeholder { color: #7d8693; opacity: 1; }
#gsb-main .gsb-admin-dialog select { border-radius: 8px; }
#gsb-main .gsb-admin-dialog select:focus { outline: none; border-color: var(--gsb-link); box-shadow: 0 0 0 3px rgba(61, 139, 255, .28); }
#gsb-main :is(.gsb-admin, .gsb-admin-dialog, .gsb-request) input:is([type="checkbox"], [type="radio"]) { accent-color: #0066e2; cursor: pointer; }
#gsb-main :is(.gsb-admin, .gsb-admin-dialog, .gsb-request) input:is([type="checkbox"], [type="radio"]):focus { box-shadow: none; }
#gsb-main :is(.gsb-admin, .gsb-admin-dialog, .gsb-request) input:is([type="checkbox"], [type="radio"]):focus-visible { outline: 2px solid var(--gsb-link); outline-offset: 2px; }
#gsb-main .inv-sf-btn { border-radius: 8px; transition: border-color .12s ease-out; }
#gsb-main .inv-sf-btn:hover, #gsb-main .inv-sf-btn[aria-expanded="true"] { border-color: #465061; }
#gsb-main .inv-date-btn { border-radius: 0 7px 7px 0; transition: background-color .12s ease-out; }
#gsb-main .inv-asg-shared { border-radius: 8px; }
#gsb-main .ag-topic { border-radius: 6px; padding: 5px 10px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.gsb-picker-list { border-radius: 10px; padding: 4px; }
.gsb-picker-list li { border-radius: 6px; }
.gsb-picker-list li.on, .gsb-picker-list li[role="option"]:hover { background: #1f3a66; }
@media (max-width: 767px) {
  /* 16px type in fields stops iPhones zooming the page in when a box is tapped */
  #gsb-main :is(.gsb-request, .gsb-admin, .gsb-admin-dialog, .blk-form, .vr-form) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
  #gsb-header .gsb-search input, #sa-dialog #sa-q { font-size: 16px; }
}

/* ---- tables and lists ---- */
#gsb-main .gsb-admin-wrap { border-radius: 10px; background: #17191e; }
#gsb-main .gsb-admin th { font-size: .8rem; letter-spacing: .02em; color: #a3abb7; padding-top: 11px; padding-bottom: 11px; }
#gsb-main .gsb-admin tbody tr { transition: background-color .1s ease-out; }
#gsb-main .gsb-admin tbody tr:last-child > td { border-bottom: 0; }
#gsb-main .ag-row:hover td { background: rgba(124, 160, 220, .06); }
#gsb-main .gsb-admin td.ag-actions { display: table-cell; }
#gsb-main .gsb-admin td.ag-actions > * + * { margin-left: 12px; }
#gsb-main .inv-dash-list { border-radius: 10px; background: #17191e; }
#gsb-main .inv-dash-list li { transition: background-color .1s ease-out; }
#gsb-main .ag-seats, #gsb-main .as-card { border-radius: 12px; }
#gsb-main .ag-banner, #gsb-main .ag-flash, #gsb-main .gsb-nudge, #gsb-main .as-warn, #gsb-main .ag-bulk { border-radius: 10px; }
#gsb-main .ag-meter { height: 8px; border-radius: 999px; }
#gsb-main .ag-meter span { border-radius: 999px; transition: width .3s ease-out; }
#gsb-main .gsb-admin .tag { padding: 2px 9px; line-height: 1.45; }
#gsb-main .inv-chip { transition: background-color .12s ease-out, border-color .12s ease-out, color .12s ease-out; }
#gsb-main .inv-chip:hover:not(.on) { border-color: #4a5463; color: #fff; }

/* ---- tabs ---- */
#gsb-main .gsb-tabs a { transition: color .12s ease-out, background-color .12s ease-out, border-color .12s ease-out; }
#gsb-main .gsb-tabs.gsb-tabs a:hover:not([aria-current="page"]) { background: #1d2229; border-bottom-color: #353c47; }
#gsb-main .gsb-seg a { transition: background-color .12s ease-out, color .12s ease-out; }

/* ---- pop-up windows ---- */
#gsb-main .gsb-admin-dialog { border-radius: 14px; border-color: #2f3540; box-shadow: 0 24px 70px rgba(0, 0, 0, .6); }
#gsb-main .gsb-admin-dialog::backdrop, #sa-dialog::backdrop { background: rgba(8, 10, 14, .68); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
#gsb-main .gsb-admin-dialog h2 { color: #eef1f5; }
#gsb-idle { -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
#gsb-idle .gsb-idle-card { border-radius: 14px; border-color: #2f3540; }
#gsb-main .inv-menu, #gsb-main .inv-sf-menu, #gsb-main .inv-combo-list { border-radius: 10px; }
#gsb-main .inv-menu { background: #1f232a; }

/* ---- cards on the agency and LES pages ---- */
#gsb-main .gsb-fav { transition: background-color .12s ease-out, border-color .12s ease-out, transform .12s ease-out, box-shadow .12s ease-out; }
#gsb-main .gsb-fav:hover { border-color: #3a424e; border-top-color: var(--gsb-blue); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
#gsb-main .gsb-list a, #gsb-main .gsb-more, #gsb-main .blk-text a, #gsb-main .blk-acc a { transition: color .12s ease-out; }
#gsb-main .my-act { transition: background-color .12s ease-out, border-color .12s ease-out, transform .06s ease-out; border-radius: 12px; }
#gsb-main .my-act:active { transform: translateY(1px); }
#gsb-main .blk-acc summary { transition: color .12s ease-out; }
#gsb-main .blk-acc summary:hover { color: #fff; }

/* ---- phones ---- */
@media (max-width: 640px) {
  /* Inventory actions (Add…, Record Rounds…) fill the row instead of sitting ragged */
  #gsb-main .ag-filter:has(#inv-q) > .btn, #gsb-main .ag-filter:has(#inv-q) > #inv-add { flex: 1 1 100%; margin-left: 0; padding-top: 12px; padding-bottom: 12px; }
  #gsb-main .gsb-tabs a { padding-top: 12px; padding-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  #gsb-header :is(a, button, .gsb-dept), #gsb-header .has-sub > button::after,
  #gsb-main :is(.btn, .gsb-fav, .my-act, .inv-chip, .gsb-tabs a, .gsb-seg a, .ag-meter span, .inv-sf-btn, .inv-date-btn, .gsb-list a, .gsb-more, .blk-acc summary),
  #gsb-main :is(.gsb-request, .gsb-admin, .gsb-admin-dialog, .blk-form) :is(input, select, textarea, tr, li) { transition: none; }
  #gsb-header .gsb-drop, #gsb-header #gsb-q-results:not([hidden]) { animation: none; }
}

/* =====================================================================
   Redesign (Nov 2026, second pass). Same colors; new structure.
   - Headings and body in Inter (tighter, heavier headings).
   - Header stays at the top of the window, see-through over the page.
   - Main tabs are a segmented control (like Resources | Map on agency pages);
     tabs inside a panel keep the underline, so the two levels read differently.
   - Detail panels (equipment, members, agencies) slide in from the right on
     computers and keep their buttons pinned at the bottom.
   ===================================================================== */
:root {
  /* One family for everything: Inter, with each device's own UI face behind it
     (San Francisco on Apple, Segoe UI on Windows, Roboto on Android). */
  --gsb-font: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gsb-display: var(--gsb-font); --gsb-head-h: 61px;
}
html { scroll-padding-top: calc(var(--gsb-head-h) + var(--gsb-sa-h, 0px) + 16px); }

/* ---- type ---- */
#gsb-header .gsb-brand, #gsb-main .gsb-page :is(h1, h2), #gsb-main .gsb-admin :is(h1, h2), #gsb-main .gsb-auth > h1,
#gsb-main .blk-text :is(h1, h2, h3), #gsb-main .ag-h2, #gsb-idle h2, #sa-dialog h2 { font-family: var(--gsb-display); }
#gsb-main .gsb-page h1, #gsb-main .gsb-admin h1 { font-weight: 700; letter-spacing: -.028em; font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1.08; }
#gsb-main .gsb-auth > h1, #gsb-main .blk-text h1 { font-weight: 700; letter-spacing: -.028em; font-size: clamp(2rem, 3.6vw, 2.75rem); }
#gsb-main .blk-text :is(h2, h3) { font-weight: 600; letter-spacing: -.02em; }
#gsb-main .gsb-page h2, #gsb-main .gsb-admin h2, #gsb-main .ag-h2 { font-weight: 600; letter-spacing: -.015em; }
#gsb-main .ag-h2 { font-size: 1.25rem; margin-top: 36px; }
#gsb-main .gsb-admin-dialog h2 { font-weight: 700; font-size: 1.35rem; letter-spacing: 0; }
#gsb-main .gsb-admin :is(td, dd), #gsb-main .inv-stat b, #gsb-main .gsb-seq b { font-variant-numeric: tabular-nums; }
#gsb-main .inv-facts dt { text-transform: none; letter-spacing: 0; font-size: .8rem; }

/* ---- header: fixed to the top, translucent ---- */
#gsb-header { position: sticky; top: var(--gsb-sa-h, 0px); padding-top: 10px; padding-bottom: 10px; border-bottom-color: rgba(255, 255, 255, .07);
  background: rgba(21, 21, 21, .8); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { #gsb-header { background: var(--gsb-bg); } }
#gsb-header .gsb-brand { font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: #e4e7ec; gap: 9px; }
#gsb-header .gsb-brand img { height: 30px; }
#gsb-header nav > ul > li > a, #gsb-header nav > ul > li > button { font-size: 14.5px; padding: 7px 11px; border-radius: 8px; color: #cfd6df; }
/* The current section: white with a short blue bar under it, instead of a filled box */
#gsb-header nav > ul > li.active > a, #gsb-header nav > ul > li.active > button { background: none; color: #fff; position: relative; }
#gsb-header nav > ul > li.active > :is(a, button)::before { content: ""; position: absolute; left: 11px; right: 11px; bottom: -11px; height: 2px; border-radius: 2px; background: var(--gsb-blue); }
#gsb-header nav > ul > li.active > :is(a, button):hover { background: #1d2530; }
#gsb-header .gsb-drop { border-radius: 14px; background: rgba(26, 29, 34, .98); }
#gsb-header .gsb-search { border-radius: 10px; }
#gsb-header .gsb-whoami { color: #a3abb7; }
#gsb-header .gsb-menu-toggle { display: none; align-items: center; gap: 9px; }
#gsb-header .gsb-menu-toggle::before { content: ""; width: 16px; height: 2px; border-radius: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
@media (max-width: 767px) {
  #gsb-header { padding-top: 9px; padding-bottom: 9px; }
  #gsb-header .gsb-menu-toggle { display: inline-flex; }
  /* An open menu taller than the screen scrolls inside the header */
  #gsb-header.menu-open { max-height: calc(100vh - var(--gsb-sa-h, 0px)); max-height: calc(100dvh - var(--gsb-sa-h, 0px)); overflow-y: auto; background: var(--gsb-bg); }
  #gsb-header nav > ul > li > a, #gsb-header nav > ul > li > button { font-size: 16px; }
  #gsb-header nav > ul > li.active > :is(a, button)::before { left: 0; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; }
}
#gsb-main .ag-bulk { top: calc(var(--gsb-head-h) + var(--gsb-sa-h, 0px) + 8px); }

/* ---- footer ---- */
body.gsb:is(.page-home, .page-dept, .page-les, .page-auth, .page-admin) #gsb-footer { display: block; border-top: 1px solid #22262d; }
#gsb-footer .gsb-foot { max-width: 1180px; margin: 0 auto; padding: 18px 4vw 22px; box-sizing: content-box; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: #8d97a3; }
#gsb-footer p { margin: 0; }
#gsb-footer b { font-weight: 600; color: #a3abb7; margin-right: 10px; }
#gsb-footer nav { display: flex; gap: 18px; }
#gsb-footer a { color: #a3abb7; text-decoration: none; }
#gsb-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
#gsb-footer a:focus-visible { outline: 2px solid var(--gsb-link); outline-offset: 2px; }

/* ---- main tabs: a segmented control. Tabs inside a panel keep the underline. ---- */
#gsb-main .gsb-tabs:not(.inv-dtabs):not(.ag-utabs) { width: fit-content; max-width: 100%; box-sizing: border-box; gap: 2px; padding: 4px; margin: 6px 0 22px; background: #1a1d22; border: 1px solid #2a2f37; border-radius: 12px;
  overflow-x: auto; scrollbar-width: none; }
#gsb-main .gsb-tabs:not(.inv-dtabs):not(.ag-utabs)::-webkit-scrollbar { display: none; }
#gsb-main .gsb-tabs.gsb-tabs:not(.inv-dtabs):not(.ag-utabs) a { flex: none; white-space: nowrap; padding: 8px 14px; margin: 0; border: 0; border-radius: 8px; font-size: 14.5px; color: #cfd6df; }
#gsb-main .gsb-tabs.gsb-tabs:not(.inv-dtabs):not(.ag-utabs) a:hover:not([aria-current="page"]) { background: #232a34; color: #fff; }
#gsb-main .gsb-tabs.gsb-tabs:not(.inv-dtabs):not(.ag-utabs) a[aria-current="page"] { background: var(--gsb-blue); color: #fff; }
@media (max-width: 640px) { #gsb-main .gsb-tabs.gsb-tabs:not(.inv-dtabs):not(.ag-utabs) a { padding: 10px 14px; } }

/* ---- page title block on account pages ---- */
#gsb-main .gsb-admin > h1:first-child, #gsb-main .gsb-admin #inv-root > h1:first-child { margin-top: 0; }
#gsb-main .gsb-admin-sub { font-size: 15px; }
body.page-admin #gsb-main { padding-top: 30px; }

/* ---- buttons: a little more compact ---- */
#gsb-main .btn, #gsb-main button.btn { padding: 10px 18px; font-size: 14.5px; }
#gsb-main .gsb-admin-bar .btn { padding: 10px 16px; }
#gsb-main .btn.ag-small { padding: 7px 13px; font-size: 13.5px; }

/* ---- dashboard: at a glance ---- */
#gsb-main .inv-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 30px; }
#gsb-main .inv-stat { display: grid; gap: 2px; align-content: start; text-align: left; padding: 14px 16px 13px; background: #1a1d22; border: 1px solid #2a2f37; border-radius: 12px; color: #a3abb7; font: inherit; }
#gsb-main button.inv-stat { cursor: pointer; transition: background-color .12s ease-out, border-color .12s ease-out; }
#gsb-main button.inv-stat:hover { background: #1f232a; border-color: #3a424e; }
#gsb-main .inv-stat.on { border-color: var(--gsb-link); box-shadow: inset 0 0 0 1px var(--gsb-link); background: #13233a; }
#gsb-main .inv-stat b { font-weight: 700; letter-spacing: -.03em; font-size: 2rem; line-height: 1.1; color: #6b7380; }
#gsb-main .inv-stat span { font-size: 13.5px; line-height: 1.3; }
#gsb-main .inv-stat.bad b { color: #ff9b91; }
#gsb-main .inv-stat.warn b { color: #f6c34d; }
#gsb-main .inv-stat.quiet b { color: #e4e7ec; }
#gsb-main .inv-dash-sec h2 { font-size: 1.25rem; }
@media (max-width: 640px) { #gsb-main .inv-stats { grid-template-columns: 1fr 1fr; gap: 8px; } #gsb-main .inv-stat b { font-size: 1.7rem; } }

/* ---- tables: roomier rows ---- */
#gsb-main .gsb-admin th, #gsb-main .gsb-admin td { padding-left: 16px; padding-right: 16px; }
#gsb-main .gsb-admin td { padding-top: 12px; padding-bottom: 12px; }
#gsb-main .gsb-admin-wrap, #gsb-main .inv-dash-list { border-radius: 12px; }

/* ---- cards on agency and LES pages ---- */
#gsb-main .gsb-card { border-radius: 14px; padding: 20px 24px; }
#gsb-main .gsb-fav { border-top: 1px solid #2a2f37; border-radius: 12px; padding: 15px 17px; }
#gsb-main .gsb-fav:hover { border-color: var(--gsb-link); border-top-color: var(--gsb-link); transform: none; box-shadow: none; }
#gsb-main .gsb-seg { border-radius: 12px; }
#gsb-main .gsb-seg a { border-radius: 8px; }

/* ---- request access: the form sits on a panel ---- */
#gsb-main .gsb-request { box-sizing: border-box; padding: 26px 28px 28px; background: #181b20; border: 1px solid #2a2f37; border-radius: 16px; }
#gsb-main .gsb-request button.btn { justify-self: stretch; padding: 12px 18px; font-size: 15px; }
@media (max-width: 560px) { #gsb-main .gsb-request { padding: 18px 16px 20px; border-radius: 14px; } }

/* ---- detail panels slide in from the right on computers ---- */
@media (min-width: 900px) {
  #gsb-main dialog.gsb-admin-dialog:is(.inv-dlg, .ag-user) {
    margin: 0 0 0 auto; height: 100vh; height: 100dvh; max-height: none; width: min(640px, 94vw) !important;
    border-width: 0 0 0 1px; border-radius: 18px 0 0 18px; padding: 26px 28px 0; box-shadow: -24px 0 70px rgba(0, 0, 0, .5);
  }
  @keyframes gsb-sheet-in { from { opacity: .4; transform: translateX(28px); } to { opacity: 1; transform: none; } }
  #gsb-main dialog.gsb-admin-dialog:is(.inv-dlg, .ag-user)[open] { animation: gsb-sheet-in .18s cubic-bezier(.2, .8, .2, 1); }
  #gsb-main dialog:is(.inv-dlg, .ag-user) .inv-pane { min-height: 0; max-height: none; overflow: visible; }
  #gsb-main dialog:is(.inv-dlg, .ag-user) .inv-facts { grid-template-columns: 1fr 1fr; }
  #gsb-main dialog:is(.inv-dlg, .ag-user) .inv-rounds { max-height: none; }
  #gsb-main dialog.gsb-admin-dialog:is(.inv-dlg, .ag-user)[open] { display: flex; flex-direction: column; }
  #gsb-main dialog.gsb-admin-dialog:is(.inv-dlg, .ag-user)[open] > * { flex-shrink: 0; }
  #gsb-main dialog.gsb-admin-dialog:is(.inv-dlg, .ag-user)[open] > :is(.ag-user-actions, .actions):last-child { margin-top: auto; }
  #gsb-main dialog.gsb-admin-dialog:is(.inv-dlg, .ag-user)[open] > form:last-child { flex: 1 0 auto; align-content: start; }
  /* The panel's buttons stay at the bottom while its contents scroll */
  #gsb-main dialog:is(.inv-dlg, .ag-user) :is(.ag-user-actions, .actions):last-child {
    position: sticky; bottom: 0; z-index: 4; margin: 22px -28px 0; padding: 14px 28px 18px; background: #1b1e24; border-top: 1px solid #2a2f37; }
  #gsb-main dialog:is(.inv-dlg, .ag-user) > :last-child:not(.ag-user-actions):not(.actions), #gsb-main dialog:is(.inv-dlg, .ag-user) > form:last-child { margin-bottom: 26px; }
  #gsb-main dialog:is(.inv-dlg, .ag-user) > form:last-child > :is(.ag-user-actions, .actions):last-child { margin-bottom: -26px; }
}
@media (prefers-reduced-motion: reduce) {
  #gsb-main dialog.gsb-admin-dialog:is(.inv-dlg, .ag-user)[open] { animation: none; }
  #gsb-main button.inv-stat { transition: none; }
}

/* ---- home: the original centered logo and notice, tidied ---- */
body.page-home #gsb-main { display: flex; flex-direction: column; justify-content: center; padding: 48px 0 64px; }
body.page-home #gsb-main .band { width: 100%; box-sizing: border-box; margin-bottom: 0; }
/* Banners (add your cell number, grace period, signed-out note) stay at the top of the page; only
   the logo and notice are centered in the space below them. */
body.page-home #gsb-main > .gsb-nudge { flex: none; align-self: center; width: min(100% - 32px, 1040px); box-sizing: border-box; margin-top: -24px; }
body.page-home #gsb-main > .gsb-nudge:last-of-type { margin-bottom: auto; }
body.page-home #gsb-main > .band:last-child { margin-bottom: auto; }
body.page-home #gsb-main .col { grid-column: 1 / -1; }
body.page-home #gsb-main .blk-img img { width: clamp(120px, 16vw, 190px); margin-bottom: 34px; border-radius: 0; }
body.page-home #gsb-main .blk-text { max-width: 68ch; margin: 0 auto; }
body.page-home #gsb-main .blk-text p { font-size: 15px; line-height: 1.65; color: #9aa3b0; }
body.page-home #gsb-main .blk-text p:first-child { font-size: 17px; font-weight: 500; color: var(--gsb-head); }
body.page-home #gsb-main .blk-text p:empty::before { content: none; }
body.page-home #gsb-main .blk-text p:empty { height: 14px; }

/* =====================================================================
   Phones (Nov 2026 pass)
   ===================================================================== */
@media (max-width: 767px) {
  /* Search comes first in the opened menu */
  #gsb-header.menu-open .gsb-search { order: 4; height: 44px; }
  #gsb-header nav { order: 5; }
  #gsb-main { padding-top: 26px; padding-bottom: 48px; }
  body.page-admin #gsb-main, body.page-dept #gsb-main { padding-top: 22px; }
  /* Tool pages: the title sits closer to the tool */
  #gsb-main .band { margin-bottom: 18px; }
  #gsb-main .col { margin-bottom: 8px; }
  #gsb-main .blk-text h3 { font-size: 1.6rem; }
  #gsb-main .blk-text :is(h1, h2, h3):only-child { margin-bottom: 0; }
}
@media (max-width: 600px) {
  #gsb-main .band { padding: 0 16px; }
  #gsb-main .col { padding: 0; }
  #gsb-main .gsb-page { padding: 0 16px; }
  #gsb-main .gsb-les-warn { padding-left: 16px; padding-right: 16px; }
  #gsb-header { padding-left: 16px; padding-right: 16px; }
  #gsb-footer .gsb-foot { padding-left: 16px; padding-right: 16px; }

  /* Agency pages: favorites one per row (names stop breaking into three lines), bigger link rows */
  #gsb-main .gsb-fav-grid { grid-template-columns: 1fr; gap: 8px; }
  #gsb-main .gsb-fav { padding: 13px 15px; }
  #gsb-main .gsb-list a { padding: 12px 0; }
  #gsb-main .gsb-card { padding: 16px 16px; border-radius: 12px; }
  #gsb-main .gsb-titlebar { margin-bottom: 18px; }
  #gsb-main .gsb-seg a { padding: 9px 18px; }
  #gsb-main .gsb-tags { padding: 16px; }

  /* Filter chips and small buttons are easier to hit */
  #gsb-main .inv-chip { padding: 7px 13px; font-size: .9rem; }
  #gsb-main .inv-chips { gap: 8px; }
  #gsb-main .btn.ag-small { padding: 9px 14px; font-size: 14px; }
  #gsb-main .inv-issues-btn { padding: 8px 16px; }

  /* Dashboard counts: an odd one out takes the full row */
  #gsb-main .inv-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }

  /* Tables as cards: the header row is only kept where it holds the "select all" box */
  #gsb-main table.ag-table thead { display: block; }
  #gsb-main table.ag-table thead:not(:has(th.ag-check)) { display: none; }
  #gsb-main table.ag-table tbody tr { padding: 12px 14px; }
  #gsb-main table.ag-table tbody tr:has(> td.ag-check) { padding-left: 46px; }
  #gsb-main table.ag-table tbody td.ag-check { left: 14px; top: 14px; }
  #gsb-main .gsb-admin td.ag-actions { display: flex; flex-basis: 100%; align-items: center; gap: 12px; padding-top: 4px; }
  #gsb-main .gsb-admin td.ag-actions > * + * { margin-left: 0; }
  #gsb-main .ag-invites > div { flex-wrap: wrap; gap: 2px 12px; padding: 10px 0; }
  #gsb-main .ag-seats-top .muted { flex-basis: 100%; }
  #gsb-main .ag-seats-invite { margin-left: 0; }
  #gsb-main .ag-h2 { margin-top: 30px; }
  #gsb-main .ag-facts { grid-template-columns: minmax(0, 9rem) 1fr; gap: 8px 12px; }
  #gsb-main .as-card { padding: 16px; }
  #gsb-main .my-acts { gap: 8px; }

  /* Pop-ups rise from the bottom of the screen, full width, buttons pinned in reach of the thumb */
  #gsb-main dialog.gsb-admin-dialog { width: 100vw !important; max-width: 100vw !important; margin: auto 0 0; max-height: 92vh; max-height: 92dvh;
    border-width: 1px 0 0; border-radius: 18px 18px 0 0; padding: 20px 16px 0; }
  @keyframes gsb-rise { from { opacity: .5; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  #gsb-main dialog.gsb-admin-dialog[open] { animation: gsb-rise .18s cubic-bezier(.2, .8, .2, 1); }
  #gsb-main dialog.gsb-admin-dialog :is(.ag-user-actions, .actions):last-child {
    position: sticky; bottom: 0; z-index: 4; margin: 16px -16px 0; padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)); background: #1b1e24; border-top: 1px solid #2a2f37; }
  #gsb-main dialog.gsb-admin-dialog > :last-child:not(.ag-user-actions):not(.actions):not(form):not(.ag-ubody) { margin-bottom: 20px; }
  #gsb-main dialog.gsb-admin-dialog .ag-user-actions .btn, #gsb-main dialog.gsb-admin-dialog .actions .btn { padding: 11px 16px; }
  #gsb-main dialog.gsb-admin-dialog .inv-pane { max-height: none; overflow: visible; }
  #gsb-main dialog.gsb-admin-dialog .inv-rounds { max-height: none; }
  #gsb-main .gsb-admin-dialog .row { grid-template-columns: 1fr; }
  #gsb-idle .gsb-idle-card { border-radius: 16px; }
}
@media (max-width: 600px) and (prefers-reduced-motion: reduce) { #gsb-main dialog.gsb-admin-dialog[open] { animation: none; } }
/* Member panel on computers: its buttons pin to the bottom like the equipment panel's */
@media (min-width: 900px) {
  #gsb-main dialog.ag-user[open] > .ag-ubody { flex: 1 0 auto; display: flex; flex-direction: column; }
  #gsb-main dialog.ag-user[open] > .ag-ubody > .ag-user-actions:last-child { margin-top: auto; }
}

/* MDT quick setup sits in the title row, left of Resources / Map. It's for the in-car laptops,
   so it only shows at desktop widths. Its "?" explanation opens as a small pop-over. */
#gsb-main .gsb-titlebar-end { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
#gsb-main .gsb-titlebar .gsb-mdt { margin-top: 0; flex-wrap: nowrap; padding: 4px 4px 4px 12px; border-radius: 12px; }
#gsb-main .gsb-titlebar .gsb-mdt h2 { font-size: 14.5px; white-space: nowrap; }
#gsb-main .gsb-titlebar .gsb-mdt-btn { padding: 7px 14px; border-radius: 8px; white-space: nowrap; }
#gsb-main .gsb-titlebar .gsb-mdt-info { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; width: min(420px, 80vw); box-sizing: border-box;
  margin: 0; padding: 12px 14px; background: #1a1d22; border: 1px solid #2f3540; border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
@media (max-width: 899px) { #gsb-main .gsb-mdt { display: none; } }

/* My Agency (/my-agency/, site/assets/my-agency.js): the agency's page of links, and Customize mode. */
#gsb-main .ma-list a { justify-content: flex-start; align-items: center; gap: 10px; }
#gsb-main .ma-list a > span:last-child { color: inherit; font-size: inherit; white-space: normal; }
#gsb-main .ma-note { background: rgba(61,139,255,.08); border: 1px solid rgba(61,139,255,.25); color: #c5d8f5; border-radius: 10px; padding: 11px 14px; margin: 0 0 16px; font-size: 14px; }
#gsb-main .ma-bar { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin: -6px 0 14px; min-height: 34px; }
#gsb-main .ma-hint { margin: 0 auto 0 0; color: #a3abb7; font-size: 14px; }
#gsb-main .ma-status { font-size: 13px; color: #8d97a3; }
#gsb-main .ma-status.bad { color: #f87171; }
#gsb-main .ma-empty { margin: 8px 0 0; color: #7d8693; font-size: 14px; }
#gsb-main .ma-row { display: flex; align-items: center; gap: 2px; border-bottom: 1px solid #262b32; }
#gsb-main .ma-row > a { flex: 1; min-width: 0; border-bottom: 0; }
#gsb-main .ma-row.ma-hidden > a { opacity: .4; text-decoration: line-through; }
#gsb-main .ma-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: #7d8693; cursor: pointer; padding: 0; }
#gsb-main .ma-ic:hover { background: #262b32; color: #e6e9ee; }
#gsb-main .ma-ic.ma-on { color: #f5c542; }
#gsb-main .ma-ic:focus-visible { outline: 2px solid var(--gsb-link); outline-offset: 1px; }
#gsb-main .ma-favwrap { position: relative; }
#gsb-main .ma-favwrap > .gsb-fav { height: 100%; box-sizing: border-box; padding-right: 40px; }
#gsb-main .ma-favwrap > .ma-ic { position: absolute; top: 8px; right: 6px; }
#gsb-main .ma-favwrap > .gsb-fav b > svg { display: none; }
#gsb-main .ma-add { margin-top: 8px; font-size: 14px; break-inside: avoid; }
#gsb-main .ma-add summary { cursor: pointer; color: var(--gsb-link); font-weight: 600; padding: 6px 0; list-style: none; }
#gsb-main .ma-add summary::-webkit-details-marker { display: none; }
#gsb-main .ma-add form { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: 4px; }
#gsb-main .ma-add input { font: inherit; font-size: 14px; background: #121418; color: #e6e9ee; border: 1px solid #353c47; border-radius: 8px; padding: 8px 10px; }
#gsb-main .ma-add input:focus { outline: none; border-color: var(--gsb-link); box-shadow: 0 0 0 3px rgba(61,139,255,.28); }
#gsb-main .ma-add .btn { justify-self: start; }
#gsb-main .ma-err { margin: 0; color: #f87171; font-size: 13px; }
#gsb-main .ma-editing .gsb-group { break-inside: avoid; margin-bottom: 14px; }
#gsb-main .ma-mine { border-style: dashed; }

/* Agency Page editor (/agency/page/, site/assets/agency-page-edit.js). */
#gsb-main .ap-intro { color: #a3abb7; font-size: 14.5px; max-width: 72ch; margin: 4px 0 18px; }
#gsb-main .ap-help { color: #8d97a3; font-size: 13.5px; margin: -4px 0 14px; max-width: 80ch; }
#gsb-main .ap-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#gsb-main .ap-sec { border: 1px solid #2a2f37; border-radius: 12px; padding: 12px; margin: 0 0 12px; background: #15181c; }
#gsb-main .ap-sec-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#gsb-main .gsb-agency-page input:not([type=checkbox]) { font: inherit; font-size: 14px; background: #121418; color: #e6e9ee; border: 1px solid #353c47; border-radius: 8px; padding: 7px 9px; min-width: 0; box-sizing: border-box; }
#gsb-main .gsb-agency-page input:not([type=checkbox]):focus { outline: none; border-color: var(--gsb-link); box-shadow: 0 0 0 3px rgba(61,139,255,.28); }
#gsb-main .gsb-agency-page input:disabled { opacity: .5; }
#gsb-main .ap-sec-title { flex: 1 1 220px; font-weight: 600 !important; font-size: 15px !important; }
#gsb-main .ap-sec-note { width: 100%; margin: 8px 0 4px; }
#gsb-main .ap-chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #a3abb7; white-space: nowrap; }
#gsb-main .ap-links { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 10px; }
#gsb-main .ap-link { display: grid; grid-template-columns: 32px minmax(0, 1fr) minmax(0, 1.8fr) auto 32px; gap: 6px; align-items: center; }
#gsb-main .ap-link.ap-mdt { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto 32px; }
#gsb-main .ap-mv { display: inline-flex; gap: 2px; }
#gsb-main .ap-ic { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: #8d97a3; cursor: pointer; }
#gsb-main .ap-ic:hover:not(:disabled) { background: #262b32; color: #e6e9ee; }
#gsb-main .ap-ic:disabled { opacity: .3; cursor: default; }
#gsb-main .ap-ic:focus-visible { outline: 2px solid var(--gsb-link); outline-offset: 1px; }
#gsb-main .ap-star.on { color: #f5c542; }
#gsb-main .ap-del:hover:not(:disabled), #gsb-main .ap-del.ap-sure { color: #f87171; background: rgba(240,82,82,.12); }
#gsb-main .ap-save { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 12px 0; background: linear-gradient(180deg, rgba(21,21,21,0), #151515 35%); }
#gsb-main .ap-save .as-msg { margin: 0 auto 0 0; }
@media (max-width: 760px) {
  #gsb-main .ap-grid2 { grid-template-columns: 1fr; }
  /* Phones: each link is a small block. Name with its buttons on the first line, then address and note. */
  #gsb-main .ap-links { gap: 0; }
  #gsb-main .ap-link { grid-template-columns: 40px minmax(0, 1fr) auto 40px; gap: 6px 4px; padding: 10px 0; border-top: 1px solid #2a2f37; }
  #gsb-main .ap-link:first-child { border-top: 0; }
  #gsb-main .ap-link > .ap-mv { grid-row: 1; grid-column: 3; }
  #gsb-main .ap-link > .ap-del { grid-row: 1; grid-column: 4; }
  #gsb-main .ap-link > input[data-f="url"], #gsb-main .ap-link > input[data-f="note"] { grid-column: 2 / -1; }
  #gsb-main .ap-link.ap-mdt { grid-template-columns: minmax(0, 1fr) auto 40px; }
  #gsb-main .ap-link.ap-mdt > .ap-mv { grid-column: 2; }
  #gsb-main .ap-link.ap-mdt > .ap-del { grid-column: 3; }
  #gsb-main .ap-link.ap-mdt > input[data-f="url"] { grid-column: 1 / -1; }
  #gsb-main .ap-ic { width: 40px; height: 40px; }
}

/* Light / dark toggle in the header (site.js): changes the theme for this visit only. */
#gsb-header .gsb-theme { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-left: 8px; padding: 0; border: 1px solid #2a2f37; border-radius: 8px; background: none; color: #c3cad4; cursor: pointer; }
#gsb-header .gsb-theme:hover { color: #fff; background: #222831; }
#gsb-header .gsb-theme:focus-visible { outline: 2px solid var(--gsb-link); outline-offset: 2px; }
@media (max-width: 767px) { #gsb-header .gsb-theme { order: 2; margin-left: 0; width: 36px; height: 36px; } }

/* Settings (/settings/, site/assets/settings.js). */
#gsb-main .gsb-settings-page { max-width: 1100px; }
#gsb-main .gsb-settings-page > h1 { margin: 0 0 20px; } /* room under "Settings" before the first card */
#gsb-main .st-card { background: #1a1d22; border: 1px solid #2a2f37; border-radius: 14px; padding: 20px 22px 22px; margin: 0 0 18px; }
#gsb-main .st-card > h2 { margin: 0 0 6px; font-size: 18px; }
#gsb-main .st-help { margin: 0 0 14px; color: #a3abb7; font-size: 14px; max-width: 72ch; }
#gsb-main .st-seg { display: inline-flex; padding: 3px; gap: 3px; background: #15181c; border: 1px solid #2a2f37; border-radius: 10px; }
#gsb-main .st-seg button { font: inherit; font-size: 14px; font-weight: 600; min-width: 96px; padding: 8px 16px; border: 0; border-radius: 8px; background: none; color: #a3abb7; cursor: pointer; }
#gsb-main .st-seg button:hover { color: #e6e9ee; }
#gsb-main .st-seg button[aria-checked="true"] { background: #0066e2; color: #fff; }
#gsb-main .st-seg button:focus-visible { outline: 2px solid var(--gsb-link); outline-offset: 2px; }
#gsb-main .st-status { margin: 10px 0 0; min-height: 1.2em; font-size: 13px; color: #8d97a3; }
#gsb-main .st-status.bad { color: #f87171; }
#gsb-main .st-card #ma-root .gsb-card { background: #15181c; }
#gsb-main .st-card #ma-root .ma-bar { justify-content: flex-start; margin: 0 0 14px; }

/* My Agency link editor: drag handles for reordering (my-agency.js). */
#gsb-main .ma-grip { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: none; color: #6b7380; cursor: grab; touch-action: none; }
#gsb-main .ma-grip:hover { color: #e6e9ee; background: #262b32; }
#gsb-main .ma-grip:active { cursor: grabbing; }
#gsb-main .ma-grip:focus-visible { outline: 2px solid var(--gsb-link); outline-offset: 1px; }
#gsb-main .ma-dragging { pointer-events: none; opacity: .9; background: #22262d; box-shadow: 0 6px 18px rgba(0,0,0,.45); border-radius: 8px; position: relative; z-index: 2; }
#gsb-main .ma-favwrap > .ma-grip { position: absolute; top: 8px; left: 4px; z-index: 1; }
#gsb-main .ma-favwrap > .gsb-fav { padding-left: 30px; }

/* My Agency link editor: renaming groups, own groups (my-agency.js). */
#gsb-main .ma-editing .gsb-sub, #gsb-main .ma-editing .gsb-card > h2 { display: flex; align-items: center; gap: 2px; }
#gsb-main .ma-ren { width: 28px; height: 28px; }
#gsb-main .ma-ren.ma-sure { color: #f87171; background: rgba(240,82,82,.12); }
#gsb-main .ma-rename { font: inherit; font-size: inherit; font-weight: 600; min-width: 0; flex: 1; max-width: 320px; background: #121418; color: #e6e9ee; border: 1px solid var(--gsb-link); border-radius: 6px; padding: 3px 8px; box-shadow: 0 0 0 3px rgba(61,139,255,.28); outline: none; }
#gsb-main .ma-own { border-color: #33415a; }
#gsb-main .ma-drop { margin: 6px 0 0; padding: 14px 10px; border: 1px dashed #353c47; border-radius: 8px; text-align: center; font-size: 13px; }

/* My Agency link editor: group tools and the agency's links panel (my-agency.js). */
#gsb-main .ma-group > h2 { display: flex; align-items: center; gap: 2px; }
#gsb-main .ma-gtools { margin-left: auto; display: inline-flex; gap: 0; }
#gsb-main .ma-gtools .ma-ic:disabled { opacity: .3; cursor: default; background: none; }
#gsb-main .ma-lockic { display: inline-flex; color: #8d97a3; margin-right: 6px; }
#gsb-main .ma-panel { margin-top: 22px; background: #15181c; border: 1px solid #2a2f37; border-radius: 12px; padding: 16px 18px 18px; }
#gsb-main .ma-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
#gsb-main .ma-panel h2 { margin: 0 0 2px; font-size: 17px; }
#gsb-main .ma-panel .ma-hint { margin: 0; }
#gsb-main .ma-ag-list { columns: 3 260px; column-gap: 28px; }
#gsb-main .ma-ag-group { break-inside: avoid; margin: 0 0 14px; }
#gsb-main .ma-ag-row { display: flex; align-items: center; gap: 8px; min-height: 36px; border-bottom: 1px solid #262b32; font-size: 14px; color: #e6e9ee; }
#gsb-main .ma-ag-name { flex: 1; min-width: 0; }
#gsb-main .ma-have { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: #8d97a3; white-space: nowrap; }
#gsb-main .ma-have svg { color: #4ade80; }

/* My Dashboard tabs (Resources / Inventory are buttons; Map is a link), styled like the other tabs. */
#gsb-main .gsb-seg button { appearance: none; -webkit-appearance: none; margin: 0; border: 0; background: none; font: inherit; color: #e4e7ec; padding: 7px 18px; border-radius: 8px; font-weight: 600; font-size: 14px; line-height: inherit; cursor: pointer; transition: background-color .12s ease-out, color .12s ease-out; }
#gsb-main .gsb-seg button[aria-selected="true"] { background: var(--gsb-blue); color: #fff; }
#gsb-main .gsb-seg button:not([aria-selected="true"]):hover { background: #232a34; }
#gsb-main .gsb-seg button:focus-visible { outline: 2px solid var(--gsb-link); outline-offset: 2px; }
#gsb-main .gsb-dashboard #my-inventory .gsb-admin { padding-top: 0; }

/* Agency Page editor: common links catalog. */
#gsb-main .ap-common-list { columns: 3 240px; column-gap: 28px; }
#gsb-main .ap-common-cat { break-inside: avoid; margin: 0 0 14px; }
#gsb-main .ap-common-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: #a3abb7; margin-bottom: 2px; }
#gsb-main .ap-common-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; border-bottom: 1px solid #262b32; font-size: 14px; color: #e6e9ee; }
#gsb-main .ap-have { font-size: 12.5px; color: #8d97a3; white-space: nowrap; }
#gsb-main .ap-linkbtn { border: 0; background: none; padding: 2px 4px; font: inherit; font-size: 13px; font-weight: 600; color: var(--gsb-link); cursor: pointer; border-radius: 4px; }
#gsb-main .ap-linkbtn:hover { text-decoration: underline; text-underline-offset: 3px; }
#gsb-main .ap-linkbtn:focus-visible { outline: 2px solid var(--gsb-link); outline-offset: 1px; }

#gsb-main .ma-hint a, #gsb-main .ma-note a, #gsb-main .ma-empty a { color: var(--gsb-link); }

/* Settings → Notifications and app (settings-push.js). */
#gsb-main .np-callout { background: #15181c; border: 1px solid #2a2f37; border-radius: 12px; padding: 14px 16px; margin: 0 0 14px; }
#gsb-main .np-callout.np-good { border-color: rgba(34,197,94,.35); }
#gsb-main .np-callout.np-warn { border-color: rgba(245,165,36,.4); }
#gsb-main .np-lead { margin: 0 0 6px; font-weight: 600; color: #e6e9ee; display: flex; align-items: center; gap: 6px; }
#gsb-main .np-good .np-lead svg, #gsb-main .np-installed svg { color: #4ade80; }
#gsb-main .np-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
#gsb-main .np-steps { margin: 6px 0 2px; padding-left: 22px; color: #c9d0da; font-size: 14.5px; line-height: 1.5; }
#gsb-main .np-steps li { margin: 0 0 8px; padding-left: 2px; }
#gsb-main .np-steps b { color: #e6e9ee; }
#gsb-main .np-ico { vertical-align: -3px; color: var(--gsb-link); }
#gsb-main .np-install { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid #262b32; }
#gsb-main .np-install b { color: #e6e9ee; }
#gsb-main .np-install .st-help { margin: 2px 0 0; }
#gsb-main .np-installed { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #a3abb7; margin: 0 0 12px; }
#gsb-main .np-tip { margin-top: 0; }
#gsb-main .np-h3 { font-size: 14px; font-weight: 600; color: #e6e9ee; margin: 16px 0 6px; }
#gsb-main .np-devices { list-style: none; margin: 0; padding: 0; }
#gsb-main .np-devices li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #262b32; font-size: 14px; color: #e6e9ee; }
#gsb-main .np-devices em { font-style: normal; color: #8d97a3; }
#gsb-main .np-devices small { display: block; color: #8d97a3; font-size: 12.5px; }
#gsb-main .np-dev-acts { display: inline-flex; gap: 6px; }
#gsb-main .np-remove { color: #f87171; }
#gsb-main .np-other { margin-top: 16px; }
#gsb-main .np-other summary { cursor: pointer; color: var(--gsb-link); font-weight: 600; font-size: 14px; }
#gsb-main .np-other-body { padding: 4px 0 0; }

/* Touch screens: controls in the link editors, notification setup and scanners get finger-sized targets. */
@media (pointer: coarse) {
  #gsb-main .ma-ic { width: 40px; height: 40px; }
  #gsb-main .ma-grip { width: 36px; height: 40px; }
  #gsb-main .ap-linkbtn { padding: 10px 8px; }
  #gsb-main .np-other summary { padding: 10px 0; }
  #gsb-main .ap-chk input[type="checkbox"] { width: 20px; height: 20px; }
  #gsb-main .gsb-more { padding: 8px 0; }
  #gsb-main .ma-group h2 .ma-ic { width: 36px; height: 36px; }
  #gsb-main .ma-group h2 { flex-wrap: wrap; row-gap: 2px; }
  #gsb-main .ma-group h2 .ma-title { min-width: 0; overflow-wrap: anywhere; }
}

/* Phones: Settings sections hold cards of their own, so both layers keep their padding small. */
@media (max-width: 560px) {
  #gsb-main .st-card { padding-left: 14px; padding-right: 14px; }
  #gsb-main .st-card .gsb-card { padding: 14px 12px; }
}

/* My Dashboard: an agency wordmark (Riverdale's) already carries the badge, so the Inventory tab doesn't repeat it. */
#my-head:has(.gsb-wordmark img) ~ #my-inventory .as-title-emblem { display: none; }

/* ---- Inventory: optics and lights on a firearm ---- */
#gsb-main .inv-mounts { display: inline-block; margin-top: 2px; }
.inv-dlg .inv-mounted { margin: 18px 0 4px; padding-top: 14px; border-top: 1px solid #2a2f37; }
.inv-dlg .inv-mounted h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; color: #e6e9ee; text-transform: none; letter-spacing: normal; }
.inv-dlg .inv-mount-list { list-style: none; margin: 0 0 10px; padding: 0; }
.inv-dlg .inv-mount-list li { padding: 6px 0; border-bottom: 1px solid #23272e; }
.inv-dlg .inv-mount-list li:last-child { border-bottom: 0; }
.inv-dlg .inv-mount-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.inv-dlg .inv-mount-pick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.inv-dlg .inv-mount-pick select { flex: 1 1 260px; min-width: 0; }
.inv-dlg .inv-follows { margin: -4px 0 12px; }
/* ---- Inventory: Bulk Upload ---- */
/* wider than the item panel: the review table has many columns */
@media (min-width: 900px) { #gsb-main dialog.gsb-admin-dialog.inv-dlg.inv-imp-dlg { width: min(1180px, 96vw) !important; } }
.inv-imp-dlg .imp h2 { margin-bottom: 6px; }
.inv-imp-dlg .imp-steps { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0 0 16px; padding: 0; counter-reset: s; font-size: 13px; color: #8d97a3; }
.inv-imp-dlg .imp-steps li { counter-increment: s; }
.inv-imp-dlg .imp-steps li::before { content: counter(s) ". "; }
.inv-imp-dlg .imp-steps li[aria-current] { color: #e6e9ee; font-weight: 600; }
.inv-imp-dlg .imp-steps li.done { color: #a3abb7; }
.inv-imp-dlg .imp-f { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; max-width: 360px; font-size: 14px; }
.inv-imp-dlg .imp-f.imp-inline { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.inv-imp-dlg .imp-drop { position: relative; display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; padding: 26px 18px; margin: 0 0 12px;
  border: 2px dashed #3a4250; border-radius: 12px; cursor: pointer; }
.inv-imp-dlg .imp-drop b { font-size: 16px; color: var(--gsb-link); }
.inv-imp-dlg .imp-drop.over, .inv-imp-dlg .imp-drop:focus-within { border-color: var(--gsb-link); background: rgba(61,139,255,.06); }
.inv-imp-dlg .imp-drop.busy { opacity: .7; }
.inv-imp-dlg .imp-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.inv-imp-dlg .imp-wrap { max-height: min(56vh, 560px); overflow: auto; border: 1px solid #2a2f37; border-radius: 10px; }
.inv-imp-dlg .imp-wrap .ag-table { margin: 0; }
.inv-imp-dlg .imp-wrap thead th { position: sticky; top: 0; z-index: 1; background: #1a1d22; }
.inv-imp-dlg .imp-cols select, .inv-imp-dlg .imp-names select { width: 100%; min-width: 200px; }
.inv-imp-dlg .imp-h3 { margin: 18px 0 8px; font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: normal; }
.inv-imp-dlg .imp-defaults { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 14px; }
.inv-imp-dlg .imp-defaults label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
/* A select is as wide as its longest choice unless told otherwise; keep each inside its column. */
.inv-imp-dlg .imp-defaults label { min-width: 0; }
.inv-imp-dlg .imp-defaults select { width: 100%; min-width: 0; max-width: 100%; text-overflow: ellipsis; }
.inv-imp-dlg .imp-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; }
.inv-imp-dlg tr.imp-need td { background: rgba(245,158,11,.07); }
/* A row left out is dimmed, except its tick box, which is still a choice. */
.inv-imp-dlg tr.imp-off td:not(.imp-pick) { opacity: .55; }
.inv-imp-dlg .imp-review .imp-pick { width: 36px; }
/* Review: one block per list, each with a colored edge and a count, so the lists can't be missed. */
.inv-imp-dlg .imp-sec { margin: 16px 0 0; padding: 12px 14px 14px; border-radius: 12px; border: 1px solid #2a2f37; border-left: 4px solid #4b5563; background: #191c21; }
.inv-imp-dlg .imp-sec-add { border-left-color: #22a861; }
.inv-imp-dlg .imp-sec-upd { border-left-color: #f59e0b; }
.inv-imp-dlg .imp-sec-bad { border-left-color: #ef4444; }
.inv-imp-dlg .imp-sec-head h3 { margin: 0; font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.inv-imp-dlg .imp-sec-head p { margin: 6px 0 10px; color: #c3c9d1; max-width: 80ch; }
.inv-imp-dlg .imp-sec-head h3 + .imp-wrap, .inv-imp-dlg .imp-sec-head:only-child { margin-top: 10px; }
.inv-imp-dlg .imp-count { display: inline-block; min-width: 24px; padding: 1px 8px; border-radius: 999px; font-size: 13px; text-align: center; background: #2a2f37; color: #e5e7eb; }
.inv-imp-dlg .imp-sec-add .imp-count { background: rgba(34,168,97,.18); color: #4ade80; }
.inv-imp-dlg .imp-sec-upd .imp-count { background: rgba(245,158,11,.18); color: #fbbf4d; }
.inv-imp-dlg .imp-sec-bad .imp-count { background: rgba(239,68,68,.18); color: #fca5a5; }
.inv-imp-dlg .imp-sec-bad .imp-wrap { margin-top: 10px; }
#gsb-main .inv-imp-dlg td.imp-changes { white-space: normal; min-width: 260px; }
.inv-imp-dlg .imp-changes ul { margin: 0; padding: 0; list-style: none; }
.inv-imp-dlg .imp-changes li { padding: 1px 0; }
.inv-imp-dlg .imp-changes li b { font-weight: 600; }
.inv-imp-dlg .imp-same { margin-top: 10px; }
.inv-imp-dlg .imp-same summary { cursor: pointer; color: #c3c9d1; padding: 4px 0; }
.inv-imp-dlg .imp-same ul { margin: 6px 0 0; padding: 0 0 0 4px; list-style: none; columns: 2 280px; column-gap: 24px; font-size: 13px; }
.inv-imp-dlg .imp-same li { padding: 2px 0; break-inside: avoid; }
#gsb-main .inv-imp-dlg .imp-review-bad td { color: #b3bac4; }
#gsb-main .inv-imp-dlg .imp-review-bad td.imp-state { color: #fca5a5; }
.inv-imp-dlg .imp-sec .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inv-imp-dlg .imp-sum { margin: 0 0 8px; }
.inv-imp-dlg .imp-add { color: #4ade80; font-weight: 600; }
.inv-imp-dlg .imp-upd { color: #fbbf4d; font-weight: 600; }
.inv-imp-dlg .imp-review td:last-child { min-width: 190px; }
.inv-imp-dlg .imp-progress { height: 6px; border-radius: 3px; background: #262b32; overflow: hidden; margin: 12px 0 0; }
.inv-imp-dlg .imp-progress span { display: block; height: 100%; width: 0; background: var(--gsb-link); transition: width .25s ease; }
.inv-imp-dlg .imp-done { font-size: 18px; font-weight: 600; }
.inv-imp-dlg .imp-bad { margin: 0; padding-left: 20px; max-height: 40vh; overflow: auto; }
@media (max-width: 640px) {
  .inv-imp-dlg .imp-cols select, .inv-imp-dlg .imp-names select { min-width: 150px; }
  .inv-imp-dlg .imp-f { max-width: none; }
}
/* ---- Agency: people without accounts ---- */
#gsb-main .ag-ro-pick { display: flex; flex-direction: column; gap: 6px; margin: 6px 0 4px; }

/* Offline: shown at the top of a page while there's no connection (site.js) */
#gsb-main .gsb-offline { margin: 0 0 14px; padding: 9px 14px; border-radius: 10px; font-size: 14px; color: #fde68a; background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.35); }

#gsb-main .st-card .st-h3 { margin: 20px 0 6px; font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: normal; }
#gsb-main .st-offline { margin-top: 18px; padding-top: 2px; border-top: 1px solid #2a2f37; }

/* Inventory: ticking items to change them together (inventory.js changeSelected) */
#gsb-main .inv-selbar { position: sticky; top: 8px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: #1b2a44; border: 1px solid #2f4f86; }
#gsb-main .inv-selbar[hidden] { display: none; }
#gsb-main .inv-selbar #inv-sel-n { font-weight: 600; margin-right: auto; }
#gsb-main .inv-table .inv-c-pick { width: 40px; padding-right: 0; text-align: center; cursor: pointer; }
#gsb-main .inv-table .inv-c-pick input { width: 20px; height: 20px; margin: 0; cursor: pointer; accent-color: #3d8bff; }
@media (max-width: 640px) { #gsb-main .inv-table .inv-c-pick { width: 34px; } }

/* My Dashboard: "Get set up" checklist (my-start.js) */
#gsb-main .my-start { margin: 0 0 18px; padding: 14px 16px 6px; border-radius: 12px; background: #16202f; border: 1px solid #2a3d5c; }
#gsb-main .my-start-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 4px; }
#gsb-main .my-start-head h2 { margin: 0; font-size: 17px; }
#gsb-main .my-start-hide { margin-left: auto; font-size: 13px; }
#gsb-main .my-start ul { list-style: none; margin: 0; padding: 0; }
#gsb-main .my-start li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #243246; }
#gsb-main .my-start li:first-child { border-top: 0; }
#gsb-main .my-start-mark { flex: none; box-sizing: border-box; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #4b5a70; }
#gsb-main .my-start li.done .my-start-mark { border-color: #22a861; background: #22a861; color: #fff; }
#gsb-main .my-start li.done .my-start-txt b { font-weight: 500; color: #9aa3ae; }
#gsb-main .my-start-txt { flex: 1; min-width: 0; line-height: 1.35; }
#gsb-main .my-start-err { display: block; margin-top: 4px; color: #fca5a5; }
#gsb-main .my-start-err[hidden] { display: none; }
#gsb-main .my-start li .btn { flex: none; }
#gsb-main .my-start .linkish, #gsb-main .st-card .linkish { background: none; border: 0; padding: 0; color: var(--gsb-link); font: inherit; cursor: pointer; }
#gsb-main .my-start .linkish { font-size: 13px; }
@media (max-width: 560px) { #gsb-main .my-start li { flex-wrap: wrap; } #gsb-main .my-start-txt { flex-basis: calc(100% - 50px); } #gsb-main .my-start li .btn { margin-left: 36px; } }
#gsb-main .my-start .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* Agency panel: the ? beside Members and Lite Members (agency.js TIP) */
#gsb-main .ag-tip { position: relative; display: inline-flex; vertical-align: middle; margin-left: 8px; }
#gsb-main .ag-tip-btn { width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 1px solid #4b5563; background: transparent; color: #c3c9d1; font: 600 13px/1 inherit; cursor: help; display: grid; place-items: center; }
#gsb-main .ag-tip-btn:hover, #gsb-main .ag-tip.open .ag-tip-btn { border-color: #3d8bff; color: #fff; }
#gsb-main .ag-tip-box { display: none; box-sizing: border-box; position: absolute; z-index: 30; top: calc(100% + 8px); left: -12px; width: min(320px, calc(100vw - 24px)); padding: 10px 12px; border-radius: 10px; background: #232832; border: 1px solid #3a4250; box-shadow: 0 8px 24px rgba(0,0,0,.35); color: #e5e7eb; font-size: 13.5px; font-weight: 400; line-height: 1.45; text-transform: none; letter-spacing: normal; white-space: normal; text-align: left; }
#gsb-main .ag-tip:hover .ag-tip-box, #gsb-main .ag-tip:focus-within .ag-tip-box, #gsb-main .ag-tip.open .ag-tip-box { display: block; }
#gsb-main .ag-seats-roster { display: inline-flex; align-items: center; font-size: .85rem; }
#gsb-main .ag-seats-roster a { color: var(--gsb-link); text-decoration: none; }
#gsb-main .ag-seats-roster a:hover { text-decoration: underline; }
#gsb-main .ag-seats-roster .ag-tip { margin-left: 6px; }
#gsb-main .ag-seats-roster .ag-tip-btn { width: 18px; height: 18px; font-size: 11px; }

/* FAQ (/faq/): each question opens in place */
#gsb-main .gsb-faq h2 { margin: 28px 0 8px; font-size: 1.2rem; }
#gsb-main .gsb-faq details { border-bottom: 1px solid #2a2f37; }
#gsb-main .gsb-faq summary { cursor: pointer; padding: 12px 28px 12px 0; font-weight: 600; list-style: none; position: relative; }
#gsb-main .gsb-faq summary::-webkit-details-marker { display: none; }
#gsb-main .gsb-faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-weight: 400; font-size: 1.2rem; color: #8d97a3; }
#gsb-main .gsb-faq details[open] summary::after { content: "\2212"; }
#gsb-main .gsb-faq details p { margin: 0 0 14px; }

/* Agency panel → Records: dates and the export button (agency.js) */
#gsb-main .ag-records { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; margin: 8px 0 4px; }
#gsb-main .ag-records label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
#gsb-main .ag-records input[type="date"] { min-width: 160px; }
#gsb-main .ag-rec-parts { margin: 10px 0 6px; padding: 0; border: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 16px; max-width: 980px; }
#gsb-main .ag-rec-parts legend { font-size: 13px; font-weight: 600; margin-bottom: 6px; padding: 0; }
#gsb-main .ag-rec-parts label { display: flex; align-items: flex-start; gap: 8px; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
#gsb-main .ag-rec-parts label:hover { background: rgba(255,255,255,.04); }
#gsb-main .ag-rec-parts input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: #3d8bff; }
#gsb-main .ag-rec-parts label > span { display: flex; flex-direction: column; line-height: 1.3; }
#gsb-main .ag-rec-parts label .muted { color: #8d97a3; font-size: 12.5px; }
#gsb-main .ag-rec-parts .ag-rec-all { grid-column: 1 / -1; margin: 0; font-size: 13px; }

/* Guided tour (tour.js): a shade with a ring around the control being explained, and a card beside it */
.gsb-tour { position: fixed; inset: 0; z-index: 2000; pointer-events: none; }
.gsb-tour-shade { position: absolute; inset: 0; pointer-events: auto; background: transparent; }
.gsb-tour.centered .gsb-tour-shade { background: rgba(0,0,0,.55); }
.gsb-tour-ring { position: fixed; border-radius: 10px; box-shadow: 0 0 0 3px #3d8bff, 0 0 0 9999px rgba(0,0,0,.55); transition: all .25s ease; pointer-events: none; }
.gsb-tour-card { position: fixed; pointer-events: auto; box-sizing: border-box; padding: 16px 18px 14px; border-radius: 14px; background: #1f242c; border: 1px solid #3a4250; box-shadow: 0 12px 32px rgba(0,0,0,.45); color: #e5e7eb; outline: none; }
.gsb-tour-card h2 { margin: 2px 0 6px; font-size: 18px; line-height: 1.25; }
.gsb-tour-card p { margin: 0; font-size: 15px; line-height: 1.5; color: #d1d5db; }
.gsb-tour-card a { color: var(--gsb-link); }
.gsb-tour-card .gsb-tour-n { font-size: 12.5px; color: #9aa3ae; margin-bottom: 2px; }
.gsb-tour-btns { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.gsb-tour-btns > span { flex: 1; }
.gsb-tour-b { min-height: 40px; padding: 8px 16px; border-radius: 9px; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; border: 1px solid #3a4250; background: #2a303a; color: #e5e7eb; }
.gsb-tour-b:hover { background: #333a46; }
.gsb-tour-next { background: #0066e2; border-color: #0066e2; color: #fff; }
.gsb-tour-next:hover { background: #1a75e8; }
.gsb-tour-b:focus-visible, .gsb-tour-skip:focus-visible { outline: 2px solid #3d8bff; outline-offset: 2px; }
.gsb-tour-skip { background: none; border: 0; padding: 8px 0; color: #9aa3ae; font: inherit; font-size: 14px; cursor: pointer; }
.gsb-tour-skip:hover { color: #e5e7eb; text-decoration: underline; }
.gsb-tour [hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .gsb-tour-ring, .gsb-tour-card { transition: none; } }

/* Settings → Help (settings.js) */
#gsb-main .st-help-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
#gsb-main .st-tour-as { margin-top: 12px; }
#gsb-main .st-tour-as label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; max-width: 320px; }

/* Settings → MDT quick setup (mdt-settings.js) */
#gsb-main .gsb-mdt-info a { color: var(--gsb-link); }
#gsb-main .mdt-list { list-style: none; margin: 10px 0 0; padding: 0; border: 1px solid #2a2f37; border-radius: 10px; }
#gsb-main .mdt-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-top: 1px solid #2a2f37; }
#gsb-main .mdt-list li:first-child { border-top: 0; }
#gsb-main .mdt-n { width: 18px; text-align: right; color: #8d97a3; font-size: 13px; flex: none; }
#gsb-main .mdt-name { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
#gsb-main .mdt-name .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #8d97a3; }
#gsb-main .mdt-btns { display: flex; gap: 4px; flex: none; }
#gsb-main .mdt-b { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; border: 1px solid #2f3540; background: transparent; color: #c3c9d1; cursor: pointer; padding: 0; }
#gsb-main .mdt-b:hover:not(:disabled) { border-color: #3d8bff; color: #fff; }
#gsb-main .mdt-b:disabled { opacity: .35; cursor: default; }
#gsb-main .mdt-rm:hover:not(:disabled) { border-color: #ef4444; color: #fca5a5; }
#gsb-main .mdt-common { display: flex; flex-wrap: wrap; gap: 8px; }
#gsb-main .mdt-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid #2f3540; background: #1a1e24; color: #e5e7eb; font: inherit; font-size: 14px; cursor: pointer; }
#gsb-main .mdt-chip:hover { border-color: #3d8bff; }
#gsb-main .mdt-own { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
#gsb-main .mdt-own label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; flex: 1 1 180px; }
#gsb-main .mdt-own .mdt-url { flex: 2 1 260px; }
#gsb-main .mdt-own input { background: #1a1d22; border: 1px solid #353c47; border-radius: 8px; color: #eee; font: inherit; padding: 10px 12px; min-height: 42px; box-sizing: border-box; }
#gsb-main .mdt-own input:focus { outline: none; border-color: var(--gsb-link); box-shadow: 0 0 0 3px rgba(61, 139, 255, .28); }
#gsb-main .mdt-own .btn { min-height: 42px; }

/* Dragging to reorder (drag-sort.js): the item being moved lifts above the others */
#gsb-main .gsb-lifted { position: relative; z-index: 20; cursor: grabbing; box-shadow: 0 10px 28px rgba(0,0,0,.5); background: #262b33; border-radius: 10px; opacity: 1 !important; }
#gsb-main .gsb-lifted .ma-grip, #gsb-main .gsb-lifted .mdt-grip { cursor: grabbing; }
#gsb-main .gsb-settling { position: relative; z-index: 20; }

/* Settings → Dashboard links: Favorites is its own box, first in the editor (my-agency.js) */
#gsb-main .ma-favbox { border-color: rgba(245,184,0,.45); background: linear-gradient(rgba(245,184,0,.05), rgba(245,184,0,.02)); }
#gsb-main .ma-favbox h2 { display: flex; align-items: center; gap: 8px; }
#gsb-main .ma-favstar { color: #f5b800; display: inline-flex; }
#gsb-main .ma-favcount { margin-left: auto; font-size: 13px; font-weight: 400; color: #8d97a3; }
#gsb-main .ma-favhint { margin: 0 0 8px; font-size: 13px; }
#gsb-main .ma-favbox .ma-drop { border: 2px dashed rgba(245,184,0,.45); border-radius: 10px; padding: 18px 12px; text-align: center; }

/* Agency page editor: the Favorites box (agency-page-edit.js) */
#gsb-main .ap-favs { border-color: rgba(245,184,0,.45); }
#gsb-main .ap-favs h2 .opt { font-size: 13px; font-weight: 400; margin-left: 6px; }

/* My Dashboard favorites: icon and name centered in each button, the star in the corner */
#gsb-main .gsb-fav-grid { grid-auto-rows: 1fr; }
#gsb-main .gsb-fav { position: relative; display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 14px 34px; text-align: center; box-sizing: border-box; }
#gsb-main .gsb-fav .gsb-fav-name { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; }
#gsb-main .gsb-fav .gsb-fav-name b { color: var(--gsb-link); font-size: 16px; font-weight: 700; line-height: 1.3; }
#gsb-main .gsb-fav .gsb-fav-name .gsb-ico { flex: 0 0 16px; }
#gsb-main .gsb-fav-star { position: absolute; top: 9px; right: 10px; color: var(--gsb-link); display: inline-flex; opacity: .85; }
#gsb-main .gsb-fav-star svg { width: 12px; height: 12px; }

/* Save notice (site.js gsbToast): a pill at the top middle, under the header */
.gsb-toast { position: fixed; left: 50%; z-index: 1500; display: inline-flex; align-items: center; gap: 8px; max-width: min(520px, calc(100vw - 32px)); box-sizing: border-box;
  padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.3; color: #e5e7eb; background: #232a35; border: 1px solid #3a4250;
  box-shadow: 0 8px 24px rgba(0,0,0,.4); transform: translate(-50%, -8px); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.gsb-toast.show { opacity: 1; transform: translate(-50%, 0); }
.gsb-toast.ok svg { color: #4ade80; flex: none; }
.gsb-toast.bad { color: #fecaca; background: #3a1c1f; border-color: #7f2a2f; }
.gsb-toast-spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: gsb-spin .7s linear infinite; flex: none; }
@keyframes gsb-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gsb-toast { transition: none; } .gsb-toast-spin { animation: none; } }

/* My Dashboard: one "Your Links" box with every group (my-agency.js viewGroups) */
#gsb-main .gsb-yourlinks .gsb-groups { columns: 3 260px; column-gap: 32px; }
#gsb-main .gsb-group-note { margin: 0 0 4px; font-size: 13px; color: #a3abb7; }

/* A link's note as an ⓘ tooltip beside it (my-agency.js tip) */
#gsb-main .gsb-lrow { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #262b32; }
#gsb-main .gsb-list > .gsb-lrow:last-child { border-bottom: 0; }
#gsb-main .gsb-lrow > a { flex: 1 1 auto; min-width: 0; border-bottom: 0 !important; }
#gsb-main .gsb-ltip { position: relative; display: inline-flex; flex: none; }
#gsb-main .gsb-ltip-btn { width: 20px; height: 20px; padding: 0; border-radius: 50%; border: 1px solid #4b5563; background: transparent; color: #a3abb7; font: italic 700 12px/1 Georgia, serif; cursor: help; display: grid; place-items: center; }
#gsb-main .gsb-ltip-btn:hover, #gsb-main .gsb-ltip.open .gsb-ltip-btn { border-color: #3d8bff; color: #fff; }
#gsb-main .gsb-ltip-box { display: none; position: fixed; z-index: 1200; top: 0; left: 0; width: max-content; max-width: min(280px, 80vw); box-sizing: border-box; padding: 8px 11px; border-radius: 9px; background: #232832; border: 1px solid #3a4250; box-shadow: 0 8px 22px rgba(0,0,0,.4); color: #e5e7eb; font-size: 13px; font-style: normal; line-height: 1.4; white-space: normal; text-align: left; }
#gsb-main .gsb-ltip:hover .gsb-ltip-box, #gsb-main .gsb-ltip:focus-within .gsb-ltip-box, #gsb-main .gsb-ltip.open .gsb-ltip-box { display: block; }
#gsb-main .ma-row .gsb-ltip { margin-right: 2px; }
@media (max-width: 640px) { #gsb-main .gsb-ltip-btn { width: 28px; height: 28px; font-size: 14px; } }

#gsb-main .gsb-fav-wrap { position: relative; display: grid; }
#gsb-main .gsb-fav-wrap > .gsb-ltip { position: absolute; right: 8px; bottom: 8px; }

/* Bulk upload review: an existing item's current assignment and attachments (inventory-import.js) */
.inv-imp-dlg .imp-now { display: flex; flex-direction: column; gap: 1px; margin-top: 6px; color: #a3abb7; }
.inv-imp-dlg .imp-now b { color: #e5e7eb; font-weight: 600; }

/* Inventory: pills over a list to show one type (Optics, Weapon Lights…) */
#gsb-main .inv-type-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
#gsb-main .inv-tpill { font: inherit; font-size: .88rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid #353c47; background: #1d2127; color: #c9ced6; cursor: pointer; }
#gsb-main .inv-tpill span { font-weight: 500; opacity: .65; margin-left: 2px; }
#gsb-main .inv-tpill:hover { border-color: #4a5466; color: #fff; }
#gsb-main .inv-tpill[aria-pressed="true"] { background: var(--gsb-blue); border-color: var(--gsb-blue); color: #fff; }
#gsb-main .inv-tpill:focus-visible { outline: 2px solid var(--gsb-blue); outline-offset: 2px; }
/* Firearm's optics and lights: Take Off is a button at the right edge, away from the name */
.inv-dlg .inv-mount-list li { display: flex; align-items: center; gap: 12px; }
.inv-dlg .inv-mount-list .inv-mount-name { flex: 1; min-width: 0; }
.inv-dlg .inv-mount-list .inv-rm, .inv-dlg .inv-rm-dd { margin-left: auto; flex: none; padding: 5px 12px; font-size: .85rem; }
.inv-dlg .inv-rm-dd { float: right; }
/* Inventory: Scan Vehicle (site/assets/vehicle-scan.js) */
.inv-dlg .vs-wrap h2 { margin-top: 0; }
.inv-dlg .vs-count { font-weight: 600; color: #4ade80; margin: -4px 0 8px; }
.inv-dlg .vs-cam { position: relative; background: #000; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; max-height: 55vh; margin: 10px 0; }
.inv-dlg .vs-cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.inv-dlg .vs-guide { position: absolute; left: 5%; right: 5%; top: 30%; bottom: 30%; border: 3px solid rgba(255,255,255,.9); border-radius: 8px; box-shadow: 0 0 0 9999px rgba(0,0,0,.45); }
.inv-dlg .vs-cam.vs-hit .vs-guide { border-color: #4ade80; }
.inv-dlg .vs-camtop { position: absolute; top: 8px; right: 8px; }
.inv-dlg .vs-camtop .btn[aria-pressed="true"] { background: #fbbf4d; color: #151515; }
.inv-dlg .vs-acts { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 14px; }
.inv-dlg .vs-photo { cursor: pointer; }
.inv-dlg .vs-type label { display: block; font-weight: 600; margin-bottom: 6px; }
.inv-dlg .vs-row { display: flex; gap: 8px; }
.inv-dlg .vs-row input { flex: 1; min-width: 0; font-family: ui-monospace, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; }
.inv-dlg .vs-msg { margin: 10px 0 0; font-size: .92rem; }
.inv-dlg .vs-msg.bad { color: #f87171; }
.inv-dlg .vs-vin b { font-family: ui-monospace, Menlo, monospace; letter-spacing: .06em; }
.inv-dlg .vs-warn, .inv-dlg .inv-scan-note b { color: #fbbf4d; }
.inv-dlg .vs-result { margin: 10px 0 4px; min-height: 3em; }
.inv-dlg .vs-name { font-size: 1.15rem; font-weight: 700; margin: 0 0 2px; }
.inv-dlg .vs-spin { display: inline-block; width: 14px; height: 14px; border: 2px solid #4a5466; border-top-color: var(--gsb-blue); border-radius: 50%; animation: vs-spin .8s linear infinite; vertical-align: -2px; margin-right: 6px; }
@keyframes vs-spin { to { transform: rotate(360deg); } }
.inv-dlg .inv-scan-note { background: #1d2530; border: 1px solid #2c3a4d; border-radius: 6px; padding: 8px 12px; font-size: .92rem; }
/* Help: the ? in the top bar and its panel (site/assets/help.js) */
#gsb-header .gsb-help-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-left: -16px; padding: 0; border: 1px solid #2a2f37; border-radius: 8px; background: none; color: #c3cad4; cursor: pointer; }
#gsb-header .gsb-help-btn:hover { color: #fff; background: #222831; }
#gsb-header .gsb-help-btn:focus-visible { outline: 2px solid var(--gsb-link); outline-offset: 2px; }
@media (max-width: 767px) { #gsb-header .gsb-help-btn { order: 2; margin-left: -4px; width: 36px; height: 36px; } }
html.gh-lock { overflow: hidden; }
.gh-panel { position: fixed; inset: 0; z-index: 3000; font-family: var(--gsb-font); font-size: 15px; line-height: 1.45; color: #dfe3e9; }
.gh-panel[hidden] { display: none; }
.gh-shade { position: absolute; inset: 0; background: rgba(5,8,12,.55); opacity: 0; transition: opacity .2s; }
.gh-sheet { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #16191e; border-left: 1px solid #2a3039; box-shadow: -18px 0 40px rgba(0,0,0,.45); display: flex; flex-direction: column; transform: translateX(24px); opacity: 0; transition: transform .2s ease-out, opacity .2s; }
.gh-panel.gh-open .gh-shade { opacity: 1; }
.gh-panel.gh-open .gh-sheet { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .gh-shade, .gh-sheet { transition: none; } }
.gh-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 6px; }
.gh-top h2 { margin: 0; font-size: 1.25rem; color: var(--gsb-head); font-weight: 700; }
.gh-x { background: none; border: 0; color: #aab2be; font-size: 28px; line-height: 1; width: 40px; height: 40px; border-radius: 8px; cursor: pointer; }
.gh-x:hover { background: #232a33; color: #fff; }
.gh-search { position: relative; margin: 6px 18px 4px; }
.gh-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #8b94a1; }
.gh-search input { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 11px 12px 11px 40px; border-radius: 8px; border: 1px solid #353c47; background: #1e2228; color: #fff; }
.gh-search input:focus { outline: 2px solid var(--gsb-blue); outline-offset: 0; border-color: transparent; }
.gh-body { flex: 1; overflow-y: auto; padding: 4px 18px 18px; overscroll-behavior: contain; }
.gh-h { font-size: .8rem; font-weight: 700; color: #8f98a5; margin: 16px 0 6px; letter-spacing: .02em; }
.gh-list { list-style: none; margin: 0; padding: 0; }
.gh-item + .gh-item { border-top: 1px solid #23282f; }
.gh-link { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 6px; margin: 0 -6px; border-radius: 6px; text-decoration: none; color: inherit; }
.gh-link b { color: #fff; font-weight: 600; }
.gh-link span { grid-column: 1; color: #a5adb9; font-size: .9rem; }
.gh-link em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: .82rem; font-weight: 600; color: var(--gsb-link); white-space: nowrap; }
.gh-link:hover, .gh-link:focus-visible { background: #1f242b; outline: none; }
.gh-q { display: block; width: calc(100% + 12px); text-align: left; background: none; border: 0; font: inherit; color: #fff; font-weight: 600; padding: 10px 26px 10px 6px; margin: 0 -6px; border-radius: 6px; cursor: pointer; position: relative; box-sizing: border-box; }
.gh-q::after { content: ""; position: absolute; right: 8px; top: 50%; width: 7px; height: 7px; border-right: 2px solid #8b94a1; border-bottom: 2px solid #8b94a1; transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.gh-q[aria-expanded="true"]::after { transform: translateY(-30%) rotate(-135deg); }
.gh-q:hover, .gh-q:focus-visible { background: #1f242b; outline: none; }
.gh-a { padding: 0 0 10px; color: #c7cdd6; font-size: .93rem; }
.gh-a p { margin: 0 0 6px; }
.gh-a a, .gh-none a, .gh-foot a { color: var(--gsb-link); }
.gh-none { padding: 18px 0; color: #b5bcc7; }
.gh-none p { margin: 0 0 8px; }
.gh-muted { color: #9aa3af; font-size: .9rem; }
.gh-miss { list-style: none; margin: 0; padding: 0; }
.gh-miss li { padding: 8px 0; border-top: 1px solid #23282f; display: flex; flex-direction: column; }
.gh-miss span { color: #9aa3af; font-size: .85rem; }
.gh-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #262b33; font-size: .92rem; }
.gh-foot a { text-decoration: none; font-weight: 600; }
.gh-tour { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--gsb-link); cursor: pointer; }
.gh-foot a:hover, .gh-tour:hover { text-decoration: underline; }
/* Agency Settings → Firearms Qualifications */
#gsb-main .as-q-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 16px; margin: 0 0 14px; }
#gsb-main .as-q-grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; }
#gsb-main #as-quals .as-iv-table input { width: 6rem; }
/* Inventory → Qualifications (site/assets/quals.js) */
#gsb-main .q-bar { align-items: center; }
#gsb-main .q-range { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: #b7bec9; margin-left: auto; }
#gsb-main .q-card { border: 1px solid #2a3039; border-radius: 10px; padding: 16px 18px; margin: 0 0 18px; background: #181b20; }
#gsb-main .q-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 0 0 12px; }
#gsb-main .q-head h2 { margin: 0; font-size: 1.15rem; }
#gsb-main .q-count { color: #b7bec9; font-size: .95rem; }
#gsb-main .q-count b { color: #fff; }
#gsb-main .q-rules { margin: 10px 0 0; }
#gsb-main .q-sessions { list-style: none; margin: 0; padding: 0; }
#gsb-main .q-session + .q-session { border-top: 1px solid #262b33; }
#gsb-main .q-sess-btn { display: grid; grid-template-columns: 150px 1fr auto; gap: 4px 16px; align-items: baseline; width: 100%; text-align: left; background: none; border: 0; color: inherit; font: inherit; padding: 11px 8px; border-radius: 6px; cursor: pointer; }
#gsb-main .q-sess-btn:hover, #gsb-main .q-sess-btn:focus-visible { background: #20252c; }
#gsb-main .q-sess-n { color: #b7bec9; font-size: .92rem; white-space: nowrap; }
#gsb-main .q-fail { color: #f87171; }
#gsb-main .q-session.open { padding-bottom: 10px; }
@media (max-width: 640px) { #gsb-main .q-sess-btn { grid-template-columns: 1fr; } #gsb-main .q-range { margin-left: 0; } }
.q-duty { display: inline-block; font-size: .75rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: #1f3a5c; color: #a9cbf5; vertical-align: 1px; }
.q-duty.off { background: #3b2f4e; color: #d4bdf5; }
#gsb-main .gsb-admin-dialog.inv-dlg.q-dlg { width: min(780px, 96vw); }
.q-form .q-wide { grid-column: 1 / -1; }
.q-form .q-wide input[name="instructorName"] { margin-top: 6px; }
.q-form .q-types { display: flex; flex-wrap: wrap; gap: 8px 18px; border: 0; padding: 0; margin: 14px 0 4px; }
.q-form .q-types legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.q-form .q-types label { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.q-form .q-sub { margin: 16px 0 8px; font-size: 1rem; }
.q-form .q-empty { margin: 0 0 10px; }
.q-form .q-row { border: 1px solid #2c323b; border-radius: 8px; padding: 10px 12px; margin: 0 0 10px; background: #1a1e24; }
.q-form .q-row-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.q-form .q-x { background: none; border: 0; color: #9aa3af; font-size: 22px; line-height: 1; width: 32px; height: 32px; border-radius: 6px; cursor: pointer; }
.q-form .q-x:hover { background: #262c35; color: #fff; }
.q-form .q-gun { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.q-form .q-gun select { flex: 1; min-width: 0; }
.q-form .q-other { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px; margin-top: 6px; }
.q-form .q-courses { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 8px 0; }
.q-form .q-course { display: flex; align-items: center; gap: 8px; }
.q-form .q-course-l { font-weight: 600; font-size: .9rem; min-width: 3.2rem; }
.q-form .q-course input { width: 5.5rem; }
.q-form .q-pf { display: inline-flex; border: 1px solid #353c47; border-radius: 6px; overflow: hidden; }
.q-form .q-pf button { background: none; border: 0; color: #c3cad4; font: inherit; font-size: .85rem; font-weight: 600; padding: 5px 10px; cursor: pointer; }
.q-form .q-pf button + button { border-left: 1px solid #353c47; }
.q-form .q-pf button[data-pf$="|1"][aria-pressed="true"] { background: #166534; color: #fff; }
.q-form .q-pf button[data-pf$="|0"][aria-pressed="true"] { background: #991b1b; color: #fff; }
.q-form .q-notes { width: 100%; box-sizing: border-box; }
.q-form .q-more { margin-top: 6px; font-size: .9rem; }
.q-form .q-add { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.q-form .q-add .inv-combo { flex: 1; min-width: 220px; }
.q-form .q-add .inv-combo input { width: 100%; box-sizing: border-box; }
/* Agency → Lite Members: row actions as buttons, at the right */
#gsb-main .ag-roster td.ag-ro-acts { text-align: right; white-space: nowrap; }
#gsb-main .ag-roster .ag-ro-acts .btn { margin: 2px 0 2px 6px; }
#gsb-main .ag-roster .ag-ro-acts .btn.btn-danger-quiet { margin-right: 0; }
@media (max-width: 640px) { #gsb-main .ag-roster td.ag-ro-acts { white-space: normal; } }
/* Header: My Agency menu for agency administrators (auth.js agencyMenu) */
#gsb-header .gsb-agency-menu { position: relative; }
#gsb-header .gsb-am-btn { display: inline-flex; align-items: center; gap: 7px; border: 0; font-family: inherit; cursor: pointer; }
#gsb-header .gsb-am-btn::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-2px) rotate(45deg); opacity: .75; }
#gsb-header .gsb-agency-menu.open .gsb-am-btn::after { transform: translateY(1px) rotate(-135deg); }
#gsb-header .gsb-am-btn[data-here], #gsb-header .gsb-agency-menu.open .gsb-am-btn { color: #fff; background: rgba(61, 139, 255, .22); }
#gsb-header .gsb-am-drop { position: absolute; right: 0; top: 100%; margin-top: 8px; min-width: 180px; padding: 6px; background: #1a1d22; border: 1px solid #2f3540; border-radius: 12px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); z-index: 60; }
#gsb-header .gsb-am-drop a { display: block; padding: 9px 12px; border-radius: 8px; color: #dfe3e9; font-size: 14px; font-weight: 600; text-decoration: none; }
#gsb-header .gsb-am-drop a:hover, #gsb-header .gsb-am-drop a:focus-visible { background: #262c35; color: #fff; outline: none; }
#gsb-header .gsb-am-drop a[aria-current="page"] { color: #fff; background: rgba(61, 139, 255, .22); }
/* Agency page: group notes and changing a link (my-agency.js) */
#gsb-main .ma-gnote { margin: -4px 0 8px; font-size: .88rem; }
#gsb-main .ma-gnote .linkish { color: #9aa3af; text-align: left; }
#gsb-main .ma-noteedit { width: 100%; margin: -4px 0 8px; }
#gsb-main .ma-row.ma-editrow { display: block; padding: 8px 6px; }
#gsb-main .ma-linkedit { display: grid; gap: 6px; }
#gsb-main .ma-linkedit input { width: 100%; box-sizing: border-box; }
#gsb-main .ma-le-btns { display: flex; gap: 6px; justify-content: flex-end; }
#gsb-main .gsb-agency-page .ap-reset { margin: 12px 0 0; }
/* Agency Settings: two columns on wide screens, tighter cards */
#gsb-main .as-cols { display: block; }
@media (min-width: 1100px) {
  #gsb-main .as-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; align-items: start; }
  #gsb-main #intervals .as-iv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
#gsb-main .as-cols .as-card, #gsb-main #intervals.as-card { padding: 16px 18px; margin-bottom: 16px; }
#gsb-main .as-cols .as-card h2, #gsb-main #intervals.as-card h2 { margin-bottom: 8px; }
#gsb-main .as-cols .as-card > p.muted, #gsb-main #intervals > p.muted { margin: 0 0 10px; font-size: .92rem; line-height: 1.45; }
#gsb-main #quals .as-q-grid { margin-bottom: 10px; }
#gsb-main #quals .as-iv-kind { padding: 4px 12px 6px; margin: 0; }
#gsb-main #quals .as-iv-table td { padding: 3px 8px; }
#gsb-main #quals .as-iv-table input { padding: 5px 8px; min-height: 0; width: 5.5rem; }
#gsb-main #quals .as-iv-kind .muted.small { margin: 6px 0 0; }
#gsb-main #certs .as-soon, #gsb-main #quals .as-soon { margin-bottom: 8px; }
#gsb-main .as-cols #certs form { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
#gsb-main .as-cols #certs form .as-soon { margin: 0; }
#gsb-main .as-cols #certs form .as-actions { margin: 0; }
@media (min-width: 1100px) { #gsb-main #intervals .as-iv-grid .as-iv-kind:has(th:nth-child(3)) { grid-column: span 2; } }
#gsb-main #quals .as-q-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
/* Record Qualification: an officer's rows together, each row its own type and firearm */
.q-form .q-person { border: 1px solid #2c323b; border-radius: 8px; padding: 10px 12px; margin: 0 0 10px; background: #1a1e24; }
.q-form .q-person-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.q-form .q-person .q-row { border: 0; border-top: 1px solid #2a3038; border-radius: 0; padding: 10px 0 8px; margin: 0; background: none; }
.q-form .q-person .q-person-head + .q-row { border-top: 0; padding-top: 2px; }
.q-form .q-gun select[data-type] { flex: 0 0 auto; width: auto; }
.q-form .q-x-row { font-size: 18px; width: 28px; height: 28px; }
.q-form .q-types label { font-weight: 600; }
/* Phone top bar: the logo centered on its own line; Menu at the left and the buttons at the right of
   the line below, all 36px tall so they line up */
@media (max-width: 767px) {
  #gsb-header { column-gap: 8px; row-gap: 10px; align-items: center; }
  #gsb-header .gsb-brand { order: 0; flex: 1 0 100%; justify-content: center; margin: 0 !important; }
  #gsb-header .gsb-menu-toggle { order: 1; height: 36px; box-sizing: border-box; padding-top: 0; padding-bottom: 0; margin: 0 auto 0 0; }
  #gsb-header .gsb-theme { order: 2; margin: 0; }
  #gsb-header .gsb-help-btn { order: 3; margin: 0; }
  #gsb-header #gsb-account { order: 4; gap: 8px; min-width: 36px; }
  #gsb-header #gsb-account .gsb-admin-link { height: 36px; box-sizing: border-box; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 8px; }
  #gsb-header #gsb-account .cl-userButtonTrigger, #gsb-header #gsb-account .cl-avatarBox, #gsb-header #gsb-account .cl-userButtonAvatarBox { width: 36px; height: 36px; }
  #gsb-header.menu-open .gsb-search { order: 6; }
  #gsb-header nav { order: 7; }
}
@media (max-width: 379px) { /* narrow phones: Menu shows just its icon so the row still fits (the word stays for screen readers) */
  #gsb-header .gsb-menu-toggle { font-size: 0; gap: 0; width: 44px; justify-content: center; padding: 0; }
}
/* Scrolling tab bars: fade and arrow at an edge with more tabs past it (site.js) */
#gsb-main .gsb-hscroll { position: relative; width: fit-content; max-width: 100%; margin: 6px 0 22px; }
#gsb-main .gsb-hscroll > .gsb-tabs.gsb-tabs { margin: 0; }
#gsb-main .gsb-hs-btn { position: absolute; top: 1px; bottom: 1px; width: 52px; display: none; align-items: center; padding: 0 8px; border: 0; cursor: pointer; color: #e6eaf0; z-index: 2; }
#gsb-main .gsb-hs-next { right: 1px; justify-content: flex-end; border-radius: 0 11px 11px 0; background: linear-gradient(to right, rgba(26, 29, 34, 0), #1a1d22 60%); }
#gsb-main .gsb-hs-prev { left: 1px; justify-content: flex-start; border-radius: 11px 0 0 11px; background: linear-gradient(to left, rgba(26, 29, 34, 0), #1a1d22 60%); }
#gsb-main .gsb-hs-prev svg { transform: scaleX(-1); }
#gsb-main .gsb-hs-btn svg { width: 26px; height: 26px; padding: 5px; box-sizing: border-box; border-radius: 50%; background: #2a313b; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
#gsb-main .gsb-hscroll.hs-over:not(.hs-end) .gsb-hs-next, #gsb-main .gsb-hscroll.hs-over:not(.hs-start) .gsb-hs-prev { display: flex; }
html[data-theme="light"] body #gsb-main .gsb-hs-btn { color: #1f2630; }
html[data-theme="light"] body #gsb-main .gsb-hs-next { background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 60%); }
html[data-theme="light"] body #gsb-main .gsb-hs-prev { background: linear-gradient(to left, rgba(255, 255, 255, 0), #fff 60%); }
html[data-theme="light"] body #gsb-main .gsb-hs-btn svg { background: #eef1f4; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
/* Inventory heading: what you manage, as pills */
#gsb-main .inv-manages { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 12px; padding: 0; }
#gsb-main .inv-manages li { font-size: .82rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #1f2a38; color: #b9d2f3; border: 1px solid #2b3b50; white-space: nowrap; }
#gsb-main .inv-manages li.inv-manages-l { background: none; border: 0; padding: 3px 2px 3px 0; color: #9aa3af; font-weight: 500; }
html[data-theme="light"] body #gsb-main .inv-manages li { background: #e8f0fc; color: #1d4f91; border-color: #cfdcf2; }
html[data-theme="light"] body #gsb-main .inv-manages li.inv-manages-l { background: none; color: #5b6675; }
/* Records (/records/, site/assets/records.js) */
#gsb-main .rec-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 0 0 12px; }
#gsb-main .rec-bar .rec-date { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; font-weight: 600; color: #aab3bf; }
#gsb-main .rec-bar input[type="search"] { flex: 1; min-width: 200px; }
#gsb-main .rec-count { margin: 0 0 8px; }
#gsb-main .rec-empty { padding: 18px 0; }
#gsb-main .rec-table tr.rec-more { cursor: pointer; }
#gsb-main .rec-table tr.rec-more:hover td, #gsb-main .rec-table tr.rec-more:focus-visible td { background: #1d2229; }
#gsb-main .rec-table tr.rec-more[aria-expanded="true"] td { background: #1d2229; }
#gsb-main .rec-detail td { background: #171a1f; }
#gsb-main .rec-checks { list-style: none; margin: 4px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 18px; }
#gsb-main .rec-checks li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px solid #242930; font-size: .9rem; }
#gsb-main .rec-checks li span { color: #aab3bf; }
#gsb-main .rec-checks li.bad b { color: #f87171; }
#gsb-main .rec-notes { margin: 8px 0 2px; font-size: .9rem; }
#gsb-main .rec-export .ag-rec-parts { margin-top: 10px; }
#gsb-main .rec-bar .rec-date .inv-date { height: 40px; }
#gsb-main .rec-bar .rec-date .inv-date-text { width: 9.5rem; }
#gsb-main .rec-bar > input[type="search"], #gsb-main .rec-bar > .btn { height: 40px; box-sizing: border-box; flex-grow: 0; }
#gsb-main .rec-bar > input[type="search"] { flex: 1 1 220px; }
/* Records export on phones: a fieldset is as wide as its content unless told otherwise, which pushed
   the page sideways; one column of choices, and the dates side by side */
#gsb-main .ag-rec-parts { min-width: 0; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
#gsb-main .ag-rec-parts label > span { min-width: 0; overflow-wrap: anywhere; }
#gsb-main .rec-export { min-width: 0; overflow: hidden; }
@media (max-width: 640px) {
  #gsb-main .ag-records label { flex: 1 1 140px; min-width: 0; }
  #gsb-main .rec-bar .rec-date .inv-date-text, #gsb-main .ag-records .inv-date-text { width: 100%; min-width: 0; }
  #gsb-main .rec-bar .rec-date .inv-date, #gsb-main .ag-records .inv-date { width: 100%; }
  #gsb-main .ag-records .btn { flex: 1 1 100%; }
  #gsb-main .rec-bar .rec-date { flex: 1 1 140px; min-width: 0; }
}
/* Records and Qualifications tables on phones: cards, each value under its column's name */
@media (max-width: 640px) {
  #gsb-main .inv-table.rec-cards tr.ag-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; padding: 12px 4px; align-items: start; }
  #gsb-main .inv-table.rec-cards tr.ag-row td { min-width: 0; overflow-wrap: anywhere; white-space: normal; }
  #gsb-main .inv-table.rec-cards tr.ag-row td:first-child { grid-column: 1 / -1; font-weight: 600; }
  #gsb-main .inv-table.rec-cards tr.ag-row td[data-l]:not(:first-child)::before { content: attr(data-l); display: block; font-size: .72rem; font-weight: 600; color: #8d97a3; margin-bottom: 2px; }
  #gsb-main .inv-table.rec-cards tr.ag-row td:empty { display: none; }
  #gsb-main .inv-table.rec-cards tr.rec-detail { display: block; }
  #gsb-main .inv-table.rec-cards tr.rec-detail td { display: block; }
  #gsb-main .q-sess-btn { grid-template-columns: 1fr; }
}
/* Records → Add Certifications */
#gsb-main .gsb-admin-dialog.rec-cdlg { width: min(640px, 96vw); }
.rec-cdlg .cb-valid { display: flex; gap: 8px; }
.rec-cdlg .cb-valid input { width: 5rem; }
.rec-cdlg .cb-head, .rec-cdlg .cb-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .9fr) 32px; gap: 10px; align-items: center; }
.rec-cdlg .cb-head { font-size: .78rem; font-weight: 600; color: #8d97a3; padding: 0 0 4px; border-bottom: 1px solid #2a3038; }
.rec-cdlg .cb-row { padding: 8px 0; border-bottom: 1px solid #23282f; }
.rec-cdlg .cb-row .cb-date .inv-date, .rec-cdlg .cb-row .cb-date .inv-date-text { width: 100%; min-width: 0; box-sizing: border-box; }
.rec-cdlg .cb-exp { font-size: .92rem; }
.rec-cdlg .q-add { margin-top: 10px; }
@media (max-width: 520px) {
  .rec-cdlg .cb-head { display: none; }
  .rec-cdlg .cb-row { grid-template-columns: minmax(0, 1fr) 32px; }
  .rec-cdlg .cb-row b { grid-column: 1; }
  .rec-cdlg .cb-row .q-x { grid-column: 2; grid-row: 1; }
  .rec-cdlg .cb-row .cb-date { grid-column: 1 / -1; }
  .rec-cdlg .cb-row .cb-exp { grid-column: 1 / -1; }
  .rec-cdlg .cb-row .cb-exp::before { content: "Expires "; color: #8d97a3; }
}
.rec-cdlg .q-x { background: none; border: 0; color: #9aa3af; font-size: 22px; line-height: 1; width: 32px; height: 32px; border-radius: 6px; cursor: pointer; padding: 0; }
.rec-cdlg .q-x:hover { background: #262c35; color: #fff; }
.rec-cdlg .q-add .inv-combo { display: block; max-width: 360px; }
.rec-cdlg .q-add .inv-combo input { width: 100%; box-sizing: border-box; }
/* Date fields on iPhone/iPad (site.js marks html.gsb-ios and wraps them): fill their box, text on the
   left, and a gray "Choose a date" while empty */
html.gsb-ios .gsb-date { position: relative; display: block; min-width: 0; width: 100%; }
html.gsb-ios input[type="date"]:not(.inv-date-native) { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; min-height: 44px; text-align: left; }
html.gsb-ios input[type="date"]:not(.inv-date-native)::-webkit-date-and-time-value { text-align: left; }
html.gsb-ios .gsb-date[data-empty]::after { content: attr(data-ph); position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #7d8692; pointer-events: none; font-size: 16px; }
html.gsb-ios .q-course .gsb-date { width: auto; }
#gsb-main input[type="date"] { max-width: 100%; }
.rec-cdlg .cb-row > * { min-width: 0; }
#gsb-main .ag-records input.inv-date-native, #gsb-main .rec-bar input.inv-date-native { min-width: 0; width: 100%; height: 100%; }
#gsb-main .ag-records .inv-date-text { width: 10rem; }
#gsb-main .inv-date-btn { overflow: hidden; }
#gsb-main input.inv-date-native { min-width: 0; max-width: 100%; }
.ag-cert-detail [hidden], .cb-detail [hidden], .cb-detail[hidden], .ag-cert-detail[hidden] { display: none !important; }
.cb-detail { grid-column: 1 / -1; }
/* Tour in light mode: a darker shade than the light theme would make, so the control being explained stands out. */
html[data-theme="light"] body .gsb-tour-ring { box-shadow: 0 0 0 3px #0066e2, 0 0 0 9999px rgba(15,23,41,.45); }
html[data-theme="light"] body .gsb-tour.centered .gsb-tour-shade { background: rgba(15,23,41,.45); }

/* ==== LIGHT THEME (generated by scripts/light-theme.py; do not edit) ==== */
html[data-theme="light"] { color-scheme: light; }
html[data-theme="light"] { --gsb-bg: #f3f4f6; --gsb-link: #0059c7; --gsb-link-hover: #0047a3; --gsb-blue: #0066e2; --gsb-head: #2b3038; --gsb-text: #4a5260; }
html[data-theme="light"] { background: var(--gsb-bg); }
html[data-theme="light"] body.gsb { background: var(--gsb-bg); color: var(--gsb-text); }
html[data-theme="light"] #gsb-header { border-bottom: 1px solid #dbdfe4; background: var(--gsb-bg); }
html[data-theme="light"] #gsb-header .gsb-brand { color: var(--gsb-head); text-decoration: none; }
html[data-theme="light"] #gsb-header nav > ul > li > a, html[data-theme="light"] #gsb-header nav > ul > li > button { color: #1d2127; text-decoration: none; background: none; }
html[data-theme="light"] #gsb-header nav > ul > li > a:hover, html[data-theme="light"] #gsb-header nav > ul > li > button:hover, html[data-theme="light"] #gsb-header nav > ul > li.active > a, html[data-theme="light"] #gsb-header nav > ul > li.active > button, html[data-theme="light"] #gsb-header .has-sub.open > button { background: #f7f8fa; color: #14171b; }
html[data-theme="light"] #gsb-header .gsb-drop { background: #ffffff; border: 1px solid #d8dde4; box-shadow: 0 18px 50px rgba(15,23,41,0.121); }
html[data-theme="light"] #gsb-header .gsb-mega-head { color: #525b68; }
html[data-theme="light"] #gsb-header .gsb-mega a { text-decoration: none; color: #1d2127; }
html[data-theme="light"] #gsb-header .gsb-mega a span { color: #525b68; }
html[data-theme="light"] #gsb-header .gsb-mega a:hover, html[data-theme="light"] #gsb-header .gsb-mega a[aria-current] { background: #f7f8f9; color: #14171b; }
html[data-theme="light"] #gsb-header .gsb-mega-note { border-top: 1px solid #dde1e7; color: #525b68; }
html[data-theme="light"] #gsb-header .gsb-mega-note svg { color: var(--gsb-link); }
html[data-theme="light"] #gsb-header .gsb-dept:hover { background: #f7f8f9; }
html[data-theme="light"] #gsb-header .gsb-dept a { color: #1d2127; text-decoration: none; }
html[data-theme="light"] #gsb-header .gsb-dept a.gsb-dept-map { color: var(--gsb-link); }
html[data-theme="light"] #gsb-header .gsb-dept a:hover { color: #14171b; }
html[data-theme="light"] #gsb-header .gsb-dept a.gsb-dept-map:hover { color: var(--gsb-link-hover); }
html[data-theme="light"] #gsb-header .gsb-search { background: #ffffff; border: 1px solid #d6dae0; color: #5b6574; }
html[data-theme="light"] #gsb-header .gsb-search input { background: none; color: #25303f; }
html[data-theme="light"] #gsb-header .gsb-search input::placeholder { color: #606976; }
html[data-theme="light"] #gsb-header #gsb-q-results { background: #ffffff; border: 1px solid #d8dde4; box-shadow: 0 18px 50px rgba(15,23,41,0.121); }
html[data-theme="light"] #gsb-header #gsb-q-results a { text-decoration: none; color: #1d2127; }
html[data-theme="light"] #gsb-header #gsb-q-results a span { color: #525b68; }
html[data-theme="light"] #gsb-header #gsb-q-results li[aria-selected="true"] a, html[data-theme="light"] #gsb-header #gsb-q-results a:hover { background: #f7f8f9; color: #14171b; }
html[data-theme="light"] #gsb-header #gsb-q-results .none { color: #525b68; }
html[data-theme="light"] #gsb-header .gsb-menu-toggle { color: #1d2127; background: none; border: 1px solid #cacfd6; }
html[data-theme="light"] #gsb-main .blk-text h1, html[data-theme="light"] #gsb-main .blk-text h2, html[data-theme="light"] #gsb-main .blk-text h3, html[data-theme="light"] #gsb-main .blk-text h4 { color: var(--gsb-head); }
html[data-theme="light"] #gsb-main .blk-text p, html[data-theme="light"] #gsb-main .blk-text li { color: var(--gsb-text); }
html[data-theme="light"] #gsb-main .blk-text a, html[data-theme="light"] #gsb-main .blk-acc a { color: var(--gsb-link); text-decoration: underline; }
html[data-theme="light"] #gsb-main .blk-text a:hover, html[data-theme="light"] #gsb-main .blk-acc a:hover, html[data-theme="light"] #gsb-main .gsb-auth-alt a:hover { color: var(--gsb-link-hover); }
html[data-theme="light"] #gsb-main .btn, html[data-theme="light"] #gsb-main button.btn { background: var(--gsb-blue); color: #fff; text-decoration: none; }
html[data-theme="light"] #gsb-main .blk-acc details { border-bottom: 1px solid #d8dde4; }
html[data-theme="light"] #gsb-main .blk-acc summary { color: #262b32; }
html[data-theme="light"] #gsb-main .blk-acc summary::after { color: var(--gsb-link); }
html[data-theme="light"] #gsb-main .acc-body { color: var(--gsb-text); }
html[data-theme="light"] #gsb-main .blk-form label { color: #434343; }
html[data-theme="light"] #gsb-main .blk-form input, html[data-theme="light"] #gsb-main .blk-form textarea { background: #ffffff; border: 1px solid #cbd1d9; color: #1d2127; }
html[data-theme="light"] #gsb-main .blk-form input:focus, html[data-theme="light"] #gsb-main .blk-form textarea:focus { box-shadow: 0 0 0 3px rgba(61, 139, 255, .28); }
html[data-theme="light"] #gsb-main tooltip { color: #1f1f1f; }
html[data-theme="light"] #gsb-header .gsb-signin-link { color: var(--gsb-link); text-decoration: none; border: 1px solid rgba(61, 139, 255, .6); }
html[data-theme="light"] #gsb-header .gsb-signin-link:hover { background: rgba(61, 139, 255, .12); }
html[data-theme="light"] #gsb-main .gsb-auth > h1 { color: var(--gsb-head); }
html[data-theme="light"] #gsb-main .gsb-auth-note { color: var(--gsb-text); }
html[data-theme="light"] #gsb-main .gsb-auth-alt { color: var(--gsb-text); }
html[data-theme="light"] #gsb-main .gsb-auth-alt a { color: var(--gsb-link); }
html[data-theme="light"] #gsb-main .gsb-auth-status { color: #d61200; }
html[data-theme="light"] #gsb-main .gsb-auth-request { border: 1px solid #afc4e0; background: #f5f8fc; color: #336bb8; }
html[data-theme="light"] #gsb-main .gsb-auth-request a { background: #0066e2; color: #fff; text-decoration: none; }
html[data-theme="light"] #gsb-main .gsb-auth-request a:hover { background: #1a78f0; }
html[data-theme="light"] #gsb-main .gsb-page { color: #25303f; }
html[data-theme="light"] #gsb-main .gsb-page h1, html[data-theme="light"] #gsb-main .gsb-page h2 { color: var(--gsb-head); }
html[data-theme="light"] #gsb-main .gsb-crumbs { color: #525b68; }
html[data-theme="light"] #gsb-main .gsb-seg { background: #ffffff; border: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .gsb-seg a { color: #1d2127; text-decoration: none; }
html[data-theme="light"] #gsb-main .gsb-seg a[aria-current] { background: var(--gsb-blue); color: #fff; }
html[data-theme="light"] #gsb-main .gsb-seg a:not([aria-current]):hover { background: #f7f8f9; }
html[data-theme="light"] #gsb-main .gsb-card { background: #ffffff; border: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .gsb-card-sm p { color: #525b68; }
html[data-theme="light"] #gsb-main .gsb-lock { color: #525b68; }
html[data-theme="light"] #gsb-main .gsb-list a { border-bottom: 1px solid #e4e7ec; color: var(--gsb-link); text-decoration: none; }
html[data-theme="light"] #gsb-main .gsb-list a:hover { color: var(--gsb-link-hover); }
html[data-theme="light"] #gsb-main .gsb-list a span { color: #525b68; }
html[data-theme="light"] #gsb-main .gsb-sub { color: #525b68; }
html[data-theme="light"] #gsb-main .gsb-note { color: #525b68; }
html[data-theme="light"] #gsb-main .gsb-more { color: var(--gsb-link); text-decoration: none; }
html[data-theme="light"] #gsb-main .gsb-more:hover { color: var(--gsb-link-hover); }
html[data-theme="light"] #gsb-main .gsb-mdt { background: #ffffff; border: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .gsb-mdt-help { border: 1.5px solid #b1b6be; background: none; color: #525b68; }
html[data-theme="light"] #gsb-main .gsb-mdt-help:hover, html[data-theme="light"] #gsb-main .gsb-mdt-help[aria-expanded="true"] { color: var(--gsb-link); }
html[data-theme="light"] #gsb-main .gsb-mdt-btn { background: var(--gsb-blue); color: #fff; }
html[data-theme="light"] #gsb-main .gsb-mdt-info { color: #525b68; }
html[data-theme="light"] #gsb-main .gsb-fav { background: #ffffff; border: 1px solid #dde1e7; text-decoration: none; }
html[data-theme="light"] #gsb-main .gsb-fav:hover { background: #fbfbfc; }
html[data-theme="light"] #gsb-main .gsb-fav b { color: var(--gsb-link); }
html[data-theme="light"] #gsb-main .gsb-fav > span { color: #525b68; }
html[data-theme="light"] #gsb-main .gsb-groups .gsb-list a > span:last-child { color: inherit; }
html[data-theme="light"] #gsb-main .gsb-ico.light { background: #eef0f3; }
html[data-theme="light"] #gsb-main .gsb-ico.miss::before { background: var(--gsb-blue); color: var(--gsb-ico-fg, #fff); }
html[data-theme="light"] body.page-riverdale #gsb-main { --gsb-ico-fg: #f4f4f4; }
html[data-theme="light"] #gsb-main .gsb-les-warn { background: #faf0f0; border-bottom: 1px solid #6b2424; }
html[data-theme="light"] #gsb-main .gsb-les-warn > div { color: #d61000; }
html[data-theme="light"] #gsb-main .gsb-les-warn svg { color: #d61000; }
html[data-theme="light"] #gsb-main .gsb-tags-info h2 { color: #525b68; }
html[data-theme="light"] #gsb-main .gsb-tags-info p { color: #525b68; }
html[data-theme="light"] #gsb-main .gsb-notices { border: 1px dashed #ced3db; }
html[data-theme="light"] #gsb-main .gsb-notices p { color: #525b68; }
html[data-theme="light"] #gsb-main .gsb-btn-sm { background: var(--gsb-blue); color: #fff; text-decoration: none; }
html[data-theme="light"] #gsb-main .gsb-back { color: var(--gsb-link); text-decoration: none; }
html[data-theme="light"] #gsb-main .gsb-bulletin { color: #2e343d; }
html[data-theme="light"] #gsb-main .gsb-bulletin a { color: var(--gsb-link); }
html[data-theme="light"] #gsb-main .gsb-bulletin-meta { color: #525b68; }
html[data-theme="light"] #gsb-main .gsb-bulletin blockquote { background: #f6f7f9; color: #3b424b; }
html[data-theme="light"] #gsb-main .gsb-seq div { background: #f6f7f9; border: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .gsb-seq span { color: #525b68; }
html[data-theme="light"] #gsb-main .gsb-seq b { color: #25303f; }
html[data-theme="light"] .njtag { background: #f7f7f4; color: #1f1f1f; box-shadow: 0 10px 24px rgba(15,23,41,0.077); }
html[data-theme="light"] .njtag-hole { background: #ffffff; }
html[data-theme="light"] .njtag-seal { border: 1.5px solid #343432; box-shadow: inset 0 0 0 4px rgba(15,23,41,0.12), inset 0 0 0 5px rgba(15,23,41,0.12); }
html[data-theme="light"] .njtag-issued { color: #1f1f1f; }
html[data-theme="light"] .njtag-badge { background: var(--gsb-blue); color: #fff; }
html[data-theme="light"] .njtag[data-kind="Non-Resident"] .njtag-badge { background: #6b7280; }
@media (max-width: 640px) {
html[data-theme="light"] #gsb-main .gsb-list-2 > a:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid #e4e7ec; }
}
html[data-theme="light"] body.page-riverdale #gsb-main { --gsb-link: #8a6207; --gsb-link-hover: #8e6400; --gsb-blue: #8a6207; }
html[data-theme="light"] body.page-riverdale #gsb-main .gsb-seg a[aria-current] { color: #1f1f1f; }
html[data-theme="light"] body.page-riverdale #gsb-main .gsb-mdt-btn { color: #1f1f1f; }
html[data-theme="light"] body.page-kinnelon #gsb-main { --gsb-link: #307956; --gsb-link-hover: #2b7953; --gsb-blue: #edfaf4; }
html[data-theme="light"] #gsb-main .gsb-request label, html[data-theme="light"] #gsb-main .gsb-admin-dialog label { color: #434343; }
html[data-theme="light"] #gsb-main .gsb-request .opt, html[data-theme="light"] #gsb-main .gsb-admin-dialog .opt { color: #5f6876; }
html[data-theme="light"] #gsb-main .gsb-request input, html[data-theme="light"] #gsb-main .gsb-request textarea, html[data-theme="light"] #gsb-main .gsb-request select, html[data-theme="light"] #gsb-main .gsb-admin input, html[data-theme="light"] #gsb-main .gsb-admin select, html[data-theme="light"] #gsb-main .gsb-admin textarea { background: #ffffff; border: 1px solid #cbd1d9; color: #1d2127; }
html[data-theme="light"] #gsb-main .gsb-request input:focus, html[data-theme="light"] #gsb-main .gsb-request textarea:focus, html[data-theme="light"] #gsb-main .gsb-request select:focus, html[data-theme="light"] #gsb-main .gsb-admin input:focus, html[data-theme="light"] #gsb-main .gsb-admin select:focus, html[data-theme="light"] #gsb-main .gsb-admin textarea:focus { box-shadow: 0 0 0 3px rgba(61, 139, 255, .28); }
html[data-theme="light"] #gsb-main .gsb-auth-status a { color: var(--gsb-link); }
html[data-theme="light"] #gsb-main .gsb-request-done h2 { color: var(--gsb-head); }
html[data-theme="light"] #gsb-main .gsb-admin h1 { color: var(--gsb-head); }
html[data-theme="light"] #gsb-main .btn.btn-quiet { background: #f4f5f6; color: #262b32; }
html[data-theme="light"] #gsb-main .btn.btn-danger { background: #8a2c24; }
html[data-theme="light"] #gsb-main .gsb-admin-count { color: #5f6876; }
html[data-theme="light"] #gsb-main .gsb-admin-wrap { border: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .gsb-admin th, html[data-theme="light"] #gsb-main .gsb-admin td { border-bottom: 1px solid #e4e7ec; }
html[data-theme="light"] #gsb-main .gsb-admin th { background: #ffffff; color: #535353; }
html[data-theme="light"] #gsb-main .gsb-admin tbody tr:hover { background: #fcfcfd; }
html[data-theme="light"] #gsb-main .gsb-admin td { color: #262b32; }
html[data-theme="light"] #gsb-main .gsb-admin td .muted { color: #5f6876; }
html[data-theme="light"] #gsb-main .gsb-admin td a { color: var(--gsb-link); }
html[data-theme="light"] #gsb-main .gsb-admin .tag { background: #f4f5f6; color: #434343; }
html[data-theme="light"] #gsb-main .gsb-admin .tag-Active { background: #f5fcf8; color: #1b7943; }
html[data-theme="light"] #gsb-main .gsb-admin .tag-Pending { background: #fcfaf5; color: #8a6207; }
html[data-theme="light"] #gsb-main .gsb-admin .tag-Approved, html[data-theme="light"] #gsb-main .gsb-admin .tag-Invited { background: #eff5fb; color: #0059c7; }
html[data-theme="light"] #gsb-main .gsb-admin .tag-Rejected, html[data-theme="light"] #gsb-main .gsb-admin .tag-Banned { background: #faf1f0; color: #d31300; }
html[data-theme="light"] #gsb-main .gsb-admin .linkish { background: none; color: var(--gsb-link); }
html[data-theme="light"] #gsb-main .gsb-admin-msg { color: #4a5260; }
html[data-theme="light"] #gsb-main .gsb-admin-msg a, html[data-theme="light"] #gsb-main .gsb-admin-msg a:visited { color: var(--gsb-link); }
html[data-theme="light"] #gsb-main .gsb-admin-msg.err { color: #d61200; }
html[data-theme="light"] #gsb-main .gsb-admin-dialog { background: #fefefe; color: #262b32; border: 1px solid #cbd1d9; }
html[data-theme="light"] #gsb-main .gsb-admin-dialog::backdrop { background: rgba(15,23,41,0.27); }
html[data-theme="light"] #gsb-main .gsb-admin-dialog h2 { color: var(--gsb-head); }
html[data-theme="light"] #gsb-main .gsb-admin-wrap { color-scheme: light; }
html[data-theme="light"] #gsb-main .gsb-nudge { background: #f5f8fc; border: 1px solid #b4cae7; color: #344559; }
html[data-theme="light"] #gsb-main .gsb-nudge b { color: #14171b; }
html[data-theme="light"] #gsb-main .gsb-nudge-later { background: none; color: #4a5f78; }
html[data-theme="light"] #gsb-main .gsb-nudge-later:hover { color: #14171b; }
html[data-theme="light"] #gsb-header .gsb-admin-link { color: #3a4657; text-decoration: none; background: rgba(15,20,26,0.033); }
html[data-theme="light"] #gsb-header .gsb-admin-link:hover, html[data-theme="light"] #gsb-header .gsb-admin-link[aria-current="page"] { color: #14171b; background: rgba(61, 139, 255, .22); }
html[data-theme="light"] #gsb-idle { background: rgba(15,23,41,0.293); }
html[data-theme="light"] #gsb-idle .gsb-idle-card { background: #fefefe; border: 1px solid #cbd1d9; color: #434343; box-shadow: 0 10px 40px rgba(15,23,41,0.11); }
html[data-theme="light"] #gsb-idle h2 { color: var(--gsb-head); }
html[data-theme="light"] #gsb-idle b { color: #14171b; }
html[data-theme="light"] #gsb-idle button { background: var(--gsb-blue); color: #fff; }
html[data-theme="light"] #gsb-main .gsb-nudge a { color: #0059c7; }
html[data-theme="light"] #gsb-main .gsb-request input::placeholder, html[data-theme="light"] #gsb-main .gsb-request textarea::placeholder { color: #6b7380; }
html[data-theme="light"] #gsb-main .gsb-admin .dot-on { background: #3fd07f; box-shadow: 0 0 0 3px rgba(63, 208, 127, .18); }
html[data-theme="light"] #gsb-main .gsb-admin .dot-idle { background: #8bbcff; }
html[data-theme="light"] #gsb-main .gsb-phone-start { background: #ffffff; color: #262b32; border: 1px solid #cbd1d9; }
html[data-theme="light"] #gsb-main .gsb-phone-start:hover { border-color: #3d8bff; color: #14171b; }
html[data-theme="light"] #gsb-main .gsb-phone-panel { background: #ffffff; border: 1px solid #d8dde4; }
html[data-theme="light"] #gsb-main .gsb-phone-qr { background: #fff; }
html[data-theme="light"] #gsb-main .gsb-phone-steps h2 { color: var(--gsb-head); }
html[data-theme="light"] #gsb-main .gsb-phone-steps ol { color: #535353; }
html[data-theme="light"] #gsb-main .gsb-phone-code { color: #fff; background: #0066e2; }
html[data-theme="light"] #gsb-main .gsb-phone-state { color: #5b6574; }
html[data-theme="light"] #gsb-main .gsb-phone-state.is-ok { color: #1b7943; }
html[data-theme="light"] #gsb-main .gsb-phone-state.is-warn { color: #8a6207; }
html[data-theme="light"] #gsb-main .gsb-phone-again { background: #0066e2; color: #fff; }
html[data-theme="light"] #gsb-main .gsb-phone-cancel { background: none; color: #5f6876; }
html[data-theme="light"] #gsb-main .gsb-phone-cancel:hover { color: #14171b; }
html[data-theme="light"] #gsb-main .gsb-approve-who { color: #14171b; }
html[data-theme="light"] #gsb-main .gsb-approve-who .muted { color: #5f6876; }
html[data-theme="light"] #gsb-main .gsb-approve-choices button { background: #ffffff; color: #14171b; border: 1px solid #cbd1d9; }
html[data-theme="light"] #gsb-main .gsb-approve-choices button:active, html[data-theme="light"] #gsb-main .gsb-approve-choices button:hover { border-color: #0066e2; background: #f5f8fc; }
html[data-theme="light"] #gsb-main .gsb-approve-deny { background: none; color: #d31300; }
html[data-theme="light"] #gsb-main .gsb-approve-done.ok h1 { color: #1b7943; }
html[data-theme="light"] #gsb-main .gsb-approve-done.warn h1 { color: #8a6207; }
html[data-theme="light"] #gsb-main .gsb-admin-sub.small { color: #5f6876; }
html[data-theme="light"] #gsb-main .ag-h2 { color: var(--gsb-head); }
html[data-theme="light"] #gsb-main .ag-h2 .muted { color: #5f6876; }
html[data-theme="light"] #gsb-main .ag-banner { background: #fcfaf5; border: 1px solid #e9d9b4; color: #886711; }
html[data-theme="light"] #gsb-main .ag-flash { background: #f5fcf8; border: 1px solid #b6e6ca; color: #1a7b41; }
html[data-theme="light"] #gsb-main .ag-flash.bad { background: #faf1f0; border-color: #7a2c25; color: #d31500; }
html[data-theme="light"] #gsb-main .ag-seats { background: #ffffff; border: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .ag-seats-top { color: #262b32; }
html[data-theme="light"] #gsb-main .ag-seats-top .muted { color: #5f6876; }
html[data-theme="light"] #gsb-main .ag-meter { background: #f4f5f6; }
html[data-theme="light"] #gsb-main .ag-meter span { background: #0066e2; }
html[data-theme="light"] #gsb-main .ag-meter span.full { background: #f6c34d; }
html[data-theme="light"] #gsb-main .ag-invites > div { border-bottom: 1px solid #e4e7ec; color: #262b32; }
html[data-theme="light"] #gsb-main .ag-invites .muted, html[data-theme="light"] #gsb-main .ag-log .muted { color: #5f6876; }
html[data-theme="light"] #gsb-main .ag-decline { color: #d31300 !important; }
html[data-theme="light"] #gsb-main .ag-removed { color: #4a5260; }
html[data-theme="light"] #gsb-main .ag-topic { background: #ffffff; border: 1px solid #d8dde4; color: #14171b; }
html[data-theme="light"] #gsb-main .ag-log { border-top: 1px solid #e4e7ec; }
html[data-theme="light"] #gsb-main .ag-log li { border-bottom: 1px solid #e4e7ec; color: #434343; }
html[data-theme="light"] #gsb-main .gsb-admin-dialog select { background: #ffffff; border: 1px solid #cbd1d9; color: #1d2127; }
html[data-theme="light"] #gsb-main .gsb-grace { background: #fcfaf5; border-color: #e9d9b4; color: #886711; }
html[data-theme="light"] #gsb-main .gsb-admin p a, html[data-theme="light"] #gsb-main .gsb-admin .gsb-admin-sub a, html[data-theme="light"] #gsb-main .gsb-agency a:not(.btn) { color: var(--gsb-link); }
html[data-theme="light"] #gsb-main .gsb-admin .tag-warn { background: #fbf7f1; color: #995c00; }
html[data-theme="light"] #gsb-main .gsb-devices h3 { color: #1d2127; }
html[data-theme="light"] #gsb-main .gsb-devices li { border-top: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .gsb-devices-flags { color: #995c00; }
html[data-theme="light"] #gsb-header .gsb-whoami { color: #585858; }
html[data-theme="light"] #gsb-main .ag-row:hover td { background: rgba(15,20,26,0.017); }
html[data-theme="light"] #gsb-main .ag-name { background: none; color: #222222; }
html[data-theme="light"] #gsb-main .ag-name:hover, html[data-theme="light"] #gsb-main .ag-name:focus-visible { color: var(--gsb-link-hover); text-decoration: underline; }
html[data-theme="light"] #gsb-main .ag-bulk { background: #f5f8fc; border: 1px solid #bcd1e6; color: #326bb2; }
html[data-theme="light"] #gsb-main .ag-armed { outline: 2px solid #ff9b91; }
html[data-theme="light"] #gsb-main .ag-facts dt { color: #5b6574; }
html[data-theme="light"] #gsb-main .ag-facts dd { color: #1d2127; }
html[data-theme="light"] #gsb-main .ag-recent summary { color: #3a4657; }
html[data-theme="light"] #gsb-main .ag-recent li { border-top: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .ag-hidden-note { color: #486d9a; }
html[data-theme="light"] .gsb-picker.picked > input { border-color: #b1debc; }
html[data-theme="light"] .gsb-picker-list { background: #fefefe; border: 1px solid #cbd1d9; box-shadow: 0 8px 24px rgba(15,23,41,0.099); }
html[data-theme="light"] .gsb-picker-list li { color: #2a2a2a; }
html[data-theme="light"] .gsb-picker-list li.on, html[data-theme="light"] .gsb-picker-list li[role="option"]:hover { background: #deecfc; }
html[data-theme="light"] .gsb-picker-meta { color: #495667; }
html[data-theme="light"] .gsb-picker-list .gsb-picker-more { color: #5b6574; }
html[data-theme="light"] .gsb-picker-list .gsb-picker-more:hover { background: none; }
html[data-theme="light"] .gsb-picker.other > input { border-color: #8a6d1f; }
html[data-theme="light"] .gsb-picker-note { color: #8e630f; }
html[data-theme="light"] .gsb-picker-note .linkish { background: none; color: var(--gsb-link); text-decoration: underline; }
html[data-theme="light"] .gsb-picker-list li.gsb-picker-other .gsb-picker-name { color: #8e630f; }
html[data-theme="light"] #gsb-main .gsb-admin .tag-super { background: #f1eef8; color: #7243ff; }
html[data-theme="light"] #gsb-main .gsb-tabs { border-bottom: 1px solid #d8dde4; }
html[data-theme="light"] #gsb-main .gsb-tabs a { color: #4c5765; text-decoration: none; }
html[data-theme="light"] #gsb-main .gsb-tabs a:hover { color: #14171b; background: #fcfcfd; }
html[data-theme="light"] #gsb-main .gsb-tabs a[aria-current="page"] { color: #14171b; border-bottom-color: #0066e2; }
html[data-theme="light"] #gsb-main .gsb-auth-note a { color: var(--gsb-link); }
html[data-theme="light"] #gsb-main .ag-roles { border: 1px solid #d8dde4; }
html[data-theme="light"] #gsb-main .ag-roles legend { color: #3a4657; }
html[data-theme="light"] #gsb-main .ag-roles label { color: #1d2127; }
html[data-theme="light"] .inv-people-list { border: 1px solid var(--line, #d0d7e2); }
html[data-theme="light"] .inv-flag { background: #fdecec; border: 1px solid #f1b5b5; color: #7a1d1d; }
html[data-theme="light"] #gsb-main .btn.btn-danger-quiet { background: transparent; color: #c43729; border: 1px solid #8a2c24; }
html[data-theme="light"] #gsb-main .btn.btn-danger-quiet:hover { background: #fcf6f6; color: #1d2127; }
@media (max-width: 640px) {
html[data-theme="light"] #gsb-main .inv-table tr.ag-row { border-bottom: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .inv-table .inv-c-asg { color: #3a4657; }
}
html[data-theme="light"] #gsb-main .gsb-admin .tag-person { background: #eff5fb; color: #0059c7; }
html[data-theme="light"] #gsb-main .gsb-admin .tag-shared { background: #f3f5f7; color: #42566b; }
html[data-theme="light"] #gsb-main .gsb-admin .tag-Stock { background: #f4f5f6; color: #414141; }
html[data-theme="light"] #gsb-main .gsb-admin .tag-svc { background: #f9faf8; color: #607025; }
html[data-theme="light"] #gsb-main .gsb-admin .tag-cal { background: #f4f1f7; color: #8435ff; }
html[data-theme="light"] #gsb-main .gsb-admin .tag-note { background: #f4f5f6; color: #262b32; }
html[data-theme="light"] #gsb-main .inv-head { color: #5b6574; }
html[data-theme="light"] #gsb-main .inv-log li { border-bottom: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .inv-menu { background: #f7f7f9; border: 1px solid #cbd1d9; box-shadow: 0 8px 24px rgba(15,23,41,0.099); }
html[data-theme="light"] #gsb-main .inv-menu button { background: none; color: #1d2127; }
html[data-theme="light"] #gsb-main .inv-menu button:hover, html[data-theme="light"] #gsb-main .inv-menu button:focus-visible { background: #e3e7ef; }
html[data-theme="light"] #gsb-main .inv-issues-btn { background: #faf1f0; color: #d61400; border: 1px solid #7a2c24; }
html[data-theme="light"] #gsb-main .inv-issues-btn:hover { background: #f7e8e7; }
html[data-theme="light"] #gsb-main .inv-issues-ok { background: #f5fcf8; color: #1b7943; border: 1px solid #bfe9d1; }
html[data-theme="light"] #gsb-main .inv-active { background: #fbf7f6; border: 1px solid #efcecb; }
html[data-theme="light"] #gsb-main .inv-date-btn { color: #426da8; background: #eff1f4; border-left: 1px solid #bdc6cf; }
html[data-theme="light"] #gsb-main .inv-date-btn:hover { background: #eaedf0; color: #14171b; }
html[data-theme="light"] #gsb-main .inv-date-native { color-scheme: light; }
html[data-theme="light"] #gsb-main .inv-facts dt { color: #5f6876; }
html[data-theme="light"] #gsb-main .inv-facts dd { color: #2b2b2b; }
html[data-theme="light"] #gsb-main .as-links .btn { text-decoration: none; }
html[data-theme="light"] #gsb-main .inv-dash-list { border: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .inv-dash-list li { border-bottom: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .inv-dash-list li:hover, html[data-theme="light"] #gsb-main .inv-due-row:hover { background: #f7f8fa; }
html[data-theme="light"] #gsb-main .inv-chip { background: #fbfbfc; border: 1px solid #cbd1d9; color: #434343; }
html[data-theme="light"] #gsb-main .inv-chip span { color: #5f6876; }
html[data-theme="light"] #gsb-main .inv-chip.on { background: #eff5fb; border-color: #2a5a8f; color: #14171b; }
html[data-theme="light"] #gsb-main .as-card { background: #fbfcfc; border: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .as-msg.good { color: #1b7943; }
html[data-theme="light"] #gsb-main .as-msg.bad { color: #d31300; }
html[data-theme="light"] #gsb-main .as-checker { background-color: #f4f5f6; background-image: linear-gradient(45deg, #eff1f3 25%, transparent 25%, transparent 75%, #eff1f3 75%), linear-gradient(45deg, #eff1f3 25%, transparent 25%, transparent 75%, #eff1f3 75%); background-size: 16px 16px; background-position: 0 0, 8px 8px; }
html[data-theme="light"] #gsb-main .as-warn { background: #fcfaf5; color: #8a6207; }
html[data-theme="light"] #gsb-main .as-ed-view { outline: 2px dashed #b2bdcb; }
html[data-theme="light"] #gsb-main .as-prev-dark { background: #f4f7fa; }
html[data-theme="light"] #gsb-main .as-prev-light { background: #f2f2f2; }
html[data-theme="light"] #gsb-main .as-iv-kind { border: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .as-iv-table th { color: #5f6876; }
html[data-theme="light"] #gsb-main .as-switch { border-bottom: 1px solid #e4e7ec; }
html[data-theme="light"] #gsb-main .as-switch-ui { background: #ebedf0; }
html[data-theme="light"] #gsb-main .as-switch-ui::after { background: #ddd; }
html[data-theme="light"] #gsb-main .as-switch input:checked + .as-switch-ui { background: #1f6fd1; }
html[data-theme="light"] #gsb-main .as-switch input:checked + .as-switch-ui::after { background: #fff; }
html[data-theme="light"] #gsb-main .as-switch input:focus-visible + .as-switch-ui { outline: 2px solid #8bbcff; }
html[data-theme="light"] #gsb-main .my-act { background: #eff5fb; border: 1px solid #23507f; color: #005ff2; text-decoration: none; }
html[data-theme="light"] #gsb-main .my-act:hover { background: #e0ecf8; }
html[data-theme="light"] #gsb-main .my-act svg { color: #0059c7; }
html[data-theme="light"] #gsb-main .my-act-warn { background: #fcf8f5; border-color: #eeccb4; color: #b24d00; }
html[data-theme="light"] #gsb-main .my-act-warn:hover { background: #fbf5f1; }
html[data-theme="light"] #gsb-main .my-act-warn svg { color: #a95100; }
@media (min-width: 768px) {
html[data-theme="light"] #gsb-header .gsb-search.collapsed .gsb-search-btn { background: none; color: #39424f; }
html[data-theme="light"] #gsb-header .gsb-search.collapsed .gsb-search-btn:hover { color: #14171b; background: #f8f9fa; }
}
html[data-theme="light"] #gsb-main :is(.gsb-admin, .gsb-request) select:not([multiple]):not([size]) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239aa3b0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 12px center !important; background-size: 12px 8px !important; }
html[data-theme="light"] #gsb-main .inv-combo-list { background: #fbfcfc; border: 1px solid #cbd1d9; box-shadow: 0 12px 30px rgba(15,23,41,0.11); }
html[data-theme="light"] #gsb-main .inv-combo-list li { color: #2b2b2b; }
html[data-theme="light"] #gsb-main .inv-combo-list li.on, html[data-theme="light"] #gsb-main .inv-combo-list li:hover { background: #e3e7ef; color: #14171b; }
html[data-theme="light"] #gsb-main .inv-combo-list li.other { color: #005efb; border-top: 1px solid #d8dde4; }
html[data-theme="light"] #gsb-main .as-switch-row { border-bottom: 1px solid #e4e7ec; }
html[data-theme="light"] #gsb-main .as-cl { background: #f6f7f9; border: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .as-cl-mv { background: #fbfbfc; border: 1px solid #cbd1d9; color: #262b32; }
html[data-theme="light"] #gsb-main .as-cl-rm { background: none; color: #d31300; }
html[data-theme="light"] #gsb-main .inv-sf-btn { background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239aa3b0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 12px 8px; border: 1px solid #cbd1d9; color: #1d2127; }
html[data-theme="light"] #gsb-main .inv-sf-btn:focus-visible { box-shadow: 0 0 0 3px rgba(61, 139, 255, .28); }
html[data-theme="light"] #gsb-main .inv-sf-menu { background: #fbfcfc; border: 1px solid #cbd1d9; box-shadow: 0 12px 30px rgba(15,23,41,0.11); }
html[data-theme="light"] #gsb-main .inv-sf-menu label:hover { background: #eef0f3; }
html[data-theme="light"] #gsb-main .inv-sf-menu label:first-child { border-bottom: 1px solid #d8dde4; }
html[data-theme="light"] #gsb-main .inv-asg-shared { background: #ffffff; border: 1px solid #cbd1d9; color: #262b32; }
html[data-theme="light"] #gsb-main .inv-asg-shared:hover { background: #f5f6f8; }
html[data-theme="light"] #gsb-main .inv-asg-shared.on { background: #f3f5f7; border-color: #abb6c4; color: #14171b; box-shadow: inset 0 0 0 1px rgba(15,23,41,0.12); }
html[data-theme="light"] #gsb-main .inv-asg-chip button { background: none; color: inherit; }
html[data-theme="light"] #gsb-main .inv-asg-chip button:hover { background: rgba(15,20,26,0.066); }
html[data-theme="light"] #gsb-main .inv-combo-list li.none { color: #5f6876; }
html[data-theme="light"] #gsb-main .inv-combo-list li.none:hover { background: none; }
html[data-theme="light"] #gsb-main .ag-noseats { color: #8a6207; }
html[data-theme="light"] #gsb-main .gsb-admin-dialog label.ag-civ-switch { border: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .ag-certs li { border-bottom: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .ag-cert-rm { color: #d31300 !important; }
html[data-theme="light"] #gsb-main .inv-dash-list li.static:hover { background: none; }
html[data-theme="light"] #gsb-main a.inv-cert-link { color: inherit; text-decoration: none; }
html[data-theme="light"] #gsb-main .gsb-admin .tag-civ { background: #f4f1f7; color: #8435ff; }
html[data-theme="light"] #gsb-main .gsb-admin .tag-more { background: #f4f5f6; color: #3a4657; }
html[data-theme="light"] #gsb-main .tag-more .pill-tip { background: #f7f7f9; border: 1px solid #cbd1d9; color: #1d2127; box-shadow: 0 10px 26px rgba(15,23,41,0.11); }
html[data-theme="light"] #gsb-main .aa-table .ag-row:hover { background: #f7f8fa; }
html[data-theme="light"] #gsb-main .aa-links .btn { text-decoration: none; }
html[data-theme="light"] #gsb-main .gsb-admin .as-cl-notify { color: #3a4657; }
html[data-theme="light"] #gsb-main .gsb-tabs.gsb-tabs a { color: #4c5765; }
html[data-theme="light"] #gsb-main .gsb-tabs.gsb-tabs a:hover, html[data-theme="light"] #gsb-main .gsb-tabs.gsb-tabs a[aria-current="page"] { color: #14171b; }
html[data-theme="light"] #gsb-sa-bar { background: #1756d6; color: #fff; box-shadow: 0 1px 0 rgba(15,23,41,0.077); }
html[data-theme="light"] #gsb-sa-bar .sa-tag { background: rgba(15,20,26,0.099); }
html[data-theme="light"] #gsb-sa-bar .sa-btn { border: 1px solid rgba(15,20,26,0.16); background: transparent; color: #14171b; text-decoration: none; }
html[data-theme="light"] #gsb-sa-bar .sa-btn:hover, html[data-theme="light"] #gsb-sa-bar .sa-btn[aria-expanded="true"], html[data-theme="light"] #gsb-sa-bar .sa-btn[aria-current="page"] { background: rgba(15,20,26,0.088); }
html[data-theme="light"] #gsb-sa-bar .sa-btn.sa-primary { background: #fff; color: #1756d6; border-color: #333333; }
html[data-theme="light"] #gsb-sa-bar .sa-btn.sa-primary:hover { background: #e7efff; }
html[data-theme="light"] #gsb-sa-bar .sa-panel { background: #fefefe; border: 1px solid #cbd3de; box-shadow: 0 12px 30px rgba(15,23,41,0.11); color: #1d2127; }
html[data-theme="light"] #gsb-sa-bar #sa-q { border: 1px solid #c6ccd6; background: #f4f5f7; color: #14171b; }
html[data-theme="light"] #gsb-sa-bar #sa-results button { background: none; color: #1d2127; }
html[data-theme="light"] #gsb-sa-bar #sa-results button:hover, html[data-theme="light"] #gsb-sa-bar #sa-results button:focus-visible { background: #f7f8f9; }
html[data-theme="light"] #gsb-sa-bar #sa-results span { color: #525b68; }
html[data-theme="light"] #gsb-sa-bar .sa-msg { color: #37404c; }
html[data-theme="light"] #gsb-main .inv-sf-menu .sf-head { border-top: 1px solid #d8dde4; color: #5f6876; }
html[data-theme="light"] #gsb-main .ag-typed { border: 1px solid #e2b4b4; background: #faf7f7; }
html[data-theme="light"] #gsb-main .ag-typed p { color: #c13939; }
html[data-theme="light"] #gsb-sa-bar .sa-agency, html[data-theme="light"] #gsb-sa-bar .sa-email { border-left: 1px solid rgba(15,20,26,0.16); }
html[data-theme="light"] #sa-dialog { border: 1px solid #cbd3de; background: #fbfbfc; color: #1d2127; box-shadow: 0 24px 70px rgba(15,23,41,0.132); }
html[data-theme="light"] #sa-dialog::backdrop { background: rgba(5, 8, 14, .65); }
html[data-theme="light"] #sa-dialog h2 { color: #14171b; }
html[data-theme="light"] #sa-dialog .sa-x { background: none; color: #4c5765; }
html[data-theme="light"] #sa-dialog .sa-x:hover { background: #f7f8f9; color: #14171b; }
html[data-theme="light"] #sa-dialog .sa-dlg-sub { color: #525b68; }
html[data-theme="light"] #sa-dialog #sa-q { border: 1px solid #c6ccd6; background: #eff1f4; color: #14171b; }
html[data-theme="light"] #sa-dialog #sa-q:focus { border-color: #3d8bff; }
html[data-theme="light"] #sa-dialog .sa-cols { color: #606a77; }
html[data-theme="light"] #sa-dialog #sa-results button { background: none; color: #2c3541; }
html[data-theme="light"] #sa-dialog #sa-results button:hover, html[data-theme="light"] #sa-dialog #sa-results button[aria-selected="true"] { background: #e1e9f6; color: #14171b; }
html[data-theme="light"] #sa-dialog .sa-c-name b { color: #14171b; }
html[data-theme="light"] #sa-dialog .sa-c-name small { color: #5f6876; }
html[data-theme="light"] #sa-dialog .sa-c-email { color: #525b68; }
html[data-theme="light"] #sa-dialog .sa-msg { color: #525b68; }
@media (max-width: 700px) {
html[data-theme="light"] #sa-dialog .sa-c-agency, html[data-theme="light"] #sa-dialog .sa-c-county, html[data-theme="light"] #sa-dialog .sa-c-email { color: #525b68; }
}
html[data-theme="light"] #gsb-main .gsb-nudge { --gsb-blue: #0066e2; --gsb-link: #0060ef; --gsb-link-hover: #0060ef; }
html[data-theme="light"] #gsb-main .gsb-personal-alert { border: 1px solid #7a2b2b; border-left: 4px solid #e5484d; background: #fbf6f6; color: #d80000; }
html[data-theme="light"] #gsb-main input[aria-invalid="true"] { border-color: #e5484d !important; }
html[data-theme="light"] #gsb-main .ag-roles label.ag-rc { border: 1px solid #cfd4db; background: #fefefe; }
html[data-theme="light"] #gsb-main .ag-roles label.ag-rc:hover { border-color: #b8bfcb; background: #fafafb; }
html[data-theme="light"] #gsb-main .ag-roles label.ag-rc:has(input:checked) { border-color: #2f6fd6; background: #f6f8fc; }
html[data-theme="light"] #gsb-main .ag-rc input[type="checkbox"] { border: 2px solid #afb6c1; background: #f4f5f7; }
html[data-theme="light"] #gsb-main .ag-rc input[type="checkbox"]::after { border: solid #333333; }
html[data-theme="light"] #gsb-main .ag-rc input[type="checkbox"]:checked { background: #0066e2; border-color: #0066e2; }
html[data-theme="light"] #gsb-main .ag-rc input[type="checkbox"]:focus-visible { outline: 2px solid #3d8bff; }
html[data-theme="light"] #gsb-main .ag-rc-text b { color: #4c6d99; }
html[data-theme="light"] #gsb-main .ag-rc-text span { color: #5f6876; }
html[data-theme="light"] #gsb-main .inv-note { color: #5f6876; }
html[data-theme="light"] #gsb-main .gsb-phone-2fa-msg { color: #0061e8; }
html[data-theme="light"] #gsb-main .gsb-phone-2fa input { border: 1px solid #c6ccd6; background: #f0f0f0; color: #14171b; }
html[data-theme="light"] #gsb-main .gsb-phone-2fa input:focus { border-color: #3d8bff; }
html[data-theme="light"] #gsb-main .gsb-phone-2fa-err { color: #d31300; }
html[data-theme="light"] #gsb-main .gsb-phone-2fa-alt { background: none; color: #0059c7; text-decoration: underline; }
html[data-theme="light"] #gsb-main .aa-copy { border: 1px dashed #b8bfcb; }
html[data-theme="light"] #gsb-main .aa-logsearch .aa-ls-d { color: #4a5260; }
@media (max-width: 600px) {
html[data-theme="light"] #gsb-main table.ag-table tbody tr { border-bottom: 1px solid #e4e7ec; }
html[data-theme="light"] #gsb-main table.ag-table thead tr { background: #ffffff; border-bottom: 1px solid #e4e7ec; }
html[data-theme="light"] #gsb-main table.ag-table thead th { background: none; }
html[data-theme="light"] #gsb-main table.aa-table tbody td:nth-child(3)::before { color: #5f6876; }
}
html[data-theme="light"] #gsb-main .inv-rounds li { border: 1px solid #dde1e7; background: #ffffff; }
html[data-theme="light"] #gsb-main .inv-rounds li:hover { border-color: #cbd1d9; background: #ffffff; }
html[data-theme="light"] #gsb-main .inv-rounds li.on { border-color: #2f7bf5; background: #f5f8fc; box-shadow: 0 0 0 1px #2f7bf5 inset; }
html[data-theme="light"] #gsb-main .gsb-admin-dialog label.inv-rounds-pick { color: #262b32; }
html[data-theme="light"] #gsb-main .gsb-admin-dialog .inv-rounds-pick input[type=checkbox]:focus-visible { outline: 2px solid #5b9bff; }
html[data-theme="light"] #gsb-main .inv-rounds-pick b { color: #202020; }
html[data-theme="light"] #gsb-main .inv-rounds li.on .inv-rounds-n input { border-color: #2f7bf5; }
html[data-theme="light"] #gsb-main #inv-rounds-total { color: #0060f3; }
html[data-theme="light"] #gsb-main .inv-ammo-log-list > li { border: 1px solid #dde1e7; background: #ffffff; }
html[data-theme="light"] #gsb-main .inv-al-note { color: #262b32; }
html[data-theme="light"] #gsb-main .inv-al-types li { border-top: 1px solid #dde1e6; }
html[data-theme="light"] #gsb-main .btn.btn-recv { background: #f5fcf8; color: #1b7943; border: 1px solid #bfe9d1; }
html[data-theme="light"] #gsb-main .btn.btn-recv:hover { background: #eef9f3; color: #1d2127; }
html[data-theme="light"] #gsb-main .btn.btn-used { background: #fcfaf5; color: #8a6207; border: 1px solid #e9ddbf; }
html[data-theme="light"] #gsb-main .btn.btn-used:hover { background: #f9f6ee; color: #1d2127; }
html[data-theme="light"] #gsb-main .btn.btn-outline { background: transparent; color: #262b32; border: 1px solid #bac1cb; }
html[data-theme="light"] #gsb-main .btn.btn-outline:hover { border-color: #8d97a3; color: #14171b; }
html[data-theme="light"] #gsb-main .inv-pick input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23aaa' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }
html[data-theme="light"] { scrollbar-color: #cacfd6 var(--gsb-bg); }
html[data-theme="light"] body.gsb ::selection { background: rgba(61, 139, 255, .38); color: #14171b; }
html[data-theme="light"] #gsb-header, html[data-theme="light"] #gsb-main :is(.gsb-admin, .gsb-request, .gsb-admin-dialog, .blk-form, .vr-form), html[data-theme="light"] #sa-dialog { color-scheme: light; }
html[data-theme="light"] #gsb-header .gsb-menu-toggle:hover, html[data-theme="light"] #gsb-header .gsb-menu-toggle[aria-expanded="true"] { background: #f7f8fa; border-color: #bac1cb; color: #14171b; }
html[data-theme="light"] #gsb-main .gsb-admin-sub { color: #525b68; }
html[data-theme="light"] #gsb-main .btn.btn-quiet { background: #f7f8f9; border-color: #cbd1d9; color: #1d2127; }
html[data-theme="light"] #gsb-main .btn.btn-quiet:hover { background: #f2f3f5; border-color: #bbc2ce; color: #14171b; }
html[data-theme="light"] #gsb-main .btn.btn-danger { background: #a3322a; }
html[data-theme="light"] #gsb-main .btn.btn-danger-quiet { border-color: #8a2c24; }
html[data-theme="light"] #gsb-main .btn.btn-outline { border-color: #bac1cb; }
html[data-theme="light"] #gsb-main .btn.btn-outline:hover { border-color: #2e3238; background: rgba(15,20,26,0.022); color: #1d2127; }
html[data-theme="light"] #gsb-main .linkish:hover, html[data-theme="light"] #gsb-main .gsb-back:hover { text-decoration: underline; }
html[data-theme="light"] #gsb-main :is(.gsb-request, .gsb-admin, .gsb-admin-dialog) :is(input, textarea)::placeholder { color: #6b7380; }
html[data-theme="light"] #gsb-main .gsb-admin-dialog select:focus { box-shadow: 0 0 0 3px rgba(61, 139, 255, .28); }
html[data-theme="light"] #gsb-main .inv-sf-btn:hover, html[data-theme="light"] #gsb-main .inv-sf-btn[aria-expanded="true"] { border-color: #bbc2ce; }
html[data-theme="light"] .gsb-picker-list li.on, html[data-theme="light"] .gsb-picker-list li[role="option"]:hover { background: #e1e9f6; }
html[data-theme="light"] #gsb-main .gsb-admin-wrap { background: #fafafb; }
html[data-theme="light"] #gsb-main .gsb-admin th { color: #525b68; }
html[data-theme="light"] #gsb-main .ag-row:hover td { background: rgba(124, 160, 220, .06); }
html[data-theme="light"] #gsb-main .inv-dash-list { background: #fafafb; }
html[data-theme="light"] #gsb-main .inv-chip:hover:not(.on) { border-color: #bac1cb; color: #14171b; }
html[data-theme="light"] #gsb-main .gsb-tabs.gsb-tabs a:hover:not([aria-current="page"]) { background: #fcfdfd; border-bottom-color: #cbd1d9; }
html[data-theme="light"] #gsb-main .gsb-admin-dialog { border-color: #d8dde4; box-shadow: 0 24px 70px rgba(15,23,41,0.132); }
html[data-theme="light"] #gsb-main .gsb-admin-dialog::backdrop, html[data-theme="light"] #sa-dialog::backdrop { background: rgba(8, 10, 14, .68); }
html[data-theme="light"] #gsb-main .gsb-admin-dialog h2 { color: #25303f; }
html[data-theme="light"] #gsb-idle .gsb-idle-card { border-color: #d8dde4; }
html[data-theme="light"] #gsb-main .inv-menu { background: #fbfcfc; }
html[data-theme="light"] #gsb-main .gsb-fav:hover { border-color: #c8ced6; box-shadow: 0 6px 18px rgba(15,23,41,0.066); }
html[data-theme="light"] #gsb-main .blk-acc summary:hover { color: #14171b; }
html[data-theme="light"] #gsb-header { border-bottom-color: rgba(15,20,26,0.112); background: rgba(255,255,255,0.8); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
html[data-theme="light"] #gsb-header { background: var(--gsb-bg); }
}
html[data-theme="light"] #gsb-header .gsb-brand { color: #1d2127; }
html[data-theme="light"] #gsb-header nav > ul > li > a, html[data-theme="light"] #gsb-header nav > ul > li > button { color: #3a4657; }
html[data-theme="light"] #gsb-header nav > ul > li.active > a, html[data-theme="light"] #gsb-header nav > ul > li.active > button { background: none; color: #14171b; }
html[data-theme="light"] #gsb-header nav > ul > li.active > :is(a, button)::before { background: var(--gsb-blue); }
html[data-theme="light"] #gsb-header nav > ul > li.active > :is(a, button):hover { background: #f7f8fa; }
html[data-theme="light"] #gsb-header .gsb-drop { background: rgba(255,255,255,0.98); }
html[data-theme="light"] #gsb-header .gsb-whoami { color: #525b68; }
html[data-theme="light"] #gsb-header .gsb-menu-toggle::before { background: currentColor; }
@media (max-width: 767px) {
html[data-theme="light"] #gsb-header.menu-open { background: var(--gsb-bg); }
}
html[data-theme="light"] body.gsb:is(.page-home, .page-dept, .page-les, .page-auth, .page-admin) #gsb-footer { border-top: 1px solid #e0e2e7; }
html[data-theme="light"] #gsb-footer .gsb-foot { color: #5f6876; }
html[data-theme="light"] #gsb-footer b { color: #525b68; }
html[data-theme="light"] #gsb-footer a { color: #525b68; text-decoration: none; }
html[data-theme="light"] #gsb-footer a:hover { color: #14171b; text-decoration: underline; }
html[data-theme="light"] #gsb-main .gsb-tabs:not(.inv-dtabs):not(.ag-utabs) { background: #ffffff; border: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .gsb-tabs.gsb-tabs:not(.inv-dtabs):not(.ag-utabs) a { color: #3a4657; }
html[data-theme="light"] #gsb-main .gsb-tabs.gsb-tabs:not(.inv-dtabs):not(.ag-utabs) a:hover:not([aria-current="page"]) { background: #f7f8f9; color: #14171b; }
html[data-theme="light"] #gsb-main .gsb-tabs.gsb-tabs:not(.inv-dtabs):not(.ag-utabs) a[aria-current="page"] { background: var(--gsb-blue); color: #fff; }
html[data-theme="light"] #gsb-main .inv-stat { background: #ffffff; border: 1px solid #dde1e7; color: #525b68; }
html[data-theme="light"] #gsb-main button.inv-stat:hover { background: #fbfcfc; border-color: #c8ced6; }
html[data-theme="light"] #gsb-main .inv-stat.on { background: #f5f8fc; }
html[data-theme="light"] #gsb-main .inv-stat b { color: #1c1e21; }
html[data-theme="light"] #gsb-main .inv-stat.bad b { color: #d31300; }
html[data-theme="light"] #gsb-main .inv-stat.warn b { color: #8a6207; }
html[data-theme="light"] #gsb-main .inv-stat.quiet b { color: #1d2127; }
html[data-theme="light"] #gsb-main .gsb-fav { border-top: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .gsb-request { background: #fbfcfc; border: 1px solid #dde1e7; }
@media (min-width: 900px) {
html[data-theme="light"] #gsb-main dialog.gsb-admin-dialog:is(.inv-dlg, .ag-user) { box-shadow: -24px 0 70px rgba(15,23,41,0.11); }
html[data-theme="light"] #gsb-main dialog:is(.inv-dlg, .ag-user) :is(.ag-user-actions, .actions):last-child { background: #fefefe; border-top: 1px solid #dde1e7; }
}
html[data-theme="light"] body.page-home #gsb-main .blk-text p { color: #5b6574; }
html[data-theme="light"] body.page-home #gsb-main .blk-text p:first-child { color: var(--gsb-head); }
@media (max-width: 600px) {
html[data-theme="light"] #gsb-main dialog.gsb-admin-dialog :is(.ag-user-actions, .actions):last-child { background: #fefefe; border-top: 1px solid #dde1e7; }
}
html[data-theme="light"] #gsb-main .gsb-titlebar .gsb-mdt-info { background: #ffffff; border: 1px solid #d8dde4; box-shadow: 0 16px 40px rgba(15,23,41,0.11); }
html[data-theme="light"] #gsb-main .ma-list a > span:last-child { color: inherit; }
html[data-theme="light"] #gsb-main .ma-note { background: rgba(61,139,255,.08); border: 1px solid rgba(61,139,255,.25); color: #2468cf; }
html[data-theme="light"] #gsb-main .ma-hint { color: #525b68; }
html[data-theme="light"] #gsb-main .ma-status { color: #5f6876; }
html[data-theme="light"] #gsb-main .ma-status.bad { color: #d50a0a; }
html[data-theme="light"] #gsb-main .ma-empty { color: #6b7380; }
html[data-theme="light"] #gsb-main .ma-row { border-bottom: 1px solid #e4e7ec; }
html[data-theme="light"] #gsb-main .ma-row.ma-hidden > a { text-decoration: line-through; }
html[data-theme="light"] #gsb-main .ma-ic { background: none; color: #6b7380; }
html[data-theme="light"] #gsb-main .ma-ic:hover { background: #f7f7f9; color: #1d2127; }
html[data-theme="light"] #gsb-main .ma-ic.ma-on { color: #886507; }
html[data-theme="light"] #gsb-main .ma-add summary { color: var(--gsb-link); }
html[data-theme="light"] #gsb-main .ma-add input { background: #f6f7f9; color: #1d2127; border: 1px solid #cbd1d9; }
html[data-theme="light"] #gsb-main .ma-add input:focus { box-shadow: 0 0 0 3px rgba(61,139,255,.28); }
html[data-theme="light"] #gsb-main .ma-err { color: #d50a0a; }
html[data-theme="light"] #gsb-main .ap-intro { color: #525b68; }
html[data-theme="light"] #gsb-main .ap-help { color: #5f6876; }
html[data-theme="light"] #gsb-main .ap-sec { border: 1px solid #dde1e7; background: #f6f7f9; }
html[data-theme="light"] #gsb-main .gsb-agency-page input:not([type=checkbox]) { background: #f6f7f9; color: #1d2127; border: 1px solid #cbd1d9; }
html[data-theme="light"] #gsb-main .gsb-agency-page input:not([type=checkbox]):focus { box-shadow: 0 0 0 3px rgba(61,139,255,.28); }
html[data-theme="light"] #gsb-main .ap-chk { color: #525b68; }
html[data-theme="light"] #gsb-main .ap-ic { background: none; color: #5f6876; }
html[data-theme="light"] #gsb-main .ap-ic:hover:not(:disabled) { background: #f7f7f9; color: #1d2127; }
html[data-theme="light"] #gsb-main .ap-star.on { color: #886507; }
html[data-theme="light"] #gsb-main .ap-del:hover:not(:disabled), html[data-theme="light"] #gsb-main .ap-del.ap-sure { color: #d50a0a; background: rgba(240,82,82,.12); }
html[data-theme="light"] #gsb-main .ap-save { background: linear-gradient(180deg, rgba(15,23,41,0), #f3f4f6 35%); }
@media (max-width: 760px) {
html[data-theme="light"] #gsb-main .ap-link { border-top: 1px solid #dde1e7; }
}
html[data-theme="light"] #gsb-header .gsb-theme { border: 1px solid #dde1e7; background: none; color: #39424f; }
html[data-theme="light"] #gsb-header .gsb-theme:hover { color: #14171b; background: #f8f9fa; }
html[data-theme="light"] #gsb-main .st-card { background: #ffffff; border: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .st-help { color: #525b68; }
html[data-theme="light"] #gsb-main .st-seg { background: #f6f7f9; border: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .st-seg button { background: none; color: #525b68; }
html[data-theme="light"] #gsb-main .st-seg button:hover { color: #1d2127; }
html[data-theme="light"] #gsb-main .st-seg button[aria-checked="true"] { background: #0066e2; color: #fff; }
html[data-theme="light"] #gsb-main .st-status { color: #5f6876; }
html[data-theme="light"] #gsb-main .st-status.bad { color: #d50a0a; }
html[data-theme="light"] #gsb-main .st-card #ma-root .gsb-card { background: #f6f7f9; }
html[data-theme="light"] #gsb-main .ma-grip { background: none; color: #1c1e21; }
html[data-theme="light"] #gsb-main .ma-grip:hover { color: #1d2127; background: #f7f7f9; }
html[data-theme="light"] #gsb-main .ma-dragging { background: #f9fafb; box-shadow: 0 6px 18px rgba(15,23,41,0.099); }
html[data-theme="light"] #gsb-main .ma-ren.ma-sure { color: #d50a0a; background: rgba(240,82,82,.12); }
html[data-theme="light"] #gsb-main .ma-rename { background: #f6f7f9; color: #1d2127; box-shadow: 0 0 0 3px rgba(61,139,255,.28); }
html[data-theme="light"] #gsb-main .ma-own { border-color: #c0cadb; }
html[data-theme="light"] #gsb-main .ma-drop { border: 1px dashed #cbd1d9; }
html[data-theme="light"] #gsb-main .ma-gtools .ma-ic:disabled { background: none; }
html[data-theme="light"] #gsb-main .ma-lockic { color: #5f6876; }
html[data-theme="light"] #gsb-main .ma-panel { background: #f6f7f9; border: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .ma-ag-row { border-bottom: 1px solid #e4e7ec; color: #1d2127; }
html[data-theme="light"] #gsb-main .ma-have { color: #5f6876; }
html[data-theme="light"] #gsb-main .ma-have svg { color: #16793a; }
html[data-theme="light"] #gsb-main .gsb-seg button { background: none; color: #1d2127; }
html[data-theme="light"] #gsb-main .gsb-seg button[aria-selected="true"] { background: var(--gsb-blue); color: #fff; }
html[data-theme="light"] #gsb-main .gsb-seg button:not([aria-selected="true"]):hover { background: #f7f8f9; }
html[data-theme="light"] #gsb-main .ap-common-head { color: #525b68; }
html[data-theme="light"] #gsb-main .ap-common-row { border-bottom: 1px solid #e4e7ec; color: #1d2127; }
html[data-theme="light"] #gsb-main .ap-have { color: #5f6876; }
html[data-theme="light"] #gsb-main .ap-linkbtn { background: none; color: var(--gsb-link); }
html[data-theme="light"] #gsb-main .ap-linkbtn:hover { text-decoration: underline; }
html[data-theme="light"] #gsb-main .ma-hint a, html[data-theme="light"] #gsb-main .ma-note a, html[data-theme="light"] #gsb-main .ma-empty a { color: var(--gsb-link); }
html[data-theme="light"] #gsb-main .np-callout { background: #f6f7f9; border: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .np-callout.np-good { border-color: rgba(34,197,94,.35); }
html[data-theme="light"] #gsb-main .np-callout.np-warn { border-color: rgba(245,165,36,.4); }
html[data-theme="light"] #gsb-main .np-lead { color: #1d2127; }
html[data-theme="light"] #gsb-main .np-good .np-lead svg, html[data-theme="light"] #gsb-main .np-installed svg { color: #16793a; }
html[data-theme="light"] #gsb-main .np-steps { color: #333c4a; }
html[data-theme="light"] #gsb-main .np-steps b { color: #1d2127; }
html[data-theme="light"] #gsb-main .np-ico { color: var(--gsb-link); }
html[data-theme="light"] #gsb-main .np-install { border-top: 1px solid #e4e7ec; }
html[data-theme="light"] #gsb-main .np-install b { color: #1d2127; }
html[data-theme="light"] #gsb-main .np-installed { color: #525b68; }
html[data-theme="light"] #gsb-main .np-h3 { color: #1d2127; }
html[data-theme="light"] #gsb-main .np-devices li { border-bottom: 1px solid #e4e7ec; color: #1d2127; }
html[data-theme="light"] #gsb-main .np-devices em { color: #5f6876; }
html[data-theme="light"] #gsb-main .np-devices small { color: #5f6876; }
html[data-theme="light"] #gsb-main .np-remove { color: #d50a0a; }
html[data-theme="light"] #gsb-main .np-other summary { color: var(--gsb-link); }
html[data-theme="light"] .inv-dlg .inv-mounted { border-top: 1px solid #dde1e7; }
html[data-theme="light"] .inv-dlg .inv-mounted h3 { color: #1d2127; }
html[data-theme="light"] .inv-dlg .inv-mount-list li { border-bottom: 1px solid #dfe2e6; }
html[data-theme="light"] .inv-imp-dlg .imp-steps { color: #5f6876; }
html[data-theme="light"] .inv-imp-dlg .imp-steps li[aria-current] { color: #1d2127; }
html[data-theme="light"] .inv-imp-dlg .imp-steps li.done { color: #525b68; }
html[data-theme="light"] .inv-imp-dlg .imp-drop { border: 2px dashed #c7cdd6; }
html[data-theme="light"] .inv-imp-dlg .imp-drop b { color: var(--gsb-link); }
html[data-theme="light"] .inv-imp-dlg .imp-drop.over, html[data-theme="light"] .inv-imp-dlg .imp-drop:focus-within { background: rgba(61,139,255,.06); }
html[data-theme="light"] .inv-imp-dlg .imp-wrap { border: 1px solid #dde1e7; }
html[data-theme="light"] .inv-imp-dlg .imp-wrap thead th { background: #ffffff; }
html[data-theme="light"] .inv-imp-dlg tr.imp-need td { background: rgba(245,158,11,.07); }
html[data-theme="light"] .inv-imp-dlg .imp-sec { border: 1px solid #dde1e7; border-left: 4px solid #bac1cb; background: #fdfdfd; }
html[data-theme="light"] .inv-imp-dlg .imp-sec-add { border-left-color: #22a861; }
html[data-theme="light"] .inv-imp-dlg .imp-sec-upd { border-left-color: #f59e0b; }
html[data-theme="light"] .inv-imp-dlg .imp-sec-bad { border-left-color: #ef4444; }
html[data-theme="light"] .inv-imp-dlg .imp-sec-head p { color: #3c444e; }
html[data-theme="light"] .inv-imp-dlg .imp-count { background: #f4f5f6; color: #24282f; }
html[data-theme="light"] .inv-imp-dlg .imp-sec-add .imp-count { background: rgba(34,168,97,.18); color: #16793a; }
html[data-theme="light"] .inv-imp-dlg .imp-sec-upd .imp-count { background: rgba(245,158,11,.18); color: #926103; }
html[data-theme="light"] .inv-imp-dlg .imp-sec-bad .imp-count { background: rgba(239,68,68,.18); color: #d80707; }
html[data-theme="light"] .inv-imp-dlg .imp-same summary { color: #3c444e; }
html[data-theme="light"] #gsb-main .inv-imp-dlg .imp-review-bad td { color: #48515d; }
html[data-theme="light"] #gsb-main .inv-imp-dlg .imp-review-bad td.imp-state { color: #d80707; }
html[data-theme="light"] .inv-imp-dlg .imp-add { color: #16793a; }
html[data-theme="light"] .inv-imp-dlg .imp-upd { color: #926103; }
html[data-theme="light"] .inv-imp-dlg .imp-progress { background: #f7f7f9; }
html[data-theme="light"] .inv-imp-dlg .imp-progress span { background: var(--gsb-link); }
html[data-theme="light"] #gsb-main .gsb-offline { color: #816702; background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.35); }
html[data-theme="light"] #gsb-main .st-offline { border-top: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .inv-selbar { background: #f2f5fa; border: 1px solid #2f4f86; }
html[data-theme="light"] #gsb-main .my-start { background: #f6f8fb; border: 1px solid #bfcce2; }
html[data-theme="light"] #gsb-main .my-start li { border-top: 1px solid #ced8e6; }
html[data-theme="light"] #gsb-main .my-start-mark { border: 2px solid #b1bbca; }
html[data-theme="light"] #gsb-main .my-start li.done .my-start-mark { border-color: #22a861; background: #22a861; color: #fff; }
html[data-theme="light"] #gsb-main .my-start li.done .my-start-txt b { color: #5d6774; }
html[data-theme="light"] #gsb-main .my-start-err { color: #d80707; }
html[data-theme="light"] #gsb-main .my-start .linkish, html[data-theme="light"] #gsb-main .st-card .linkish { background: none; color: var(--gsb-link); }
html[data-theme="light"] #gsb-main .ag-tip-btn { border: 1px solid #bac1cb; background: transparent; color: #3c444e; }
html[data-theme="light"] #gsb-main .ag-tip-btn:hover, html[data-theme="light"] #gsb-main .ag-tip.open .ag-tip-btn { border-color: #3d8bff; color: #14171b; }
html[data-theme="light"] #gsb-main .ag-tip-box { background: #f7f8fa; border: 1px solid #c7cdd6; box-shadow: 0 8px 24px rgba(15,23,41,0.077); color: #24282f; }
html[data-theme="light"] #gsb-main .ag-seats-roster a { color: var(--gsb-link); text-decoration: none; }
html[data-theme="light"] #gsb-main .ag-seats-roster a:hover { text-decoration: underline; }
html[data-theme="light"] #gsb-main .gsb-faq details { border-bottom: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .gsb-faq summary::after { color: #5f6876; }
html[data-theme="light"] #gsb-main .ag-rec-parts label:hover { background: rgba(15,20,26,0.022); }
html[data-theme="light"] #gsb-main .ag-rec-parts label .muted { color: #5f6876; }
html[data-theme="light"] .gsb-tour-shade { background: transparent; }
html[data-theme="light"] .gsb-tour.centered .gsb-tour-shade { background: rgba(15,23,41,0.248); }
html[data-theme="light"] .gsb-tour-ring { box-shadow: 0 0 0 3px #3d8bff, 0 0 0 9999px rgba(15,23,41,0.121); }
html[data-theme="light"] .gsb-tour-card { background: #fbfbfc; border: 1px solid #c7cdd6; box-shadow: 0 12px 32px rgba(15,23,41,0.099); color: #24282f; }
html[data-theme="light"] .gsb-tour-card p { color: #333941; }
html[data-theme="light"] .gsb-tour-card a { color: var(--gsb-link); }
html[data-theme="light"] .gsb-tour-card .gsb-tour-n { color: #5d6774; }
html[data-theme="light"] .gsb-tour-b { border: 1px solid #c7cdd6; background: #f3f4f6; color: #24282f; }
html[data-theme="light"] .gsb-tour-b:hover { background: #eceef1; }
html[data-theme="light"] .gsb-tour-next { background: #0066e2; border-color: #0066e2; color: #fff; }
html[data-theme="light"] .gsb-tour-next:hover { background: #1a75e8; }
html[data-theme="light"] .gsb-tour-b:focus-visible, html[data-theme="light"] .gsb-tour-skip:focus-visible { outline: 2px solid #3d8bff; }
html[data-theme="light"] .gsb-tour-skip { background: none; color: #5d6774; }
html[data-theme="light"] .gsb-tour-skip:hover { color: #24282f; text-decoration: underline; }
html[data-theme="light"] #gsb-main .gsb-mdt-info a { color: var(--gsb-link); }
html[data-theme="light"] #gsb-main .mdt-list { border: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .mdt-list li { border-top: 1px solid #dde1e7; }
html[data-theme="light"] #gsb-main .mdt-n { color: #5f6876; }
html[data-theme="light"] #gsb-main .mdt-name .muted { color: #5f6876; }
html[data-theme="light"] #gsb-main .mdt-b { border: 1px solid #d8dde4; background: transparent; color: #3c444e; }
html[data-theme="light"] #gsb-main .mdt-b:hover:not(:disabled) { border-color: #3d8bff; color: #14171b; }
html[data-theme="light"] #gsb-main .mdt-rm:hover:not(:disabled) { border-color: #ef4444; color: #d80707; }
html[data-theme="light"] #gsb-main .mdt-chip { border: 1px solid #d8dde4; background: #fefefe; color: #24282f; }
html[data-theme="light"] #gsb-main .mdt-chip:hover { border-color: #3d8bff; }
html[data-theme="light"] #gsb-main .mdt-own input { background: #ffffff; border: 1px solid #cbd1d9; color: #1d2127; }
html[data-theme="light"] #gsb-main .mdt-own input:focus { box-shadow: 0 0 0 3px rgba(61, 139, 255, .28); }
html[data-theme="light"] #gsb-main .gsb-lifted { box-shadow: 0 10px 28px rgba(15,23,41,0.11); background: #f6f7f8; }
html[data-theme="light"] #gsb-main .ma-favbox { border-color: rgba(245,184,0,.45); background: linear-gradient(rgba(245,184,0,.05), rgba(245,184,0,.02)); }
html[data-theme="light"] #gsb-main .ma-favstar { color: #856400; }
html[data-theme="light"] #gsb-main .ma-favcount { color: #5f6876; }
html[data-theme="light"] #gsb-main .ma-favbox .ma-drop { border: 2px dashed rgba(245,184,0,.45); }
html[data-theme="light"] #gsb-main .ap-favs { border-color: rgba(245,184,0,.45); }
html[data-theme="light"] #gsb-main .gsb-fav .gsb-fav-name b { color: var(--gsb-link); }
html[data-theme="light"] #gsb-main .gsb-fav-star { color: var(--gsb-link); }
html[data-theme="light"] .gsb-toast { color: #24282f; background: #f6f7f9; border: 1px solid #c7cdd6; box-shadow: 0 8px 24px rgba(15,23,41,0.088); }
html[data-theme="light"] .gsb-toast.ok svg { color: #16793a; }
html[data-theme="light"] .gsb-toast.bad { color: #d90404; background: #fbf6f6; border-color: #7f2a2f; }
html[data-theme="light"] #gsb-main .gsb-group-note { color: #525b68; }
html[data-theme="light"] #gsb-main .gsb-lrow { border-bottom: 1px solid #e4e7ec; }
html[data-theme="light"] #gsb-main .gsb-ltip-btn { border: 1px solid #bac1cb; background: transparent; color: #525b68; }
html[data-theme="light"] #gsb-main .gsb-ltip-btn:hover, html[data-theme="light"] #gsb-main .gsb-ltip.open .gsb-ltip-btn { border-color: #3d8bff; color: #14171b; }
html[data-theme="light"] #gsb-main .gsb-ltip-box { background: #f7f8fa; border: 1px solid #c7cdd6; box-shadow: 0 8px 22px rgba(15,23,41,0.088); color: #24282f; }
html[data-theme="light"] .inv-imp-dlg .imp-now { color: #525b68; }
html[data-theme="light"] .inv-imp-dlg .imp-now b { color: #24282f; }
html[data-theme="light"] #gsb-main .inv-tpill { border: 1px solid #cbd1d9; background: #fdfdfd; color: #373e49; }
html[data-theme="light"] #gsb-main .inv-tpill:hover { border-color: #b8bfcb; color: #14171b; }
html[data-theme="light"] #gsb-main .inv-tpill[aria-pressed="true"] { background: var(--gsb-blue); color: #fff; }
html[data-theme="light"] .inv-dlg .vs-count { color: #16793a; }
html[data-theme="light"] .inv-dlg .vs-cam { background: #ededed; }
html[data-theme="light"] .inv-dlg .vs-guide { border: 3px solid rgba(15,20,26,0.16); box-shadow: 0 0 0 9999px rgba(15,23,41,0.099); }
html[data-theme="light"] .inv-dlg .vs-cam.vs-hit .vs-guide { border-color: #4ade80; }
html[data-theme="light"] .inv-dlg .vs-camtop .btn[aria-pressed="true"] { background: #fbbf4d; color: #1f1f1f; }
html[data-theme="light"] .inv-dlg .vs-msg.bad { color: #d50a0a; }
html[data-theme="light"] .inv-dlg .vs-warn, html[data-theme="light"] .inv-dlg .inv-scan-note b { color: #926103; }
html[data-theme="light"] .inv-dlg .vs-spin { border: 2px solid #b8bfcb; }
html[data-theme="light"] .inv-dlg .inv-scan-note { background: #f7f8fa; border: 1px solid #c9d3e0; }
html[data-theme="light"] #gsb-header .gsb-help-btn { border: 1px solid #dde1e7; background: none; color: #39424f; }
html[data-theme="light"] #gsb-header .gsb-help-btn:hover { color: #14171b; background: #f8f9fa; }
html[data-theme="light"] .gh-panel { color: #252c36; }
html[data-theme="light"] .gh-shade { background: rgba(5,8,12,.55); }
html[data-theme="light"] .gh-sheet { background: #f9f9fb; border-left: 1px solid #d7dbe2; box-shadow: -18px 0 40px rgba(15,23,41,0.099); }
html[data-theme="light"] .gh-top h2 { color: var(--gsb-head); }
html[data-theme="light"] .gh-x { background: none; color: #4d5765; }
html[data-theme="light"] .gh-x:hover { background: #f7f8f9; color: #14171b; }
html[data-theme="light"] .gh-search svg { color: #606976; }
html[data-theme="light"] .gh-search input { border: 1px solid #cbd1d9; background: #fcfdfd; color: #14171b; }
html[data-theme="light"] .gh-h { color: #5f6977; }
html[data-theme="light"] .gh-item + .gh-item { border-top: 1px solid #dee2e6; }
html[data-theme="light"] .gh-link { text-decoration: none; color: inherit; }
html[data-theme="light"] .gh-link b { color: #14171b; }
html[data-theme="light"] .gh-link span { color: #525c6a; }
html[data-theme="light"] .gh-link em { color: var(--gsb-link); }
html[data-theme="light"] .gh-link:hover, html[data-theme="light"] .gh-link:focus-visible { background: #fbfbfc; }
html[data-theme="light"] .gh-q { background: none; color: #14171b; }
html[data-theme="light"] .gh-q::after { border-right: 2px solid #8b94a1; border-bottom: 2px solid #8b94a1; }
html[data-theme="light"] .gh-q:hover, html[data-theme="light"] .gh-q:focus-visible { background: #fbfbfc; }
html[data-theme="light"] .gh-a { color: #373f4b; }
html[data-theme="light"] .gh-a a, html[data-theme="light"] .gh-none a, html[data-theme="light"] .gh-foot a { color: var(--gsb-link); }
html[data-theme="light"] .gh-none { color: #454e5b; }
html[data-theme="light"] .gh-muted { color: #5c6674; }
html[data-theme="light"] .gh-miss li { border-top: 1px solid #dee2e6; }
html[data-theme="light"] .gh-miss span { color: #5c6674; }
html[data-theme="light"] .gh-foot { border-top: 1px solid #dbdfe4; }
html[data-theme="light"] .gh-foot a { text-decoration: none; }
html[data-theme="light"] .gh-tour { background: none; color: var(--gsb-link); }
html[data-theme="light"] .gh-foot a:hover, html[data-theme="light"] .gh-tour:hover { text-decoration: underline; }
html[data-theme="light"] #gsb-main .q-range { color: #434c5a; }
html[data-theme="light"] #gsb-main .q-card { border: 1px solid #d7dbe2; background: #fbfcfc; }
html[data-theme="light"] #gsb-main .q-count { color: #434c5a; }
html[data-theme="light"] #gsb-main .q-count b { color: #14171b; }
html[data-theme="light"] #gsb-main .q-session + .q-session { border-top: 1px solid #dbdfe4; }
html[data-theme="light"] #gsb-main .q-sess-btn { background: none; color: inherit; }
html[data-theme="light"] #gsb-main .q-sess-btn:hover, html[data-theme="light"] #gsb-main .q-sess-btn:focus-visible { background: #fafbfc; }
html[data-theme="light"] #gsb-main .q-sess-n { color: #434c5a; }
html[data-theme="light"] #gsb-main .q-fail { color: #d50a0a; }
html[data-theme="light"] .q-duty { background: #e6edf6; color: #186ace; }
html[data-theme="light"] .q-duty.off { background: #ece9f2; color: #8645e3; }
html[data-theme="light"] .q-form .q-row { border: 1px solid #d6dae0; background: #fefefe; }
html[data-theme="light"] .q-form .q-x { background: none; color: #5c6674; }
html[data-theme="light"] .q-form .q-x:hover { background: #f5f7f8; color: #14171b; }
html[data-theme="light"] .q-form .q-pf { border: 1px solid #cbd1d9; }
html[data-theme="light"] .q-form .q-pf button { background: none; color: #39424f; }
html[data-theme="light"] .q-form .q-pf button + button { border-left: 1px solid #cbd1d9; }
html[data-theme="light"] .q-form .q-pf button[data-pf$="|1"][aria-pressed="true"] { background: #e3f9eb; color: #14171b; }
html[data-theme="light"] .q-form .q-pf button[data-pf$="|0"][aria-pressed="true"] { background: #991b1b; color: #fff; }
html[data-theme="light"] #gsb-header .gsb-am-btn[data-here], html[data-theme="light"] #gsb-header .gsb-agency-menu.open .gsb-am-btn { color: #14171b; background: rgba(61, 139, 255, .22); }
html[data-theme="light"] #gsb-header .gsb-am-drop { background: #ffffff; border: 1px solid #d8dde4; box-shadow: 0 18px 50px rgba(15,23,41,0.121); }
html[data-theme="light"] #gsb-header .gsb-am-drop a { color: #252c36; text-decoration: none; }
html[data-theme="light"] #gsb-header .gsb-am-drop a:hover, html[data-theme="light"] #gsb-header .gsb-am-drop a:focus-visible { background: #f5f7f8; color: #14171b; }
html[data-theme="light"] #gsb-header .gsb-am-drop a[aria-current="page"] { color: #14171b; background: rgba(61, 139, 255, .22); }
html[data-theme="light"] #gsb-main .ma-gnote .linkish { color: #5c6674; }
html[data-theme="light"] .q-form .q-person { border: 1px solid #d6dae0; background: #fefefe; }
html[data-theme="light"] .q-form .q-person .q-row { border-top: 1px solid #d8dce2; background: none; }
html[data-theme="light"] #gsb-main .gsb-hs-btn { color: #293445; }
html[data-theme="light"] #gsb-main .gsb-hs-next { background: linear-gradient(to right, rgba(15,23,41,0), #ffffff 60%); }
html[data-theme="light"] #gsb-main .gsb-hs-prev { background: linear-gradient(to left, rgba(15,23,41,0), #ffffff 60%); }
html[data-theme="light"] #gsb-main .gsb-hs-btn svg { background: #f2f4f6; box-shadow: 0 1px 4px rgba(15,23,41,0.088); }
html[data-theme="light"][data-theme="light"] body #gsb-main .gsb-hs-btn { color: #181d25; }
html[data-theme="light"][data-theme="light"] body #gsb-main .gsb-hs-next { background: linear-gradient(to right, rgba(15,20,26,0), #fff 60%); }
html[data-theme="light"][data-theme="light"] body #gsb-main .gsb-hs-prev { background: linear-gradient(to left, rgba(15,20,26,0), #fff 60%); }
html[data-theme="light"][data-theme="light"] body #gsb-main .gsb-hs-btn svg { background: #eef1f4; box-shadow: 0 1px 3px rgba(15,23,41,0.033); }
html[data-theme="light"] #gsb-main .inv-manages li { background: #f6f8fa; color: #226ac8; border: 1px solid #c7d2e1; }
html[data-theme="light"] #gsb-main .inv-manages li.inv-manages-l { background: none; color: #5c6674; }
html[data-theme="light"][data-theme="light"] body #gsb-main .inv-manages li { background: #e8f0fc; color: #1d4f91; border-color: #cfdcf2; }
html[data-theme="light"][data-theme="light"] body #gsb-main .inv-manages li.inv-manages-l { background: none; color: #1b1e22; }
html[data-theme="light"] #gsb-main .rec-bar .rec-date { color: #4c5765; }
html[data-theme="light"] #gsb-main .rec-table tr.rec-more:hover td, html[data-theme="light"] #gsb-main .rec-table tr.rec-more:focus-visible td { background: #fcfdfd; }
html[data-theme="light"] #gsb-main .rec-table tr.rec-more[aria-expanded="true"] td { background: #fcfdfd; }
html[data-theme="light"] #gsb-main .rec-detail td { background: #fafbfb; }
html[data-theme="light"] #gsb-main .rec-checks li { border-bottom: 1px solid #dde1e6; }
html[data-theme="light"] #gsb-main .rec-checks li span { color: #4c5765; }
html[data-theme="light"] #gsb-main .rec-checks li.bad b { color: #d50a0a; }
@media (max-width: 640px) {
html[data-theme="light"] #gsb-main .inv-table.rec-cards tr.ag-row td[data-l]:not(:first-child)::before { color: #5f6876; }
}
html[data-theme="light"] .rec-cdlg .cb-head { color: #5f6876; border-bottom: 1px solid #d8dce2; }
html[data-theme="light"] .rec-cdlg .cb-row { border-bottom: 1px solid #dee2e6; }
@media (max-width: 520px) {
html[data-theme="light"] .rec-cdlg .cb-row .cb-exp::before { color: #5f6876; }
}
html[data-theme="light"] .rec-cdlg .q-x { background: none; color: #5c6674; }
html[data-theme="light"] .rec-cdlg .q-x:hover { background: #f5f7f8; color: #14171b; }
html[data-theme="light"].gsb-ios .gsb-date[data-empty]::after { color: #626a75; }
html[data-theme="light"][data-theme="light"] body .gsb-tour-ring { box-shadow: 0 0 0 3px #0066e2, 0 0 0 9999px rgba(15,23,41,.45); }
html[data-theme="light"][data-theme="light"] body .gsb-tour.centered .gsb-tour-shade { background: rgba(15,23,41,.45); }
/* ==== END LIGHT THEME ==== */
