/* ==========================================================================
   Operant Learner · T2 "Bold Brand" design system            css/ol-brand.css
   --------------------------------------------------------------------------
   Approved by Duanne, boards #379 / #380 (2026-10-04): navy #003876 owns the
   frame, gold #DB8D03 is the one call to action per view, Bricolage Grotesque
   for display type, Atkinson Hyperlegible Next for reading, calm white
   content cards, T3-style tables for long lists, purposeful motion.

   How to use it on a page
     <link rel="stylesheet" href="/css/ol-brand.css">
     <body class="ol-ui">            ← base type + background, opt-in
   Everything is prefixed `ol-` and every token `--ol-`, so this file can be
   loaded next to an older stylesheet without restyling it. Living reference:
   /brand-kit.html.

   Contrast (WCAG AA, measured): ink #0B1B33 16.2:1 · ink-2 9.1:1 · ink-3
   5.9:1 on white. Gold #DB8D03 is NEVER text on white (2.6:1) — gold text on
   white is gold-700 #8A5700 (6.1:1); gold text on navy is gold-300 #F2C063
   (9.5:1). Text ON gold is navy-950 #021A3A (6.5:1), never #003876 (4.28:1).
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Atkinson+Hyperlegible+Next:wght@400;500;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

/* ---------------------------------------------------------------- tokens */
:root {
  /* brand ramps (from the logo SVGs + css/landing.css) */
  --ol-navy-950: #021a3a;
  --ol-navy-900: #04214a;
  --ol-navy-850: #072b5c;
  --ol-navy-800: #003876;
  --ol-navy-700: #0e488f;
  --ol-navy-400: #8ca7d0;
  --ol-navy-200: #cfdbec;
  --ol-navy-100: #e7eef7;
  --ol-navy-50: #f3f6fb;
  --ol-gold-700: #8a5700;
  --ol-gold-600: #b87602;
  --ol-gold-500: #db8d03;
  --ol-gold-400: #f2a21c;
  --ol-gold-300: #f2c063;
  --ol-gold-100: #fbf0da;

  /* neutrals + status */
  --ol-ink: #0b1b33;
  --ol-ink-2: #3a4960;
  --ol-ink-3: #56657b;
  --ol-rule: #d6dfeb;
  --ol-rule-2: #b9c7da;
  --ol-rule-soft: #ebf0f6;
  --ol-bg: #eef2f8;
  --ol-surface: #ffffff;
  --ol-surface-2: #f8fafc;
  --ol-ok: #1f7a4d;
  --ol-ok-ink: #1f6f43;
  --ol-ok-bg: #e8f5ee;
  --ol-warn: #db8d03;
  --ol-warn-ink: #8a5700;
  --ol-warn-bg: #fbf0da;
  --ol-danger: #b42318;
  --ol-danger-ink: #9a1c13;
  --ol-danger-bg: #fdecea;
  --ol-info-ink: #003876;
  --ol-info-bg: #e7eef7;
  --ol-violet-ink: #5b3e99;
  --ol-violet-bg: #efeaf8;

  /* semantic roles */
  --ol-primary: var(--ol-gold-500);
  --ol-primary-hover: var(--ol-gold-400);
  --ol-on-primary: var(--ol-navy-950);
  --ol-secondary: var(--ol-navy-800);
  --ol-secondary-hover: var(--ol-navy-700);
  --ol-on-secondary: #ffffff;
  --ol-link: var(--ol-navy-700);
  --ol-gold-text: var(--ol-gold-700);
  --ol-focus: var(--ol-navy-700);
  --ol-track: #e2e9f3;
  --ol-fill: var(--ol-gold-500);

  /* type */
  --ol-font-display:
    "Bricolage Grotesque", "Proza Libre", system-ui, sans-serif;
  --ol-font-text:
    "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui,
    -apple-system, sans-serif;
  --ol-font-mono:
    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ol-fs-2xs: 0.6875rem;
  --ol-fs-xs: 0.75rem;
  --ol-fs-sm: 0.8125rem;
  --ol-fs-base: 0.9375rem;
  --ol-fs-md: 1.0625rem;
  --ol-fs-lg: 1.25rem;
  --ol-fs-xl: 1.5rem;
  --ol-fs-2xl: 2rem;
  --ol-fs-3xl: 2.625rem;
  --ol-lh: 1.5;
  --ol-lh-tight: 1.15;

  /* spacing (4px grid) */
  --ol-s-1: 4px;
  --ol-s-2: 8px;
  --ol-s-3: 12px;
  --ol-s-4: 16px;
  --ol-s-5: 20px;
  --ol-s-6: 24px;
  --ol-s-7: 32px;
  --ol-s-8: 48px;

  /* radius + elevation */
  --ol-r-sm: 8px;
  --ol-r-md: 12px;
  --ol-r-lg: 20px;
  --ol-r-xl: 24px;
  --ol-r-pill: 999px;
  --ol-sh-1:
    0 1px 2px rgba(3, 24, 56, 0.06), 0 4px 12px -6px rgba(3, 24, 56, 0.18);
  --ol-sh-2:
    0 2px 4px rgba(3, 24, 56, 0.06), 0 14px 32px -14px rgba(3, 24, 56, 0.28);
  --ol-sh-3:
    0 4px 8px rgba(3, 24, 56, 0.08), 0 28px 56px -24px rgba(3, 24, 56, 0.5);
  --ol-sh-gold: 0 12px 26px -12px rgba(184, 118, 2, 0.8);

  /* motion — purposeful only; all of it stops under prefers-reduced-motion */
  --ol-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ol-dur-fast: 0.16s;
  --ol-dur: 0.3s;
  --ol-dur-slow: 0.9s;

  /* chrome (sidebar / top bar) */
  --ol-chrome-bg: var(--ol-navy-900);
  --ol-chrome-ink: #ffffff;
  --ol-chrome-ink-2: #c3d1e6;
  --ol-chrome-ink-3: #9fb3d1;
  --ol-chrome-rule: rgba(140, 167, 208, 0.22);
  --ol-chrome-hover: rgba(255, 255, 255, 0.06);
  --ol-chrome-active-bg: rgba(242, 192, 99, 0.14);
  --ol-chrome-active-ink: var(--ol-gold-300);
  --ol-side-w: 256px;
  --ol-top-h: 64px;
  color-scheme: light;
}
/* Anything placed on navy chrome inherits readable colours + a visible focus ring. */
.ol-on-dark {
  --ol-ink: #ffffff;
  --ol-ink-2: #c3d1e6;
  --ol-ink-3: #9fb3d1;
  --ol-rule: rgba(140, 167, 208, 0.22);
  --ol-rule-2: rgba(140, 167, 208, 0.45);
  --ol-surface: var(--ol-navy-850);
  --ol-surface-2: var(--ol-navy-850);
  --ol-track: rgba(255, 255, 255, 0.14);
  --ol-focus: var(--ol-gold-300);
  --ol-link: var(--ol-gold-300);
  --ol-gold-text: var(--ol-gold-300);
  --ol-ok: #2e9a63;
  color: #fff;
}

