/* Generated from osmf-ui.css by scripts/apply_osmf_ui.py. Do not edit. */
:root {
  --ui-ink: #0e1444;            /* brand navy, headings */
  --ui-ink-2: #2a3160;          /* strong body */
  --ui-text: #3d4466;           /* body copy */
  --ui-muted: #6b7194;          /* secondary copy */
  --ui-faint: #9aa0bd;
  --ui-line: #e6e8f2;           /* hairlines */
  --ui-line-2: #d5d9ea;
  --ui-bg: #ffffff;
  --ui-bg-soft: #f7f8fc;        /* section wash */
  --ui-bg-warm: #fffaf2;        /* callout wash */
  --ui-navy-900: #0a0f35;
  --ui-navy-800: #0e1444;
  --ui-navy-700: #18206a;
  --ui-accent: #ff9800;         /* brand orange */
  --ui-accent-2: #f2711c;
  --ui-accent-ink: #b45309;     /* orange text on white (AA) */
  --ui-link: #2f45c4;
  --ui-link-hover: #1b2a8f;
  --ui-up: #c2410c;  --ui-up-bg: #fff1e8;
  --ui-down: #1d4ed8; --ui-down-bg: #eaf0ff;
  --ui-ok: #047857;  --ui-ok-bg: #e7f7f0;
  --ui-warn: #a16207; --ui-warn-bg: #fff7df;
  --ui-radius-sm: 8px; --ui-radius: 14px; --ui-radius-lg: 22px;
  --ui-shadow-1: 0 1px 2px rgba(14,20,68,.05), 0 2px 8px rgba(14,20,68,.04);
  --ui-shadow-2: 0 2px 6px rgba(14,20,68,.05), 0 14px 34px rgba(14,20,68,.08);
  --ui-shadow-3: 0 30px 60px -20px rgba(14,20,68,.28);
  --ui-font: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ui-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --ui-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ui-max: 1200px;
  --ui-gutter: clamp(16px, 3.2vw, 32px);
  --ui-header-h: 68px;
}

/* 2 ── Header ─────────────────────────────────────────────────────────── */
/* Isolation: template stylesheets style bare a/ul/h2/div; keep the shared
   chrome immune so it renders identically on every page. */
