/* Control Hub — Klick-Dummy. Design-Tokens nach Education Group Brand Style Guide 2025:
   EDU Dark #3b2b69, EDU Red #ff4a38, EDU Green #00a100, EDU Light #00d4d1, EDU Blue #707dfc,
   EDU Yellow #ffcc00. Schrift: Lexend (Markenschrift). YouTube-Studio-Orientierung: linke
   Seitennavigation, Top-Bar, inhaltszentrierte Arbeitsbereiche (siehe ADR-005 des Hauptprojekts). */

@font-face {
  font-family: 'Lexend';
  src: url('../fonts/Lexend-Variable.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --edu-dark: #3b2b69;
  --edu-red: #ff4a38;
  --edu-green: #00a100;
  --edu-light: #00d4d1;
  --edu-blue: #707dfc;
  --edu-yellow: #ffcc00;

  --accent: var(--edu-blue);
  --accent-hover: #5b69e8;
  --accent-tint: rgba(112, 125, 252, 0.14);

  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #eff1f7;
  --surface-3: #e4e7f2;
  --border: rgba(30, 23, 51, 0.12);
  --border-2: rgba(30, 23, 51, 0.2);
  --text: #1e1733;
  --text-2: #5a5279;
  --text-3: #8a83a6;
  --on-accent: #ffffff;

  --status-red: #d93025;
  --status-red-tint: rgba(217, 48, 37, 0.12);
  --status-yellow: #b26a00;
  --status-yellow-tint: rgba(178, 106, 0, 0.14);
  --status-green: #1e7b34;
  --status-green-tint: rgba(30, 123, 52, 0.14);
  --status-neutral: #5a5279;
  --status-neutral-tint: rgba(90, 82, 121, 0.12);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(30, 23, 51, 0.06), 0 1px 3px rgba(30, 23, 51, 0.08);
  --shadow-2: 0 8px 28px rgba(30, 23, 51, 0.18);
  --ring: 0 0 0 3px rgba(112, 125, 252, 0.45);

  --font: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --topbar-h: 64px;
  --nav-w: 240px;
  --nav-w-collapsed: 72px;
}

:root[data-theme='dark'] {
  --accent: #8b94fd;
  --accent-hover: #a3aafd;
  --accent-tint: rgba(139, 148, 253, 0.18);

  --bg: #14102A;
  --surface: #1c1640;
  --surface-2: #241d4e;
  --surface-3: #2c2458;
  --border: rgba(255, 255, 255, 0.1);
  --border-2: rgba(255, 255, 255, 0.18);
  --text: #f4f2fb;
  --text-2: #bdb7d4;
  --text-3: #8b85a8;
  --on-accent: #14102a;

  --status-red: #ff8a7a;
  --status-red-tint: rgba(255, 138, 122, 0.16);
  --status-yellow: #ffcc66;
  --status-yellow-tint: rgba(255, 204, 102, 0.16);
  --status-green: #6ee89a;
  --status-green-tint: rgba(110, 232, 154, 0.16);
  --status-neutral: #bdb7d4;
  --status-neutral-tint: rgba(189, 183, 212, 0.14);

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.32);
  --shadow-2: 0 8px 28px rgba(0, 0, 0, 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --accent: #8b94fd;
    --accent-hover: #a3aafd;
    --accent-tint: rgba(139, 148, 253, 0.18);
    --bg: #14102A;
    --surface: #1c1640;
    --surface-2: #241d4e;
    --surface-3: #2c2458;
    --border: rgba(255, 255, 255, 0.1);
    --border-2: rgba(255, 255, 255, 0.18);
    --text: #f4f2fb;
    --text-2: #bdb7d4;
    --text-3: #8b85a8;
    --on-accent: #14102a;
    --status-red: #ff8a7a;
    --status-red-tint: rgba(255, 138, 122, 0.16);
    --status-yellow: #ffcc66;
    --status-yellow-tint: rgba(255, 204, 102, 0.16);
    --status-green: #6ee89a;
    --status-green-tint: rgba(110, 232, 154, 0.16);
  }
}

* , *::before, *::after { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0; min-height: 100%;
  background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 0.9375rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) {
  * , *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; margin: 0; color: var(--text); }
p { margin: 0; }
a { color: inherit; }
button { font-family: var(--font); }

