/* EE Ventures design system.
 * Direction (owner brief, Nov 23 2026): established private operating company, restrained, institutional.
 * Palette from the brief, checked against the existing logo (royal blue + gold on navy): navy/midnight carry
 * the brand, muted gold is an accent only (lines, focus, small labels on dark), never body text on light.
 * Dials: ENERGY 2 / RHYTHM 2 / MOTION 1. Serif (Source Serif 4) for headings, Public Sans for text,
 * tabular numbers for any figures. One accent, no gradients, no glow, no shadows beyond focus.
 */
:root {
  --navy: #101C2C;
  --midnight: #09121F;
  --ivory: #F7F6F2;
  --white: #FFFFFF;
  --slate: #4F5D70;      /* brief's #64748B darkened to pass 4.5:1 on ivory */
  --slate-on-dark: #B4BECC;
  --gold: #B89A62;
  --gold-soft: #D9C49A;
  --line: #DEDAD0;
  --line-dark: rgba(184, 154, 98, .35);
  --ink: #101C2C;
  --ok: #1E6B45;
  --warn: #8A5A00;
  --bad: #A12B2B;

  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', 'Helvetica Neue', Arial, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 104px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; color: var(--navy); }
h1 { font-size: clamp(36px, 5.4vw, 64px); letter-spacing: -.01em; }
h2 { font-size: clamp(27px, 3.2vw, 40px); }
h3 { font-size: 21px; line-height: 1.3; }
p { margin: 0 0 var(--s4); }
a { color: inherit; }
a, button, summary, select, label[for], input[type=checkbox], input[type=radio], [role=button] { cursor: pointer; }
button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s4); top: -60px; z-index: 100; background: var(--white); color: var(--navy); padding: var(--s3) var(--s4); border-radius: var(--radius); }
.skip:focus { top: var(--s3); }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 40; background: var(--midnight); border-bottom: 1px solid var(--line-dark); }
.bar-in { display: flex; align-items: center; gap: var(--s5); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--white); margin-right: auto; min-height: 44px; }
.brand img { width: 36px; height: 36px; border-radius: 2px; }
.brand span { font: 600 19px/1 var(--serif); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: var(--s5); }
.nav ul { display: flex; gap: var(--s5); list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--slate-on-dark); text-decoration: none; font-size: 15px; font-weight: 500; border-bottom: 1px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease); }
.nav a:not(.btn):hover { color: var(--white); border-bottom-color: var(--gold); }
.nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--gold); }
.menu-btn { display: none; align-items: center; gap: var(--s2); min-height: 44px; min-width: 44px; padding: 0 var(--s4); background: transparent; color: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius); font: 500 15px var(--sans); }
.menu-btn:hover { border-color: var(--gold); }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s var(--ease); }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1099px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--midnight); border-bottom: 1px solid var(--line-dark); padding: var(--s2) var(--gutter) var(--s5); max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { width: 100%; justify-content: flex-start; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .08); padding: var(--s2) 0; }
  .nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, .08); color: var(--white); }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); padding-left: var(--s3); }
  .nav-cta { margin-top: var(--s4); }
  .bar { position: sticky; }
}
@media (min-width: 640px) and (max-width: 1099px) {
  .nav ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s6); }
  .nav-cta { align-self: flex-start; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; font: 600 15px/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; border-radius: var(--radius); border: 1px solid transparent; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); text-align: center; }