/* ------------------------------------------------------------------ base */
.ol-ui {
  margin: 0;
  font-family: var(--ol-font-text);
  font-size: var(--ol-fs-base);
  line-height: var(--ol-lh);
  color: var(--ol-ink);
  background: var(--ol-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Zero-specificity resets (:where on BOTH halves) so a page's own
   single-class rule — `.my-btn { color: … }` — always beats them, whatever
   order the stylesheets load in. */
:where(.ol-ui) *,
:where(.ol-ui) *::before,
:where(.ol-ui) *::after {
  box-sizing: border-box;
}
:where(.ol-ui) :where(button, input, select, textarea) {
  font: inherit;
  color: inherit;
}
:where(.ol-ui) :where(button) {
  cursor: pointer;
}
:where(.ol-ui) :where(a) {
  color: var(--ol-link);
  text-decoration: none;
}
:where(.ol-ui) :where(a:not([class])):hover {
  text-decoration: underline;
}
.ol-ui :focus-visible {
  outline: 3px solid var(--ol-focus);
  outline-offset: 2px;
  border-radius: 4px;
}
.ol-ui [hidden] {
  display: none !important;
}
.ol-display,
.ol-h1,
.ol-h2,
.ol-h3 {
  font-family: var(--ol-font-display);
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ol-navy-900);
}
.ol-h1 {
  font-size: var(--ol-fs-2xl);
  font-weight: 800;
  line-height: var(--ol-lh-tight);
  letter-spacing: -0.02em;
}
.ol-h2 {
  font-size: var(--ol-fs-lg);
  font-weight: 800;
  line-height: 1.2;
}
.ol-h3 {
  font-size: var(--ol-fs-md);
  font-weight: 700;
  line-height: 1.25;
}
.ol-on-dark .ol-h1,
.ol-on-dark .ol-h2,
.ol-on-dark .ol-h3 {
  color: #fff;
}
.ol-kicker {
  font-size: var(--ol-fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ol-gold-text);
}
.ol-lede {
  color: var(--ol-ink-2);
  font-size: var(--ol-fs-md);
  max-width: 62ch;
  margin: 0;
}
.ol-muted {
  color: var(--ol-ink-3);
  font-size: var(--ol-fs-sm);
}
.ol-num {
  font-family: var(--ol-font-mono);
  font-variant-numeric: tabular-nums;
}
.ol-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ol-skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  background: #fff;
  color: var(--ol-navy-800);
  padding: 8px 14px;
  border-radius: var(--ol-r-sm);
  font-weight: 700;
}
.ol-skip:focus {
  left: 12px;
}
.ol-ic {
  width: 18px;
  height: 18px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}
.ol-kbd {
  font-family: var(--ol-font-mono);
  font-size: 0.72em;
  line-height: 1.5;
  padding: 1px 6px;
  border-radius: 5px;
  border: 1px solid var(--ol-rule-2);
  background: var(--ol-surface);
  color: var(--ol-ink-2);
  white-space: nowrap;
}
.ol-divider {
  height: 1px;
  background: var(--ol-rule);
  border: 0;
  margin: var(--ol-s-4) 0;
}

/* ------------------------------------------------------------ app shell */
.ol-shell {
  display: grid;
  grid-template-columns: var(--ol-side-w) minmax(0, 1fr);
  min-height: 100vh;
}
.ol-side {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 14px;
  background: var(--ol-chrome-bg);
  color: var(--ol-chrome-ink);
}
.ol-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none !important;
}
.ol-brand__tile {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.ol-brand__tile img {
  width: 36px;
  height: 36px;
}
.ol-brand__tile--sm {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.ol-brand__tile--sm img {
  width: 29px;
  height: 29px;
}
.ol-brand__wm {
  height: 30px;
  width: auto;
}
.ol-brand__name {
  font-family: var(--ol-font-display);
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
}
.ol-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ol-nav__head {
  font-size: var(--ol-fs-2xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ol-chrome-ink-3);
  padding: 10px 10px 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ol-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: var(--ol-r-md);
  color: var(--ol-chrome-ink-2);
  font-weight: 500;
  text-decoration: none !important;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  transition:
    background var(--ol-dur-fast),
    color var(--ol-dur-fast);
}
.ol-nav__item:hover {
  background: var(--ol-chrome-hover);
  color: #fff;
}
.ol-nav__item .ol-nav__label {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ol-nav__item.is-active,
.ol-nav__item[aria-current="page"] {
  background: var(--ol-chrome-active-bg);
  color: var(--ol-chrome-active-ink);
  font-weight: 700;
}
.ol-nav__item.is-active::before,
.ol-nav__item[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 4px;
  border-radius: 4px;
  background: var(--ol-gold-300);
}
.ol-side :focus-visible {
  outline-color: var(--ol-gold-300);
}
.ol-count {
  min-width: 22px;
  height: 20px;
  padding: 0 7px;
  border-radius: var(--ol-r-pill);
  display: inline-grid;
  place-items: center;
  font-size: var(--ol-fs-2xs);
  font-weight: 700;
  background: var(--ol-gold-500);
  color: var(--ol-navy-950);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.ol-count--muted {
  background: var(--ol-track);
  color: var(--ol-ink-2);
}
.ol-owner-tag {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--ol-r-pill);
  background: var(--ol-gold-500);
  color: var(--ol-navy-950);
}
.ol-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ol-content {
  padding: 28px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1440px;
  width: 100%;
}

/* top bar: navy (default) or light */
.ol-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--ol-top-h);
  padding: 10px 20px;
  background: var(--ol-chrome-bg);
  color: var(--ol-chrome-ink);
  border-bottom: 1px solid var(--ol-chrome-rule);
}
.ol-topbar :focus-visible {
  outline-color: var(--ol-gold-300);
}
.ol-topbar__sep {
  align-self: stretch;
  width: 1px;
  background: var(--ol-chrome-rule);
  flex: none;
}
.ol-topbar__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 6px;
  border-radius: var(--ol-r-sm);
  color: var(--ol-gold-300) !important;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
  background: none;
  border: 0;
}
.ol-topbar__back:hover {
  background: var(--ol-chrome-hover);
}
.ol-topbar--light {
  background: rgba(238, 242, 248, 0.92);
  color: var(--ol-ink);
  border-bottom-color: var(--ol-rule);
  backdrop-filter: blur(6px);
}
.ol-topbar--light :focus-visible {
  outline-color: var(--ol-focus);
}
/* Top bar without the sidebar shell (staff pages: task lists, materials,
   print pages, video guide): brand reads white on navy, an optional second
   line under the name, actions pushed right. */
