/* Open Eyes, Inc. Site styles. Colors come only from palette.css tokens (--oe-*). No values outside the palette. */
@font-face { font-family: "Lexend"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/lexend-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/lexend-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/lexend-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: italic; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Fallback"; font-weight: 400; src: local("Arial"); size-adjust: 101.8%; }
@font-face { font-family: "Atkinson Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial"); size-adjust: 102.2%; }
@font-face { font-family: "Lexend Fallback"; font-weight: 100 900; src: local("Arial Bold"), local("Arial"); size-adjust: 107.2%; }

:root { --text-scale: 1; --radius: 1rem; --gap: clamp(1rem, 2.5vw, 1.75rem); --measure: 44rem; --wrapw: 72rem; }
html[data-text="1.25"] { --text-scale: 1.25; }
html[data-text="1.5"] { --text-scale: 1.5; }
html { font-size: calc(100% * var(--text-scale)); -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--oe-bg); color: var(--oe-text); font-family: "Atkinson Hyperlegible", "Atkinson Fallback", "Segoe UI", Arial, sans-serif; font-size: 1.1875rem; line-height: 1.6; }
html[data-spacing] body { line-height: 1.95; letter-spacing: 0.035em; word-spacing: 0.1em; }
h1, h2, h3, h4, .foot-h { font-family: "Lexend", "Lexend Fallback", "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif; color: var(--oe-heading); line-height: 1.2; font-weight: 600; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--oe-link); text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
a:hover { color: var(--oe-link-hover); text-decoration-thickness: 0.14em; }
:focus-visible { outline: 3px solid var(--oe-focus-ring); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--oe-selection-bg); color: var(--oe-selection-text); }
.wrap { width: 100%; max-width: var(--wrapw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.prose { max-width: var(--measure); }
.small { font-size: 0.9rem; color: var(--oe-text-muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.js-only[hidden] { display: none; }
.skip { position: absolute; left: 0.5rem; top: -4rem; z-index: 50; background: var(--oe-primary); color: var(--oe-on-primary); padding: 0.75rem 1rem; border-radius: 0.5rem; }
.skip:focus { top: 0.5rem; }
main:focus { outline: none; }

/* Header */
.site-header { background: var(--oe-header-bg); color: var(--oe-header-text); border-bottom: 1px solid var(--oe-header-border); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; padding-block: 0.8rem; }
.brand { display: block; line-height: 0; border-radius: 0.5rem; }
.logo { height: auto; width: min(260px, 62vw); }
/* The color logo is used in every theme (brand guide: logo on light backgrounds). In the dark themes it sits on a light plate. */
html[data-theme="dark"] .brand, html[data-theme="night"] .brand { background: #FFFFFF; padding: 0.4rem 0.8rem; border-radius: 0.8rem; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .brand { background: #FFFFFF; padding: 0.4rem 0.8rem; border-radius: 0.8rem; }
}
/* Main menu: its own full-width row by default (never a stray second line); one row beside the logo on wide screens. */
.primary { order: 3; flex: 1 1 100%; border-top: 1px solid var(--oe-header-border); padding-top: 0.35rem; }
@media (min-width: 84rem) {
  .site-header .header-row { max-width: 92rem; flex-wrap: nowrap; gap: 0.5rem 1rem; }
  .site-header .logo { width: 200px; }
  .site-header .primary { order: 0; flex: 1 1 auto; border-top: 0; padding-top: 0; }
  .site-header .primary ul { flex-wrap: nowrap; justify-content: center; gap: 0.15rem; }
  .site-header .primary a { padding: 0.55rem 0.65rem; font-size: 1rem; white-space: nowrap; }
  .site-header .header-actions { flex-wrap: nowrap; }
}

.primary ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.primary a { display: inline-block; padding: 0.6rem 0.8rem; min-height: 2.75rem; border-radius: 0.6rem; text-decoration: none; color: var(--oe-header-text); font-weight: 700; }
.primary a:hover { background: var(--oe-nav-active-bg); color: var(--oe-nav-active-text); text-decoration: underline; }
.primary a[aria-current="page"] { background: var(--oe-nav-active-bg); color: var(--oe-nav-active-text); }
.header-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-left: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: 0.55rem 1.3rem; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.2 "Lexend", "Lexend Fallback", "Atkinson Hyperlegible", Arial, sans-serif; text-decoration: none; cursor: pointer; text-align: center; }
.btn-primary { background: var(--oe-primary); color: var(--oe-on-primary); }
.btn-primary:hover { background: var(--oe-primary-hover); color: var(--oe-on-primary); }
.btn-accent { background: var(--oe-accent); color: var(--oe-on-accent); }
.btn-accent:hover { background: var(--oe-accent-hover); color: var(--oe-on-accent); }
.btn-quiet { background: transparent; color: var(--oe-text-brand); border-color: var(--oe-primary-border); }
.btn-quiet:hover { background: var(--oe-primary-subtle); color: var(--oe-text-brand); }
.btn-danger { background: var(--oe-danger); color: var(--oe-on-danger); }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--oe-disabled-bg); color: var(--oe-disabled-text); border-color: var(--oe-disabled-border); cursor: not-allowed; }

/* Iris motif: the logo's four quarter-circles with the red dot */
.iris { display: inline-block; width: 1.15em; height: 1.15em; border-radius: 50%; margin-right: 0.55em; vertical-align: -0.2em;
  background: radial-gradient(circle at center, var(--oe-red-600) 0 20%, transparent 22%), conic-gradient(var(--oe-blue-600) 0 25%, var(--oe-teal-500) 0 50%, var(--oe-green-400) 0 75%, var(--oe-orange-400) 0 100%); }
.kicker { font: 600 0.95rem/1.3 "Lexend", Arial, sans-serif; color: var(--oe-text-brand); letter-spacing: 0.02em; margin-bottom: 0.9rem; }

/* Hero */
.hero { background: var(--oe-hero-bg); color: var(--oe-hero-text); padding-block: clamp(1.75rem, 5vw, 3.5rem); }
.hero-grid { display: grid; gap: var(--gap); align-items: center; }
.hero .lede { font-size: 1.3rem; max-width: 36rem; color: var(--oe-text-muted); }
.hero-pic img { border-radius: calc(var(--radius) * 1.4); width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
@media (min-width: 62rem) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
@keyframes eye-open { from { clip-path: circle(6% at 50% 50%); opacity: 0.6; } to { clip-path: circle(75% at 50% 50%); opacity: 1; } }
.hero-pic { animation: eye-open 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

/* Sections */
.section { padding-block: clamp(2rem, 6vw, 4rem); }
.section-alt { background: var(--oe-bg-subtle); }
.section-head { max-width: var(--measure); margin-bottom: 1.75rem; }
.section-head h2 { display: flex; align-items: center; }
.cards { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.card { position: relative; background: var(--oe-surface); border: 1px solid var(--oe-border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px var(--oe-overlay-pressed); }
.card .card-body { padding: 1.1rem 1.25rem 1.4rem; flex: 1; }
.card h2, .card h3 { font-size: 1.3rem; margin-bottom: 0.4em; }
.card h2 a, .card h3 a { text-decoration: none; color: var(--oe-heading); }
.card h2 a::after, .card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h2 a:hover, .card h2 a:focus-visible, .card h3 a:hover, .card h3 a:focus-visible { text-decoration: underline; }
.card p { margin-bottom: 0; color: var(--oe-text-muted); }
.card:focus-within { outline: 3px solid var(--oe-focus-ring); outline-offset: 2px; }
.card:focus-within :focus-visible { outline: none; }
.split { display: grid; gap: var(--gap); align-items: center; }
@media (min-width: 52rem) { .split { grid-template-columns: 1fr 1fr; } .split.flip .split-pic { order: 2; } }
.split-pic img { border-radius: var(--radius); width: 100%; }
.moment { background: var(--oe-primary); color: var(--oe-on-primary); }
.moment h2, .moment p { color: var(--oe-on-primary); }
.moment a { color: var(--oe-on-primary); }
.moment .btn-quiet { color: var(--oe-on-primary); border-color: var(--oe-on-primary); }
.moment .btn-quiet:hover { background: var(--oe-primary-hover); color: var(--oe-on-primary); }
.moment .split-pic img { border-radius: var(--radius); }

/* Lists with the iris bullet */
.iris-list { list-style: none; margin: 0 0 1.25em; padding: 0; }
.iris-list li { position: relative; padding-left: 1.7rem; margin-bottom: 0.55em; }
.iris-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.9rem; height: 0.9rem; border-radius: 50%;
  background: radial-gradient(circle at center, var(--oe-red-600) 0 18%, transparent 20%), conic-gradient(var(--oe-blue-600) 0 25%, var(--oe-teal-500) 0 50%, var(--oe-green-400) 0 75%, var(--oe-orange-400) 0 100%); }
.facts { display: grid; gap: 0.9rem 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin: 0 0 1.5rem; padding: 0; }
.facts div { background: var(--oe-surface-sunken); border: 1px solid var(--oe-border); border-radius: var(--radius); padding: 0.9rem 1.1rem; }
.facts dt { font: 600 0.9rem "Lexend", Arial, sans-serif; color: var(--oe-text-muted); margin: 0 0 0.25rem; }
.facts dd { margin: 0; font-weight: 700; }
.note { border-left: 6px solid var(--oe-teal-500); background: var(--oe-info-bg); color: var(--oe-info-text); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; }
.note p:last-child { margin-bottom: 0; }
.crumbs { padding-top: 1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; font-size: 0.95rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.35rem; color: var(--oe-text-subtle); }
.person { display: grid; gap: 1.25rem; grid-template-columns: auto 1fr; align-items: start; }
.person img { border-radius: var(--radius); width: 7.5rem; height: auto; }
.person h3 { margin-bottom: 0.15em; }
.role { color: var(--oe-text-muted); font-weight: 700; margin-bottom: 0.5em; }

/* Forms */
.form { max-width: 40rem; }
.field { margin-bottom: 1.35rem; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.field .hint { display: block; font-size: 0.95rem; color: var(--oe-text-muted); margin-bottom: 0.4rem; font-weight: 400; }
.req { color: var(--oe-danger-text); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="url"], select, textarea {
  width: 100%; min-height: 2.9rem; padding: 0.6rem 0.8rem; font: inherit; color: var(--oe-text); background: var(--oe-input-bg); border: 2px solid var(--oe-input-border); border-radius: 0.6rem; }
textarea { min-height: 9rem; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--oe-input-border-hover); }
input::placeholder, textarea::placeholder { color: var(--oe-input-placeholder); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--oe-danger); }
.err { color: var(--oe-danger-text); font-weight: 700; margin: 0.35rem 0 0; }
.err::before { content: "Problem: "; }
.error-summary { border: 3px solid var(--oe-danger); background: var(--oe-danger-bg); color: var(--oe-danger-text); padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.error-summary h2 { font-size: 1.2rem; color: var(--oe-danger-text); }
.error-summary ul { margin: 0; padding-left: 1.2rem; }
.error-summary a { color: var(--oe-danger-text); }
.success { border: 3px solid var(--oe-success-border); background: var(--oe-success-bg); color: var(--oe-success-text); padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.choice { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.35rem 0; min-height: 2.75rem; }
.choice input { width: 1.4rem; height: 1.4rem; margin-top: 0.2rem; flex: none; accent-color: var(--oe-primary); }
fieldset { border: 0; margin: 0 0 1.25rem; padding: 0; min-width: 0; }
.amounts { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); margin-bottom: 1rem; }
.amounts .choice { border: 2px solid var(--oe-input-border); border-radius: 0.8rem; padding: 0.55rem 0.8rem; background: var(--oe-input-bg); }
.amounts .choice:has(input:checked) { border-color: var(--oe-primary); background: var(--oe-primary-subtle); }
details.disclose { border: 1px solid var(--oe-border); border-radius: 0.8rem; padding: 0.2rem 1rem; margin-bottom: 0.7rem; background: var(--oe-surface); }
details.disclose summary { cursor: pointer; font-weight: 700; min-height: 2.75rem; display: flex; align-items: center; }
details.disclose[open] summary { margin-bottom: 0.4rem; }
.status-line { background: var(--oe-primary-subtle); color: var(--oe-text); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-weight: 700; }

/* Display preferences panel */
.prefs { max-width: 34rem; margin: 0 auto 1rem; padding: 1.25rem; background: var(--oe-surface-raised); border: 2px solid var(--oe-primary-border); border-radius: var(--radius); box-shadow: 0 10px 30px var(--oe-overlay-pressed); }
.prefs[hidden] { display: none; }
.prefs h2 { font-size: 1.3rem; }
.prefs legend { font-weight: 700; margin-bottom: 0.25rem; }
.prefs-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--oe-footer-bg); color: var(--oe-footer-text); padding-block: 2.5rem 2rem; margin-top: 0; }
.site-footer a { color: var(--oe-footer-link); }
.site-footer a:hover { color: var(--oe-footer-text); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-bottom: 1.75rem; }
.foot-tag { margin: 0; color: var(--oe-footer-text); font-weight: 700; }
.foot-cols { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); padding-bottom: 1.5rem; border-bottom: 1px solid var(--oe-footer-border); }
.foot-h { font-size: 1.05rem; color: var(--oe-footer-text); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li { margin-bottom: 0.3rem; }
.foot-cols a { display: inline-block; min-height: 2rem; padding-block: 0.2rem; }
.foot-legal { margin: 1.25rem 0 0; color: var(--oe-footer-text-muted); font-size: 0.95rem; }
html[data-theme="light"] .foot-legal, html:not([data-theme]) .foot-legal { color: var(--oe-footer-text); }

/* Backstage tables and layout */
.bs-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0 0 1.5rem; }
.bs-nav a { display: inline-block; padding: 0.55rem 1rem; border-radius: 999px; border: 2px solid var(--oe-primary-border); text-decoration: none; font-weight: 700; }
.bs-nav a[aria-current="page"] { background: var(--oe-primary); color: var(--oe-on-primary); border-color: var(--oe-primary); }
.table-wrap { overflow-x: auto; }
table.table { border-collapse: collapse; width: 100%; font-size: 1rem; }
.table th, .table td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--oe-border); vertical-align: top; }
.table th { background: var(--oe-surface-sunken); font-family: "Lexend", Arial, sans-serif; font-size: 0.9rem; }
.pill { display: inline-block; padding: 0.1rem 0.7rem; border-radius: 999px; font-weight: 700; font-size: 0.9rem; border: 2px solid var(--oe-border-strong); }
.pill-ok { background: var(--oe-success-bg); color: var(--oe-success-text); border-color: var(--oe-success-border); }
.pill-warn { background: var(--oe-warning-bg); color: var(--oe-warning-text); border-color: var(--oe-warning-border); }
.pill-off { background: var(--oe-disabled-bg); color: var(--oe-text-muted); border-color: var(--oe-disabled-border); }
.bs-card { background: var(--oe-surface); border: 1px solid var(--oe-border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.5rem; }
.thumb { width: 9rem; border-radius: 0.5rem; }

/* Preference-driven overrides */
html[data-underline] a { text-decoration: underline !important; }
html[data-motion="reduce"] *, html[data-motion="reduce"] *::before, html[data-motion="reduce"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header .header-actions, .prefs, .skip, .site-footer .foot-cols { display: none; } body { font-size: 12pt; } }
/* Header buttons wrap the same way before and after the web fonts load (no layout shift) */
@media (max-width: 40rem) {
  .site-header .header-actions { display: grid; grid-template-columns: 1fr 1.7fr 1fr; width: 100%; margin-left: 0; }
  .site-header .header-actions .btn { padding-inline: 0.5rem; min-height: 2.75rem; font-size: 0.95rem; }
  .primary ul { gap: 0 0.15rem; }
  .primary a { padding: 0.5rem 0.55rem; }
}

/* v1.1 additions ----------------------------------------------------------- */
.steps-row { list-style: none; counter-reset: step; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); margin: 0 0 1.5rem; padding: 0; }
.steps-row li { counter-increment: step; position: relative; background: var(--oe-surface); border: 1px solid var(--oe-border); border-radius: var(--radius); padding: 3.6rem 1.25rem 1.3rem; }
.steps-row li::before { content: counter(step); position: absolute; top: 1.1rem; left: 1.25rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--oe-primary); color: var(--oe-on-primary); font: 700 1rem/2rem "Lexend", "Atkinson Hyperlegible", Arial, sans-serif; text-align: center; }
.steps-row h3 { font-size: 1.2rem; margin-bottom: 0.3em; }
.steps-row p { margin-bottom: 0; color: var(--oe-text-muted); }
.steps { padding-left: 1.4rem; }
.steps li { margin-bottom: 0.6em; padding-left: 0.3rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; }
.chips a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 1.1rem; border-radius: 999px; background: var(--oe-surface); border: 2px solid var(--oe-primary-border); color: var(--oe-text-brand); font-weight: 700; text-decoration: none; }
.chips a:hover { background: var(--oe-primary-subtle); text-decoration: underline; }
.card-links { margin-top: 0.8rem; font-weight: 700; }
.card-links a { overflow-wrap: anywhere; }
.doc-list { display: grid; gap: 0.8rem; margin-bottom: 1rem; }
.doc { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; background: var(--oe-surface); border: 1px solid var(--oe-border); border-radius: var(--radius); padding: 1rem 1.25rem; }
.doc h3 { font-size: 1.15rem; margin-bottom: 0.2em; }
.doc p { margin: 0; color: var(--oe-text-muted); max-width: 40rem; }
.soon-panel { background: var(--oe-primary-subtle); border: 2px solid var(--oe-primary-border); border-radius: var(--radius); padding: 1.5rem; }
.soon-panel h2 { margin-top: 0; }
.mt { margin-top: 2rem; }
/* Leadership */
.profile { display: grid; gap: 1.25rem 1.75rem; align-items: center; background: var(--oe-surface); border: 1px solid var(--oe-border); border-radius: var(--radius); padding: 1.5rem; }
.profile-lead { grid-template-columns: 1fr; max-width: 52rem; }
@media (min-width: 40rem) { .profile-lead { grid-template-columns: 11rem 1fr; align-items: start; } }
.profile-lead img { width: 11rem; max-width: 100%; height: auto; border-radius: var(--radius); }
.profile h3 { margin-bottom: 0.1em; }
.profile p:last-child { margin-bottom: 0; }
.board-grid { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); max-width: 52rem; }
.bio-photo { display: block; width: 9rem; height: 9rem; margin: 0 0 1rem; }
.profile-board { grid-template-columns: auto 1fr; padding: 1.1rem 1.25rem; gap: 1rem; }
.avatar { display: grid; place-items: center; width: 3.75rem; height: 3.75rem; border-radius: 50%; background: var(--oe-primary); color: var(--oe-on-primary); font: 700 1.2rem/1 "Lexend", "Atkinson Hyperlegible", Arial, sans-serif; letter-spacing: 0.02em; }
.board-note { max-width: var(--measure); margin-bottom: 0; }
.avatar-photo { width: 5rem; height: 5rem; border-radius: 50%; object-fit: cover; object-position: center top; border: 3px solid var(--oe-primary-border); }

