/*
 * ╔══════════════════════════════════════════════════════════════════╗
 * ║          NOVA+ Design System — v1.0                             ║
 * ║          Anthropic Academy Palette · Poppins + Lora             ║
 * ║          Based on Elite Interface Design Principles             ║
 * ╚══════════════════════════════════════════════════════════════════╝
 *
 * PRINCIPLES BAKED IN:
 *  1. Signal color only  — orange/teal/pink earn their meaning through restraint
 *  2. Whitespace as signal — generous padding; breathing room is doing work
 *  3. Typography hierarchy — Poppins headings, Lora body, 2 weights max visible
 *  4. 100ms feedback — transitions on every interactive element
 *  5. Progressive disclosure — show only what's needed per role level
 *  6. Microinteractions — hover lift, button spring, focus rings
 *  7. Infinite forgiveness — destructive actions always confirmable
 */

/* ─────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────── */
:root {
  /* ── Palette (Anthropic Academy) ── */
  --bg:           #faf9f5;   /* warm off-white page background */
  --surface:      #ffffff;   /* card / panel surface */
  --surface-2:    #f5f4f0;   /* slightly darker surface for nested panels */
  --border:       #e8e6dc;   /* default border */
  --mid:          #b0aea5;   /* muted / placeholder / meta text */
  --text:         #141413;   /* primary text */
  --text-soft:    #44545b;   /* secondary text, subtitles */

  /* ── Signal colors ── */
  --orange:       #d97757;   /* primary CTA / brand accent */
  --orange-dark:  #b85e3a;   /* hover state for orange */
  --orange-light: #fdf2ed;   /* orange tint bg */
  --blue:         #6a9bcc;   /* secondary accent */
  --blue-light:   #eaf2fa;   /* blue tint bg */
  --green:        #788c5d;   /* success / on-state / approved */
  --green-light:  #edf2e6;   /* green tint bg */

  /* ── NOVA functional colors ── */
  --teal:         #0891b2;   /* NOVA engagement / primary brand action */
  --teal-dark:    #0670a2;   /* teal hover / body-weight text use */
  --teal-light:   #e8f6fb;   /* NOVA alert card background */
  --pink:         #c45c7a;   /* IEP/504 flag (WCAG AA on white) */
  --pink-light:   #fceef3;   /* IEP/504 card background */
  --amber:        #d97706;   /* caution / warning */
  --amber-light:  #fef3c7;   /* warning bg */
  --red:          #dc2626;   /* error / critical */
  --red-light:    #fee2e2;   /* error bg */

  /* ── Sidebar (intentionally dark — unchanged) ── */
  --sidebar-bg:   #141413;
  --sidebar-text: #e8e6dc;
  --sidebar-mid:  #b0aea5;
  --sidebar-hover: rgba(255,255,255,.07);
  --sidebar-active: rgba(217,119,87,.15);

  /* ── Spacing ── */
  --space-xs:  .25rem;
  --space-sm:  .5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;

  /* ── Shape ── */
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  18px;
  --radius-pill: 999px;

  /* ── Elevation ── */
  --shadow-sm:  0 1px 4px rgba(20,20,19,.06);
  --shadow:     0 2px 16px rgba(20,20,19,.08);
  --shadow-md:  0 4px 24px rgba(20,20,19,.12);
  --shadow-lg:  0 8px 40px rgba(20,20,19,.16);

  /* ── Motion (100ms principle) ── */
  --ease:       cubic-bezier(.4,0,.2,1);
  --duration:   150ms;
  --duration-md: 250ms;
}

