/* =====================================================================
   CORPORATE CET - DESIGN SYSTEM (Dark theme)
   One source of truth for colours, layout shells and shared components.
   Pages keep their own scoped styles, but all of them read these tokens.

   Palette
     Background ........ #07161D      Surface cards ..... #0D252D
     Primary teal ...... #087C87      Bright teal ....... #16B8C2
     Gold .............. #D5B05A
     Primary text ...... #F5F7F7      Secondary text .... #9BAEB2
   ===================================================================== */

:root {
  color-scheme: dark;

  /* Brand */
  --brand: #087C87;          /* primary teal - buttons, active fills */
  --brand-dark: #0a95a1;     /* hover / pressed (a step brighter on dark) */
  --brand-deep: #065a62;     /* deep teal for gradients */
  --brand-ink: #16B8C2;      /* headings in teal */
  --brand-text: #16B8C2;     /* teal text / links / icons on dark surfaces */
  --brand-bright: #16B8C2;   /* bright teal accents */
  --brand-tint: #0f3a42;     /* active nav, soft teal fills */
  --brand-tint-2: #0b2d35;   /* hover fills */
  --brand-ring: #16B8C2;     /* score ring highlight */

  --gold: #D5B05A;           /* "Start Level" / "Continue" buttons, trophy */
  --gold-dark: #bf9a45;
  --gold-soft: #E6CD8E;
  --gold-tint: rgba(213, 176, 90, .13);

  /* Neutrals */
  --paper: #07161D;          /* page background */
  --surface: #0D252D;        /* cards */
  --surface-2: #11303A;      /* raised / inset fills inside cards */
  --surface-3: #163A45;      /* hover on raised fills */
  --ink: #F5F7F7;            /* primary text */
  --ink-2: #D3DEE0;          /* body copy on cards */
  --ink-soft: #9BAEB2;       /* secondary text */
  --ink-mute: #6E878C;       /* captions, locked */
  --field: #0A1E25;          /* form fields (a step darker than cards) */
  --line: #1C3D46;
  --line-strong: #29505A;
  --on-gold: #07161D;        /* text on gold buttons */

  /* Status */
  --good: #34C27E;
  --good-dark: #5FD69C;      /* good text on dark */
  --good-tint: rgba(52, 194, 126, .14);
  --answered: #24966A;       /* answered question in palette */
  --bad: #F0706A;
  --bad-dark: #F59C97;
  --bad-tint: rgba(240, 112, 106, .14);
  --amber: #E8AE55;
  --amber-tint: rgba(232, 174, 85, .14);

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -18px rgba(0, 0, 0, .7);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-script: 'Caveat', 'Segoe Script', cursive;
  --font-sign: 'Great Vibes', 'Segoe Script', cursive;

  /* Bootstrap 5.3 variables so its components follow the theme */
  --bs-primary: #087C87;
  --bs-primary-rgb: 8, 124, 135;
  --bs-link-color: #16B8C2;
  --bs-link-color-rgb: 22, 184, 194;
  --bs-link-hover-color: #5fd3da;
  --bs-link-hover-color-rgb: 95, 211, 218;
  --bs-body-font-family: var(--font);
  --bs-body-color: #F5F7F7;
  --bs-body-color-rgb: 245, 247, 247;
  --bs-body-bg: #07161D;
  --bs-body-bg-rgb: 7, 22, 29;
  --bs-secondary-color: #9BAEB2;
  --bs-tertiary-bg: #0D252D;
  --bs-secondary-bg: #11303A;
  --bs-emphasis-color: #ffffff;
  --bs-heading-color: #F5F7F7;
  --bs-border-color: #1C3D46;
  --bs-success: #34C27E;
  --bs-success-rgb: 52, 194, 126;
  --bs-danger: #F0706A;
  --bs-danger-rgb: 240, 112, 106;
  --bs-warning-rgb: 213, 176, 90;
  --bs-focus-ring-color: rgba(22, 184, 194, .3);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-text); }
a:hover { color: #5fd3da; }
:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 2px; }
::selection { background: rgba(22, 184, 194, .35); color: #fff; }
html { background: var(--paper); scrollbar-color: var(--line-strong) var(--paper); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 10px; border: 2px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: #3a6672; }
h1, h2, h3, h4, h5, h6 { color: inherit; }
/* Hide Edge / IE's own password "eye" so it never covers our Show / Hide button */
input[type="password"]::-ms-reveal, input[type="password"]::-ms-clear { display: none; }
/* Dark native form controls + readable dropdown lists */
input, select, textarea { color-scheme: dark; }
select option { background: var(--surface); color: var(--ink); }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, select:-webkit-autofill, textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--surface-2) inset;
  caret-color: var(--ink);
  transition: background-color 9999s ease-out 0s;
}
::placeholder { color: var(--ink-mute); opacity: 1; }
img { max-width: 100%; }