.btn-gold { background: var(--gold); color: var(--midnight); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn-gold:active { background: #A3874F; }
.btn-line { background: transparent; color: var(--white); border-color: var(--gold); }
.btn-line:hover { background: rgba(184, 154, 98, .16); }
.btn-line--dark, .sec:not(.sec--night) .prose .btn-line, .card .btn-line { color: var(--navy); border-color: var(--navy); }
.btn-line--dark:hover, .sec:not(.sec--night) .prose .btn-line:hover, .card .btn-line:hover { background: var(--navy); color: var(--white); }
.btn-plain { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-plain:hover { border-color: var(--navy); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; }
.link { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }
.sec--night .link { color: var(--white); }

/* hero */
.hero { background: var(--midnight); color: var(--slate-on-dark); padding-block: var(--s9) var(--s8); border-bottom: 1px solid var(--line-dark); }
.hero h1 { color: var(--white); max-width: 17ch; }
.hero .lead { font-size: clamp(18px, 1.6vw, 21px); max-width: 60ch; margin-top: var(--s5); color: var(--slate-on-dark); }
.hero .kicker { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero-motto { margin: var(--s6) 0 0; font: 500 15px/1 var(--serif); letter-spacing: .08em; color: var(--gold); }
.hero--inner { padding-block: var(--s8) var(--s7); }
.hero--inner h1 { font-size: clamp(32px, 4.4vw, 52px); max-width: 22ch; }
.kicker { font: 600 13px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin: 0 0 var(--s3); }
.lead { font-size: 19px; color: var(--slate); max-width: 62ch; }

/* breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: 0; padding: var(--s4) 0 0; font-size: 14px; color: var(--slate); }
.crumbs li + li::before { content: "/"; margin-right: var(--s2); color: var(--gold); }
.crumbs a { color: var(--slate); }
.crumbs + .hero, main > .crumbs { position: relative; }
main > .crumbs { background: var(--midnight); max-width: none; color: var(--slate-on-dark); }
main > .crumbs ol { max-width: 1200px; margin-inline: auto; color: var(--slate-on-dark); }
main > .crumbs a { color: var(--slate-on-dark); }
main > .crumbs span { color: var(--white); }

/* sections */
.sec { padding-block: var(--s8); }
.sec--tint { background: var(--white); border-block: 1px solid var(--line); }
.sec--night { background: var(--navy); color: var(--slate-on-dark); }
.sec--night h2, .sec--night h3 { color: var(--white); }
.sec--night .kicker { color: var(--gold); }
.sec-head { margin-bottom: var(--s6); max-width: 46ch; }
.sec-head .lead { margin-top: var(--s4); font-size: 17px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: start; }
.split .sec-head { margin-bottom: 0; }
.prose { max-width: 66ch; }
.prose h2 { margin: var(--s6) 0 var(--s3); font-size: 24px; }
.prose h2:first-child { margin-top: 0; }
.note { font-size: 15px; color: var(--slate); border-left: 2px solid var(--gold); padding-left: var(--s4); margin-top: var(--s6); max-width: 70ch; }
.more { margin-top: var(--s5); }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); gap: var(--s5); } }

/* grids and cards */
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--navy); border-radius: var(--radius); padding: var(--s5); }
.card h3 { margin-bottom: var(--s3); }
.card h3 a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.card h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.card p:last-child { margin-bottom: 0; }
.sec--tint .card { background: var(--ivory); }
.co-top { display: flex; gap: var(--s3); align-items: center; margin-bottom: var(--s3); }
.co-top h3 { margin: 0; }
.co-ini { flex: none; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: var(--gold-soft); font: 600 18px/1 var(--serif); border-radius: var(--radius); }
.co-ind { margin: 2px 0 0; font-size: 14px; color: var(--slate); }
.co-meta { display: grid; gap: var(--s2); margin: var(--s4) 0 0; padding-top: var(--s3); border-top: 1px solid var(--line); font-size: 14px; }
.co-meta div { display: flex; justify-content: space-between; gap: var(--s3); }
.co-meta dt { color: var(--slate); }
.co-meta dd { margin: 0; font-weight: 600; text-align: right; }
.tag { font-size: 14px; font-weight: 600; color: var(--slate); margin-top: var(--s4); }
.who { font-weight: 500; }

.defs { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--navy); }
.defs > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.defs dt { font: 600 18px/1.35 var(--serif); color: var(--navy); }
.defs dd { margin: 0; color: var(--slate); }
.defs--wide > div { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
@media (max-width: 639px) { .defs > div, .defs--wide > div { grid-template-columns: minmax(0, 1fr); gap: var(--s1); } }

/* history: one row per venture, name left, dates right */
.hist { container-type: inline-size; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy); }
.hist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s2) var(--s5); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.hist h3 { margin: 0; font-size: 20px; }
.hist h3 a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; }
.hist h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.hist p { margin: 2px 0 0; font-size: 14px; color: var(--slate); overflow-wrap: anywhere; }
.hist li { transition: opacity 500ms ease-out, transform 600ms cubic-bezier(.2, .7, .2, 1); }
.hist li.hist-wait { opacity: 0; transform: translateY(20px); }
.hist-name { display: flex; gap: var(--s3); align-items: center; min-width: 0; }
.hist-name > div { min-width: 0; }
.hist-ico { flex: none; width: 40px; height: 40px; border-radius: var(--radius); background: var(--navy); object-fit: contain; }
.hist-when { text-align: right; }
.hist .hist-year { margin: 0; font: 600 18px/1.35 var(--serif); color: var(--navy); }
/* stack dates under the name whenever the list itself is narrow, whatever the screen */
@container (max-width: 560px) { .hist li { grid-template-columns: minmax(0, 1fr); } .hist-when { text-align: left; padding-left: calc(40px + var(--s3)); } }

.ticks { list-style: none; margin: 0 0 var(--s4); padding: 0; }
.ticks li { position: relative; padding-left: var(--s5); margin-bottom: var(--s2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--gold); }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--navy); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: var(--s4); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font: 600 22px/1.2 var(--serif); color: var(--gold); }
.steps h3 { margin-bottom: var(--s2); }
.steps p { margin: 0; color: var(--slate); max-width: 70ch; }