/* ---------- Skip-Link & Landmarken ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--radius-sm); }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; height: var(--topbar-h); z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--border);
}
.topbar__section { display: flex; align-items: center; gap: 12px; min-width: 0; }
.topbar__section--left, .topbar__section--right { flex: 1; }
.topbar__section--right { justify-content: flex-end; }
.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px; border: none;
  border-radius: var(--radius-sm); background: transparent; color: var(--text-2); cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); }
.topbar__logo { display: flex; align-items: center; gap: 8px; font-size: 1.125rem; font-weight: 800; letter-spacing: -0.01em; color: var(--text); text-decoration: none; white-space: nowrap; }
.topbar__logo-img { height: 34px; width: auto; display: block; border-radius: 6px; }
.topbar__logo .demo-badge { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: var(--edu-yellow); color: #3b2b10; padding: 2px 7px; border-radius: var(--radius-pill); }
.topbar__search {
  display: flex; align-items: center; gap: 10px; width: min(480px, 42vw); padding: 9px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface-2);
  color: var(--text-3); cursor: pointer; text-align: left;
}
.topbar__search:hover { border-color: var(--accent); }
.topbar__search-text { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.kbd { font-family: var(--font); font-size: 0.72rem; padding: 2px 7px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--text-3); }
.topbar__user { display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border: 1px solid var(--border); border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 500; color: var(--text-2); white-space: nowrap; background: transparent; cursor: pointer; }
.topbar__avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); font-weight: 700; font-size: 0.8rem; }
@media (max-width: 860px) { .topbar__search-text, .kbd { display: none; } .topbar__search { width: auto; border-radius: 50%; padding: 9px; } }

/* ---------- Seitennavigation ---------- */
.nav {
  position: fixed; top: var(--topbar-h); bottom: 0; left: 0; width: var(--nav-w); z-index: 90;
  background: var(--surface); border-right: 1px solid var(--border); overflow-y: auto;
  transition: width 0.15s ease;
}
.nav.is-collapsed { width: var(--nav-w-collapsed); }
.nav__list { list-style: none; margin: 0; padding: 12px 8px; display: flex; flex-direction: column; gap: 2px; }
.nav__link {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 0.9rem; white-space: nowrap;
}
.nav__link:hover { background: var(--surface-2); color: var(--text); }
.nav__link.is-active { background: var(--accent-tint); color: var(--accent); }
.nav.is-collapsed .nav__link span.nav__label { display: none; }
.nav__link svg { flex-shrink: 0; }

.app-main { margin-left: var(--nav-w); margin-top: var(--topbar-h); padding: 28px 32px 64px; min-height: calc(100vh - var(--topbar-h)); transition: margin-left 0.15s ease; }
.app-main.nav-collapsed { margin-left: var(--nav-w-collapsed); }
@media (max-width: 760px) {
  .nav { transform: translateX(-100%); box-shadow: var(--shadow-2); }
  .nav.is-open { transform: translateX(0); }
  .app-main, .app-main.nav-collapsed { margin-left: 0; padding: 20px 16px 48px; }
}

/* ---------- Seiten-Header ---------- */
.page-header { margin-bottom: 22px; }
.page-header h1 { font-size: 1.5rem; }
.page-header p { color: var(--text-2); margin-top: 4px; font-size: 0.92rem; }
.page-header__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Karten/Panels ---------- */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-1); }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }

/* ---------- Dashboard-Widgets ---------- */
.widget-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.widget-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-1); text-decoration: none; color: var(--text); position: relative; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.widget-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--border-2); }
.widget-card__count { font-size: 2rem; font-weight: 800; margin: 10px 0 4px; }
.widget-card__title { font-weight: 700; font-size: 0.95rem; }
.widget-card__desc { color: var(--text-2); font-size: 0.82rem; margin-top: 4px; }
.widget-card__arrow { position: absolute; top: 18px; right: 18px; color: var(--text-3); }

/* ---------- Status-Badge (Ampel) ---------- */
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 700; }
.status-badge.status-red { background: var(--status-red-tint); color: var(--status-red); }
.status-badge.status-yellow { background: var(--status-yellow-tint); color: var(--status-yellow); }
.status-badge.status-green { background: var(--status-green-tint); color: var(--status-green); }
.status-badge.status-neutral { background: var(--status-neutral-tint); color: var(--status-neutral); }
.status-badge svg { flex-shrink: 0; }

