/* STUDIO'S TYPE AND HEADER (A-194, 15 Nov 2026). Loaded by Studio only, after brand.css, app.css, race.css and the
   studio-*.css sheets, so the hub, the phone app, the HoloBox911 glass and Maya keep their own type untouched.

   Rrahul: "welcome name, and then Hub, Help, Signout and then logo ... the header color - overall asthetics to be world
   class including the fonts used across the product, readibility". Decided the same day: a white header with the
   spectrum line across the whole width; Poppins for headings and figures, Inter for reading.

   The rules followed (WCAG 2.2 AA, and the type scales of Material 3, Apple's HIG and GOV.UK): body text 15px at 1.55;
   nothing under 12px (the one exception: the side menu's group headings, 11px capitals, tracked, weight 600); text
   4.5:1 against its background, controls 3:1; targets at least 24px (2.5.8); a visible focus ring; figures in tiles and
   tables of equal width so columns line up.

   The font: Inter variable (latin, weights 100-900), OFL, from @fontsource-variable/inter@5.1.0. Served from
   /brand/v3/fonts/; the server needs a .gz beside it (gzip -k -9 -n -f), as for every static file. */

@font-face { font-family: 'Inter'; src: url('/brand/v3/fonts/inter-latin-wght.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --hb-font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;   /* reading: body, tables, filters, menu, forms */
  --hb-font-head: var(--hb-font);                                                  /* Poppins: headings, figures, the brand */
}

/* ---- contrast: the one token found under 4.5:1. "ok" green on its own soft green was 4.45:1; #127C48 is 4.69:1
   there and 5.25:1 on white. Slate #4A5068 is 7.96:1 on white and 7.42:1 on mist; the footer #636980 is 5.44:1. */
.studio, #dlg { --hb-ok: #127C48; --ok: #127C48; }

/* ---- reading text: Inter */
.studio, .studio input, .studio select, .studio textarea, .studio button, .studio .actlist, #dlg {
  font-family: var(--hb-font-ui); font-feature-settings: 'cv11', 'ss01';
}
.studio { font-size: 15px; line-height: 1.55; }
.studio p, .studio li { text-wrap: pretty; }
.studio .phead .ph-text p, .studio .mbody .card > p { max-width: 75ch; }   /* about 75 characters a line at the most */

/* ---- headings and figures: Poppins */
.studio h1, .studio h2, .studio h3, .studio .dbnum, .studio .dbbig, .studio .shtile .val, .studio .sptile .dbnum, .mhead .mbrand .label {
  font-family: var(--hb-font-head);
}
.studio h1, .studio h2, .studio h3 { text-wrap: balance; color: var(--hb-ink); }
.studio .phead h1 { font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.studio .mbody h2 { font-size: 17px; line-height: 1.3; }
.studio .mbody h3 { font-size: 15px; line-height: 1.35; }
.studio .dbnum, .studio .dbbig, .studio table, .studio .t, .studio .dbline b, .studio .fb-count, .studio .shtile .val, .studio .sptile, .studio .tile, .studio .pager { font-variant-numeric: tabular-nums; }

/* ---- the smallest text: 12px at the least (it was 10.5 to 11.5px in places) */
.studio .small, .studio .phead-note { font-size: 13px; }
.studio .chip, .studio .label, .studio .spattn .chip, .studio .chip.dbai, .studio .pcard .chip, .studio .pill-num, .studio .my-default { font-size: 12px; }
.studio th, .studio .t th, .studio .cv-head, .studio .h3tile b, .studio .shpage h2, .studio .shpage .shtile .lab, .studio .shpage .shaxis { font-size: 12px; }
.studio .tile .n, .studio .hubcard .n, .studio .docsec, .studio .my-plac .my-lab, .studio .my-dot, .studio .fv-th, .studio .side .foot .who .small { font-size: 12px; }
.studio .vw-play { font-size: 12px !important; }   /* app.css sets it with !important */
.studio .dbline { font-size: 14px; }
.side .grp { font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.side a { font-size: 14.5px; }

/* ---- the filter bar and the pager: 34px tall, 14px (Videos, People, Live, Audit ...) */
.studio .fbar input[type=search], .studio .fbar select, .studio .fbar .fb-tog, .studio .fbar input[type=date] { height: 34px; font-size: 14px; }
.studio .fbar .fb-count, .studio .pager { font-size: 14px; }
.studio .pager button { height: 34px; min-width: 34px; font-size: 14px; }
.studio .pager select { height: 34px; font-size: 14px; }

/* ---- THE HEADER: white, 64px, the spectrum line across the whole width at the very top */
.studio::before { content: ''; position: fixed; z-index: 30; top: 0; left: 0; right: 0; height: 3px; background: var(--hb-spectrum); pointer-events: none; }
.studio .side > .hb-spectrum-bar { height: 3px; visibility: hidden; }   /* the line above now runs over the menu too */
.studio .mhead { min-height: 64px; box-sizing: border-box; padding: 11px 32px 8px; background: var(--hb-white); border-bottom: 1px solid var(--hb-line); }
.studio .mhead .crumbs { font-size: 14px; }
.studio .mhead .mhead-r { gap: 6px; font-size: 14px; }
.studio .mhead .mhead-r .who { margin-right: 10px; color: var(--hb-slate); }
.studio .mhead .mhead-r .who .small { font-size: 14px; }
.studio .mhead .mhead-r .who b { color: var(--hb-ink); font-weight: 600; max-width: 200px; }
/* Hub, Help and Sign out read alike: words in Ink at 500 with their icon, a soft fill on hover, a ring on focus. */
.studio .mhead .mhead-a, .studio .mhead .mhelp .actbtn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent;
  color: var(--hb-ink); font: 500 14px/1 var(--hb-font-ui); text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: none;
}
.studio .mhead .mhead-a:hover, .studio .mhead .mhelp .actbtn:hover, .studio .mhead .actmenu.open .actbtn { background: var(--hb-mist); color: var(--hb-ink); text-decoration: none; }
.studio .mhead .mhead-a .svg-i, .studio .mhead .mhelp .actbtn .svg-i { width: 18px; height: 18px; color: var(--hb-slate); }
.studio .mhead a:focus-visible, .studio .mhead button:focus-visible { outline: 2px solid var(--hb-blue); outline-offset: 2px; }
.studio .mhead .mhelp .actlist { left: auto; right: 0; }
.studio .mhead .mhelp .mh-ico { display: none; }
.studio .mhead .mbrand img.hb { height: 28px; }

/* A phone or a narrow window (under 760px): the welcome folds away and Hub, Help and Sign out become their icons; their
   words stay in the page for a screen reader. */
@media (max-width: 760px) {
  .studio .mhead { padding: 10px 16px 8px; }
  .studio .mhead .mhead-r .who { display: none; }
  .studio .mhead .mhead-a, .studio .mhead .mhelp .actbtn { font-size: 0; gap: 0; padding: 0 8px; min-width: 36px; justify-content: center; }
  .studio .mhead .mhead-a .svg-i, .studio .mhead .mhelp .mh-ico { width: 20px; height: 20px; }
  .studio .mhead .mhelp .mh-ico { display: block; }
  .studio .mhead .mhelp .mh-chev { display: none; }
  .studio .mhead .mbrand .label { display: none; }
}