.ol-topbar:not(.ol-topbar--light) .ol-brand {
  color: #fff;
}
.ol-topbar__sub {
  display: block;
  font-size: var(--ol-fs-xs);
  color: var(--ol-chrome-ink-2);
  font-weight: 500;
}
.ol-topbar__actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.ol-user {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.25;
  white-space: nowrap;
  font-size: var(--ol-fs-sm);
}
.ol-user small {
  display: block;
  color: var(--ol-chrome-ink-2);
}
.ol-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-weight: 700;
  font-size: 0.8rem;
  background: var(--ol-gold-300);
  color: var(--ol-navy-950);
}

/* ======================================================================
   App bar — PRIMARY navigation on every staff surface (board #385 D1;
   Duanne's 2026-07-02 decision, 8e09d96). The navy bar carries the job
   tabs; a left sidebar is only ever SUB-navigation of the current tab
   (.ol-subnav). Markup:
     header.ol-appbar[.is-platform]
       a.ol-appbar__brand > img.ol-appbar__tile + img.ol-appbar__wm
       div.ol-sect > div.ol-sect__in > .ol-seg[.is-on] (Work · company ▾ | Owner · Platform)
       nav.ol-appbar__tabs[role=tablist] > .ol-apptab[role=tab][aria-current]
       div.ol-appbar__moreWrap > button.ol-appbar__more + div.ol-amenu   (only when tabs overflow)
       div.ol-appbar__right > .ol-asearch · .ol-aghost · .ol-abtn · .ol-avr · .ol-alink · .ol-me
   Widths: ≤1499px search + ghost go icon-only and the role pill moves into
   the menu; ≤1399px the wordmark collapses to the owl; ≤1100px the tabs
   drop to their own full-width scroll row with 46px targets.
   Contrast on navy-900: tabs #c3d1e6 10.3:1, active #fff, gold-300 9.9:1.
   ====================================================================== */
.ol-appbar {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: var(--ol-bar-h, 60px);
  display: flex;
  align-items: stretch;
  gap: 14px;
  padding: 0 18px;
  background: var(--ol-chrome-bg);
  color: var(--ol-chrome-ink);
  border-bottom: 1px solid #000c22;
}
.ol-appbar.is-platform {
  box-shadow: inset 0 3px 0 var(--ol-gold-500);
}
.ol-appbar :focus-visible {
  outline: 3px solid var(--ol-gold-300);
  outline-offset: 2px;
}
.ol-appbar a {
  text-decoration: none !important;
}
.ol-appbar__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
  color: #fff;
}
.ol-appbar__tile {
  width: 38px;
  height: 38px;
  padding: 3px;
  border-radius: 9px;
  background: #fff;
  object-fit: contain;
  display: block;
}
.ol-appbar__wm {
  height: 28px;
  width: auto;
  display: block;
}
/* Work · company | Owner · Platform — one control (company switch + section). */
.ol-sect {
  position: relative;
  display: flex;
  align-items: center;
  flex: none;
}
.ol-sect__in {
  display: flex;
  align-items: stretch;
  gap: 2px;
  padding: 3px;
  border-radius: 11px;
  border: 1px solid var(--ol-chrome-rule);
  background: rgba(255, 255, 255, 0.06);
}
.ol-seg {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ol-chrome-ink-2);
  font: inherit;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}
.ol-seg:hover {
  background: var(--ol-chrome-hover);
  color: #fff;
}
.ol-seg[disabled] {
  cursor: default;
}
.ol-seg[disabled]:hover {
  background: transparent;
}
.ol-seg .ol-ic {
  width: 17px;
  height: 17px;
}
.ol-seg__ic,
.ol-me__chev {
  display: inline-flex;
  flex: none;
}
.ol-seg__cap {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--ol-chrome-ink-3);
}
.ol-seg__nm {
  display: block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
}
.ol-seg.is-on {
  background: rgba(242, 192, 99, 0.16);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(242, 192, 99, 0.45);
}
.ol-seg.is-on .ol-seg__cap,
.ol-seg.is-on .ol-seg__ic,
.ol-seg.is-on > .ol-ic {
  color: var(--ol-gold-300);
}
.ol-seg__split {
  width: 26px;
  padding: 0;
  justify-content: center;
  margin-left: -4px;
}
.ol-seg[hidden],
.ol-seg__split[hidden] {
  display: none;
}
/* the job tabs */
.ol-appbar__tabs {
  display: flex;
  align-items: stretch;
  gap: 2px;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
}
.ol-apptab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  padding: 0 11px;
  border: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--ol-chrome-ink-2);
  font: inherit;
  font-size: 0.906rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.ol-apptab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.ol-apptab[aria-current="page"],
