/*
 * 2026-12-04 (ui-ux-pro-max review of the admin portal). 96% of admin use is on computers, where the
 * busiest pages carried hundreds of 9-11px labels. This only RAISES the smallest pieces to a readable
 * floor; nothing gets smaller, no layout or colour changes. Screen only — printouts are unchanged.
 * Loaded on admin/* pages by App\Http\Middleware\InjectAppShellTags (bump ?v= there when this changes).
 */
@media screen {
  /* table column headings (10px uppercase) */
  html body table th { font-size: 11.5px; }
  /* status pills and stage chips */
  html body .pill, html body a.pill, html body .stg, html body .fe-pill, html body .layr { font-size: 11.5px; }
  /* small buttons and links in tables */
  html body .button.small, html body button.small, html body .smallbutton, html body .btn.light, html body .button.light { font-size: 12.5px; }
  /* form labels */
  html body label { font-size: 12px; }
  /* small print inside tables (dates, "waiting 13 days", meta lines) */
  html body table small, html body table .meta, html body .rwsince, html body .rwage, html body .lacommon { font-size: 12px; }
  /* sidebar and top menu captions */
  html body .mod-ddsub, html body .mod-title { font-size: 11px; }
  html body .mod-user span, html body .portal-switch span { font-size: 11.5px; }
  /* result workflow: grade letters under the distribution bars, "Average"/"Grades" captions */
  html body .rwdist em { font-size: 10.5px; }
  html body .rwstats div, html body .rwdist { font-size: 11.5px; }
}

/* Lecturer Assignment programme headings: on phones the stacked-table rules painted the dark band white,
   leaving white text on white. Keep the dark band at every width. */
html body tr.laprog > th, html body tr.laprog > td { background: #053d28 !important; color: #fff !important; }
html body tr.laprog .lacount { color: #fff; }

/* set by /unimis-admin.js on text that page rules keep below 12px */
@media screen { html body .ufl { font-size: 12px !important; } }

/* muted grey #6b7a73 measured 4.1-4.4:1 on white/pale rows (needs 4.5). One step darker, same hue. */
@media screen { html body { --muted: #56655e; } html body .fe-sheet tr.locked td { color: #56655e; } }
@media screen {
  html body .kn { color: #56655e; }                         /* notes under dashboard figures (#6a7d72, 4.4:1) */
  html body .rtab.t-due .rtab-note { color: #7a5400; }      /* amber "N pending" on tabs (4.25:1) */
  html body .rwbars em { color: #56655e; }                  /* grade letters under result bars */
}

/* 2026-12-04 (finance pass): gold "Dashboard" / "Finance home" / "Finance" buttons only navigate back but
   were the loudest button on every finance page. Quiet outline; real gold actions are untouched. */
@media screen {
  html body a.btn.gold[href$="/admin"], html body a.button.gold[href$="/admin"],
  html body a.btn.gold[href$="/admin/finance"], html body a.button.gold[href$="/admin/finance"] {
    background: #fff; color: #05532f; border: 1px solid #cfe0d6; box-shadow: none;
  }
}