/* ---------------------------------------------------------------------
   LOGO
   The logo is 800 x 305 (about 2.6 : 1). Its size is set by HEIGHT per
   area and it can never be wider than the space it sits in, so it is not
   cut off on narrow screens.
   --------------------------------------------------------------------- */
.cet-logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; max-width: 100%; min-width: 0; flex-shrink: 1; }
.cet-logo svg, .cet-logo img, .cet-logo-img { display: block; height: 56px; width: auto; max-width: 100%; object-fit: contain; }
.cet-logo:hover { opacity: .92; }
.sidebar .cet-logo img { height: auto; width: 100%; max-width: 196px; }   /* fits the 236px sidebar */
.guest-bar .cet-logo img { height: 60px; }
@media (max-width: 575.98px) {
  .guest-bar .cet-logo img { height: 40px; }
}
@media (max-width: 359.98px) {
  .guest-bar .cet-logo img { height: 34px; }
}

/* ---------------------------------------------------------------------
   APP SHELL - sidebar + main (candidate & admin)
   --------------------------------------------------------------------- */
.app { display: flex; min-height: 100vh; }

.sidebar {
  position: sticky;
  top: 0;
  flex: none;
  width: 236px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px 14px 18px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  z-index: 1030;
}
.sidebar .brand { padding: 2px 10px 26px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav a,
.side-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: .9rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.side-nav a:hover { background: var(--brand-tint-2); color: var(--brand-text); }
.side-nav a.active { background: var(--brand-tint); color: var(--brand-text); font-weight: 600; }
.side-nav svg { flex: none; width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side-nav .nav-label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); padding: 14px 12px 4px; }
.side-bottom { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }

.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-content { flex: 1; width: 100%; max-width: 1240px; padding: 22px 30px 34px; }

/* Mobile top bar (sidebar becomes a drawer) */
.mobile-bar { display: none; }
.sidebar-backdrop { display: none; }

@media (max-width: 991.98px) {
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    transform: translateX(-100%);
    transition: transform .22s ease;
    box-shadow: 0 0 40px rgba(0,0,0,.6);
  }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(2, 10, 14, .65); z-index: 1020; }
  .mobile-bar {
    position: sticky;
    top: 0;
    z-index: 1010;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 60px;
    padding: 0 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }
  .mobile-bar .cet-logo svg, .mobile-bar .cet-logo img { height: 40px; }
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    color: var(--brand-text);
  }
  .nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
  .app-content { padding: 18px 16px 28px; }
}

/* Simple footer inside the shell */
.app-foot { padding: 14px 30px 18px; color: var(--ink-mute); font-size: .78rem; }
@media (max-width: 991.98px) { .app-foot { padding: 12px 16px 16px; } }

/* ---------------------------------------------------------------------
   GUEST SHELL (home, login, register)
   --------------------------------------------------------------------- */
.guest-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 22, 29, .88);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.guest-bar .inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 70px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.guest-bar nav { display: flex; align-items: center; gap: .5rem; }
.guest-main { flex: 1; width: 100%; }
.guest-foot { margin-top: auto; background: var(--surface); border-top: 1px solid var(--line); }
.guest-foot .inner { max-width: 1200px; margin: 0 auto; padding: 1.1rem 24px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--ink-soft); font-size: .82rem; }
body.guest { min-height: 100vh; display: flex; flex-direction: column; }
@media (max-width: 575.98px) {
  .guest-bar .inner { height: 62px; padding: 0 14px; }
}

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  height: 44px;
  padding: 0 1.3rem;
  border: 1.5px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .05s;
}
.ui-btn:active { transform: translateY(1px); }
.ui-btn:disabled, .ui-btn.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.ui-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ui-btn.sm { height: 36px; padding: 0 .95rem; font-size: .82rem; }
.ui-btn.lg { height: 50px; padding: 0 1.7rem; font-size: .95rem; }
.ui-btn.block { display: flex; width: 100%; }