.ol-apptab.is-active {
  color: #fff;
  border-bottom-color: var(--ol-gold-500);
}
.ol-apptab:focus-visible {
  outline-offset: -3px;
}
.ol-apptab[hidden],
.ol-apptab.is-over {
  display: none !important;
}
.ol-apptab .ol-count[hidden] {
  display: none;
}
.ol-appbar__moreWrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: none;
}
.ol-appbar__moreWrap[hidden] {
  display: none;
}
.ol-appbar__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ol-chrome-ink-2);
  font: inherit;
  font-size: 0.906rem;
  font-weight: 600;
  cursor: pointer;
}
.ol-appbar__more:hover,
.ol-appbar__more.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.ol-appbar__more .ol-ic {
  width: 15px;
  height: 15px;
}
.ol-appbar__more {
  position: relative;
}
.ol-appbar__more.has-count::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ol-gold-400);
  box-shadow: 0 0 0 2px var(--ol-chrome-bg);
}
/* right cluster */
.ol-appbar__right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  margin-left: auto;
}
.ol-abtn {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ol-chrome-ink-2);
  cursor: pointer;
}
.ol-abtn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.ol-abtn__dot {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ol-gold-400);
  box-shadow: 0 0 0 2px var(--ol-chrome-bg);
}
.ol-abtn__dot[hidden] {
  display: none;
}
.ol-asearch {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 210px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--ol-chrome-rule);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ol-chrome-ink-2);
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
}
.ol-asearch:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
}
.ol-asearch .ol-ic {
  width: 16px;
  height: 16px;
}
.ol-asearch .ol-kbd {
  margin-left: auto;
  background: transparent;
  border-color: var(--ol-chrome-rule);
  color: var(--ol-chrome-ink-2);
}
.ol-aghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 13px;
  border: 1px solid var(--ol-chrome-rule);
  border-radius: 10px;
  background: transparent;
  color: var(--ol-gold-300);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.ol-aghost:hover {
  background: rgba(242, 192, 99, 0.1);
}
.ol-aghost[hidden],
.ol-alink[hidden] {
  display: none;
}
.ol-aghost .ol-ic,
.ol-alink .ol-ic {
  width: 16px;
  height: 16px;
}
.ol-alink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  color: #fff !important;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}
.ol-alink:hover {
  background: rgba(255, 255, 255, 0.08);
}
.ol-avr {
  width: 1px;
  height: 26px;
  margin: 0 4px;
  background: var(--ol-chrome-rule);
}
.ol-me {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 4px 4px;
  border: 0;
  border-radius: var(--ol-r-pill);
  background: transparent;
  color: var(--ol-chrome-ink-2);
  font: inherit;
  cursor: pointer;
}
.ol-me:hover {
  background: rgba(255, 255, 255, 0.08);
}
.ol-me .ol-ic {
  width: 15px;
  height: 15px;
}
.ol-me__role {
  padding: 2px 7px;
  border-radius: var(--ol-r-pill);
  background: var(--ol-gold-300);
  color: var(--ol-navy-950);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ol-me__role:empty {
  display: none;
}
/* drop-down panels hung off the bar (company list, platform sections,
   account menu, More tabs, search). Light surface, navy ink. */
.ol-amenu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  min-width: 240px;
  max-width: min(360px, calc(100vw - 24px));
  max-height: min(70vh, 520px);
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--ol-rule);
  border-radius: var(--ol-r-md);
  background: var(--ol-surface);
  color: var(--ol-ink);
  box-shadow: var(--ol-sh-3);
}
.ol-amenu--left {
  left: 0;
  right: auto;
}
.ol-amenu[hidden] {
  display: none;
}
.ol-amenu :focus-visible {
  outline-color: var(--ol-focus);
  outline-offset: -2px;
}
.ol-amenu__head {
  padding: 8px 10px 4px;
  font-size: var(--ol-fs-2xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ol-ink-3);
}
.ol-amenu__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--ol-r-sm);
  background: transparent;
  color: var(--ol-ink-2) !important;
  font: inherit;
  font-size: var(--ol-fs-sm);
  font-weight: 600;
  text-align: left;
  text-decoration: none !important;
  cursor: pointer;
}
.ol-amenu__item:hover,
.ol-amenu__item.is-on {
  background: var(--ol-navy-50);
  color: var(--ol-navy-900) !important;
}
.ol-amenu__item[aria-current="page"] {
  background: var(--ol-navy-100);
  color: var(--ol-navy-900) !important;
  font-weight: 700;
}
.ol-amenu__item .ol-ic {
  color: var(--ol-navy-700);
}
.ol-amenu__item > span:first-of-type {
  flex: 1;
  min-width: 0;
}
.ol-amenu__item[hidden] {
  display: none !important;
}
.ol-amenu__sep {
  height: 1px;
  margin: 6px 4px;
  background: var(--ol-rule);
}
.ol-amenu__me {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 10px;
  line-height: 1.25;
}
.ol-amenu__me b {
  display: block;
  color: var(--ol-ink);
}
.ol-amenu__me small {
  display: block;
  color: var(--ol-ink-3);
}
/* white context strip under the bar (Studio: ← back · mode · title · progress) */
.ol-strip {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  background: var(--ol-surface);
  border-bottom: 1px solid var(--ol-rule);
  color: var(--ol-ink);
}
/* sub-navigation sidebar — ONLY for sub-tabs of the current section */
.ol-subnav {
  background: var(--ol-surface);
  border-right: 1px solid var(--ol-rule);
  padding: 18px 12px;
}
.ol-subnav__crumb {
  padding: 0 10px;
  font-size: var(--ol-fs-xs);
  color: var(--ol-ink-3);
}
.ol-subnav__title {
  padding: 2px 10px 6px;
  font-family: var(--ol-font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ol-navy-900);
}
.ol-subnav__group {
  padding: 14px 10px 6px;
  font-size: var(--ol-fs-2xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ol-ink-3);
}
.ol-subnav__group[hidden] {
  display: none;
}
@media (max-width: 1499px) {
  .ol-asearch {
    width: 40px;
    padding: 0;
    justify-content: center;
  }
  .ol-asearch > span,
  .ol-asearch .ol-kbd,
  .ol-aghost > span,
  .ol-me__role {
    display: none;
  }
  .ol-aghost {
    width: 40px;
    padding: 0;
    justify-content: center;
  }
  .ol-alink {
    padding: 0 8px;
  }
  .ol-appbar {
    gap: 12px;
  }
  .ol-appbar.is-platform .ol-appbar__wm {
    display: none;
  }
}
@media (max-width: 1399px) {
  .ol-appbar__wm,
  .ol-avr {
    display: none;
  }
  .ol-apptab {
    padding: 0 9px;
  }
}
/* tablet + phone: the tabs get their own full-width scroll row */
@media (max-width: 1100px) {
  .ol-appbar {
    flex-wrap: wrap;
    row-gap: 0;
    padding: 0 14px;
  }
  .ol-appbar__brand,
  .ol-sect,
  .ol-appbar__right {
    height: var(--ol-bar-h, 60px);
  }
  .ol-appbar__tabs {
    order: 3;
    flex: 0 0 calc(100% + 28px);
    margin: 0 -14px;
    padding: 0 6px;
    overflow-x: auto;
    scrollbar-width: none;
    border-top: 1px solid var(--ol-chrome-rule);
  }
  .ol-appbar__tabs::-webkit-scrollbar {
    display: none;
  }
  .ol-apptab {
    min-height: 46px;
  }
  .ol-apptab.is-over {
    display: inline-flex !important;
  }
  .ol-apptab[hidden] {
    display: none !important;
  }
  .ol-appbar__moreWrap {
    display: none;
  }
}
@media (max-width: 640px) {
  .ol-appbar {
    gap: 8px;
  }
  .ol-appbar__right {
    gap: 2px;
  }
  .ol-seg__cap {
    display: none;
  }
  .ol-seg__nm {
    max-width: 84px;
  }
  .ol-appbar .ol-me {
    padding: 4px;
  }
  .ol-appbar__right > * {
    flex: none;
  }
  .ol-seg {
    padding: 0 8px;
    gap: 6px;
  }
  .ol-appbar .ol-seg:not(.is-on) .ol-seg__nm,
  .ol-appbar .ol-seg__split {
    display: none;
  }
  .ol-appbar .ol-asearch,
  .ol-appbar .ol-aghost,
  .ol-appbar .ol-alink,
  .ol-appbar .ol-avr,
  .ol-appbar .ol-me__chev {
    display: none;
  }
}
/* the phone-only items in an account menu (they live in the bar above 640px) */
.ol-amenu .ol-only-phone {
  display: none;
}
@media (max-width: 640px) {
  .ol-amenu .ol-only-phone:not([hidden]) {
    display: flex;
  }
}
@media print {
  .ol-appbar,
  .ol-strip,
  .ol-subnav {
    display: none !important;
  }
}

