/* ============================================================
   Field Concepts Limited — Order Management System
   Design system. Brand colours follow the FCE website:
   deep corporate navy, print-orange accent, white working surface.
   ============================================================ */

:root {
  /* Brand colours sampled directly from the FCE logo. */
  --navy-900: #00114E;
  --navy-800: #0026AF;
  --navy-700: #1E40B8;
  --navy-600: #3D5AC2;
  --navy-500: #566FCA;
  --orange-600: #D05702;
  --orange-500: #FE6B03;
  --orange-400: #FE8530;
  --orange-050: #FEF3EA;

  --paper: #F1F4F7;
  --surface: #FFFFFF;
  --surface-alt: #F8FAFC;
  --ink: #15212C;
  --ink-soft: #40515F;
  --muted: #6B7C8B;
  --line: #DCE3EA;
  --line-strong: #C3CED8;

  --success: #146B42;
  --success-bg: #E6F3EC;
  --warning: #92590A;
  --warning-bg: #FCF3E0;
  --danger: #A81F17;
  --danger-bg: #FAEAE8;
  --info: #14557F;
  --info-bg: #E7F0F7;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 39, 64, .08);
  --shadow-md: 0 4px 16px rgba(11, 39, 64, .12);
  --sidebar-w: 248px;
  --header-h: 62px;

  --font: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-num: "SF Mono", "Consolas", "Roboto Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; color: var(--navy-800); letter-spacing: -0.01em; }
h1 { font-size: 1.4rem; }
h2 { font-size: 1.1rem; }
h3 { font-size: .97rem; }
a { color: var(--navy-600); }
p { margin: 0 0 .7rem; }

/* ---------- App shell ---------- */
.shell { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #C9D7E4;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  transition: transform .2s ease;
}
.sidebar__brand {
  display: flex; align-items: center; gap: .6rem;
  padding: .85rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, .1);
  min-height: var(--header-h);
}
.sidebar__brand img { height: 34px; width: auto; max-width: 150px; }
.sidebar__brand span { color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .06em; }
.sidebar__nav { flex: 1; overflow-y: auto; padding: .7rem .6rem 1.5rem; }
.nav-group { margin-top: .9rem; }
.nav-group:first-child { margin-top: 0; }
.nav-group__label {
  font-size: .66rem; letter-spacing: .12em; color: #7D93A8;
  padding: 0 .6rem .35rem; text-transform: uppercase; font-weight: 700;
}
.nav-link {
  display: flex; align-items: center; gap: .6rem;
  padding: .52rem .65rem; border-radius: var(--radius);
  color: #C9D7E4; text-decoration: none; font-size: .9rem; margin-bottom: 2px;
  border-left: 3px solid transparent;
}
.nav-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.nav-link.is-active { background: rgba(232, 99, 27, .16); color: #fff; border-left-color: var(--orange-500); font-weight: 600; }
.nav-link__icon { width: 18px; text-align: center; opacity: .9; flex: none; }
.nav-link__badge {
  margin-left: auto; background: var(--orange-500); color: #fff;
  border-radius: 20px; padding: 0 .4rem; font-size: .7rem; font-weight: 700; min-width: 20px; text-align: center;
}
.sidebar__foot { padding: .7rem 1rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .72rem; color: #7D93A8; }

.main { flex: 1; margin-left: var(--sidebar-w); min-width: 0; display: flex; flex-direction: column; }

.topbar {
  height: var(--header-h); background: var(--surface); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 1rem; padding: 0 1.25rem;
  position: sticky; top: 0; z-index: 30;
}
.topbar__title { font-weight: 700; color: var(--navy-800); font-size: 1.05rem; }
.topbar__sub { color: var(--muted); font-size: .8rem; }
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: .9rem; }
.topbar__date { font-size: .8rem; color: var(--muted); }
.userchip { display: flex; align-items: center; gap: .55rem; }
.userchip__avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--navy-700); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .8rem; flex: none;
}
.userchip__name { font-size: .85rem; font-weight: 600; line-height: 1.1; }
.userchip__role { font-size: .68rem; color: var(--muted); letter-spacing: .06em; font-weight: 700; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius);
  width: 38px; height: 38px; font-size: 1.1rem; cursor: pointer; color: var(--navy-700);
}