.ui-btn.brand { background: var(--brand); color: #ffffff; }
.ui-btn.brand:hover { background: var(--brand-dark); color: #ffffff; }
.ui-btn.gold { background: var(--gold); color: var(--on-gold); }
.ui-btn.gold:hover { background: #e2c071; color: var(--on-gold); }
.ui-btn.gold-soft { background: var(--gold-soft); color: var(--on-gold); }
.ui-btn.gold-soft:hover { background: var(--gold); }
.ui-btn.outline { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.ui-btn.outline:hover { border-color: var(--brand); color: var(--brand-text); background: var(--brand-tint-2); }
.ui-btn.outline-brand { background: var(--surface); border-color: var(--brand); color: var(--brand-text); }
.ui-btn.outline-brand:hover { background: var(--brand); color: #ffffff; }
.ui-btn.soft { background: var(--brand-tint); color: var(--brand-text); }
.ui-btn.soft:hover { background: var(--surface-3); color: var(--brand-text); }
.ui-btn.danger { background: var(--surface); border-color: rgba(240,112,106,.45); color: var(--bad); }
.ui-btn.danger:hover { background: var(--bad); border-color: var(--bad); color: #ffffff; }
.ui-btn.ghost { background: transparent; color: var(--ink-soft); }
.ui-btn.ghost:hover { background: var(--brand-tint-2); color: var(--brand-text); }

/* ---------------------------------------------------------------------
   CARDS, HEADINGS, TEXT
   --------------------------------------------------------------------- */
.ui-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.ui-card.pad { padding: 1.4rem 1.5rem; }
.ui-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.ui-card-head h2, .ui-card-head h3 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--brand-ink); }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.page-head h1 { margin: 0; font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; color: var(--brand-ink); }
.page-head p { margin: .2rem 0 0; color: var(--ink-soft); font-size: .88rem; }
.eyebrow { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.section-title { margin: 0; font-size: .95rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--brand-ink); }
.section-sub { margin: .15rem 0 0; color: var(--ink-soft); font-size: .82rem; }
.text-soft { color: var(--ink-soft) !important; }
.text-brand { color: var(--brand-text) !important; }
.back-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--ink-soft); font-size: .85rem; font-weight: 600; text-decoration: none; margin-bottom: .9rem; }
.back-link:hover { color: var(--brand-text); }
.back-link svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Pills / badges */
.ui-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: 99px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.ui-pill.good { background: var(--good-tint); color: var(--good-dark); }
.ui-pill.bad { background: var(--bad-tint); color: var(--bad-dark); }
.ui-pill.warn { background: var(--amber-tint); color: var(--amber); }
.ui-pill.brand { background: var(--brand-tint); color: var(--brand-text); }
.ui-pill.muted { background: var(--surface-2); color: var(--ink-soft); }
.ui-pill.gold { background: var(--gold-tint); color: var(--gold-dark); }

/* Notices */
.ui-note { position: relative; display: block; padding: .8rem 1rem .8rem 2.1rem; border-radius: 10px; font-size: .88rem; font-weight: 500; line-height: 1.45; margin-bottom: 1rem; border: 1px solid transparent; }
.ui-note::before { content: ""; position: absolute; left: 1rem; top: 1.18rem; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ui-note.info { background: var(--brand-tint); color: var(--brand-text); border-color: var(--line-strong); }
.ui-note.success { background: var(--good-tint); color: var(--good-dark); border-color: rgba(52,194,126,.35); }
.ui-note.warn { background: var(--amber-tint); color: var(--amber); border-color: rgba(232,174,85,.35); }
.ui-note.danger { background: var(--bad-tint); color: var(--bad-dark); border-color: rgba(240,112,106,.35); }
.ui-note a { color: inherit; font-weight: 700; }

/* Icon tile (exam overview / benefits) */
.icon-tile { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-text); flex: none; }
.icon-tile svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-tile.gold { background: var(--gold-tint); color: var(--gold-dark); }

/* ---------------------------------------------------------------------
   JOURNEY STEPPER (1 -- 2 -- 3)
   --------------------------------------------------------------------- */
.stepper { display: flex; align-items: flex-start; justify-content: center; max-width: 620px; margin: 0 auto; }
.stepper .step { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.stepper .step::before {
  content: "";
  position: absolute;
  top: 19px;
  right: 50%;
  width: 100%;
  height: 4px;
  background: var(--line);
  z-index: 0;
}
.stepper .step:first-child::before { display: none; }
.stepper .step.done::before, .stepper .step.current::before { background: var(--brand); }
.stepper .dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--line-strong);
  color: var(--ink-mute);
  font-weight: 700;
  font-size: .95rem;
}
.stepper .dot svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.stepper .step.done .dot { background: var(--brand); border-color: var(--brand); color: #ffffff; }
.stepper .step.current .dot { background: var(--brand); border-color: var(--brand); color: #ffffff; box-shadow: 0 0 0 5px var(--brand-tint); }
.stepper .s-title { margin-top: .55rem; font-size: .85rem; font-weight: 600; color: var(--ink); }
.stepper .s-sub { font-size: .75rem; color: var(--ink-mute); font-weight: 500; }
.stepper .step.done .s-sub { color: var(--brand-text); }
.stepper .step.current .s-sub { color: var(--gold-dark); }

/* ---------------------------------------------------------------------
   TABLES
   --------------------------------------------------------------------- */
.ui-table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.ui-table th { padding: .75rem 1rem; background: var(--brand-tint-2); color: var(--ink-soft); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.ui-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ui-table tr:last-child td { border-bottom: 0; }
.ui-table tbody tr:hover td { background: var(--surface-2); }

/* ---------------------------------------------------------------------
   FORMS (custom and Bootstrap)
   --------------------------------------------------------------------- */
.ui-label { display: block; margin-bottom: .4rem; font-size: .84rem; font-weight: 600; color: var(--ink); }
.ui-input, .ui-select, .ui-textarea {
  width: 100%;
  height: 46px;
  padding: 0 .95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  background: var(--field);
  color: var(--ink);
  font: inherit;
  font-size: .92rem;
  transition: border-color .15s, box-shadow .15s;
}
.ui-textarea { height: auto; min-height: 110px; padding: .75rem .95rem; }
.ui-input:focus, .ui-select:focus, .ui-textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(22,184,194,.2); }

/* ---------------------------------------------------------------------
   BOOTSTRAP ALIGNMENT (any page still using Bootstrap classes)
   --------------------------------------------------------------------- */
.btn { border-radius: 8px; font-weight: 600; }
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-deep); --bs-btn-hover-border-color: var(--brand-deep); --bs-btn-active-bg: var(--brand-deep); --bs-btn-active-border-color: var(--brand-deep); --bs-btn-disabled-bg: var(--brand); --bs-btn-disabled-border-color: var(--brand); }
.btn-outline-primary { --bs-btn-color: var(--brand-text); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); --bs-btn-active-bg: var(--brand-deep); }
.btn-success { --bs-btn-bg: var(--good); --bs-btn-border-color: var(--good); --bs-btn-hover-bg: var(--good); --bs-btn-hover-border-color: var(--good); }
.btn-warning { --bs-btn-bg: var(--gold); --bs-btn-border-color: var(--gold); --bs-btn-hover-bg: var(--gold-dark); --bs-btn-hover-border-color: var(--gold-dark); --bs-btn-color: var(--on-gold); --bs-btn-hover-color: var(--on-gold); }
.form-control, .form-select { background-color: var(--field); color: var(--ink); border-color: var(--line-strong); border-radius: 8px; }
.form-control::placeholder { color: var(--ink-mute); }
.form-control:disabled, .form-select:disabled { background-color: var(--field); color: var(--ink-mute); }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(22,184,194,.2); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.card { --bs-card-bg: var(--surface); --bs-card-border-color: var(--line); --bs-card-cap-bg: var(--surface-2); color: var(--ink); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.table { --bs-table-bg: transparent; --bs-table-color: var(--ink); --bs-table-border-color: var(--line); --bs-table-striped-bg: rgba(255,255,255,.025); --bs-table-hover-bg: var(--surface-2); --bs-table-hover-color: var(--ink); }
.modal-content, .dropdown-menu { background: var(--surface); color: var(--ink); border-color: var(--line); }
.text-muted { color: var(--ink-soft) !important; }
.alert { border-radius: 10px; }
.alert-danger { --bs-alert-bg: var(--bad-tint); --bs-alert-color: var(--bad-dark); --bs-alert-border-color: rgba(240,112,106,.35); }
.alert-success { --bs-alert-bg: var(--good-tint); --bs-alert-color: var(--good-dark); --bs-alert-border-color: rgba(52,194,126,.35); }
.alert-info { --bs-alert-bg: var(--brand-tint); --bs-alert-color: var(--brand-text); --bs-alert-border-color: var(--line-strong); }
.alert-warning { --bs-alert-bg: var(--amber-tint); --bs-alert-color: var(--amber); --bs-alert-border-color: rgba(232,174,85,.35); }
.text-primary { color: var(--brand-text) !important; }
.bg-primary { background-color: var(--brand) !important; }
.page-link { color: var(--brand-text); }
.active > .page-link, .page-link.active { background-color: var(--brand); border-color: var(--brand); }

/* ---------------------------------------------------------------------
   UTILITIES
   --------------------------------------------------------------------- */
.tabular { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media print {
  :root { color-scheme: light; }
  .sidebar, .mobile-bar, .app-foot, .no-print { display: none !important; }
  .app-content { padding: 0; max-width: none; }
  body { background: var(--surface); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