/* hero band (home pages) */
.ol-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--ol-r-xl);
  padding: 30px 32px 28px;
  color: #fff;
  background: radial-gradient(
    120% 140% at 100% 0%,
    var(--ol-navy-700) 0%,
    var(--ol-navy-900) 55%,
    var(--ol-navy-950) 100%
  );
  box-shadow: 0 24px 48px -28px rgba(2, 26, 58, 0.8);
}
.ol-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(140, 167, 208, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 167, 208, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.ol-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 2px solid rgba(242, 192, 99, 0.35);
  pointer-events: none;
}
.ol-hero > * {
  position: relative;
}
.ol-hero .ol-kicker {
  color: var(--ol-gold-300);
}
.ol-hero .ol-h1 {
  color: #fff;
  font-size: var(--ol-fs-3xl);
}
.ol-hero .ol-lede {
  color: #c3d1e6;
}
.ol-hero--slim {
  padding: 18px 24px;
}
.ol-hero--slim .ol-h1 {
  font-size: var(--ol-fs-xl);
}
@media (max-height: 780px) {
  .ol-hero {
    padding: 18px 24px;
  }
  .ol-hero .ol-h1 {
    font-size: var(--ol-fs-xl);
  }
}
.ol-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.ol-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(140, 167, 208, 0.28);
  border-radius: var(--ol-r-lg);
  padding: 14px 18px;
}
.ol-stat__num {
  font-family: var(--ol-font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--ol-gold-300);
  font-variant-numeric: tabular-nums;
}
.ol-stat__label {
  font-weight: 700;
  margin-top: 4px;
}
.ol-stat__sub {
  font-size: var(--ol-fs-sm);
  color: #c3d1e6;
}

/* count tiles on a light surface (platform overview, admin reports):
   .ol-tiles > .ol-tile[--ok|--warn|--danger] > .ol-tile__num + .ol-tile__label */
.ol-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.ol-tile {
  border: 1px solid var(--ol-rule);
  border-radius: var(--ol-r-md);
  background: var(--ol-surface-2);
  padding: 12px 14px;
}
.ol-tile__num {
  font-family: var(--ol-font-display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--ol-navy-900);
  font-variant-numeric: tabular-nums;
}
.ol-tile__label {
  font-size: var(--ol-fs-xs);
  font-weight: 700;
  color: var(--ol-ink-3);
}
.ol-tile--ok {
  background: var(--ol-ok-bg);
  border-color: #b7dfc8;
}
.ol-tile--ok .ol-tile__num {
  color: var(--ol-ok-ink);
}
.ol-tile--warn {
  background: var(--ol-warn-bg);
  border-color: #f0d49c;
}
.ol-tile--warn .ol-tile__num {
  color: var(--ol-warn-ink);
}
.ol-tile--danger {
  background: var(--ol-danger-bg);
  border-color: #f4b8b2;
}
.ol-tile--danger .ol-tile__num {
  color: var(--ol-danger-ink);
}

/* blueprint-grid backdrop (studio stage) */
.ol-grid-bg {
  background-color: var(--ol-navy-100);
  background-image:
    linear-gradient(rgba(14, 72, 143, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 72, 143, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* --------------------------------------------------------------- buttons */
.ol-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--ol-r-md);
  border: 1px solid var(--ol-rule-2);
  background: var(--ol-surface);
  color: var(--ol-navy-800);
  font-weight: 700;
  font-size: var(--ol-fs-sm);
  white-space: nowrap;
  text-decoration: none !important;
  line-height: 1;
  transition:
    transform var(--ol-dur-fast) var(--ol-ease),
    background var(--ol-dur-fast),
    box-shadow var(--ol-dur-fast),
    border-color var(--ol-dur-fast);
}
.ol-btn:hover {
  border-color: var(--ol-navy-800);
  box-shadow: var(--ol-sh-1);
  transform: translateY(-1px);
}
.ol-btn:active {
  transform: none;
}
.ol-btn .ol-ic {
  width: 16px;
  height: 16px;
}
.ol-btn--primary {
  background: var(--ol-primary);
  border-color: var(--ol-primary);
  color: var(--ol-on-primary);
}
.ol-btn--primary:hover {
  background: var(--ol-primary-hover);
  border-color: var(--ol-primary-hover);
}
.ol-btn--secondary {
  background: var(--ol-secondary);
  border-color: var(--ol-secondary);
  color: var(--ol-on-secondary);
}
.ol-btn--secondary:hover {
  background: var(--ol-secondary-hover);
  border-color: var(--ol-secondary-hover);
}
.ol-btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--ol-navy-800);
}
.ol-btn--ghost:hover {
  background: var(--ol-navy-100);
  border-color: transparent;
  box-shadow: none;
}
/* gold-300 ghost text only on a NAVY bar — on .ol-topbar--light it would be
   ~1.6:1 against the pale bar (contrast fail), so it keeps navy there. */