.page { padding: 1.25rem; max-width: 1500px; width: 100%; }
.page__head { display: flex; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.page__head h1 { font-size: 1.35rem; }
.page__head p { color: var(--muted); font-size: .86rem; margin: .15rem 0 0; }
.page__actions { margin-left: auto; display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- Cards & panels ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.card__head {
  padding: .75rem 1rem; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
}
.card__head h2 { font-size: .95rem; }
.card__head .right { margin-left: auto; display: flex; gap: .5rem; align-items: center; }
.card__body { padding: 1rem; }
.card__body--flush { padding: 0; }

.grid { display: grid; gap: 1rem; }
.grid--kpi { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.grid--kpi-sm { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.stack { display: grid; gap: 1rem; }

.kpi {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: .9rem 1rem; box-shadow: var(--shadow-sm); border-top: 3px solid var(--navy-600);
}
.kpi__label { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.kpi__value { font-size: 1.5rem; font-weight: 700; color: var(--navy-800); margin-top: .25rem; line-height: 1.15; }
.kpi__value--money { font-size: 1.28rem; }
.kpi__hint { font-size: .76rem; color: var(--muted); margin-top: .2rem; }
.kpi--accent { border-top-color: var(--orange-500); }
.kpi--success { border-top-color: var(--success); }
.kpi--danger { border-top-color: var(--danger); }
.kpi--warning { border-top-color: var(--warning); }
.kpi--clickable { cursor: pointer; text-decoration: none; display: block; }
.kpi--clickable:hover { box-shadow: var(--shadow-md); }

/* ---------- Dashboard layout ---------- */
.dashboard-page { max-width: 1600px; padding: 1.5rem clamp(1rem, 2.4vw, 2.25rem); }
.dashboard-page .page__head { margin-bottom: 1.35rem; padding-bottom: .15rem; }
.dashboard-page .page__head h1 { font-size: 1.55rem; }
.dashboard-page .page__head p { max-width: 760px; }
.dashboard__financial,
.dashboard__primary-kpis,
.dashboard__secondary-kpis,
.dashboard__notice,
.dashboard__status { margin-bottom: 1.25rem; }
.dashboard__financial-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dashboard__primary-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dashboard__secondary-kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dashboard__financial .card__body { padding: 1.1rem; }
.dashboard__financial .kpi { min-width: 0; min-height: 106px; }
.dashboard__primary-kpis .kpi,
.dashboard__secondary-kpis .kpi { min-width: 0; min-height: 98px; }
.dashboard__status .card__body { display: flex; flex-wrap: wrap; gap: .65rem .9rem; align-items: center; }
.dashboard__status .card__head .right { max-width: 72%; text-align: right; line-height: 1.45; }
.dashboard__attention-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.dashboard__attention-grid > .card { min-width: 0; }
.dashboard__attention-grid .card__head { min-height: 54px; }
.dashboard__attention-grid .card__body--flush { min-height: 104px; }
.dashboard__activity { margin-top: 1.25rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .5rem .9rem; border-radius: var(--radius); border: 1px solid transparent;
  font-size: .87rem; font-weight: 600; font-family: inherit; cursor: pointer;
  background: var(--navy-700); color: #fff; text-decoration: none; line-height: 1.3;
}
.btn:hover { background: var(--navy-600); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn--primary { background: var(--orange-500); }
.btn--primary:hover { background: var(--orange-600); }
.btn--ghost { background: var(--surface); color: var(--navy-700); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface-alt); }
.btn--danger { background: var(--danger); }
.btn--danger:hover { background: #8d1912; }
.btn--success { background: var(--success); }
.btn--success:hover { background: #0f5333; }
.btn--sm { padding: .3rem .6rem; font-size: .78rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.field { display: grid; gap: .25rem; margin-bottom: .8rem; }
.field > label { font-size: .78rem; font-weight: 600; color: var(--ink-soft); }
.field .hint { font-size: .74rem; color: var(--muted); }
.req::after { content: " *"; color: var(--danger); }

input[type="text"], input[type="password"], input[type="number"], input[type="date"],
input[type="email"], input[type="search"], input[type="tel"], select, textarea {
  width: 100%; padding: .48rem .6rem; border: 1px solid var(--line-strong);
  border-radius: var(--radius); font-family: inherit; font-size: .88rem; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--navy-500); outline-offset: -1px; border-color: var(--navy-500);
}
textarea { min-height: 72px; resize: vertical; }
input[readonly] { background: var(--surface-alt); color: var(--ink-soft); }
.form-grid { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form-grid--3 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
legend {
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  color: var(--navy-700); padding: 0 0 .5rem;
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .85rem; }
table.data th {
  text-align: left; padding: .55rem .7rem; background: var(--surface-alt);
  border-bottom: 1px solid var(--line-strong); color: var(--ink-soft);
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
table.data th.sortable { cursor: pointer; user-select: none; }
table.data th.sortable:hover { color: var(--navy-700); }
table.data td { padding: .55rem .7rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tbody tr:hover { background: var(--surface-alt); }
table.data tr.is-alert td { background: var(--danger-bg); }
table.data tr.is-alert:hover td { background: #f6ded9; }
.num { text-align: right; font-family: var(--font-num); font-size: .82rem; white-space: nowrap; }
.strong { font-weight: 700; }
.nowrap { white-space: nowrap; }
.link-strong { font-weight: 700; color: var(--navy-700); text-decoration: none; }
.link-strong:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.small { font-size: .78rem; }
.row-actions { display: flex; gap: .3rem; justify-content: flex-end; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .25rem; padding: .12rem .45rem;
  border-radius: 4px; font-size: .71rem; font-weight: 700; letter-spacing: .03em;
  border: 1px solid; white-space: nowrap;
}
.badge--neutral { background: #EEF2F6; color: #3B4C5A; border-color: #D3DDE5; }
.badge--info { background: var(--info-bg); color: var(--info); border-color: #BBD5E8; }
.badge--success { background: var(--success-bg); color: var(--success); border-color: #B7DDC8; }
.badge--warning { background: var(--warning-bg); color: var(--warning); border-color: #EAD3A2; }
.badge--danger { background: var(--danger-bg); color: var(--danger); border-color: #EFC2BD; }
.badge--accent { background: var(--orange-050); color: var(--orange-600); border-color: #F3CDB2; }
.badge--dark { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.badge--dept { background: #EAF7F5; color: #0F6B62; border-color: #BFE3DD; }
.badge--unassigned { background: #F5F0FA; color: #6B3FA0; border-color: #DFCBF0; }

/* ---------- Notices ---------- */
.notice {
  border: 1px solid; border-left-width: 4px; border-radius: var(--radius);
  padding: .7rem .9rem; font-size: .86rem; display: grid; gap: .25rem;
}
.notice strong { font-size: .9rem; }
.notice--danger { background: var(--danger-bg); border-color: #E8B4AE; border-left-color: var(--danger); color: #6E1611; }
.notice--warning { background: var(--warning-bg); border-color: #E7CD9C; border-left-color: var(--warning); color: #6B4207; }
.notice--success { background: var(--success-bg); border-color: #AFD8C1; border-left-color: var(--success); color: #0D4A2D; }
.notice--info { background: var(--info-bg); border-color: #B4D0E4; border-left-color: var(--info); color: #103F5C; }

/* ---------- Payment gate panel ---------- */
.gate { display: grid; gap: .75rem; }
.gate__figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .6rem; }
.gate__fig { background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: .55rem .7rem; }
.gate__fig span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.gate__fig b { font-size: 1.05rem; color: var(--navy-800); font-family: var(--font-num); }
.gate__fig--danger { background: var(--danger-bg); border-color: #EFC2BD; }
.gate__fig--danger b { color: var(--danger); }
.gate__fig--success { background: var(--success-bg); border-color: #B7DDC8; }
.gate__fig--success b { color: var(--success); }

/* ---------- Filters ---------- */
.filters { display: flex; gap: .5rem; flex-wrap: wrap; align-items: flex-end; }
.filters .field { margin: 0; min-width: 140px; }
.filters .field--grow { flex: 1 1 220px; }

/* ---------- States ---------- */
.state { padding: 2.2rem 1rem; text-align: center; color: var(--muted); }
.state__title { font-weight: 700; color: var(--ink-soft); margin-bottom: .25rem; }
.spinner {
  width: 22px; height: 22px; border: 3px solid var(--line-strong); border-top-color: var(--navy-600);
  border-radius: 50%; animation: spin .7s linear infinite; margin: 0 auto .6rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, #eef2f5, #f7f9fb, #eef2f5); height: 14px; border-radius: 4px; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(7, 28, 48, .55); z-index: 60;
  display: grid; place-items: center; padding: 1rem;
}
.modal {
  background: var(--surface); border-radius: var(--radius-lg); width: min(640px, 100%);
  max-height: 90vh; display: flex; flex-direction: column; box-shadow: var(--shadow-md);
}
.modal--wide { width: min(880px, 100%); }
.modal__head {
  padding: .85rem 1rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .75rem;
}
.modal__head h2 { font-size: 1rem; }
.modal__close { margin-left: auto; background: none; border: 0; font-size: 1.3rem; cursor: pointer; color: var(--muted); line-height: 1; }
.modal__body { padding: 1rem; overflow-y: auto; }
.modal__foot { padding: .75rem 1rem; border-top: 1px solid var(--line); display: flex; gap: .5rem; justify-content: flex-end; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; right: 1rem; bottom: 1rem; z-index: 80; display: grid; gap: .5rem; max-width: 380px; }
.toast {
  background: var(--navy-800); color: #fff; padding: .65rem .85rem; border-radius: var(--radius);
  box-shadow: var(--shadow-md); font-size: .87rem; border-left: 4px solid var(--navy-500);
}
.toast--success { border-left-color: #2FA36A; }
.toast--error { border-left-color: #E4574C; }
.toast--warning { border-left-color: var(--orange-400); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab {
  padding: .5rem .8rem; border: 0; background: none; font-family: inherit; font-size: .85rem;
  font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap;
}
.tab.is-active { color: var(--navy-800); border-bottom-color: var(--orange-500); }

/* ---------- Definition list ---------- */
.dl { display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: .35rem .8rem; font-size: .86rem; }
.dl dt { color: var(--muted); font-size: .78rem; }
.dl dd { margin: 0; font-weight: 600; color: var(--ink); }

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: .1rem; }
.timeline__item { display: grid; grid-template-columns: 8px 1fr; gap: .7rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.timeline__item:last-child { border-bottom: 0; }
.timeline__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy-500); margin-top: .45rem; }
.timeline__dot--danger { background: var(--danger); }
.timeline__dot--success { background: var(--success); }
.timeline__dot--warning { background: var(--orange-500); }
.timeline__meta { font-size: .73rem; color: var(--muted); }
.timeline__text { font-size: .85rem; }

/* ---------- Pagination ---------- */
.pager { display: flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-top: 1px solid var(--line); }
.pager__info { font-size: .8rem; color: var(--muted); margin-right: auto; }

/* ---------- Login ---------- */
.login {
  min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr;
  background: var(--paper);
}
.login__brandside {
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 65%, #04121F 100%);
  color: #fff; padding: 3rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem;
  position: relative; overflow: hidden;
}
.login__brandside::after {
  content: ""; position: absolute; right: -90px; bottom: -90px; width: 320px; height: 320px;
  border: 28px solid rgba(232, 99, 27, .18); border-radius: 50%;
}
.login__logo { height: 56px; width: auto; max-width: 260px; margin-bottom: .5rem; }
.login__brandside h1 { color: #fff; font-size: 2rem; line-height: 1.15; max-width: 12ch; }
.login__brandside p { color: #B7C8D8; max-width: 42ch; }
.login__services { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.login__services span {
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 20px; padding: .2rem .7rem; font-size: .76rem; color: #D6E2ED;
}
.login__formside { display: grid; place-items: center; padding: 2rem; }
.login__form { width: min(380px, 100%); }
.login__form h2 { font-size: 1.3rem; margin-bottom: .2rem; }
.pw-wrap { position: relative; }
.pw-toggle {
  position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  background: none; border: 0; cursor: pointer; font-size: .75rem; font-weight: 700;
  color: var(--navy-600); padding: .3rem .45rem;
}

/* ---------- Order items editor ---------- */
.items-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.items-table th { text-align: left; padding: .4rem .5rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.items-table td { padding: .25rem .35rem; vertical-align: top; }
.items-table input { padding: .38rem .5rem; }
.items-total {
  display: flex; justify-content: flex-end; gap: 1.5rem; padding: .8rem 1rem; margin-top: .5rem;
  background: var(--navy-800); color: #fff; border-radius: var(--radius);
}
.items-total span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; align-self: center; }
.items-total b { font-size: 1.3rem; font-family: var(--font-num); }

.only-print { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .login { grid-template-columns: 1fr; }
  .login__brandside { padding: 2rem; }
  .login__brandside h1 { font-size: 1.6rem; }
  .dashboard__financial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dashboard__primary-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard__secondary-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); box-shadow: var(--shadow-md); }
  .sidebar.is-open { transform: translateX(0); }
  .main { margin-left: 0; }
  .menu-toggle { display: block; }
  .page { padding: .9rem; }
  .topbar__date, .topbar__sub { display: none; }
  .userchip__name { display: none; }
  .scrim { position: fixed; inset: 0; background: rgba(7, 28, 48, .5); z-index: 35; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .kpi__value { font-size: 1.3rem; }
  .dashboard-page { padding: 1rem .75rem; }
  .dashboard-page .page__head h1 { font-size: 1.35rem; }
  .dashboard__financial-grid,
  .dashboard__primary-kpis,
  .dashboard__secondary-kpis,
  .dashboard__attention-grid { grid-template-columns: 1fr; }
  .dashboard__status .card__head .right { max-width: 100%; text-align: left; margin-left: 0; }
  .page__actions { width: 100%; }
  .page__actions .btn { flex: 1 1 auto; }
  table.data th, table.data td { padding: .45rem .5rem; }
  .modal__foot { flex-wrap: wrap; }
  .modal__foot .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Report letterhead ---------- */
.report-letterhead {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem; border-bottom: 2px solid var(--navy-800);
}
.report-letterhead img { height: 44px; width: auto; max-width: 140px; flex: none; }
.report-letterhead__co { flex: 1; }
.report-letterhead__name { font-weight: 800; color: var(--navy-800); font-size: 1rem; }
.report-letterhead__meta { text-align: right; }
.report-letterhead__title { font-weight: 800; letter-spacing: .08em; color: var(--orange-600); font-size: .85rem; }
