/* Shared navigation and control roles. Load after the retained page styles. */
:root[data-of-theme="classic"] {
  --navy:#072a5a; --primary-hover:#16477a; --paper:#f8f4ec; --ink:#243b50;
  --muted:#535d65; --white:#fffdf8; --line:#c7cec7; --blue:#e4edf4;
  --soft-alt:#e8ece3; --orange:#f26a21; --orangeink:#a83d0f;
  --on-primary:#fffdf8; --canvas:#e4e9dd; --canvas-ink:#072a5a;
  --canvas-muted:#505d58; --section-alt:#e8e9e1; --model-bg:#e9e3f1;
  --model-text:#574167;
}
:root[data-of-theme="vivid"] {
  --navy:#153d8a; --primary-hover:#2557a7; --paper:#f5f8ff; --ink:#26364e;
  --muted:#515e75; --white:#ffffff; --line:#bfcede; --blue:#e2ecff;
  --soft-alt:#e5f0f5; --orange:#f26a5b; --orangeink:#a1322b;
  --on-primary:#ffffff; --canvas:#dfeaf6; --canvas-ink:#153d8a;
  --canvas-muted:#455772; --section-alt:#e9eef8; --model-bg:#ebe7f8;
  --model-text:#594179;
}
:root[data-of-theme="pastel"] {
  --navy:#593e68; --primary-hover:#745381; --paper:#faf7fc; --ink:#3c3544;
  --muted:#65596e; --white:#fffdfd; --line:#d2c9d9; --blue:#eee6f6;
  --soft-alt:#e6efea; --orange:#9a758e; --orangeink:#80516b;
  --on-primary:#fffdfd; --canvas:#e9e1ef; --canvas-ink:#513760;
  --canvas-muted:#65556f; --section-alt:#f0ebf3; --model-bg:#e5eee8;
  --model-text:#3e5a4a;
}
:root[data-of-theme="forest"] {
  --navy:#214c3c; --primary-hover:#35634e; --paper:#f6f1e7; --ink:#304238;
  --muted:#596153; --white:#fffdf6; --line:#c8cec0; --blue:#e7eddf;
  --soft-alt:#eee5d8; --orange:#c86c49; --orangeink:#974326;
  --on-primary:#fffdf6; --canvas:#dfe6d5; --canvas-ink:#214c3c;
  --canvas-muted:#4f5e4c; --section-alt:#e8e9dc; --model-bg:#ede4d9;
  --model-text:#6b4a34;
}
:root[data-of-theme="minimal"] {
  --navy:#253648; --primary-hover:#3d5269; --paper:#f5f6f7; --ink:#303d48;
  --muted:#58636d; --white:#ffffff; --line:#c8cfd5; --blue:#e7edf3;
  --soft-alt:#eaedef; --orange:#3c6e9d; --orangeink:#285b88;
  --on-primary:#ffffff; --canvas:#e1e7ec; --canvas-ink:#253648;
  --canvas-muted:#4f5f6d; --section-alt:#e9ecee; --model-bg:#e7eaf0;
  --model-text:#45556e;
}
/* Aliases used by the older editorial pages; status colors remain untouched. */
:root[data-of-theme] {
  --graphite:var(--muted); --rule:var(--line); --tint:var(--soft-alt);
  --orange-ink:var(--orangeink);
}
@media screen {
  :root[data-of-theme] .page-journal {
    --mag-navy:var(--navy); --mag-paper:var(--paper);
    --mag-ink:var(--ink); --mag-line:var(--line);
  }
}