.ol-on-dark .ol-btn--ghost,
.ol-topbar:not(.ol-topbar--light) .ol-btn--ghost {
  color: var(--ol-gold-300);
}
.ol-on-dark .ol-btn--ghost:hover,
.ol-topbar:not(.ol-topbar--light) .ol-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}
.ol-btn--outline-dark {
  background: transparent;
  border-color: rgba(242, 192, 99, 0.5);
  color: var(--ol-gold-300);
}
.ol-btn--danger {
  background: var(--ol-surface);
  border-color: #e4a7a1;
  color: var(--ol-danger);
}
.ol-btn--danger:hover {
  background: var(--ol-danger);
  border-color: var(--ol-danger);
  color: #fff;
}
.ol-btn--danger-solid {
  background: var(--ol-danger);
  border-color: var(--ol-danger);
  color: #fff;
}
.ol-btn--ok {
  background: var(--ol-ok);
  border-color: var(--ol-ok);
  color: #fff;
}
.ol-btn--sm {
  min-height: 32px;
  padding: 0 10px;
  font-size: var(--ol-fs-xs);
  border-radius: var(--ol-r-sm);
}
.ol-btn--lg {
  min-height: 52px;
  padding: 0 22px;
  font-size: var(--ol-fs-md);
  border-radius: 14px;
}
.ol-btn--primary.ol-btn--lg {
  box-shadow: var(--ol-sh-gold);
}
.ol-btn--icon {
  width: 40px;
  padding: 0;
}
.ol-btn--icon.ol-btn--sm {
  width: 32px;
}
.ol-btn--block {
  width: 100%;
}
.ol-btn[disabled],
.ol-btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.ol-btn .ol-kbd {
  background: transparent;
  color: inherit;
  border-color: currentColor;
  opacity: 0.75;
}
.ol-btn__check {
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 50%;
  background: var(--ol-navy-900);
  color: var(--ol-gold-300);
  stroke-width: 3;
}
.ol-link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ol-link);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ----------------------------------------------------------------- cards */
.ol-card {
  background: var(--ol-surface);
  border-radius: var(--ol-r-lg);
  box-shadow: var(--ol-sh-2);
  border: 1px solid transparent;
  min-width: 0;
}
.ol-card--flat {
  box-shadow: none;
  border-color: var(--ol-rule);
}
.ol-card--navy {
  background: var(--ol-navy-900);
  color: #fff;
}
.ol-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 20px;
}
.ol-card__head .ol-h2 .ol-ic {
  color: var(--ol-gold-text);
  margin-right: 6px;
}
.ol-card__body {
  padding: 0 20px 18px;
}
.ol-card__foot {
  padding: 10px 20px 14px;
  border-top: 1px solid var(--ol-rule);
  font-size: var(--ol-fs-sm);
  color: var(--ol-ink-3);
}

/* ------------------------------------------------- data table (T3 style) */
.ol-table-wrap {
  overflow-x: auto;
}
.ol-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--ol-fs-sm);
}
.ol-table th {
  position: sticky;
  top: 0;
  text-align: left;
  font-size: var(--ol-fs-2xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5b6b82;
  background: var(--ol-surface-2);
  border-bottom: 1px solid var(--ol-rule);
  padding: 8px 14px;
  white-space: nowrap;
}
.ol-table td {
  padding: 10px 14px;
  border-top: 1px solid var(--ol-rule-soft);
  vertical-align: middle;
}
.ol-table tbody tr:first-child td {
  border-top-color: transparent;
}
.ol-table tbody tr:hover {
  background: var(--ol-navy-50);
}
.ol-table .is-num,
.ol-table td.ol-num {
  text-align: right;
  font-family: var(--ol-font-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ol-table .ol-cell-title {
  font-weight: 700;
  color: var(--ol-ink);
}
.ol-table .ol-cell-sub {
  display: block;
  color: var(--ol-ink-3);
  font-size: var(--ol-fs-xs);
}
.ol-table tr.is-selected td {
  background: var(--ol-gold-100);
}

/* ------------------------------------------------------- chips / filters */
.ol-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ol-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--ol-r-pill);
  border: 1px solid var(--ol-rule-2);
  background: var(--ol-surface);
  color: var(--ol-ink-2);
  font-weight: 700;
  font-size: var(--ol-fs-xs);
  white-space: nowrap;
  transition: background var(--ol-dur-fast);
}
.ol-chip b {
  color: var(--ol-ink-3);
  font-variant-numeric: tabular-nums;
}
.ol-chip:hover {
  border-color: var(--ol-navy-800);
}
.ol-chip.is-on,
.ol-chip[aria-pressed="true"],
.ol-chip[aria-selected="true"] {
  background: var(--ol-navy-900);
  border-color: var(--ol-navy-900);
  color: #fff;
}
.ol-chip.is-on b,
.ol-chip[aria-pressed="true"] b,
.ol-chip[aria-selected="true"] b {
  color: inherit;
  opacity: 0.85;
}
.ol-on-dark .ol-chip {
  background: var(--ol-navy-850);
  color: var(--ol-chrome-ink-2);
  border-color: rgba(140, 167, 208, 0.45);
}
.ol-on-dark .ol-chip.is-on,
.ol-on-dark .ol-chip[aria-pressed="true"] {
  background: var(--ol-gold-500);
  border-color: var(--ol-gold-500);
  color: var(--ol-navy-950);
}
.ol-seg {
  display: flex;
  gap: 4px;
}
.ol-seg > button {
  flex: 1;
  min-height: 32px;
  border-radius: var(--ol-r-sm);
  border: 1px solid var(--ol-rule-2);
  background: var(--ol-surface);
  color: var(--ol-ink-2);
  font-size: var(--ol-fs-xs);
  font-weight: 700;
  padding: 0 6px;
  white-space: nowrap;
}
.ol-seg > button.is-on,
.ol-seg > button[aria-pressed="true"] {
  background: var(--ol-navy-900);
  border-color: var(--ol-navy-900);
  color: #fff;
}
.ol-on-dark .ol-seg > button.is-on,
.ol-on-dark .ol-seg > button[aria-pressed="true"] {
  background: var(--ol-gold-500);
  border-color: var(--ol-gold-500);
  color: var(--ol-navy-950);
}

/* --------------------------------------------------- status pills / tags */
.ol-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: var(--ol-r-pill);
  font-size: var(--ol-fs-2xs);
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
  background: var(--ol-track);
  color: var(--ol-ink-2);
  line-height: 1.6;
}
.ol-pill .ol-ic {
  width: 12px;
  height: 12px;
}
.ol-pill--ok {
  background: var(--ol-ok-bg);
  color: var(--ol-ok-ink);
}
.ol-pill--warn {
  background: var(--ol-warn-bg);
  color: var(--ol-warn-ink);
}
.ol-pill--danger {
  background: var(--ol-danger-bg);
  color: var(--ol-danger-ink);
}
.ol-pill--info {
  background: var(--ol-info-bg);
  color: var(--ol-info-ink);
}
.ol-pill--violet {
  background: var(--ol-violet-bg);
  color: var(--ol-violet-ink);
}
.ol-pill--gold {
  background: var(--ol-gold-500);
  color: var(--ol-navy-950);
}
.ol-pill--navy {
  background: var(--ol-navy-900);
  color: #fff;
}