/* v1.2: learning pages */
.plain-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.8rem; }
.plain-list li { background: var(--oe-surface); border: 1px solid var(--oe-border); border-radius: var(--radius); padding: 0.9rem 1.1rem; }
.alpha ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.5rem; padding: 0; }
.alpha a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; border-radius: 0.6rem; border: 1px solid var(--oe-border); background: var(--oe-surface); font-weight: 700; text-decoration: none; }
.alpha a:hover { background: var(--oe-primary-subtle); text-decoration: underline; }
.gloss-letter { margin-top: 2rem; scroll-margin-top: 1rem; }
.gloss { margin: 0 0 1rem; display: grid; gap: 0.2rem; }
.gloss dt { font-weight: 700; margin-top: 0.8rem; }
.gloss dd { margin: 0; max-width: var(--measure); }

.alpha.jump a { padding: 0.4rem 1rem; }
.alpha.jump { margin-bottom: 1.5rem; }

/* Newsletter, checkbox fields and the contact page layout (v1.3.0) */
.field .choice { display: flex; font-weight: 400; margin-bottom: 0; }
.field .opt { font-weight: 400; color: var(--oe-text-muted); }
.foot-news { display: grid; gap: 1rem 2rem; align-items: end; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--oe-footer-border); }
.foot-news p { margin: 0; max-width: 34rem; }
@media (min-width: 52rem) { .foot-news { grid-template-columns: 1fr 1.1fr; } }
.nl-compact { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: flex-end; max-width: none; }
.nl-compact .nl-field { flex: 1 1 14rem; }
.nl-compact label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.nl-compact .btn { flex: none; }
.nl-compact .error-summary { flex: 1 1 100%; }
.contact-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 62rem) { .contact-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem; } }
.news-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 62rem) { .news-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3rem; } }
.aside-card { background: var(--oe-bg-subtle); border: 1px solid var(--oe-border); border-radius: var(--radius); padding: 1.25rem 1.4rem; margin-bottom: 1.25rem; }
.aside-card h2 { font-size: 1.25rem; }
.aside-card > :last-child { margin-bottom: 0; }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { margin-bottom: 0.85rem; }
.plain-list a { font-weight: 700; display: block; }
.plain-list span { display: block; color: var(--oe-text-muted); }
.steps { padding-left: 1.3rem; }
.steps li { margin-bottom: 0.5rem; }