.models { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.models li { scroll-margin-top: 90px; }
@media (max-width: 767px) { .models { grid-template-columns: minmax(0, 1fr); } }

.person { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s5); align-items: start; }
.person-ini { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; background: var(--navy); color: var(--gold-soft); font: 600 34px/1 var(--serif); border-radius: var(--radius); }
.person h2 { font-size: 30px; }
@media (max-width: 520px) { .person { grid-template-columns: minmax(0, 1fr); } .person-ini { width: 72px; height: 72px; font-size: 26px; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font: 600 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); background: var(--ivory); }
.table tbody th { font-weight: 600; color: var(--navy); }
.table tr:last-child > * { border-bottom: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 639px) {
  .table--stack thead { display: none; }
  .table--stack tr { display: block; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); }
  .table--stack th, .table--stack td { display: block; padding: 2px 0; border: 0; }
}

.legal h2 { font-size: 22px; }

/* CTA band */
.cta-band { background: var(--navy); color: var(--slate-on-dark); padding-block: var(--s8); }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5); }
.cta-band h2 { color: var(--white); margin-bottom: var(--s3); }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* footer */
.foot { background: var(--midnight); color: var(--slate-on-dark); padding-block: var(--s8) var(--s5); font-size: 15px; position: relative; padding-bottom: max(64px, env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); gap: var(--s6); }
.foot-name { font: 600 22px/1.2 var(--serif); color: var(--white); margin-bottom: var(--s2); }
.foot-small { font-size: 14px; }
.foot a { color: var(--slate-on-dark); }
.foot a:hover { color: var(--white); }
.foot-h { font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s3); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; }
.foot-legal { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--line-dark); font-size: 13px; }
.foot-legal p { margin: 0; }
@media (max-width: 1023px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
.ee-compacter-foot-anchor { position: absolute; bottom: max(12px, env(safe-area-inset-bottom, 0px)); left: max(12px, env(safe-area-inset-left, 0px)); width: 44px; height: 44px; display: flex; border-radius: var(--radius); overflow: hidden; background: var(--white); }
.ee-compacter-foot-anchor img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.foot-legal { padding-left: 52px; }

/* EE Holdings sign-in button (markup comes from the shared registry) */
[data-sso-login] #ee-sso-btn { min-height: 48px; width: 100%; max-width: 360px; justify-content: center; }

/* forms (submission engine) */
.form-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--s7); align-items: start; }
.form-steps { position: sticky; top: 92px; list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.form-steps li { margin: 0; }
.form-steps button { display: block; width: 100%; text-align: left; min-height: 44px; padding: var(--s2) var(--s4); background: none; border: 0; border-left: 2px solid transparent; margin-left: -1px; font: 500 15px/1.3 var(--sans); color: var(--slate); }
.form-steps button:hover { color: var(--navy); }
.form-steps button[aria-current="step"] { color: var(--navy); border-left-color: var(--gold); font-weight: 600; }
.form-steps .done::after { content: " \2713"; color: var(--ok); }
@media (max-width: 860px) {
  .form-shell { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .form-steps { position: static; display: flex; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); gap: 0; }
  .form-steps button { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; margin: 0 0 -1px; }
  .form-steps button[aria-current="step"] { border-bottom-color: var(--gold); }
}
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s6); }
@media (max-width: 639px) { .panel { padding: var(--s5) var(--s4); } }
.panel h2 { font-size: 26px; margin-bottom: var(--s2); }
.panel > .hint { color: var(--slate); margin-bottom: var(--s5); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s5); }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 639px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field label, .field legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: var(--s1); color: var(--navy); }
.field .req { color: var(--bad); font-weight: 600; }
.field .opt { color: var(--slate); font-weight: 400; font-size: 13px; }
.field .help { display: block; font-size: 14px; color: var(--slate); margin-bottom: var(--s2); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field input[type=number], .field input[type=date], .field input[type=month], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--white); border: 1px solid #A9A59A; border-radius: var(--radius); }
.field textarea { min-height: 112px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.field .err { display: block; color: var(--bad); font-size: 14px; margin-top: var(--s1); }
.choices { display: grid; gap: var(--s2); }
.choice { display: flex; gap: var(--s3); align-items: flex-start; min-height: 44px; padding: var(--s3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.choice:hover { border-color: var(--navy); }
.choice input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.choice b { display: block; color: var(--navy); }
.choice span { font-size: 14px; color: var(--slate); }
.choice:has(input:checked) { border-color: var(--navy); box-shadow: inset 3px 0 0 var(--gold); }
.form-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }
.form-nav .right { display: flex; flex-wrap: wrap; gap: var(--s3); margin-left: auto; }
.status-line { min-height: 24px; font-size: 14px; color: var(--slate); margin-top: var(--s3); }
.status-line.is-ok { color: var(--ok); }
.status-line.is-bad { color: var(--bad); }
.files { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s2); }
.files li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); align-items: center; padding: var(--s2) var(--s3); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; background: var(--ivory); }
.files li span { overflow-wrap: anywhere; }
.resume-box { background: var(--ivory); border: 1px dashed var(--gold); padding: var(--s4); border-radius: var(--radius); font-size: 15px; overflow-wrap: anywhere; }
.resume-box code { font-size: 14px; }
.alert { border-left: 3px solid var(--navy); background: var(--white); padding: var(--s4); margin-bottom: var(--s5); }
.alert--bad { border-left-color: var(--bad); }
.alert--ok { border-left-color: var(--ok); }
.done-panel h2 { margin-bottom: var(--s3); }