/* review marks: ✓ reviewed · ◐ current · ! has a note · ○ not yet */
.ol-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex: none;
  display: inline-block;
  position: relative;
  vertical-align: -2px;
}
.ol-mark--done {
  background: var(--ol-ok);
}
.ol-mark--done::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.ol-mark--none {
  border: 2px solid var(--ol-rule-2);
}
.ol-mark--part {
  background: conic-gradient(var(--ol-fill) 50%, transparent 0);
  border: 2px solid var(--ol-fill);
}
.ol-mark--cur {
  border: 2px solid var(--ol-fill);
  background: radial-gradient(circle, var(--ol-fill) 0 3px, transparent 3.5px);
}
.ol-mark--flag {
  background: var(--ol-gold-500);
}
.ol-mark--flag::after {
  content: "!";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--ol-navy-950);
  line-height: 14px;
  text-align: center;
}
.ol-on-dark .ol-mark--cur {
  border-color: var(--ol-gold-300);
  background: radial-gradient(
    circle,
    var(--ol-gold-300) 0 3px,
    transparent 3.5px
  );
}

/* ------------------------------------------------------------------ tabs */
.ol-tabs {
  display: flex;
  gap: 2px;
  padding: 8px 10px 0;
  border-bottom: 1px solid var(--ol-rule);
}
.ol-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  color: var(--ol-ink-3);
  font-weight: 700;
  font-size: var(--ol-fs-sm);
  white-space: nowrap;
}
.ol-tab .ol-ic {
  width: 15px;
  height: 15px;
}
.ol-tab:hover {
  color: var(--ol-navy-800);
}
.ol-tab.is-on,
.ol-tab[aria-selected="true"] {
  color: var(--ol-navy-900);
  border-bottom-color: var(--ol-gold-500);
}

/* ----------------------------------------------------------- form fields */
.ol-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}
.ol-label {
  font-size: var(--ol-fs-xs);
  font-weight: 700;
  color: var(--ol-ink-2);
  letter-spacing: 0.02em;
}
.ol-help {
  font-size: var(--ol-fs-xs);
  color: var(--ol-ink-3);
}
.ol-input,
.ol-select,
.ol-textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--ol-rule-2);
  border-radius: var(--ol-r-sm);
  background: var(--ol-surface);
  color: var(--ol-ink);
  font-size: var(--ol-fs-base);
  transition:
    border-color var(--ol-dur-fast),
    box-shadow var(--ol-dur-fast);
}
.ol-textarea {
  min-height: 84px;
  resize: vertical;
  line-height: 1.45;
}
.ol-input:focus,
.ol-select:focus,
.ol-textarea:focus {
  outline: none;
  border-color: var(--ol-navy-700);
  box-shadow: 0 0 0 3px rgba(14, 72, 143, 0.18);
}
.ol-input[readonly] {
  background: var(--ol-surface-2);
  color: var(--ol-ink-2);
}
.ol-field--error .ol-input,
.ol-field--error .ol-textarea {
  border-color: var(--ol-danger);
}
.ol-field--error .ol-help {
  color: var(--ol-danger);
}
.ol-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--ol-fs-sm);
  cursor: pointer;
}
.ol-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--ol-navy-800);
}
.ol-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ol-row > .ol-field {
  flex: 1;
  min-width: 160px;
}

/* ---------------------------------------------------------------- modals */
.ol-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(2, 26, 58, 0.55);
  backdrop-filter: blur(2px);
}
.ol-modal-backdrop.is-open {
  display: flex;
  animation: ol-fade var(--ol-dur) var(--ol-ease);
}
.ol-modal {
  width: min(520px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: var(--ol-surface);
  border-radius: var(--ol-r-lg);
  box-shadow: var(--ol-sh-3);
  animation: ol-rise var(--ol-dur) var(--ol-ease);
}
.ol-modal--wide {
  width: min(720px, 100%);
}
.ol-modal__head {
  padding: 20px 22px 6px;
}
.ol-modal__head .ol-h2 {
  font-size: var(--ol-fs-lg);
}
.ol-modal__sub {
  margin: 6px 0 0;
  color: var(--ol-ink-3);
  font-size: var(--ol-fs-sm);
}
.ol-modal__body {
  padding: 12px 22px;
}
.ol-modal__foot {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 12px 22px 20px;
  border-top: 1px solid var(--ol-rule-soft);
}

/* ---------------------------------------------------------------- toasts */
.ol-toasts {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}
.ol-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(560px, calc(100vw - 32px));
  padding: 10px 16px;
  border-radius: var(--ol-r-md);
  background: var(--ol-navy-900);
  color: #fff;
  font-weight: 700;
  font-size: var(--ol-fs-sm);
  box-shadow: var(--ol-sh-3);
  border-left: 4px solid var(--ol-ok);
  animation: ol-rise var(--ol-dur) var(--ol-ease);
}
.ol-toast--error {
  border-left-color: #f2776b;
  background: #3b0f0b;
}
.ol-toast--info {
  border-left-color: var(--ol-gold-300);
}

