/* Abertay special admin workspaces. Presentation only. 2026-11-20.
   Requires the exact html[data-at-special] values documented in the recipe.
   No selectors target the public feedback/portfolio pages. */
@media screen {
  /* Independent booking monitor. Keep event/status and numeric colours intact. */
  html[data-at-special="booking"] { --teal:#147a57; --teal-dark:#0a6049; --ink:#173c35; --muted:#66827a; --bg:#edf8f3; --line:#dcece4; }
  html[data-at-special="booking"] body { background:linear-gradient(145deg,#f3fbf7,#edf8f3 48%,#d9f1e7); }
  html[data-at-special="booking"] header { background:linear-gradient(120deg,#0a6049,#147a57); }
  html[data-at-special="booking"] main .cards > .card,
  html[data-at-special="booking"] main .grid > .panel { border-color:#e0eee6; border-radius:17px; box-shadow:0 12px 32px rgba(22,91,70,.07); }
  html[data-at-special="booking"] main .panel > h2 { color:#173c35; }

  /* Feature tracker: the count cards are buttons; keep focus and status colours. */
  html[data-at-special="feature"] { --teal:#147a57; --teal-dark:#0a6049; --ink:#173c35; --muted:#536f66; --line:#dcece4; --warm:#edf8f3; }
  html[data-at-special="feature"] body { background:linear-gradient(145deg,#f3fbf7,#edf8f3 48%,#d9f1e7); }
  html[data-at-special="feature"] .topbar { background:#0a6049; }
  html[data-at-special="feature"] #app .card { border-color:#e0eee6; border-radius:17px; box-shadow:0 12px 32px rgba(22,91,70,.07); }
  html[data-at-special="feature"] .heading-row h1 { color:#173c35; letter-spacing:-.025em; }

  /* Paper-register draft: do not style the warning, scan panel or draft values. */
  html[data-at-special="scan"] body { background:linear-gradient(145deg,#f3fbf7,#edf8f3 48%,#d9f1e7); color:#173c35; }
  html[data-at-special="scan"] .ars-head h1,
  html[data-at-special="scan"] .ars-page > .ars-card > h2 { color:#173c35; letter-spacing:-.025em; }
  html[data-at-special="scan"] .ars-page > .ars-card { border-color:#e0eee6; border-radius:17px; box-shadow:0 12px 32px rgba(22,91,70,.07); }

  /* Finance: preserve auth, warning/sign colours, tables and monetary values. */
  html[data-at-special="finance"] body { background:#edf8f3; color:#173c35; }
  html[data-at-special="finance"] body > .header { background:#0a6049; }
  html[data-at-special="finance"] body > .tabs-bar { border-bottom-color:#dcece4; }
  html[data-at-special="finance"] body > .tab-content .card,
  html[data-at-special="finance"] body > .tab-content .stat-card { border-color:#e0eee6; border-radius:17px; box-shadow:0 12px 32px rgba(22,91,70,.07); }
  html[data-at-special="finance"] body > .tab-content .card-header > h2 { color:#173c35; }
  @media (max-width:700px) {
    html[data-at-special="finance"] body > .header { flex-wrap:wrap; gap:8px 12px; }
    html[data-at-special="finance"] body > .header > .asm-controls { margin:0; flex:0 0 100%; }
  }

  /* URL-flagged injected course-register subviews; avoid candidate/public DOM. */
  html[data-at-special="portfolio"] #trainer-portfolio-admin { background:#edf8f3; color:#173c35; }
  html[data-at-special="portfolio"] #trainer-portfolio-admin .pf-head h1,
  html[data-at-special="feedback"] #cef-admin .pf-head h1 { color:#173c35; letter-spacing:-.025em; }
  html[data-at-special="portfolio"] #trainer-portfolio-admin .pf-card,
  html[data-at-special="feedback"] #cef-admin .cef-card,
  html[data-at-special="website-feedback"] #root > .wf-wrap .wf-card { border-color:#e0eee6; border-radius:17px; box-shadow:0 12px 32px rgba(22,91,70,.07); }
  html[data-at-special="feedback"] #cef-admin { background:#edf8f3; color:#173c35; }
  html[data-at-special="website-feedback"] #root:has(> .wf-wrap) { background:#edf8f3; }
  html[data-at-special="website-feedback"] #root > .wf-wrap .wf-card h1 { color:#173c35; letter-spacing:-.025em; }

  /* Editor headers have opposite foregrounds; preserve contrast and overlays. */
  html[data-at-special="trainer-editor"] #tm-controlled-editor > .tm-top { background:#fff; border-bottom-color:#dcece4; }
  html[data-at-special="trainer-editor"] #tm-controlled-editor #tmse > .tmse-top { background:#0a6049; color:#fff; }
}

/* Motion is supplied separately and respects the shared pause setting. */