/* ---------- Toolbar / Formulare ---------- */
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.input, .select, .textarea { font-family: var(--font); font-size: 0.9rem; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { border-color: var(--accent); }
.textarea { width: 100%; min-height: 72px; resize: vertical; font-family: var(--font); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--text-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 8px; }
.checkbox-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); border: 1px solid var(--border); font-size: 0.82rem; cursor: pointer; user-select: none; }
.checkbox-chip input { accent-color: var(--accent); }
.checkbox-chip.is-checked { background: var(--accent-tint); border-color: var(--accent); color: var(--accent); font-weight: 600; }

.filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px; border-radius: var(--radius-pill); background: var(--accent-tint); color: var(--accent); font-size: 0.82rem; font-weight: 600; flex: none; white-space: nowrap; }
.filter-chip__remove { display: grid; flex-shrink: 0; place-items: center; width: 22px; height: 22px; border: none; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.filter-chip__remove:hover { background: var(--surface); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.88rem; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface-3); }
.btn-danger { background: transparent; color: var(--status-red); border-color: var(--status-red-tint); }
.btn-danger:hover { background: var(--status-red-tint); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-sm { padding: 6px 12px; font-size: 0.82rem; }

/* ---------- Tabelle ---------- */
.table-panel { padding: 4px 12px; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.data-table th { text-align: left; font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); padding: 12px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.data-table td { padding: 12px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--surface-2); }
.cell-number { font-variant-numeric: tabular-nums; color: var(--text-2); white-space: nowrap; }
.cell-title { font-weight: 600; color: var(--text); text-decoration: none; }
.cell-title:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Pagination ---------- */
.pagination { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 16px; font-size: 0.85rem; color: var(--text-2); }

/* ---------- Kanban ---------- */
.kanban { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; }
.kanban__column { flex: 0 0 260px; background: var(--surface-2); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.kanban__column-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 8px; border-bottom: 1px solid var(--border); }
.kanban__column-title { font-weight: 700; font-size: 0.85rem; }
.kanban__count { font-size: 0.75rem; color: var(--text-3); background: var(--surface); padding: 2px 8px; border-radius: var(--radius-pill); }
.kanban__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; cursor: pointer; text-decoration: none; color: var(--text); display: block; }
.kanban__card:hover { border-color: var(--accent); box-shadow: var(--shadow-1); }
.kanban__card-title { font-weight: 600; font-size: 0.86rem; margin-bottom: 4px; }
.kanban__card-number { font-size: 0.74rem; color: var(--text-3); font-variant-numeric: tabular-nums; margin-bottom: 6px; }

/* ---------- Cockpit ---------- */
.cockpit-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.cockpit-head__meta { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 0.85rem; margin-top: 4px; flex-wrap: wrap; }
.cockpit-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cockpit-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 20px; margin-top: 18px; align-items: flex-start; }
@media (max-width: 980px) { .cockpit-grid { grid-template-columns: 1fr; } }
.blocker-panel { border: 1px solid var(--status-red-tint); background: var(--status-red-tint); border-radius: var(--radius); padding: 14px 18px; margin-top: 14px; }
.blocker-panel h2 { color: var(--status-red); margin-bottom: 8px; }
.blocker-panel ul { margin: 0; padding-left: 18px; color: var(--status-red); font-size: 0.88rem; }
.blocker-panel li { margin-bottom: 2px; }

.type-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 0.76rem; font-weight: 700; background: var(--surface-3); color: var(--text-2); }
.license-item { padding: 10px 0; border-bottom: 1px solid var(--border); }
.license-item:last-child { border-bottom: none; }
.license-item__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.license-item__tenant { font-weight: 600; }
.license-item__period { color: var(--text-2); font-size: 0.82rem; margin-top: 2px; }
.badge-soon { font-size: 0.7rem; font-weight: 700; color: var(--status-yellow); background: var(--status-yellow-tint); padding: 2px 8px; border-radius: var(--radius-pill); margin-left: 6px; }
.badge-active { font-size: 0.7rem; font-weight: 700; color: var(--status-green); background: var(--status-green-tint); padding: 2px 8px; border-radius: var(--radius-pill); }
.badge-inactive { font-size: 0.7rem; font-weight: 700; color: var(--text-3); background: var(--surface-3); padding: 2px 8px; border-radius: var(--radius-pill); }