/* ------------------------------------------------------- progress bar/ring */
.ol-progress {
  height: 8px;
  border-radius: var(--ol-r-pill);
  background: var(--ol-track);
  overflow: hidden;
}
.ol-progress > i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--ol-fill);
  transform-origin: left center;
  transition: width var(--ol-dur-slow) var(--ol-ease);
  animation: ol-grow var(--ol-dur-slow) var(--ol-ease) both 0.1s;
}
.ol-progress--ok > i {
  background: var(--ol-ok);
}
.ol-progress--thin {
  height: 4px;
}
.ol-ring {
  --p: 0;
  --sz: 48px;
  --th: 6px;
  width: var(--sz);
  height: var(--sz);
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  position: relative;
  background: conic-gradient(
    var(--ol-fill) calc(var(--p) * 1%),
    var(--ol-track) 0
  );
  font-size: 0.74rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ol-ring::before {
  content: "";
  position: absolute;
  inset: var(--th);
  border-radius: 50%;
  background: var(--ol-ring-hole, var(--ol-surface));
}
.ol-ring > span {
  position: relative;
}
.ol-on-dark .ol-ring {
  --ol-ring-hole: var(--ol-chrome-bg);
}

/* ----------------------------------------------------------- empty states */
.ol-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 40px 24px;
  color: var(--ol-ink-3);
}
.ol-empty__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--ol-navy-100);
  color: var(--ol-navy-800);
}
.ol-empty__icon .ol-ic {
  width: 26px;
  height: 26px;
}
.ol-empty__title {
  font-family: var(--ol-font-display);
  font-weight: 800;
  font-size: var(--ol-fs-lg);
  color: var(--ol-navy-900);
}
.ol-empty p {
  margin: 0;
  max-width: 46ch;
}

/* ------------------------------------------- message page (full screen) */
/* One centred card under a navy bar: purchase-success, the server's 404 /
   500 / expired-invite / registration-closed pages. Markup:
     body.ol-ui.ol-msgpage > header.ol-msgpage__top > .ol-msgpage__top-inner
                           > main.ol-msgpage__main > .ol-msgcard
       > .ol-msgcard__band (> .ol-msgcard__icon, .ol-kicker, .ol-h1)
       > .ol-msgcard__body                                                */
.ol-msgpage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.ol-msgpage__top {
  background: var(--ol-navy-900);
  box-shadow: 0 10px 24px -18px rgba(2, 26, 58, 0.9);
}
.ol-msgpage__top-inner {
  max-width: 1100px;
  margin: 0 auto;
  min-height: 60px;
  padding: 0 16px;
  display: flex;
  align-items: center;
}
.ol-msgpage__top .ol-brand__wm {
  height: 26px;
}
.ol-msgpage__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}
.ol-msgcard {
  width: 100%;
  max-width: 540px;
  overflow: hidden;
  background: var(--ol-surface);
  border: 1px solid var(--ol-rule);
  border-radius: var(--ol-r-xl);
  box-shadow: var(--ol-sh-2);
  text-align: center;
}
.ol-msgcard__band {
  position: relative;
  overflow: hidden;
  padding: 28px 24px 24px;
  background: radial-gradient(
    120% 140% at 100% 0%,
    var(--ol-navy-700) 0%,
    var(--ol-navy-900) 55%,
    var(--ol-navy-950) 100%
  );
  color: #fff;
}
.ol-msgcard__band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(140, 167, 208, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 167, 208, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}
.ol-msgcard__band > * {
  position: relative;
}
.ol-msgcard__band .ol-kicker {
  color: var(--ol-gold-300);
}
.ol-msgcard__band .ol-h1 {
  color: #fff;
  margin-top: 6px;
}
/* status icon circle: gold (default) or danger */
.ol-msgcard__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--ol-gold-500);
  color: var(--ol-navy-950);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px -12px rgba(184, 118, 2, 0.9);
}
.ol-msgcard__icon--danger {
  background: #fff;
  color: var(--ol-danger);
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.6);
}
.ol-msgcard__body {
  padding: 26px 28px 30px;
}
.ol-msgcard__body p {
  margin: 0 0 12px;
  color: var(--ol-ink-2);
}
.ol-msgcard__body .ol-btn {
  margin-top: 8px;
}
@media (max-width: 480px) {
  .ol-msgcard__body {
    padding: 22px 18px 24px;
  }
  .ol-msgcard__band .ol-h1 {
    font-size: var(--ol-fs-xl);
  }
}

/* -------------------------------------------- print (every T2 page) */
/* App chrome never prints; colour bars print as shown. Pages add only
   what is specific to their document. */
@media print {
  .ol-topbar,
  .ol-side,
  .ol-toasts,
  .no-print {
    display: none !important;
  }
  .ol-ui {
    background: #fff !important;
  }
  .ol-shell {
    display: block;
  }
  .ol-ui * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* ------------------------------------------------------------------ motion */
@keyframes ol-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes ol-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes ol-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes ol-pop {
  0% {
    transform: scale(0.6);
  }
  60% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes ol-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(219, 141, 3, 0.55);
  }
  100% {
    box-shadow: 0 0 0 10px transparent;
  }
}
.ol-rise {
  animation: ol-rise 0.45s var(--ol-ease) both;
  animation-delay: calc(var(--i, 0) * 45ms + 60ms);
}
.ol-pop {
  animation: ol-pop 0.35s var(--ol-ease);
}
.ol-pulse {
  animation: ol-pulse 1.6s ease-out 2;
}
@media (prefers-reduced-motion: reduce) {
  .ol-ui *,
  .ol-ui *::before,
  .ol-ui *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------- responsive */
/* Phones: a tab row scrolls inside itself instead of widening the page. */
@media (max-width: 600px) {
  .ol-tabs {
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .ol-tab {
    flex: none;
  }
}
@media (max-width: 1100px) {
  .ol-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .ol-side {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(300px, 86vw);
    z-index: 90;
    transform: translateX(-102%);
    transition: transform var(--ol-dur) var(--ol-ease);
    box-shadow: var(--ol-sh-3);
  }
  .ol-side.is-open {
    transform: none;
  }
  .ol-content {
    padding: 20px 16px 40px;
  }
}

/* ---- finish pass (agent D): status tints for text on navy chrome ----
   ok/danger ink for timers and destructive links that sit on navy-900/950.
   #5fd49a on navy-900 = 8.6:1, #ffb4ab on navy-900 = 9.4:1 (both AA). */
:root {
  --ol-ok-on-dark: #5fd49a;
  --ol-danger-on-dark: #ffb4ab;
}
/* ---- end finish pass (agent D) ---- */