/* ─────────────────────────────────────────────
   RESET + BASE
───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─────────────────────────────────────────────
   TYPOGRAPHY — hierarchy-first
───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6,
.heading,
button,
label,
.label,
.tag,
.badge,
nav,
.nav,
input,
select,
textarea {
  font-family: 'Poppins', Arial, sans-serif;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
h2 { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem;    font-weight: 600; line-height: 1.35; }
h5 { font-size: .875rem; font-weight: 600; line-height: 1.4; }
h6 { font-size: .8rem;   font-weight: 600; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; color: var(--mid); }

p { line-height: 1.65; }
p + p { margin-top: .75em; }

strong { font-weight: 600; }
small  { font-size: .8rem; color: var(--text-soft); }

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
a:hover { color: var(--teal-dark); text-decoration: underline; }

/* ─────────────────────────────────────────────
   LAYOUT UTILITIES
───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow { max-width: 680px; }  /* optimal reading width */
.container--wide   { max-width: 1400px; }

.flex   { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* ─────────────────────────────────────────────
   CARDS
───────────────────────────────────────────── */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-xl);
}

.card--sm  { padding: var(--space-lg); }
.card--lg  { padding: var(--space-2xl); }
.card--flat { box-shadow: none; border: 1.5px solid var(--border); }

/* Signal variants */
.card--teal  { border-left: 4px solid var(--teal);  background: var(--teal-light); }
.card--pink  { border-left: 4px solid var(--pink);  background: var(--pink-light); }
.card--orange { border-top: 4px solid var(--orange); }
.card--amber { border-left: 4px solid var(--amber); background: var(--amber-light); }
.card--green { border-left: 4px solid var(--green); background: var(--green-light); }

/* Hover lift — 100ms principle */
.card--interactive {
  cursor: pointer;
  transition: box-shadow var(--duration-md) var(--ease),
              transform var(--duration-md) var(--ease);
}
.card--interactive:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: .65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: background var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn:active { transform: scale(.97); }

/* Primary */
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); color: #fff; text-decoration: none; }
.btn--primary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* Secondary */
.btn--secondary {
  background: transparent;
  color: var(--text-soft);
  border: 1.5px solid var(--border);
}
.btn--secondary:hover { border-color: var(--mid); color: var(--text); }

/* Teal (NOVA action) */
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-dark); color: #fff; text-decoration: none; }

/* Ghost */
.btn--ghost { background: transparent; color: var(--orange); }
.btn--ghost:hover { background: var(--orange-light); }

/* Sizes */
.btn--sm { padding: .4rem .85rem; font-size: .78rem; }
.btn--lg { padding: .85rem 1.75rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ─────────────────────────────────────────────
   FORM ELEMENTS
───────────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: .65rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Lora', serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color var(--duration) var(--ease);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(217,119,87,.15);
}

label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-soft);
  display: block;
  margin-bottom: .4rem;
}

/* ─────────────────────────────────────────────
   BADGES & TAGS
───────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: var(--radius-sm);
}

.tag--default { background: var(--border);       color: var(--text-soft); }
.tag--orange  { background: var(--orange-light);  color: #8a3714; }
.tag--teal    { background: var(--teal-light);    color: var(--teal-dark); }
.tag--pink    { background: var(--pink-light);    color: #7a1a3c; }
.tag--green   { background: var(--green-light);   color: #3a4a25; }
.tag--amber   { background: var(--amber-light);   color: #78450a; }
.tag--red     { background: var(--red-light);     color: #8b1616; }

/* ─────────────────────────────────────────────
   NAVIGATION / SIDEBAR
───────────────────────────────────────────── */
.sidebar {
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
  width: 240px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: var(--space-lg) var(--space-md);
  gap: .2rem;
  min-height: 100vh;
}

.sidebar__logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #faf9f5;
  margin-bottom: var(--space-lg);
  letter-spacing: -.01em;
}
.sidebar__logo span { color: var(--orange); }

.sidebar__section {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sidebar-mid);
  padding: .85rem 0 .35rem .5rem;
}