.of-nav-header,
.of-nav-header * { box-sizing:border-box; }
.of-nav-header {
  position:relative;
  z-index:40;
  border-bottom:1px solid var(--line,#c7cec7);
  background:var(--paper,#f8f4ec);
  color:var(--navy,#072a5a);
  font-family:"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  line-height:1.4;
}
.of-nav-bar {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:.65rem 1rem;
  width:min(1280px,calc(100% - 2rem));
  margin-inline:auto;
  padding-block:.7rem;
  min-width:0;
}
.of-nav-header .of-nav-brand {
  display:inline-flex;
  align-items:center;
  justify-self:start;
  gap:.55rem;
  min-width:0;
  width:auto;
  max-width:100%;
  min-height:44px;
  margin:0;
  color:var(--navy,#072a5a);
  font-size:1.4rem;
  font-weight:750;
  line-height:1.15;
  letter-spacing:-.045em;
  text-decoration:none;
  white-space:nowrap;
  word-break:normal;
  overflow-wrap:normal;
}
.of-nav-header .of-nav-brand img,
.of-nav-header .of-nav-brand>svg { width:36px; height:36px; flex:0 0 36px; margin:0; }
.of-nav-header .of-nav-brand>span {
  display:inline-block;
  margin:0;
  color:inherit;
  font:inherit;
  letter-spacing:inherit;
  white-space:nowrap;
  word-break:normal;
  overflow-wrap:normal;
}
.of-nav-header .of-nav-brand small {
  display:block;
  margin-top:.2rem;
  color:var(--muted,#535d65);
  font-size:.68rem;
  font-weight:500;
  line-height:1.25;
  letter-spacing:.035em;
}
.of-nav-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:.55rem;
  min-width:0;
}
.of-language-switch { display:inline-flex; flex:0 0 auto; gap:0; padding:2px; border:1px solid var(--navy,#072a5a); border-radius:7px; background:var(--white,#fffdf8); }
.of-nav-header .of-language-switch a { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:.4rem .45rem; color:var(--navy,#072a5a); border-radius:4px; font:650 .8rem/1.2 "Segoe UI",Arial,sans-serif; text-decoration:none; }
.of-nav-header .of-language-switch a[aria-current="true"] { color:var(--on-primary,#fffdf8); background:var(--navy,#072a5a); }
.of-nav-header .of-language-switch a:focus-visible { outline:3px solid var(--orangeink,#a83d0f); outline-offset:3px; }
@media (max-width:650px) { .of-nav-actions { flex-wrap:wrap; } .of-nav-header .of-language-switch a { min-width:44px; min-height:44px; padding:.35rem; } }
.of-nav-header .of-nav-space,
.of-nav-header #of-menu-toggle {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:.5rem;
  min-width:44px;
  min-height:44px;
  max-width:100%;
  padding:.6rem .85rem;
  border:1px solid var(--navy,#072a5a);
  border-radius:7px;
  margin:0;
  font:650 .9rem/1.3 "Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  text-align:center;
  text-decoration:none;
  white-space:normal;
  cursor:pointer;
}
.of-nav-header .of-nav-space {
  background:var(--navy,#072a5a);
  color:var(--on-primary,#fffdf8);
}
.of-nav-header .of-nav-space:hover { background:var(--primary-hover,#16477a); }
.of-nav-header #of-menu-toggle {
  display:none;
  background:var(--white,#fffdf8);
  color:var(--navy,#072a5a);
}
.of-nav-header #of-menu-toggle[aria-expanded="true"] {
  background:var(--navy,#072a5a);
  color:var(--on-primary,#fffdf8);
}
.of-nav-header #of-menu-toggle span { font-size:1.05rem; line-height:1; }
.of-global-menu {
  grid-column:1/-1;
  display:block;
  min-width:0;
  max-width:100%;
  margin:0;
  padding:.45rem 0 0;
  border-top:1px solid var(--line,#c7cec7);
}
.of-nav-primary,
.of-nav-secondary { display:flex; flex-wrap:wrap; align-items:center; gap:.2rem .35rem; min-width:0; }
.of-nav-secondary { margin-top:.2rem; }
.of-global-menu a {
  display:inline-flex;
  align-items:center;
  min-width:44px;
  min-height:44px;
  max-width:100%;
  padding:.5rem .7rem;
  border:1px solid transparent;
  border-radius:6px;
  margin:0;
  color:var(--navy,#072a5a);
  background:transparent;
  font-size:.9rem;
  font-weight:650;
  line-height:1.4;
  text-decoration:none;
  overflow-wrap:anywhere;
}
.of-nav-secondary a { font-size:.83rem; font-weight:500; color:var(--muted,#535d65); }
.of-global-menu a:hover {
  background:var(--blue,#e4edf4);
  color:var(--navy,#072a5a);
  text-decoration:underline;
  text-underline-offset:.25em;
}
.of-global-menu a[aria-current="page"] {
  background:var(--blue,#e4edf4);
  color:var(--navy,#072a5a);
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:.3em;
}
.of-nav-header :is(a,button,summary):focus-visible {
  outline:3px solid var(--orangeink,#a83d0f);
  outline-offset:3px;
}

/* Page shortcuts stay separate from the global menu and wrap at small widths. */
.of-local-nav {
  box-sizing:border-box;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.35rem .6rem;
  width:min(1280px,calc(100% - 2rem));
  max-width:100%;
  min-width:0;
  margin:.65rem auto;
  padding:.35rem 0;
  font-family:"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
.of-local-nav a {
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  min-width:44px;
  min-height:44px;
  max-width:100%;
  padding:.55rem .8rem;
  border:1px solid var(--line,#c7cec7);
  border-radius:1.5rem;
  background:var(--soft-alt,#e8ece3);
  color:var(--navy,#072a5a);
  font-size:.83rem;
  font-weight:500;
  line-height:1.4;
  text-decoration:none;
  white-space:normal;
  overflow-wrap:anywhere;
}
.of-local-nav a:hover {
  border-color:var(--navy,#072a5a);
  text-decoration:underline;
  text-underline-offset:.2em;
}
.of-local-nav a:focus-visible {
  outline:3px solid var(--orangeink,#a83d0f);
  outline-offset:3px;
}

/* A consistent hierarchy, without changing the meaning of existing actions. */
.of-button,
.of-button--secondary,
.of-button--quiet {
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  min-width:44px;
  min-height:44px;
  max-width:100%;
  padding:.7rem 1rem;
  border:1px solid var(--navy,#072a5a);
  border-radius:7px;
  background:var(--navy,#072a5a);
  color:var(--on-primary,#fffdf8);
  font:650 1rem/1.4 "Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  text-align:center;
  text-decoration:none;
  white-space:normal;
  overflow-wrap:anywhere;
  cursor:pointer;
}
.of-button--secondary { background:var(--white,#fffdf8); color:var(--navy,#072a5a); }
.of-button--quiet { border-color:transparent; background:var(--blue,#e4edf4); color:var(--navy,#072a5a); }
.of-button:hover { background:var(--primary-hover,#16477a); color:var(--on-primary,#fffdf8); }
.of-button--secondary:hover,
.of-button--quiet:hover { border-color:var(--navy,#072a5a); background:var(--blue,#e4edf4); color:var(--navy,#072a5a); }
:is(.of-button,.of-button--secondary,.of-button--quiet):focus-visible {
  outline:3px solid var(--orangeink,#a83d0f);
  outline-offset:3px;
}
:is(button.of-button,button.of-button--secondary,button.of-button--quiet):disabled { cursor:default; opacity:.6; }
/* The existing feedback shortcut is placed before the footer, out of the way of
   the separate measurement settings control. Both controls stay available. */
a.feedback-pill {
  position:static;
  inset:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  width:fit-content;
  max-width:calc(100% - 2rem);
  min-height:44px;
  margin:1.5rem auto;
  padding:.7rem 1rem;
  box-shadow:none;
  white-space:normal;
  text-align:center;
  overflow-wrap:anywhere;
}

@media (max-width:1099px) {
  .of-nav-header.of-nav-ready #of-menu-toggle { display:inline-flex; }
  .of-nav-header.of-nav-ready .of-global-menu { display:none; }
  .of-nav-header.of-nav-ready.of-nav-open .of-global-menu { display:block; }
  .of-nav-primary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.35rem; }
  .of-nav-primary a { width:100%; border-color:var(--line,#c7cec7); }
  .of-nav-secondary { padding-top:.65rem; margin-top:.65rem; border-top:1px solid var(--line,#c7cec7); }
}
@media (max-width:650px) {
  .of-nav-bar { gap:.45rem .5rem; padding-block:.55rem; }
  .of-nav-header .of-nav-brand { gap:.4rem; font-size:1.15rem; }
  .of-nav-header .of-nav-brand img,
  .of-nav-header .of-nav-brand>svg { width:30px; height:30px; flex-basis:30px; }
  .of-nav-header .of-nav-brand small { font-size:.62rem; }
  .of-nav-actions { gap:.35rem; }
  .of-nav-header .of-nav-space,
  .of-nav-header #of-menu-toggle { padding:.55rem .6rem; font-size:.8rem; gap:.35rem; }
  .of-global-menu a { padding:.6rem; font-size:.875rem; }
  .of-nav-secondary a { font-size:.8rem; }
}
@media (max-width:380px) {
  .of-nav-bar { grid-template-columns:minmax(0,1fr); }
  .of-nav-actions { justify-content:space-between; width:100%; }
  .of-nav-primary { grid-template-columns:minmax(0,1fr); }
}
@media (prefers-reduced-motion:reduce) {
  .of-nav-header *, .of-button, .of-button--secondary, .of-button--quiet { transition:none; }
}
@media print {
  .of-nav-header, .of-local-nav, a.feedback-pill { display:none; }
}

/* Common links preserve each page's own editorial and offer footer. */
.of-bilingual-footer{border-top:1px solid var(--line,#c7cec7);background:var(--paper,#f8f4ec);color:var(--navy,#072a5a);padding:1.4rem 1rem}
.of-bilingual-footer .of-footer-links{display:flex;align-items:center;justify-content:center;gap:.8rem 1.5rem;flex-wrap:wrap;max-width:1180px;margin:0 auto}
.of-footer-links a{color:inherit;font:600 .85rem/1.6 system-ui,sans-serif;text-underline-offset:.2em;overflow-wrap:anywhere}
@media print{.of-bilingual-footer{display:none}}

/* English diary labels must wrap within the narrow timeline column. */
html[lang="en"] .timeline-item>*{min-width:0}
html[lang="en"] .timeline-title,html[lang="en"] .timeline-deck,html[lang="en"] .processed,html[lang="en"] .tag{overflow-wrap:anywhere}

/* Shared reading controls. They affect authored reading content, not layout,
   permissions, status values, navigation or the visibility of conditions. */
/* Settings are vertical choices inside the header disclosure, never a page bar. */
.of-reading-controls { box-sizing:border-box; display:grid; gap:.85rem; width:100%; margin:0; padding:0; color:var(--navy,#072a5a); font:400 .875rem/1.45 "Segoe UI",Roboto,Arial,sans-serif; }
.of-reading-controls fieldset { display:grid; gap:.25rem; min-width:0; margin:0; padding:0; border:0; }
.of-reading-controls legend { padding:0; margin:0 0 .35rem; font-size:.75rem; font-weight:650; color:var(--muted,#535d65); }
.of-reading-controls button { box-sizing:border-box; display:block; width:100%; min-height:44px; padding:.5rem .65rem; margin:0; border:1px solid var(--line,#c7cec7); border-radius:5px; background:var(--white,#fffdf8); color:var(--navy,#072a5a); font:inherit; line-height:1.3; text-align:start; white-space:normal; cursor:pointer; }
.of-reading-controls button[aria-pressed="true"] { border-color:var(--navy,#072a5a); background:var(--blue,#e4edf4); font-weight:700; }
.of-reading-controls button[aria-pressed="true"]::after { content:'✓'; float:inline-end; margin-inline-start:.4rem; }
.of-reading-controls button:focus-visible { outline:3px solid var(--orangeink,#a83d0f); outline-offset:3px; }
.of-reading-control-note { margin:0; color:var(--muted,#535d65); font-size:.75rem; }
.of-reading { --of-reading-line:1.5; --of-reading-paragraph:.55em; --of-reading-section:1.05rem; --of-reading-heading:.35rem; --of-reading-list:.3rem; --of-reading-indent:.5rem; overflow-wrap:anywhere; }
:root[data-of-rhythm="relaxed"] .of-reading { --of-reading-line:1.62; --of-reading-paragraph:.85em; --of-reading-section:1.6rem; --of-reading-heading:.55rem; --of-reading-list:.55rem; }
.of-reading :where(p,li,dd) { line-height:var(--of-reading-line); }
.of-reading :where(p + p) { margin-block-start:var(--of-reading-paragraph); }
.of-reading :where(li + li) { margin-block-start:var(--of-reading-list); }
.of-reading :where(h2,h3,h4) { text-wrap:balance; }
.of-reading .of-group-body { margin-inline-start:var(--of-reading-indent); }
.of-reading :where(a,button,summary):focus-visible { outline:3px solid var(--orangeink,#a83d0f); outline-offset:4px; }
.of-reading :where(a:not([class])) { text-decoration:underline; text-underline-offset:.18em; }
.of-reading :where(img,video) { max-width:100%; height:auto; }
:root[data-of-emphasis="full"] .of-reading :where(p,li) > strong { font-weight:700; }
:root[data-of-emphasis="full"] .of-reading .of-reading-lead { font-size:1.1em; line-height:1.45; }
:root[data-of-emphasis="full"] .of-reading .of-reading-callout { border-inline-start:4px solid #072a5a; padding:.65rem .8rem; background:#e4edf4; color:#072a5a; margin-block:var(--of-reading-section); }
:root[data-of-emphasis="full"] .of-reading .of-reading-condition { border-inline-start:4px solid #f26a21; padding-inline-start:.8rem; }
:root[data-of-emphasis="full"] .of-reading .of-reading-meta { font-size:.9375rem; }
:root[data-of-emphasis="full"] .of-reading .of-learning { background:#9ebe8c; color:#072a5a; padding:1em; }
:root[data-of-emphasis="full"] .of-reading .of-takeaway { border-block-start:3px solid #c89d34; padding-block-start:.8em; }
:root[data-of-emphasis="full"] .of-reading mark { background:#c89d34; color:#072a5a; }
:root[data-of-emphasis="subtle"] .of-reading .of-reading-callout { border-inline-start:2px solid currentColor; padding-inline-start:.8rem; }
:root[data-of-emphasis="plain"] .of-reading :where(p,li) :is(strong,b) { font-weight:inherit; }
:root[data-of-emphasis="plain"] .of-reading :where(p,li) em { font-style:normal; }
:root[data-of-emphasis="plain"] .of-reading :is(.of-reading-callout,.of-learning,.of-takeaway) { background:transparent; box-shadow:none; }
/* A condition's label and boundary remain in every reading mode. */
:root[data-of-emphasis="plain"] .of-reading .of-reading-condition { border-inline-start:2px solid currentColor; padding-inline-start:.8rem; }
@media (max-width:380px) { .of-reading { --of-reading-indent:.25rem; } }
@media (forced-colors:active) { .of-reading-controls button[aria-pressed="true"] { border:3px solid Highlight; } .of-reading-controls button:focus-visible,.of-reading :where(a,button,summary):focus-visible { outline-color:Highlight; } .of-reading .of-reading-condition,.of-reading .of-reading-callout,.of-reading .of-takeaway { border-color:CanvasText!important; } }
@media print { .of-reading-controls { display:none; } }

/* Enhanced navigation uses the existing two-row header grid. A closed display
   disclosure occupies only the small cell below the language links. */
.of-nav-header.of-nav-enhanced .of-nav-bar { gap:0 .65rem; padding-block:.35rem; }
.of-nav-enhanced .of-nav-actions { grid-column:2; grid-row:1; flex-wrap:nowrap; gap:.3rem; }
.of-nav-enhanced .of-nav-brand { grid-column:1; grid-row:1; }
.of-nav-enhanced .of-global-menu { grid-column:1; grid-row:2; display:flex; align-items:center; flex-wrap:wrap; gap:.15rem; padding:0; border:0; }
.of-nav-enhanced :is(.of-nav-content,.of-nav-disclosure) { min-width:0; max-width:100%; padding:0; margin:0; border:0; background:transparent; }
.of-nav-enhanced .of-nav-content { display:flex; align-items:center; flex-wrap:wrap; gap:.15rem; }
.of-nav-enhanced .of-nav-primary { gap:0; }
.of-nav-enhanced .of-global-menu a { min-height:40px; padding:.4rem .45rem; font-size:.82rem; }
.of-nav-enhanced .of-nav-secondary { display:grid; gap:.15rem; padding:0; margin:0; border:0; }
.of-nav-enhanced .of-nav-secondary a { width:100%; font-size:.875rem; }
.of-nav-enhanced .of-nav-group-label { display:none; }
.of-nav-disclosure { position:relative; }
.of-nav-header .of-nav-disclosure-trigger { display:inline-flex; align-items:center; justify-content:space-between; gap:.55rem; min-height:40px; max-width:100%; padding:.4rem .6rem; margin:0; border:1px solid transparent; border-radius:6px; background:transparent; color:var(--navy,#072a5a); font:600 .82rem/1.35 "Segoe UI",Roboto,Arial,sans-serif; white-space:normal; cursor:pointer; }
.of-nav-header .of-nav-disclosure-trigger:hover { background:var(--blue,#e4edf4); }
.of-nav-header .of-nav-disclosure-trigger[aria-expanded="true"] { border-color:var(--navy,#072a5a); background:var(--blue,#e4edf4); }
.of-nav-disclosure-icon { font-size:1rem; line-height:1; font-weight:500; }
.of-nav-header .of-nav-disclosure-panel { position:absolute; z-index:5; inset:calc(100% + .3rem) auto auto 0; width:19rem; max-width:calc(100vw - 2rem); max-height:calc(100vh - 8rem); max-height:calc(100dvh - 8rem); overflow:auto; overscroll-behavior:contain; padding:.65rem; border:1px solid var(--navy,#072a5a); border-radius:8px; background:var(--white,#fffdf8); color:var(--ink,#243b50); box-shadow:0 9px 24px #072a5a20; }
/* Explicit hidden prevents retained page styles from exposing closed panels. */
.of-nav-header [hidden] { display:none!important; }
.of-nav-header .of-nav-panel-label { margin:.1rem .45rem .45rem; color:var(--muted,#535d65); font-size:.75rem; font-weight:650; }
.of-nav-header .of-space-menu .of-nav-disclosure-panel { display:grid; gap:.15rem; }
.of-nav-header .of-space-menu a { width:100%; font-size:.875rem; }
.of-nav-enhanced .of-display-menu { grid-column:2; grid-row:2; justify-self:end; }
.of-nav-header .of-display-menu>.of-nav-disclosure-trigger { font-weight:500; color:var(--muted,#535d65); }
.of-nav-header .of-display-menu>.of-nav-disclosure-panel { inset-inline: auto 0; width:20rem; padding:.8rem; }
.of-nav-header .of-display-heading { display:flex; align-items:center; justify-content:space-between; gap:.5rem; margin:0 0 .35rem; }
.of-nav-header .of-display-heading h2 { margin:0; padding:0; font-size:1rem; line-height:1.35; letter-spacing:0; color:var(--navy,#072a5a); }
.of-nav-header .of-display-help { display:inline-flex; align-items:center; justify-content:center; flex:0 0 44px; min-width:44px; min-height:44px; padding:.4rem; margin:0; border:1px solid var(--navy,#072a5a); border-radius:50%; background:transparent; color:var(--navy,#072a5a); font:650 .9rem/1.2 "Segoe UI",Arial,sans-serif; cursor:pointer; }
.of-nav-header .of-display-help[aria-expanded="true"] { background:var(--blue,#e4edf4); }
.of-nav-header .of-display-help-text { margin:.25rem 0 .85rem; padding:.65rem; border-inline-start:2px solid var(--navy,#072a5a); background:var(--paper,#f8f4ec); color:var(--ink,#243b50); font-size:.8rem; line-height:1.5; }
.of-nav-sr { position:absolute!important; width:1px!important; height:1px!important; margin:-1px!important; padding:0!important; overflow:hidden!important; clip-path:inset(50%)!important; white-space:nowrap!important; border:0!important; }
/* One appearance picker shares the display disclosure with reading settings. */
.of-nav-header .of-theme-settings { margin:.25rem 0 .85rem; padding:.25rem 0 .75rem; border-bottom:1px solid var(--line,#c7cec7); }
.of-nav-header .of-theme-settings h3 { margin:.2rem 0 .45rem; color:var(--navy,#072a5a); font-size:.875rem; line-height:1.35; letter-spacing:0; }
.of-nav-header .of-theme-settings .of-theme-options { display:grid; gap:.3rem; }
.of-nav-header .of-theme-settings .of-theme-option { display:flex; align-items:center; gap:.55rem; width:100%; min-height:44px; margin:0; padding:.45rem .55rem; border:1px solid var(--line,#c7cec7); border-radius:5px; background:var(--white,#fffdf8); color:var(--ink,#243b50); text-align:start; font:inherit; font-size:.85rem; font-weight:600; line-height:1.35; cursor:pointer; }
.of-nav-header .of-theme-settings .of-theme-option:is(:hover,[aria-pressed="true"]) { background:var(--blue,#e4edf4); color:var(--navy,#072a5a); }
.of-nav-header .of-theme-settings .of-theme-option[aria-pressed="true"] { border-color:var(--navy,#072a5a); }
.of-nav-header .of-theme-settings .of-theme-swatch { display:grid; grid-template-columns:repeat(4,1fr); flex:0 0 2.8rem; height:.85rem; border:1px solid var(--line,#c7cec7); border-radius:2px; overflow:hidden; }
.of-nav-header .of-theme-settings .of-theme-check { margin-inline-start:auto; }
.of-nav-header .of-theme-settings .of-theme-return { width:auto; min-height:44px; margin:.25rem 0 0; padding:.35rem .15rem; border:0; background:transparent; color:var(--navy,#072a5a); font:inherit; font-size:.8rem; text-decoration:underline; text-underline-offset:.2em; cursor:pointer; }
.of-nav-header .of-theme-settings .of-theme-choice-status { margin:0; color:var(--muted,#535d65); font-size:.75rem; }

@media (min-width:1100px) {
  .of-nav-header.of-nav-enhanced .of-space-menu>.of-nav-disclosure-trigger { border-color:var(--line,#c7cec7); }
  .of-nav-header.of-nav-enhanced .of-space-menu>.of-nav-disclosure-panel { inset-inline:auto 0; }
}
@media (max-width:1099px) {
  .of-nav-header.of-nav-enhanced .of-nav-bar { display:flex; flex-wrap:wrap; align-items:center; gap:.35rem 8px; }
  .of-nav-header.of-nav-enhanced .of-nav-brand { flex:0 0 auto; }
  .of-nav-header.of-nav-enhanced .of-nav-actions { flex:0 1 auto; flex-wrap:wrap; max-width:100%; margin-inline-start:auto; }
  .of-nav-header.of-nav-enhanced .of-global-menu { flex:0 0 100%; width:100%; }
  .of-nav-header.of-nav-enhanced .of-global-menu { grid-column:1/-1; grid-row:2; display:none; max-height:calc(100vh - 6rem); max-height:calc(100dvh - 6rem); overflow:auto; overscroll-behavior:contain; padding:.6rem 0 .25rem; margin-top:.35rem; border-top:1px solid var(--line,#c7cec7); }
  .of-nav-header.of-nav-enhanced.of-nav-open .of-global-menu { display:block; }
  .of-nav-enhanced .of-nav-content { display:block; }
  .of-nav-enhanced .of-nav-group-label { display:block; margin:0 0 .35rem; color:var(--muted,#535d65); font-size:.75rem; font-weight:650; letter-spacing:.03em; }
  .of-nav-enhanced .of-nav-primary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.2rem; }
  .of-nav-enhanced .of-global-menu a { min-height:44px; padding:.5rem .6rem; font-size:.875rem; }
  .of-nav-enhanced .of-nav-content>.of-tools-menu { margin-top:.25rem; }
  .of-nav-enhanced :is(.of-space-menu,.of-display-menu) { margin-top:.4rem; padding-top:.4rem; border-top:1px solid var(--line,#c7cec7); }
  .of-nav-header.of-nav-enhanced .of-nav-disclosure-trigger { width:100%; min-height:44px; padding:.5rem .6rem; font-size:.875rem; }
  .of-nav-header.of-nav-enhanced .of-nav-disclosure-panel { position:static; inset:auto; width:100%; max-width:none; max-height:none; margin:.25rem 0 0; padding:.45rem; border:1px solid var(--line,#c7cec7); box-shadow:none; overflow:visible; }
  .of-nav-header.of-nav-enhanced .of-tools-menu>.of-nav-disclosure-trigger { color:var(--muted,#535d65); font-size:.8rem; }
  .of-nav-enhanced .of-nav-secondary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .of-nav-header.of-nav-enhanced .of-nav-utilities { margin-inline-start:auto; }
  .of-nav-header.of-nav-enhanced .of-display-menu>.of-nav-disclosure-trigger { border-color:var(--line,#c7cec7); }
  .of-nav-header.of-nav-enhanced .of-display-menu>.of-nav-disclosure-panel { position:absolute; inset:calc(100% + .3rem) 0 auto auto; width:min(21rem,calc(100vw - 24px)); max-height:calc(100dvh - 8rem); padding:.75rem; overflow:auto; box-shadow:0 9px 24px #072a5a20; }
}
@media (max-width:650px) {
  .of-nav-header.of-nav-enhanced .of-nav-bar { width:calc(100% - 24px); padding-block:.35rem; }
  .of-nav-header.of-nav-enhanced .of-nav-actions { width:auto; justify-content:flex-end; gap:.25rem; }
  .of-nav-header.of-nav-enhanced .of-nav-brand { font-size:min(1.05rem,8vw); gap:min(.4rem,8px); }
  .of-nav-header.of-nav-enhanced #of-menu-toggle { min-width:44px; width:44px; min-height:44px; padding:.5rem; font-size:0; }
  .of-nav-header.of-nav-enhanced #of-menu-toggle span { font-size:1.1rem; }
  .of-nav-header.of-nav-enhanced .of-language-switch a { min-width:44px; min-height:44px; padding:.3rem; }
}
@media (max-width:380px) {
  .of-nav-header.of-nav-enhanced .of-nav-primary,.of-nav-enhanced .of-nav-secondary { grid-template-columns:minmax(0,1fr); }
  .of-nav-header.of-nav-enhanced .of-nav-brand img,.of-nav-header.of-nav-enhanced .of-nav-brand>svg { width:28px; height:28px; flex-basis:28px; }
}
@media (forced-colors:active) {
  .of-nav-header .of-nav-disclosure-trigger[aria-expanded="true"],.of-nav-header .of-display-help { border-color:ButtonText; }
  .of-nav-header :is(a,button,summary):focus-visible { outline-color:Highlight; }
}

/* Page help shares the same small utility cell, separately from display help. */
.of-nav-enhanced .of-nav-utilities { grid-column:2; grid-row:2; display:flex; align-items:center; justify-content:flex-end; gap:.2rem; min-width:0; }
.of-nav-enhanced .of-nav-utilities .of-display-menu { margin:0; }
.of-nav-header .of-page-help-menu>.of-nav-disclosure-trigger { justify-content:center; min-width:40px; border-color:var(--line,#c7cec7); font-weight:650; }
.of-nav-header .of-page-help-menu .of-nav-disclosure-icon,.of-page-help-label { display:none; }
.of-nav-header .of-page-help-menu>.of-nav-disclosure-panel { inset-inline:auto 0; width:22rem; }
.of-nav-header .of-page-help-heading { margin:0 0 .6rem; font-size:1rem; line-height:1.35; letter-spacing:0; color:var(--navy,#072a5a); }
.of-nav-header .of-page-help-current { font-weight:650; }
.of-nav-header .of-page-help-menu p { margin:.5rem 0; font-size:.85rem; line-height:1.5; }
.of-nav-header .of-page-help-links { list-style:none; margin:.6rem 0 0; padding:0; }
.of-nav-header .of-page-help-links a { display:flex; align-items:center; min-height:44px; padding:.5rem; color:var(--navy,#072a5a); text-decoration:underline; text-underline-offset:.18em; font-size:.875rem; }
@media (max-width:1099px) {
  .of-nav-enhanced .of-page-help-menu { margin-top:.4rem; padding-top:.4rem; border-top:1px solid var(--line,#c7cec7); }
  .of-nav-header.of-nav-enhanced .of-page-help-menu>.of-nav-disclosure-trigger { justify-content:flex-start; gap:.5rem; border-color:transparent; }
  .of-page-help-label { display:inline; }
}


/* Upstream journey groups stay native and usable before script enhancement.
   Inside More they expand vertically, keeping one bounded outer popover. */
.of-nav-secondary .of-nav-group { position:relative; min-width:0; margin:0; padding:0; border:0; }
.of-nav-group>summary { display:flex; align-items:center; min-height:44px; padding:.5rem .65rem; border-radius:4px; font:550 .85rem/1.4 "Segoe UI",Arial,sans-serif; cursor:pointer; list-style:none; color:var(--navy,#072a5a); }
.of-nav-group>summary::-webkit-details-marker { display:none; }
.of-nav-group>summary::after { content:'+'; margin-inline-start:auto; padding-inline-start:.5rem; }
.of-nav-group[open]>summary::after { content:'−'; }
.of-nav-group-panel { position:absolute; top:100%; inset-inline-start:0; z-index:15; display:grid; gap:.1rem; min-width:230px; max-width:min(330px,calc(100vw - 2rem)); padding:.5rem; border:1px solid var(--line,#c7cec7); background:var(--white,#fffdf8); box-shadow:0 12px 22px #072a5a20; }
.of-nav-group:not([open])>.of-nav-group-panel { display:none; }
.of-nav-group-panel a { display:flex; align-items:center; min-height:44px; padding:.5rem .65rem; white-space:normal; }
.of-nav-group>summary:focus-visible { outline:3px solid var(--orangeink,#a83d0f); outline-offset:2px; }
.of-nav-enhanced .of-tools-menu .of-nav-secondary { grid-template-columns:minmax(0,1fr); }
.of-nav-enhanced .of-tools-menu .of-nav-group { width:100%; }
.of-nav-enhanced .of-tools-menu .of-nav-group-panel { position:static; inset:auto; min-width:0; max-width:100%; margin-inline-start:.35rem; padding:.2rem .25rem; border:0; border-inline-start:2px solid var(--line,#c7cec7); box-shadow:none; }
.of-nav-enhanced .of-tools-menu .of-nav-group-panel a { min-height:44px; }
@media (max-width:1099px) {
  .of-nav-group-panel { position:static; min-width:0; max-width:100%; margin-inline-start:.65rem; padding:.2rem .4rem; border:0; border-inline-start:2px solid var(--line,#c7cec7); box-shadow:none; }
  .of-nav-secondary .of-nav-group { width:100%; }
}


/* Mobile wordmark never breaks into letters. Before enhancement the saved
   actions get their own wrapping row; enhanced controls share a row when they
   fit and wrap as a group with enlarged text, without hiding page overflow. */
@media (max-width:1099px) {
  .of-nav-header:not(.of-nav-enhanced) .of-nav-bar { grid-template-columns:minmax(0,1fr); width:calc(100% - 24px); }
  .of-nav-header:not(.of-nav-enhanced) .of-nav-brand { grid-column:1/-1; grid-row:1; justify-self:start; font-size:min(1.15rem,8vw); gap:min(.4rem,8px); }
  .of-nav-header:not(.of-nav-enhanced) .of-nav-actions { grid-column:1/-1; grid-row:2; width:100%; max-width:100%; min-width:0; flex-wrap:wrap; justify-content:flex-end; }
  .of-nav-header:not(.of-nav-enhanced) .of-global-menu { grid-column:1/-1; grid-row:3; }
  .of-nav-header .of-language-switch { max-width:100%; flex-wrap:wrap; }
}

/* Compact footer: a readable hierarchy without tall empty blocks.
   Legacy selectors also prevent links running together when JavaScript is off. */
.footer .footer-grid { gap:1rem 1.5rem; padding-block:0; }
.footer .footer-grid nav { display:flex; flex-direction:column; align-items:flex-start; gap:.2rem; }
.footer .footer-grid nav a { display:inline-flex; align-items:center; min-height:36px; margin:0; line-height:1.35; }
.footer .footer-grid p { margin:.45rem 0; line-height:1.45; }
.footer .footer-tagline { margin:.6rem 0 .3rem; font-weight:650; }
.footer .footer-bottom { gap:.45rem 1rem; padding-top:.8rem; margin-top:1rem; line-height:1.4; }
.of-footer-compact { margin:1.2rem 0 0; padding:1.4rem 0 1.2rem; border-top:1px solid var(--line,#c7cec7); background:var(--paper,#f8f4ec); color:var(--navy,#072a5a); font:400 .875rem/1.4 "Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; }
.of-footer-compact * { box-sizing:border-box; }
.of-footer-inner { width:min(1180px,calc(100% - 2.2rem)); margin-inline:auto; }
.of-footer-grid { display:grid; grid-template-columns:minmax(220px,1.4fr) minmax(130px,.75fr) minmax(150px,.9fr) minmax(180px,1fr); gap:1rem 1.8rem; align-items:start; }
.of-footer-grid > * { min-width:0; }
.of-footer-compact .of-footer-brand { display:inline-flex; align-items:center; width:fit-content; max-width:100%; gap:.45rem; margin:0; color:inherit; text-decoration:none; font-size:1rem; font-weight:750; letter-spacing:-.01em; line-height:1.05; }
.of-footer-compact .of-footer-brand .brand-mark { width:38px; height:38px; flex:0 0 38px; margin:0; }
.of-footer-compact .of-footer-brand svg,.of-footer-compact .of-footer-brand img { display:block; width:38px; height:38px; max-width:100%; margin:0; }
.of-footer-compact .of-footer-brand .brand-text { font-size:.95rem; line-height:1.02; letter-spacing:.025em; text-transform:uppercase; white-space:normal; }
.of-footer-compact .of-footer-brand small { font-size:.7rem; line-height:1.3; }
.of-footer-compact p { margin:0; max-width:34ch; }
.of-footer-compact .of-footer-tagline { margin:.6rem 0 .3rem; font-family:Georgia,"Times New Roman",serif; font-size:1.1rem; line-height:1.2; font-weight:700; }
.of-footer-compact .of-footer-description { max-width:34ch; font-size:.8rem; line-height:1.45; color:var(--muted,#535d65); }
.of-footer-compact .of-footer-label { font:700 .7rem/1.3 "Segoe UI",Arial,sans-serif; text-transform:uppercase; letter-spacing:.09em; color:var(--muted,#535d65); margin:0 0 .4rem; }
.of-footer-compact nav { display:flex; flex-direction:column; align-items:flex-start; gap:.05rem; margin:0; padding:0; }
.of-footer-compact nav a { display:inline-flex; align-items:center; width:fit-content; min-height:34px; max-width:100%; margin:0; padding:.22rem 0; color:inherit; font-size:.85rem; line-height:1.35; text-decoration:none; overflow-wrap:anywhere; }
.of-footer-compact .of-footer-main-nav a { font-weight:650; }
.of-footer-compact .of-footer-resource-nav a { font-size:.78rem; color:var(--muted,#535d65); }
.of-footer-compact a:hover { text-decoration:underline; text-underline-offset:.2em; }
.of-footer-compact .of-footer-contact { display:flex; flex-direction:column; align-items:flex-start; gap:.2rem; margin:0; font-style:normal; font-size:.83rem; line-height:1.35; }
.of-footer-contact strong { font-weight:700; }
.of-footer-contact > span { font-size:.77rem; color:var(--muted,#535d65); }
.of-footer-compact .of-footer-email { display:inline-flex; align-items:center; min-height:36px; max-width:100%; color:inherit; font-size:.83rem; font-weight:650; overflow-wrap:anywhere; text-underline-offset:.18em; }
.of-footer-meta { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.35rem 1rem; border-top:1px solid var(--line,#c7cec7); margin-top:1rem; padding-top:.65rem; font-size:.72rem; line-height:1.4; color:var(--muted,#535d65); }
.of-footer-meta a { display:inline-flex; align-items:center; min-height:34px; color:inherit; text-decoration:none; }
.of-footer-compact :is(a,button):focus-visible { outline:3px solid var(--orangeink,#a83d0f); outline-offset:3px; }
@media(max-width:1000px) { .of-footer-grid { grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr); gap:1rem 1.2rem; } .of-footer-brand-block { grid-column:1/-1; display:grid; grid-template-columns:auto 1fr; gap:.1rem 1.1rem; align-items:center; } .of-footer-brand-block .of-footer-brand { grid-row:1/3; } .of-footer-compact .of-footer-tagline { margin:0 0 .15rem; } .of-footer-compact .of-footer-description { max-width:60ch; } }
@media(max-width:600px) { .of-footer-compact { padding:1rem 0 .8rem; margin-top:1rem; } .of-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.9rem 1.1rem; } .of-footer-brand-block { grid-column:1/-1; grid-template-columns:1fr; gap:0; } .of-footer-brand-block .of-footer-brand { grid-row:auto; } .of-footer-compact .of-footer-tagline { margin:.4rem 0 .2rem; font-size:1.05rem; } .of-footer-compact .of-footer-description { max-width:48ch; } .of-footer-contact { grid-column:1/-1; padding-top:.65rem; border-top:1px solid var(--line,#c7cec7); } .of-footer-compact .of-footer-contact { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:.15rem 1rem; } .of-footer-contact .of-footer-label { grid-column:1/-1; margin-bottom:.2rem; } .of-footer-contact > strong { grid-column:1; } .of-footer-contact > span { grid-column:1; } .of-footer-contact .of-footer-email { grid-column:2; grid-row:2/4; align-self:center; font-size:.8rem; } .of-footer-meta { margin-top:.7rem; padding-top:.35rem; } }
@media(max-width:360px) { .of-footer-compact .of-footer-contact { display:flex; } .of-footer-contact .of-footer-email { margin-top:.15rem; } }
@media print { .of-footer-compact { display:none!important; } }

footer.footer { padding-block:1.2rem 1rem; }
footer.footer .brand { margin-block:0; }

/* Function colours: Spiral Dynamics is a visual reference, not a reader score.
   Status badges keep their existing colours and meanings. */
:root {
  --of-beige:#c8b796; --of-purple:#765385; --of-red:#c34136;
  --of-blue:#315c9c; --of-orange:#ed842b; --of-green:#5e8060;
  --of-yellow:#e8ca3c; --of-turquoise:#228c8b;
}
body { --of-accent:var(--of-turquoise); --of-accent-ink:#176562; --of-accent-soft:#e4f1ee; }
body[data-of-accent="knowledge"] { --of-accent:var(--of-yellow); --of-accent-ink:#725707; --of-accent-soft:#fff6d5; }
body[data-of-accent="build"] { --of-accent:var(--of-orange); --of-accent-ink:#98460c; --of-accent-soft:#fcecdc; }
body[data-of-accent="action"] { --of-accent:var(--of-red); --of-accent-ink:#a1342c; --of-accent-soft:#fbeae7; }
body[data-of-accent="structure"] { --of-accent:var(--of-blue); --of-accent-ink:#294c83; --of-accent-soft:#e9eff9; }
body[data-of-accent="together"] { --of-accent:var(--of-green); --of-accent-ink:#3d6141; --of-accent-soft:#edf3e8; }
body[data-of-accent="connection"] { --of-accent:var(--of-purple); --of-accent-ink:#694578; --of-accent-soft:#f1eaf4; }
body[data-of-accent="place"] { --of-accent:var(--of-beige); --of-accent-ink:#6d5939; --of-accent-soft:#f2eddf; }
body[data-of-accent] main > :is(.hero,.article-top,.page-hero,.page-header),
body[data-of-accent] .of-admin-teaser { border-bottom:4px solid var(--of-accent); }
body[data-of-accent] main :is(.eyebrow,.kicker):not(.section-dark *)::before {
  content:""; display:inline-block; width:.7em; height:.7em; margin-right:.55em;
  border-radius:50%; background:var(--of-accent); vertical-align:.03em;
}
body[data-of-accent] .section-dark {
  background:var(--of-accent-soft); color:var(--ink,#293c35);
  border-block:1px solid var(--line,#c7cec7); border-top:4px solid var(--of-accent);
}
body[data-of-accent] .section-dark :is(h2,h3,p) { color:var(--ink,#293c35); }
body[data-of-accent] .section-dark .eyebrow { color:var(--of-accent-ink); }
body[data-of-accent] .section-dark .button { color:var(--of-accent-ink); border-color:currentColor; background:var(--white,#fffdf8); }

/* Logo first, then the message; links always begin below that introduction. */
.of-footer-compact { border-top:0; background:var(--paper,#f8f4ec); padding-top:0; }
.of-footer-compact::before {
  content:""; display:block; height:4px; margin-bottom:1.4rem;
  background:linear-gradient(90deg,var(--of-beige) 0% 12.5%,var(--of-purple) 12.5% 25%,var(--of-red) 25% 37.5%,var(--of-blue) 37.5% 50%,var(--of-orange) 50% 62.5%,var(--of-green) 62.5% 75%,var(--of-yellow) 75% 87.5%,var(--of-turquoise) 87.5%);
}
.of-footer-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.15fr); gap:1.2rem 2rem; }
.of-footer-brand-block {
  grid-column:1/-1; display:grid; grid-template-columns:190px minmax(0,1fr);
  align-items:start; gap:1.3rem; padding-bottom:1.1rem; border-bottom:1px solid var(--line,#c7cec7);
}
.of-footer-compact .of-footer-brand {
  grid-column:1; grid-row:1; display:inline-flex; align-items:center; gap:.55rem;
  align-self:start; color:var(--navy,#072a5a); min-height:56px; font-size:1.35rem;
  font-weight:750; line-height:1.05; text-decoration:none;
}
.of-footer-compact .of-footer-brand .brand-mark,
.of-footer-compact .of-footer-brand > :is(img,svg) { width:56px; height:56px; flex:0 0 56px; }
.of-footer-compact .of-footer-brand :is(svg,img) { display:block; width:56px; height:56px; max-width:none; margin:0; }
.of-footer-compact .of-footer-brand :is(.brand-text,span:not(.brand-mark)) {
  color:inherit; font-size:1.15rem; font-weight:750; line-height:1.05; letter-spacing:.01em;
}
.of-footer-brand-copy { grid-column:2; grid-row:1; min-width:0; align-self:center; }
.of-footer-compact .of-footer-tagline { margin:0 0 .35rem; font:700 1.25rem/1.2 Georgia,"Times New Roman",serif; max-width:38ch; }
.of-footer-compact .of-footer-description { max-width:58ch; font-size:.86rem; }
@media(max-width:600px) {
  .of-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
  .of-footer-brand-block { grid-template-columns:1fr; gap:.8rem; padding-bottom:.9rem; }
  .of-footer-brand-copy { grid-column:1; grid-row:2; }
  .of-footer-compact .of-footer-tagline { font-size:1.2rem; margin:0 0 .35rem; }
  .of-footer-compact .of-footer-contact { grid-column:1/-1; }
}

/* The work cycle leads into the shared footer. */
.of-work-cycle {
  width:min(1180px,calc(100% - 2.2rem)); margin:0 auto; padding:.85rem 0 1rem;
  color:var(--navy,#234639);
  --of-work-ring:color-mix(in srgb,currentColor 57%,transparent);
}
.of-work-cycle + .of-footer-compact { margin-top:0; }
.of-work-cycle > h2 {
  margin:0 0 .4rem; font:700 1.25rem/1.2 Georgia,"Times New Roman",serif;
}
.of-work-cycle-layout { display:grid; align-items:center; gap:.55rem; }
.of-work-wheel {
  position:relative; width:min(100%,21rem); margin-inline:auto; box-sizing:border-box;
}
.of-work-orbit {
  position:absolute; z-index:1; inset:50% auto auto 50%; width:min(43%,8.5rem); height:auto;
  transform:translate(-50%,-50%); pointer-events:none;
}
.of-work-orbit > :is(circle,path) {
  fill:none; stroke:var(--of-work-ring); stroke-width:1.5;
  stroke-linecap:round; stroke-linejoin:round;
}
.of-work-pointer {
  transform-origin:50% 50%; transform:rotate(var(--of-work-angle,0deg));
  transition:transform .32s ease-out;
}
.of-work-pointer circle { fill:#b48936; stroke:var(--paper,#f8f4ec); stroke-width:1.6; }
.of-work-steps {
  position:relative; display:grid; list-style:none; padding:0; margin:0;
  grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) minmax(0,1fr);
  grid-template-areas:
    ". ask ."
    "renew . research"
    "measure . weigh"
    "check . decide"
    ". make .";
  grid-auto-rows:minmax(2.75rem,auto);
}
.of-work-steps li { display:flex; min-width:0; margin:0; padding:0; }
.of-work-steps li:nth-child(1) { grid-area:ask; }
.of-work-steps li:nth-child(2) { grid-area:research; }
.of-work-steps li:nth-child(3) { grid-area:weigh; }
.of-work-steps li:nth-child(4) { grid-area:decide; }
.of-work-steps li:nth-child(5) { grid-area:make; }
.of-work-steps li:nth-child(6) { grid-area:check; }
.of-work-steps li:nth-child(7) { grid-area:measure; }
.of-work-steps li:nth-child(8) { grid-area:renew; }
.of-work-wheel button {
  box-sizing:border-box; min-height:2.75rem; margin:0; padding:.25rem .15rem;
  border:1px solid transparent; border-radius:.5rem; background:transparent; color:inherit;
  font:620 .8rem/1.22 system-ui,sans-serif; text-align:center; overflow-wrap:anywhere;
  cursor:pointer;
}
.of-work-steps button { width:100%; }
.of-work-steps button[aria-pressed="true"] {
  background:color-mix(in srgb,currentColor 9%,transparent); border-color:var(--of-work-ring);
}
.of-work-wheel .of-work-next {
  position:absolute; z-index:2; inset:50% auto auto 50%; transform:translate(-50%,-50%);
  min-width:min(3.45rem,35%); max-width:35%; padding-inline:min(.45rem,2%);
  text-decoration:underline; text-underline-offset:.18em;
}
.of-work-wheel button:focus-visible, .of-footer-work-help summary:focus-visible {
  outline:2px solid currentColor; outline-offset:2px;
}
.of-work-detail { min-width:0; min-height:5.5rem; padding-inline:.3rem; max-width:42ch; overflow-wrap:anywhere; }
.of-work-detail > p { margin:0; font-size:.87rem; line-height:1.4; }
.of-work-detail > h3 { margin:.12rem 0 .2rem; font:700 1.08rem/1.2 Georgia,"Times New Roman",serif; }
.of-work-detail > .of-work-step-number { font:550 .72rem/1.3 system-ui,sans-serif; }
.of-footer-work-help { max-width:65ch; margin-top:.15rem; overflow-wrap:anywhere; }
.of-footer-work-help summary {
  box-sizing:border-box; min-height:44px; padding:.65rem 0;
  font-size:.82rem; font-weight:650; cursor:pointer;
}
.of-footer-work-help > p { margin:0 0 .5rem; font-size:.85rem; line-height:1.45; }
.of-footer-work-help > p:last-child { margin-bottom:0; }
@media(min-width:600px) {
  .of-work-cycle-layout {
    grid-template-columns:minmax(0,21rem) minmax(0,1fr); gap:1.2rem;
  }
  .of-work-detail { padding-inline:.85rem 0; border-inline-start:1px solid var(--of-work-ring); }
}
@media(prefers-reduced-motion:reduce) { .of-work-pointer { transition:none; } }
@media print { .of-work-cycle { display:none!important; } }

/* A small, readable 2 x 2 process on phones, four cells on wide screens. */
.roundtrip { grid-template-columns:repeat(4,minmax(0,1fr)); gap:.75rem; margin:1.4rem 0; }
.roundtrip > div {
  --of-cell:var(--of-yellow); --of-cell-bg:#fff6d5; --of-cell-ink:#725707;
  min-width:0; padding:1rem; border:1px solid var(--line,#c7cec7);
  border-top:4px solid var(--of-cell); border-radius:8px; background:var(--of-cell-bg);
  display:flex; flex-direction:column; align-items:start;
}
.roundtrip > div:nth-child(2) { --of-cell:var(--of-orange); --of-cell-bg:#fcecdc; --of-cell-ink:#98460c; }
.roundtrip > div:nth-child(3) { --of-cell:var(--of-red); --of-cell-bg:#fbeae7; --of-cell-ink:#a1342c; }
.roundtrip > div:nth-child(4) { --of-cell:var(--of-turquoise); --of-cell-bg:#e4f1ee; --of-cell-ink:#176562; }
.roundtrip > div > span { font:750 .88rem/1.3 "Segoe UI",Arial,sans-serif; color:var(--of-cell-ink); }
.roundtrip h3 { font-size:1.12rem; line-height:1.25; margin:.55rem 0; color:#253e35; }
.roundtrip p { font-size:.88rem; line-height:1.5; margin:0 0 .6rem; color:#35473e; }
.roundtrip a { display:inline-flex; align-items:center; min-height:44px; margin-top:auto; font-size:.86rem; line-height:1.4; font-weight:650; color:var(--of-cell-ink); }
@media(max-width:900px) { .roundtrip { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
  .roundtrip { gap:.55rem; }
  .roundtrip > div { padding:.8rem .65rem; }
  .roundtrip h3 { font-size:1rem; }
  .roundtrip p { font-size:.82rem; }
  .roundtrip a { font-size:.81rem; }
  .of-journey-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; }
  .of-journey-card { padding:.8rem .65rem; }
  .of-journey-card h3 { font-size:1rem; }
  .of-journey-card p,.of-journey-card a { font-size:.84rem; line-height:1.45; }
}
.of-journey-card { --of-card-accent:var(--of-blue); border-top:4px solid var(--of-card-accent); }
.of-journey-card:nth-child(2) { --of-card-accent:var(--of-orange); }
.of-journey-card:nth-child(3) { --of-card-accent:var(--of-green); }
.of-journey-card:nth-child(4) { --of-card-accent:var(--of-red); }
.of-journey-number { color:var(--of-accent-ink); font-weight:750; }
.guide .of-choice-help { margin:.6rem 0; font-size:.78rem; }
.guide .intent-card { touch-action:manipulation; --of-intent:var(--of-yellow); }
.guide .intent-card[data-goal="solve"] { --of-intent:var(--of-turquoise); }
.guide .intent-card[data-goal="build"] { --of-intent:var(--of-orange); }
.guide .intent-card[aria-pressed="true"] { border-color:var(--of-accent-ink); box-shadow:inset 5px 0 var(--of-intent); }
.guide .intent-card[aria-pressed="true"] b::after { content:" →"; }

/* A single quiet row; the complete category list lives in a disclosure. */
.of-filter-toolbar { position:relative; display:flex; gap:.35rem; align-items:start; margin:.8rem 0 1.1rem; min-width:0; }
.of-filter-quick { display:flex; gap:.1rem; min-width:0; flex:1; overflow-x:auto; scrollbar-width:thin; padding:3px; margin:-3px; }
.of-filter-toolbar button.of-filter-chip {
  display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto;
  min-height:44px; border:1px solid transparent; border-radius:6px; padding:.25rem .45rem;
  font:600 .79rem/1.2 "Segoe UI",Arial,sans-serif; white-space:nowrap;
  color:var(--ink,#253e35); background:transparent;
}
.of-filter-toolbar button.of-filter-chip[aria-pressed="true"] { color:var(--of-accent-ink); background:var(--of-accent-soft); border-color:var(--of-accent-ink); }
.of-filter-menu { flex:0 0 44px; margin:0; padding:0; border:0; min-width:0; }
.of-filter-menu > summary { list-style:none; display:flex; align-items:center; justify-content:center; min-height:44px; padding:.25rem; border:1px solid var(--muted,#59636e); border-radius:6px; cursor:pointer; color:var(--ink,#253e35); font-size:1.1rem; }
.of-filter-menu > summary::-webkit-details-marker { display:none; }
.of-filter-menu[open] > summary { background:var(--of-accent-soft); border-color:var(--of-accent-ink); }
.of-filter-menu .filters {
  position:absolute; right:0; top:calc(100% + .4rem); z-index:6; width:min(320px,100%);
  max-height:18rem; overflow-y:auto; overscroll-behavior:contain; display:grid;
  grid-template-columns:1fr; gap:.2rem; margin:0; padding:.6rem;
  border:1px solid var(--muted,#59636e); border-radius:8px; background:var(--white,#fffdf8);
  box-shadow:0 8px 24px #1f302324;
}
.of-filter-menu .filter { width:100%; min-height:44px; border-radius:5px; text-align:left; font-size:.88rem; }
.of-filter-toolbar :is(button,summary):focus-visible { outline:3px solid var(--of-accent-ink); outline-offset:2px; }
.of-filter-toolbar .filter[aria-pressed="true"] { color:var(--of-accent-ink); background:var(--of-accent-soft); border-color:var(--of-accent-ink); }
@media(max-width:600px) { .of-filter-toolbar button.of-filter-chip { font-size:.74rem; padding-inline:.18rem; } }
@media(max-width:340px) { .of-filter-quick button:nth-child(n+6) { display:none; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }


/* Jan's warmer colour rhythm · 2026-11-05. Decorative colours never score people. */
:root {
  --of-spectrum:linear-gradient(90deg,var(--of-beige) 0% 12.5%,var(--of-purple) 12.5% 25%,var(--of-red) 25% 37.5%,var(--of-blue) 37.5% 50%,var(--of-orange) 50% 62.5%,var(--of-green) 62.5% 75%,var(--of-yellow) 75% 87.5%,var(--of-turquoise) 87.5%);
}
.of-nav-header::before { content:""; display:block; height:5px; background:var(--of-spectrum); }
.of-nav-header .of-nav-brand>span::after { content:"."; color:#b8430f; }
.page-journal .magazine-nav { border-top:0; position:relative; padding-top:.8rem; }
.page-journal .magazine-nav::before { content:""; position:absolute; inset:0 0 auto; height:3px; background:var(--of-spectrum); }
.page-journal .journal-reflection { border-left:0; border-top:3px solid #c89d34; background:#f0ecdf; position:relative; }
.page-journal .journal-reflection::before { content:""; position:absolute; inset:0 0 auto; height:3px; background:var(--of-spectrum); }
.page-journal .of-news-rail-label { border-top-color:#93775a; }
.page-journal :is(.of-article-feedback,.of-feedback-trigger) { --navy:#214c3c; }


/* Brand first on mobile flex layouts as well as the desktop grid. */
.of-nav-header .of-nav-brand { order:-1; margin-inline-start:0; margin-inline-end:auto; }
.of-nav-header .of-nav-actions { order:0; }
.of-nav-header .of-global-menu { order:1; }
.of-nav-header .of-nav-utilities { order:2; }
@media (max-width:1099px) {
  .of-nav-header .of-nav-utilities { order:1; }
  .of-nav-header .of-global-menu { order:2; }
}
.of-clickable-card { cursor:pointer; }
.of-clickable-card:hover { outline:1px solid var(--navy,#072a5a); outline-offset:3px; }
.of-clickable-card:focus-within { outline:2px solid var(--orangeink,#a83d0f); outline-offset:3px; }
.of-footer-settings { display:inline-flex; align-items:center; min-height:44px; padding:.2rem 0; margin:0; border:0; border-radius:0; background:transparent; color:inherit; font:inherit; text-align:start; text-decoration:underline; text-underline-offset:.18em; cursor:pointer; }
.of-footer-settings:focus-visible { outline:3px solid var(--orangeink,#a83d0f); outline-offset:3px; }
.of-consent .of-consent__reopen[hidden] { display:none!important; }
.of-consent .of-consent__reopen--quiet { color:#59636e; background:#f8f4eceb; border-color:#d5d5cd; box-shadow:none; font-size:.75rem; padding:.35rem .55rem; min-height:44px; }
.of-consent .of-consent__reopen--quiet:hover,.of-consent .of-consent__reopen--quiet:focus-visible { color:#072a5a; border-color:#072a5a; }
@media(forced-colors:active) { .of-clickable-card:focus-within { outline-color:Highlight; } .of-consent .of-consent__reopen--quiet { color:ButtonText; border-color:ButtonText; } }

/* OpenFocus image metadata v1: image roles only; body/legal/UI small are excluded. */
:root{--of-image-caption-size:11px;--of-image-caption-leading:1.28;--of-image-detail-size:10.5px;--of-image-detail-leading:1.28;--of-image-summary-size:11px}
@media screen {
html:root:root body :is(figure:not(.wage-graphic)>figcaption,.diagram-caption,.hero-media .sample-caption,.of-media-info-visible){font-size:var(--of-image-caption-size)!important;line-height:var(--of-image-caption-leading)!important;margin-block-start:4px!important;margin-block-end:0!important;padding-block:0!important}
html:root:root body :is(figure:not(.wage-graphic)>figcaption,.diagram-caption,.hero-media .sample-caption,.of-media-info-visible) :is(p,a,span,small,em,strong,b,cite,dt,dd){font-size:inherit!important;line-height:inherit!important;margin-block:2px!important}
html:root:root body :is(figure:not(.wage-graphic)>figcaption,.of-media-info-visible) :is(.tb-media-credit,.tb-media-changes,.of-news-image-credits,.of-article-credit,.mfi-credit,.of-media-info-credit){font-size:10px!important;line-height:1.28!important}
html:root:root body :is(.rs-photo>details,.water-photo>details,.analysis-cover>details,.memi-photo>details,.launch-cover>details,.ai-photo>details,.ai-lesson-card>details,.essay-cover>details,.photo-details,.tb-media-info,.of-news-image-credit,.of-recommendation-media-info,.of-media-info-details,.mfi-image-info){font-size:var(--of-image-detail-size)!important;line-height:var(--of-image-detail-leading)!important;margin-block:3px 0!important;padding-block:0!important}
html:root:root body :is(.rs-photo>details,.water-photo>details,.analysis-cover>details,.memi-photo>details,.launch-cover>details,.ai-photo>details,.ai-lesson-card>details,.essay-cover>details,.photo-details,.tb-media-info,.of-news-image-credit,.of-recommendation-media-info,.of-media-info-details,.mfi-image-info) :is(p,a,span,small,em,strong,b,cite,dt,dd,li){font-size:inherit!important;line-height:inherit!important;margin-block:3px!important}
html:root:root body :is(.rs-photo>details,.water-photo>details,.analysis-cover>details,.memi-photo>details,.launch-cover>details,.ai-photo>details,.ai-lesson-card>details,.essay-cover>details,.photo-details,.tb-media-info,.of-news-image-credit,.of-recommendation-media-info,.of-media-info-details,.mfi-image-info)>summary{font-size:var(--of-image-summary-size)!important;line-height:1.25!important;font-weight:500!important;min-height:24px!important;box-sizing:border-box;display:list-item;padding-block:3px!important;margin-block:0!important;cursor:pointer}
html:root:root body :is(.of-media-info-list){gap:3px 10px!important;margin-block:4px!important}
html:root:root body :is(.mfi-image-info,.of-news-image-credit){--of-image-detail-size:10px;--of-image-summary-size:10px}
}

/* Fictional dialogue alongside public OpenFocus descriptions. */
.of-scene-quote {
  margin: .75rem 0 1rem;
  padding: .15rem 0 .15rem .8rem;
  border-inline-start: 2px solid currentColor;
  max-inline-size: 56ch;
}

.of-scene-quote figcaption {
  margin: 0 0 .2rem;
  font-size: .82rem;
  font-weight: 650;
}

.of-scene-quote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.47;
  overflow-wrap: anywhere;
}

.of-scene-quote + .lede,
.of-scene-quote + .lead {
  margin-top: .65rem;
}