/* v1.3.1: drop-down menus. Wide screens only; small screens keep the plain menu. ------------------------ */
.primary .sub-toggle, .primary .subnav { display: none; }
@media (min-width: 52rem) {
  .primary li { position: relative; }
  .primary .has-sub { display: inline-flex; align-items: center; }
  .primary .sub-toggle:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; min-width: 1.75rem; min-height: 2.75rem; padding: 0 0.3rem; margin-left: -0.35rem; background: transparent; border: 0; border-radius: 0.6rem; color: var(--oe-header-text); cursor: pointer; }
  .primary .sub-toggle:hover { background: var(--oe-nav-active-bg); color: var(--oe-nav-active-text); }
  .primary .caret { width: 0.5rem; height: 0.5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.12rem) rotate(45deg); }
  .primary .has-sub.open .caret { transform: translateY(0.1rem) rotate(-135deg); }
  .primary .subnav { position: absolute; z-index: 60; top: 100%; left: 0; min-width: 17rem; max-width: 22rem; margin: 0; padding: 0.5rem; list-style: none; flex-direction: column; gap: 0.1rem; background: var(--oe-primary); color: var(--oe-on-primary); border-radius: 0 var(--radius) var(--radius) var(--radius); box-shadow: 0 12px 28px var(--oe-overlay-pressed); }
  .primary .subnav li { position: static; }
  .primary .subnav a { display: block; min-height: 2.75rem; padding: 0.6rem 0.85rem; white-space: normal; font-size: 1rem; font-weight: 600; color: var(--oe-on-primary); }
  .primary .subnav a:hover, .primary .subnav a:focus-visible { background: var(--oe-primary-hover); color: var(--oe-on-primary); text-decoration: underline; }
  .primary .subnav a[aria-current="page"] { background: transparent; color: var(--oe-on-primary); font-weight: 700; box-shadow: inset 4px 0 0 var(--oe-on-primary); }
  .primary li:nth-last-child(-n+3) > .subnav { left: auto; right: 0; border-radius: var(--radius) 0 var(--radius) var(--radius); }
  /* Without JavaScript: open on hover or keyboard focus. With it: the script decides. */
  html:not(.js-nav) .primary .has-sub:hover > .subnav, html:not(.js-nav) .primary .has-sub:focus-within > .subnav { display: flex; }
  html.js-nav .primary .has-sub.open > .subnav { display: flex; }
}
@media print { .primary .subnav, .primary .sub-toggle { display: none !important; } }

