/* Deshratna website v72 (23 Nov 2026) — readability in the panels (audit U-2, U-4; the Foundation's "Do as per your recommendation"
   of 18:27). Only the panel: its side menu (#rail), its screens (#main) and the phone tab bar (#tabbar); the public website keeps its
   own design. Nothing is hidden, moved or removed — a few small texts become 12 px, and one green a little darker. */

/* U-2: the green of the "ok" chips, notes and messages a little darker, so its contrast is 4.5 : 1 (light theme; dark theme as it was) */
:root:not([data-theme="dark"]) { --ok-ink: #0B766E; }

/* U-4: no panel text smaller than 12 px (measured on all 112 Super Admin screens: 9.6 to 11.8 px before). Kept as they were: the phone
   tab bar's labels (at 12 px "विद्यालय / संस्थान" took two lines and the bar grew 69 → 82 px — the slim-navigation rule of 16:21 comes
   first), the iSchoolMaster partner badge, and the labels inside drawn charts (they scale with the chart). */
#rail .group { font-size: 12px; }
#rail .badge, #rail .fb-count, #main .badge, #main .fb-count { font-size: 12px; }
#main .pill, #main .mc-chip, #main .mode-chip { font-size: max(12px, .74rem); }
#main .mono { font-size: max(12px, .9em); }
#main small.muted { font-size: max(12px, .85em); }
#main .tag, #main .tx-count, #main .bb-state { font-size: max(12px, .74rem); }
#main small { font-size: max(12px, .833em); }

/* Tables (the Foundation's 16:21 point 3, now also in the website's own panels). Measured before: on a tablet (768 px) words were
   broken letter by letter in 275 places ("सत्यापित" on 3 lines, codes like DR-SIW-0001 on 3 lines) because a wide table squeezed its
   columns. Now, on tablets and computers, a word is never broken inside: a column is as wide as its longest word, short values (status,
   codes, numbers, dates, buttons) stay on one line, and a wide table scrolls sideways inside its own box, as the panel's tables already
   do; the page itself never scrolls sideways. */
@media (min-width: 721px) {
  #main table.data td, #main table.data th,
  #main table.data.stack tbody td > *, #main table.data.stack tbody td .mono { overflow-wrap: normal; word-break: normal; }
  #main table.data .pill, #main table.data .mode-chip, #main table.data .mono, #main table.data td.num, #main table.data .btn, #main table.data .tag { white-space: nowrap; }
  #main table.data td.v72-nw { white-space: nowrap; }
  #main table.data td.v72-long { min-width: 14em; }
}
/* Phones: on the Access lists the first cell was squeezed to 12 px beside the buttons (an e-mail on 19 lines) — the buttons keep their
   corner and the first cell starts below them, with the full card width. */
@media (max-width: 720px) {
  #acList table.data.stack tbody td:first-child, #acDis table.data.stack tbody td:first-child, #acRes table.data.stack tbody td:first-child { padding-right: 0 !important; padding-top: 40px !important; }
}