.ai-suggestion { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.ai-suggestion:last-child { border-bottom: none; }
.ai-suggestion__icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); }
.ai-suggestion__text { font-size: 0.85rem; flex: 1; }
.ai-suggestion__actions { display: flex; gap: 6px; margin-top: 8px; }
.ai-suggestion.is-accepted { opacity: 0.55; }
.ai-suggestion.is-rejected { opacity: 0.4; text-decoration: line-through; }

.comment-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.comment-item:last-child { border-bottom: none; }
.comment-item__avatar { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--text-2); font-weight: 700; font-size: 0.75rem; }
.comment-item__author { font-weight: 700; font-size: 0.85rem; }
.comment-item__at { color: var(--text-3); font-size: 0.72rem; margin-left: 6px; font-weight: 400; }
.comment-item__text { font-size: 0.86rem; margin-top: 2px; }

.asset-list, .rendition-list, .chapter-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.asset-row, .rendition-row, .chapter-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.86rem; }
.asset-row:last-child, .rendition-row:last-child, .chapter-row:last-child { border-bottom: none; }
.chapter-row time { font-variant-numeric: tabular-nums; color: var(--text-3); width: 44px; flex-shrink: 0; }

/* ---------- Leerzustand ---------- */
.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 48px 24px; color: var(--text-2); }
.empty-state__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--text-3); }
.empty-state h3 { font-size: 1rem; color: var(--text); }

/* ---------- Mandanten ---------- */
.tenant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.tenant-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-1); }
.tenant-card__dot { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 10px; }
.tenant-card h3 { font-size: 1rem; }
.tenant-card p { color: var(--text-2); font-size: 0.85rem; margin-top: 4px; }
.tenant-card .badge-active, .tenant-card .badge-inactive { margin-top: 10px; display: inline-block; }

/* ---------- Command Palette ---------- */
.backdrop { position: fixed; inset: 0; background: rgba(20, 16, 42, 0.5); display: grid; place-items: flex-start center; padding-top: 12vh; z-index: 200; }
:root[data-theme='light'] .backdrop, :root:not([data-theme='dark']) .backdrop { background: rgba(20, 16, 42, 0.35); }
.palette { width: min(560px, 92vw); background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-2); overflow: hidden; }
.palette__input-row { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.palette__input { flex: 1; border: none; background: transparent; font-family: var(--font); font-size: 1rem; color: var(--text); }
.palette__input:focus { outline: none; }
.palette__close { border: none; background: transparent; color: var(--text-3); cursor: pointer; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.palette__close:hover { background: var(--surface-2); }
.palette__list { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow-y: auto; }
.palette__group { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-3); padding: 10px 12px 4px; }
.palette__option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); cursor: pointer; font-size: 0.9rem; }
.palette__option--active, .palette__option:hover { background: var(--accent-tint); color: var(--accent); }
.palette__hint { padding: 10px 16px; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--text-3); }

/* ---------- Toasts ---------- */
.toast-region { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 250; max-width: min(360px, 90vw); }
.toast { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; box-shadow: var(--shadow-2); font-size: 0.86rem; }
.toast--success { border-color: var(--status-green-tint); }
.toast--error { border-color: var(--status-red-tint); }
.toast--info { border-color: var(--accent-tint); }
.toast__close { margin-left: auto; border: none; background: transparent; color: var(--text-3); cursor: pointer; display: grid; place-items: center; }

/* ---------- Login ---------- */
.login-screen { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(160deg, var(--edu-dark), #241a4a); padding: 20px; }
.login-card { width: min(400px, 100%); background: var(--surface); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-2); }
.login-card__logo { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }
.login-card__sub { color: var(--text-2); font-size: 0.86rem; margin-bottom: 24px; }
.login-card .btn-primary { width: 100%; justify-content: center; margin-top: 6px; }
.login-hint { text-align: center; color: rgba(255,255,255,0.7); font-size: 0.8rem; margin-top: 18px; }

/* ---------- Screen-reader only ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Demo-Banner ---------- */
.demo-banner { background: var(--edu-yellow); color: #3b2b10; text-align: center; font-size: 0.78rem; font-weight: 700; padding: 6px 10px; }