.sidebar__item {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .7rem;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: .83rem;
  font-weight: 500;
  color: var(--sidebar-mid);
  cursor: pointer;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease);
  text-decoration: none;
}
.sidebar__item:hover { background: var(--sidebar-hover); color: #faf9f5; text-decoration: none; }
.sidebar__item--active { background: var(--sidebar-active); color: var(--orange); }

.sidebar__badge {
  margin-left: auto;
  background: var(--orange);
  color: white;
  font-size: .62rem;
  font-weight: 700;
  padding: .1rem .4rem;
  border-radius: var(--radius-pill);
  min-width: 1.2rem;
  text-align: center;
}

/* ─────────────────────────────────────────────
   TOP HEADER BAR
───────────────────────────────────────────── */
.topbar {
  height: 56px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-xl);
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar__logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.015em;
}
.topbar__logo span { color: var(--orange); }

/* ─────────────────────────────────────────────
   PAGE SHELL (sidebar + main layout)
───────────────────────────────────────────── */
.shell {
  display: flex;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  padding: var(--space-xl) var(--space-2xl);
  overflow-y: auto;
  min-width: 0;
}

/* ─────────────────────────────────────────────
   STAT / METRIC CARDS
───────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-md);
}

.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
  border: 1px solid var(--border);
}

.stat-card__value {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: .25rem;
}

.stat-card__label {
  font-family: 'Poppins', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ─────────────────────────────────────────────
   PROGRESS / MASTERY BARS
───────────────────────────────────────────── */
.progress-track {
  height: 6px;
  background: var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--teal);
  border-radius: var(--radius-pill);
  transition: width var(--duration-md) var(--ease);
}

.progress-fill--orange { background: var(--orange); }
.progress-fill--green  { background: var(--green); }
.progress-fill--amber  { background: var(--amber); }
.progress-fill--red    { background: var(--red); }

/* ─────────────────────────────────────────────
   IOS-STYLE TOGGLE
───────────────────────────────────────────── */
.toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle__track {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--border);
  border-radius: 26px;
  transition: background var(--duration) var(--ease);
}
.toggle__thumb {
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform var(--duration) var(--ease);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.toggle input:checked + .toggle__track { background: var(--green); }
.toggle input:checked + .toggle__track .toggle__thumb { transform: translateX(18px); }
.toggle input:focus-visible + .toggle__track { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ─────────────────────────────────────────────
   NOTIFICATION / ALERT CARDS (3-taxonomy system)
───────────────────────────────────────────── */
.alert-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.1rem 1.1rem 1.1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  border-left: 4px solid transparent;
  transition: box-shadow var(--duration-md) var(--ease),
              transform var(--duration-md) var(--ease);
}
.alert-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

.alert-card--powerschool  { background: var(--surface-2);  border-left-color: var(--mid); }
.alert-card--nova         { background: var(--teal-light);  border-left-color: var(--teal); }
.alert-card--iep          { background: var(--pink-light);  border-left-color: var(--pink); }
.alert-card.resolved      { opacity: .45; }

/* ─────────────────────────────────────────────
   HERO / LANDING SECTIONS
───────────────────────────────────────────── */
.hero {
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
  padding: var(--space-2xl) 0;
}

.hero__eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: #faf9f5;
  margin-bottom: var(--space-lg);
}

.hero__title em {
  font-style: normal;
  color: var(--orange);
}

.hero__sub {
  font-size: 1.1rem;
  color: #b0aea5;
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: var(--space-xl);
}

/* ─────────────────────────────────────────────
   SECTION DIVIDER
───────────────────────────────────────────── */
.section-label {
  font-family: 'Poppins', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-lg) 0 var(--space-md);
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─────────────────────────────────────────────
   TABLES
───────────────────────────────────────────── */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}

thead tr {
  border-bottom: 2px solid var(--border);
}

th {
  font-family: 'Poppins', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mid);
  padding: .6rem .75rem;
  text-align: left;
}

td {
  padding: .75rem .75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--surface-2); }

