/* Metrovest (BRAND=metrovest, app/brand.py). Loaded after design.css on every
   page: the brand pack's palette mapped onto the design tokens, and its font.
   Navy ink, one teal accent, light only. Primary buttons are the darker teal
   (#176F8D) so white text on them passes AA; #1F8AAE is for marks and rules. */
:root {
  --page: #FFFFFF; --card: #FFFFFF; --bg: #F6F8FB;
  --ink: #0F2149; --ink-2: #4A5764; --ink-3: #6A7582;
  --line: #E2E7EE; --line-2: #D9DFE6; --row-line: #EEF1F5;
  --black: #176F8D; --black-h: #105A73;
  --blue: #176F8D; --blue-tile: #E3F2F7;
  --sel: #F1F7FA; --sel-ring: #9CCBDC;
  --green: #22785A; --green-tile: #E4F2EC;
  --amber: #C98A1B; --amber-tile: #FBF1DE; --amber-ink: #8A5B0C;
  --red: #B83D35; --red-tile: #FBE9E7;
  --violet: #4E5F8C; --violet-tile: #EEF1F7;
  --chip: #F3F6F9; --chip-line: #E2E7EE;
  --accent: #1F8AAE; --accent-soft: #E3F2F7;
}
body, button, input, textarea, select { font-family: "Mulish", system-ui, sans-serif; }
body { letter-spacing: -0.006em; color: var(--ink); }

/* sidebar: the wordmark, and the product under it */
.side { background: var(--bg); }
.ws.brand-ws { flex-direction: column; align-items: flex-start; gap: 7px; padding: 2px 8px 26px; }
.ws.brand-ws .brand-logo { height: 21px; width: auto; display: block; }
.ws.brand-ws .brand-product { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.it.active { border-color: var(--line); color: var(--ink); }
.it.active svg { color: var(--accent); }
.usercard .av { background: var(--accent-soft); color: var(--black); }
.topbar .brand-hide { display: none; }

/* active tab rule, links, focus */
.seg.active { border-bottom-color: var(--accent); }
.tlink, .alt a { color: var(--black); }
button:focus-visible, a:focus-visible, summary:focus-visible { outline-color: var(--accent); }
.authcard input:focus { border-color: var(--accent); }
.auth { background: var(--bg); }

/* Sortroom's legal pages are not this deployment's (brand.py serves a 404). */
a[href^="/legal/"], .authcard .foot { display: none !important; }
.pstatgrid .c { background: var(--chip); }
.asset-filters button[aria-pressed=true] { background: var(--ink); border-color: var(--ink); }