/* v1.4.0: document library (public Documents page and backstage Documents tab) */
.doc-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.doc-card { background: var(--oe-surface); border: 1px solid var(--oe-border); border-radius: var(--radius); padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.doc-card h2 { font-size: 1.2rem; margin: 0; }
.doc-card p { margin: 0; }
.doc-ask { background: var(--oe-surface); border: 1px solid var(--oe-border); border-radius: var(--radius); padding: 1.25rem; margin: 0 0 1.5rem; }
.doc-ask h2 { font-size: 1.3rem; margin: 0.2rem 0; }
.doc-ask p { margin: 0.25rem 0; }
.doc-req > summary { list-style: none; display: inline-flex; align-items: center; cursor: pointer; }
.doc-req > summary::-webkit-details-marker { display: none; }
.doc-req[open] > summary { margin-bottom: 1rem; }
.doc-more > summary { cursor: pointer; font-weight: 700; color: var(--oe-text-brand); padding: 0.4rem 0; }
.doc-more[open] > summary { margin-bottom: 0.75rem; }
.check-list { border: 1px solid var(--oe-border); border-radius: var(--radius); padding: 0.75rem 1rem; margin: 0 0 1rem; }
.check-list legend { font-weight: 700; padding: 0 0.4rem; }
.check-list label, .check-one { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.25rem 0; }
.check-one { margin-bottom: 1rem; }
.drop-zone { border: 2px dashed var(--oe-primary-border); }
.drop-zone.over, .send-tray.over { background: var(--oe-primary-subtle); border-color: var(--oe-primary); }
.send-tray { border: 2px dashed var(--oe-primary-border); border-radius: var(--radius); padding: 0.75rem; min-height: 3.5rem; margin-bottom: 1rem; }
.chips-sel { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.chip-sel { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.2rem 0.3rem 0.2rem 0.85rem; border-radius: 999px; background: var(--oe-primary-subtle); border: 1px solid var(--oe-primary-border); }
.chip-x { min-width: 2.25rem; min-height: 2.25rem; border: 0; background: transparent; font-size: 1.25rem; line-height: 1; cursor: pointer; color: inherit; border-radius: 999px; }
.chip-x:hover { background: var(--oe-surface-sunken); }
.drag-handle { cursor: grab; font-size: 1.25rem; padding: 0 0.4rem; user-select: none; color: var(--oe-text-muted); }
.visually-hidden-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[data-js-on]:focus-within label[for="doc-file"], [data-js-on]:focus-within label[for="my-file"] { outline: 3px solid var(--oe-primary); outline-offset: 2px; }
@media print { .send-tray, .drop-zone { display: none; } }

/* v1.4.1 fix: keep visually hidden text inside scrolling tables and the drop zone from widening the page */
.table-wrap, .drop-zone { position: relative; }