.osmf-header, .osmf-header *, .osmf-footer, .osmf-footer * { box-sizing: border-box; float: none; }
.osmf-header ul, .osmf-footer ul { margin: 0; padding: 0; }
.osmf-header a:not(.osmf-cta), .osmf-footer a:not(.osmf-cta) { border: 0; background-image: none; }
.osmf-header .osmf-cta, .osmf-footer .osmf-cta {
  background: linear-gradient(180deg, #ffa31a, var(--ui-accent-2)) !important; color: #fff !important; border: 0 !important;
}
.osmf-header p, .osmf-footer p, .osmf-footer h2, .osmf-footer h3 { text-align: left; text-transform: none; }
.osmf-footer h3 { text-transform: uppercase; }
body.osmf-ui { padding-top: 0 !important; margin: 0; }
.osmf-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(14,20,68,.07);
  font-family: var(--ui-font);
}
.osmf-header__in {
  max-width: var(--ui-max); margin: 0 auto; padding: 0 var(--ui-gutter);
  height: var(--ui-header-h); display: flex; align-items: center; gap: 28px;
}
.osmf-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none !important; flex: none; }
.osmf-brand__mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: radial-gradient(120% 120% at 20% 10%, #2b3590 0%, var(--ui-navy-800) 55%, var(--ui-navy-900) 100%);
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 4px 12px rgba(14,20,68,.25);
}
.osmf-brand__mark svg { width: 18px; height: 18px; }
.osmf-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.osmf-brand__name { font-weight: 700; font-size: 15px; letter-spacing: -.01em; color: var(--ui-ink); }
.osmf-brand__sub { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ui-accent-ink); margin-top: 3px; }
.osmf-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.osmf-nav a {
  color: var(--ui-ink-2); text-decoration: none !important; font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; white-space: nowrap;
}
.osmf-nav a:hover { background: rgba(14,20,68,.05); color: var(--ui-ink); }
.osmf-nav a[aria-current="page"] { color: var(--ui-ink); background: rgba(255,152,0,.12); box-shadow: inset 0 0 0 1px rgba(255,152,0,.28); }
.osmf-cta {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(180deg, #ffa31a, var(--ui-accent-2)); color: #fff !important;
  font-weight: 650; font-size: 13.5px; padding: 9px 16px; border-radius: 999px; text-decoration: none !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 6px 16px rgba(242,113,28,.32);
  transition: transform .2s, box-shadow .2s;
}
.osmf-cta:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 22px rgba(242,113,28,.38); }
.osmf-menu { display: none; margin-left: auto; position: relative; }
.osmf-menu > summary {
  list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; border: 1px solid var(--ui-line);
}
.osmf-menu > summary::-webkit-details-marker { display: none; }
.osmf-menu > summary span, .osmf-menu > summary span::before, .osmf-menu > summary span::after {
  display: block; width: 18px; height: 2px; background: var(--ui-ink); border-radius: 2px; position: relative; content: "";
}
.osmf-menu > summary span::before { position: absolute; top: -6px; }
.osmf-menu > summary span::after { position: absolute; top: 6px; }
.osmf-menu__panel {
  position: absolute; right: 0; top: 52px; width: min(86vw, 320px); padding: 10px;
  background: #fff; border: 1px solid var(--ui-line); border-radius: 16px; box-shadow: var(--ui-shadow-3);
  display: grid; gap: 2px;
}
.osmf-menu__panel a { padding: 11px 12px; border-radius: 10px; color: var(--ui-ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.osmf-menu__panel a:hover { background: var(--ui-bg-soft); }
.osmf-menu__panel .osmf-cta { justify-content: center; margin-top: 6px; }
@media (max-width: 1080px) { .osmf-nav a.osmf-nav__minor { display: none; } }
@media (max-width: 900px) {
  .osmf-nav, .osmf-header__in > .osmf-cta { display: none; }
  .osmf-menu { display: block; }
}

/* 2b ── Header dropdown menus (added 2026-11-22) ──────────────────────── */
.osmf-dd { position: relative; }
.osmf-dd__btn {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer; border: 0; background: none; margin: 0;
  font: 500 14px/1.2 var(--ui-font); color: var(--ui-ink-2); padding: 8px 12px; border-radius: 999px;
  transition: background .2s, color .2s; white-space: nowrap;
}
.osmf-dd__chev { width: 11px; height: 11px; opacity: .6; transition: transform .2s; }
.osmf-dd:hover .osmf-dd__btn, .osmf-dd:focus-within .osmf-dd__btn { background: rgba(14,20,68,.05); color: var(--ui-ink); }
.osmf-dd:hover .osmf-dd__chev, .osmf-dd:focus-within .osmf-dd__chev { transform: rotate(180deg); }
.osmf-dd.is-current .osmf-dd__btn { color: var(--ui-ink); background: rgba(255,152,0,.12); box-shadow: inset 0 0 0 1px rgba(255,152,0,.28); }
.osmf-dd__btn:focus-visible { outline: 2px solid var(--ui-accent-2); outline-offset: 2px; }
.osmf-dd__panel {
  position: absolute; left: 0; top: 100%; min-width: 230px; padding: 8px; margin-top: 0;
  background: #fff; border: 1px solid var(--ui-line); border-radius: 14px; box-shadow: var(--ui-shadow-3);
  display: grid; gap: 1px; visibility: hidden; opacity: 0; transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s; z-index: 1001;
}
.osmf-dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.osmf-dd:hover .osmf-dd__panel, .osmf-dd:focus-within .osmf-dd__panel { visibility: visible; opacity: 1; transform: translateY(8px); }
.osmf-dd:last-child .osmf-dd__panel { left: auto; right: 0; }
.osmf-nav .osmf-dd__panel a {
  display: block; padding: 9px 12px; border-radius: 9px; font-size: 14px; font-weight: 500; white-space: nowrap;
  color: var(--ui-ink-2); text-decoration: none !important;
}
.osmf-nav .osmf-dd__panel a:hover, .osmf-nav .osmf-dd__panel a:focus-visible { background: var(--ui-bg-soft); color: var(--ui-ink); }
.osmf-nav .osmf-dd__panel a[aria-current="page"] { background: rgba(255,152,0,.12); box-shadow: none; font-weight: 600; }
.osmf-menu__panel { max-height: calc(100vh - 84px); overflow-y: auto; }
.osmf-menu__group { display: grid; gap: 1px; padding: 4px 0 8px; border-bottom: 1px solid var(--ui-line); }
.osmf-menu__group:last-of-type { border-bottom: 0; }
.osmf-menu__head { padding: 8px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ui-muted); }
.osmf-menu__panel .osmf-menu__group a { padding: 9px 12px; }
.osmf-menu__panel a[aria-current="page"] { background: rgba(255,152,0,.12); color: var(--ui-ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .osmf-dd__panel, .osmf-dd__chev { transition: none; } }
/* 2b end */

/* 2c ── Header search (added 2026-11-23) ──────────────────────────────── */
.osmf-search { position: relative; flex: none; }
.osmf-header .osmf-search input[type="search"] {
  width: 190px; height: 38px; margin: 0; padding: 0 12px 0 34px; border-radius: 999px;
  border: 1px solid var(--ui-line-2); color: var(--ui-ink); font: 500 14px/1 var(--ui-font);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7194' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") 11px 50% / 16px no-repeat;
  -webkit-appearance: none; appearance: none; box-shadow: none; transition: border-color .2s, box-shadow .2s;
}
.osmf-header .osmf-search input::placeholder { color: var(--ui-muted); opacity: 1; }
.osmf-header .osmf-search input[type="search"]:focus { outline: none; border-color: var(--ui-accent-2); box-shadow: 0 0 0 3px rgba(255,152,0,.18); }
.osmf-search__results {
  position: absolute; right: 0; top: 46px; width: min(92vw, 420px); max-height: min(70vh, 460px); overflow-y: auto;
  padding: 6px; background: #fff; border: 1px solid var(--ui-line); border-radius: 14px; box-shadow: var(--ui-shadow-3); z-index: 1002;
}
.osmf-search__results[hidden] { display: none; }
.osmf-header .osmf-search__results a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 11px; border-radius: 9px;
  color: var(--ui-ink-2); text-decoration: none !important; font-size: 14px; font-weight: 500; line-height: 1.35;
}
.osmf-header .osmf-search__results a:hover, .osmf-header .osmf-search__results a.is-active { background: var(--ui-bg-soft); color: var(--ui-ink); }
.osmf-search__type { flex: none; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ui-muted); }
.osmf-search__empty { padding: 12px; font-size: 14px; color: var(--ui-muted); }
.osmf-nav { margin-left: auto; }
.osmf-menu__panel .osmf-search { margin: 2px 2px 8px; }
.osmf-header .osmf-menu__panel .osmf-search input[type="search"] { width: 100%; height: 42px; font-size: 16px; }
.osmf-menu__panel .osmf-search__results { position: static; width: auto; max-height: 46vh; margin-top: 6px; box-shadow: none; }
@media (max-width: 1240px) { .osmf-header__in > .osmf-cta { display: none; } }
@media (max-width: 1020px) { .osmf-header__in { gap: 16px; } .osmf-header .osmf-header__in > .osmf-search input[type="search"] { width: 150px; } }
@media (max-width: 900px) { .osmf-header__in > .osmf-search { display: none; } }
body.osmf-ui .gce-subnav { margin-top: 0; }  /* the fixed legacy nav it cleared is gone */
/* 2c end */