/* staff dashboard */
.staff-tabs { display: flex; gap: var(--s2); padding-top: var(--s4); border-bottom: 1px solid var(--line); }
.staff-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4); color: var(--slate); text-decoration: none; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.staff-tabs a:hover { color: var(--navy); }
.staff-tabs a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }
.panel + .panel { margin-top: var(--s4); }
.panel details summary, details.panel > summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--navy); }
.panel details[open] summary { margin-bottom: var(--s3); }
.panel .files form { margin: 0; }
.help { font-size: 14px; color: var(--slate); }
/* overview: KPI rows of stat tiles (label, value, context line). Values in ink, never colored. */
.ov-h { font-size: 24px; margin: var(--s7) 0 var(--s4); }
.ov-h:first-of-type { margin-top: var(--s5); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--s3); }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); }
.stat-label { margin: 0 0 var(--s1); font-size: 14px; color: var(--slate); }
.stat-value { margin: 0; font: 600 30px/1.15 var(--sans); color: var(--navy); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat-value a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.stat-value a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.stat-sub { margin: var(--s1) 0 0; font-size: 13px; color: var(--slate); }
.ov-table { margin-top: var(--s4); }
.attention li { margin-bottom: var(--s3); }
@media (max-width: 639px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat-value { font-size: 24px; } }
.scenario { border-top: 1px solid var(--line); padding: var(--s4) 0; }
.scenario h3 { margin: 0; }
.scenario .form-nav { margin: 0 0 var(--s3); padding: 0; border: 0; align-items: center; }
.scenario .kv.model { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px dashed var(--line); }
.staff-tabs { flex-wrap: wrap; row-gap: 0; }
.agreements { list-style: none; margin: 0; padding: 0; }
.agreements li { padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.agreements li p { margin: var(--s1) 0 0; }
.panel h3 { margin: var(--s5) 0 var(--s3); font-size: 19px; }
.staff .hero--inner { padding-block: var(--s6) var(--s5); }
.toolbar { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: end; margin-bottom: var(--s5); }
.toolbar .field { min-width: 180px; }
.pill { display: inline-block; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; background: var(--ivory); }
.pill--prio { border-color: var(--ok); color: var(--ok); }
.pill--strong { border-color: var(--navy); color: var(--navy); }
.pill--valid { border-color: var(--warn); color: var(--warn); }
.pill--low { border-color: var(--slate); color: var(--slate); }
.kv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s2) var(--s4); margin: 0; font-size: 15px; }
.kv dt { color: var(--slate); }
.kv dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
@media (max-width: 639px) { .kv { grid-template-columns: minmax(0, 1fr); gap: 0; } .kv dd { margin-bottom: var(--s3); } }
.staff-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s5); align-items: start; }
@media (max-width: 1199px) { .staff-grid { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1200px) { .staff-grid > div:last-child .fields { grid-template-columns: minmax(0, 1fr); } }
.score-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: var(--s3); align-items: center; padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.score-row label { font-weight: 500; font-size: 15px; }
.score-row input { width: 100%; min-height: 44px; padding: 8px; font: 600 16px var(--sans); border: 1px solid #A9A59A; border-radius: var(--radius); text-align: right; }
.score-row textarea { grid-column: 1 / -1; min-height: 44px; width: 100%; padding: 8px; font: 14px var(--sans); border: 1px solid var(--line); border-radius: var(--radius); }
.score-total { display: flex; justify-content: space-between; align-items: baseline; padding: var(--s4) 0; font: 600 22px var(--serif); }
.timeline { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.timeline li { padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--slate); display: block; }
.missing { color: var(--warn); }
.empty { padding: var(--s6); text-align: center; color: var(--slate); background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); }

.fade-out { animation: ev-out .25s var(--ease) forwards; }
.fade-in { animation: ev-in .3s var(--ease); }
@keyframes ev-out { to { opacity: 0; transform: translateY(-4px); } }
@keyframes ev-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { .bar, .foot, .cta-band, .ee-compacter-foot-anchor { display: none !important; } body { background: #fff; } }