/* ─────────────────────────────────────────────
   AVATAR
───────────────────────────────────────────── */
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avatar--lg { width: 52px; height: 52px; font-size: 1.1rem; }
.avatar--sm { width: 26px; height: 26px; font-size: .7rem; }

/* ─────────────────────────────────────────────
   MASTERY / STATUS DOTS
───────────────────────────────────────────── */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.status-dot--green  { background: var(--green); }
.status-dot--amber  { background: var(--amber); }
.status-dot--red    { background: var(--red); }
.status-dot--teal   { background: var(--teal); }
.status-dot--mid    { background: var(--mid); }

/* ─────────────────────────────────────────────
   MODAL OVERLAY
───────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,20,19,.4);
  z-index: 200;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 440px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  animation: modal-in .2s var(--ease);
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}

/* ─────────────────────────────────────────────
   TOOLTIP
───────────────────────────────────────────── */
[data-tooltip] { position: relative; cursor: default; }
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: #faf9f5;
  font-family: 'Poppins', sans-serif;
  font-size: .72rem;
  font-weight: 500;
  padding: .3rem .65rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease);
  z-index: 100;
}
[data-tooltip]:hover::after { opacity: 1; }

/* ─────────────────────────────────────────────
   CHIP / FILTER ROW
───────────────────────────────────────────── */
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }

.chip {
  padding: .35rem .9rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-soft);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip--active {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}

/* ─────────────────────────────────────────────
   YPA INDICATOR (You–Peer–AI flow)
───────────────────────────────────────────── */
.ypa-track {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Poppins', sans-serif;
  font-size: .75rem;
  font-weight: 600;
}
.ypa-step {
  padding: .25rem .65rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  color: var(--mid);
  transition: all var(--duration) var(--ease);
}
.ypa-step--active  { border-color: var(--teal);   color: var(--teal);   background: var(--teal-light); }
.ypa-step--done    { border-color: var(--green);  color: var(--green);  background: var(--green-light); }
.ypa-step--locked  { opacity: .4; }
.ypa-arrow { color: var(--mid); font-size: .7rem; }

/* ─────────────────────────────────────────────
   CATCH-UP BRIEFING CARD
───────────────────────────────────────────── */
.briefing-card {
  background: linear-gradient(135deg, #141413 0%, #1e2c33 100%);
  border-radius: var(--radius);
  padding: var(--space-xl);
  color: #faf9f5;
  position: relative;
  overflow: hidden;
}
.briefing-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(8,145,178,.25) 0%, transparent 70%);
  pointer-events: none;
}
.briefing-card__eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .5rem;
}
.briefing-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #faf9f5;
  margin-bottom: .5rem;
}
.briefing-card__body {
  font-size: .9rem;
  color: #b0aea5;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   RESPONSIVE BREAKPOINTS
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .shell { flex-direction: column; }
  .sidebar { width: 100%; min-height: auto; flex-direction: row; flex-wrap: wrap; padding: var(--space-md); }
  .sidebar__section { display: none; }
  .main-content { padding: var(--space-lg) var(--space-md); }
}

@media (max-width: 600px) {
  .sidebar { display: none; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 1.6rem; }
}

/* ─────────────────────────────────────────────
   PRINT
───────────────────────────────────────────── */
@media print {
  .sidebar, .topbar, .btn { display: none !important; }
  body { background: white; color: black; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}

/* ─────────────────────────────────────────────
   WCAG FOCUS RING (universal)
───────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ─────────────────────────────────────────────
   UTILITY — ANIMATION ENTRIES
───────────────────────────────────────────── */
@keyframes fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulsedot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}
@keyframes shimmer {
  from { background-position: -200px 0; }
  to   { background-position: calc(200px + 100%) 0; }
}

.animate-fadein { animation: fadein .3s var(--ease) both; }

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--surface-2) 50%, var(--border) 75%);
  background-size: 200px 100%;
  animation: shimmer 1.2s infinite;
  border-radius: var(--radius-sm);
}
