/* School Cabinet owner — Neon Boss (F3 theme unification, 2026-11-28):
   black base, hot pink + neon green, system type — the one owner theme.
   (Was the metallic/chrome BLUE palette + serif, 2026-10-26.) The
   worksheet paper rules and the ONE subject palette below are unchanged. */
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background:#05060a; color:#f4f2f7; margin:0; }
header, main { max-width:64rem; margin:0 auto; padding:1.25rem; }
h1 { color:#ff69b4; }
a { color:#2eff7a; }
table { width:100%; border-collapse:collapse; background:#12081c; }
th, td { border:1px solid rgba(255,105,180,.35); padding:.55rem .7rem; text-align:left; vertical-align:top; }
th { color:#ff69b4; }
button { background:#ff2797; color:#170816; font-weight:700; border:none; border-radius:999px; padding:.4rem 1rem; cursor:pointer; font-family:inherit; }
#detail { margin-top:1.5rem; background:#12081c; border:1px solid rgba(255,105,180,.35); border-radius:.75rem; padding:1rem 1.25rem; }
#detail:empty { display:none; }
small { opacity:.75; }
/* Lessons door (2026-11-07): layout for the Cabinet page's own
   Lessons section (school-lessons.js). Palette-only, matching
   this file's chrome-blue theme — same cards, same buttons. */
#cabinetLessons label { display:block; margin:.4rem 0; }
#cabinetLessons input[type="text"], #cabinetLessons input:not([type]), #cabinetLessons select, #cabinetLessons textarea { background:#0d0810; color:#f4f2f7; border:1px solid rgba(255,105,180,.35); border-radius:.4rem; padding:.35rem .5rem; font-family:inherit; width:100%; box-sizing:border-box; }
#cabinetLessons textarea { width:100%; box-sizing:border-box; }
.cab-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(11rem,1fr)); gap:.5rem .9rem; }
.cab-actions { display:flex; flex-wrap:wrap; gap:.45rem; margin:.6rem 0; }
/* Worksheet paper look (2026-11-19, Daphne's order): the lesson block
   is a bright paper card — white paper, soft big rounding, a thick
   subject-colored band on top, the girl/subject/kind line as a colored
   pill, big dark title, friendly colored pill buttons. LOOK ONLY:
   same buttons, same actions, same words. The subject palette below
   is the ONE palette shared with the kid surfaces (unified-kid.css
   and Little DORA's school sections) — tests pin the hexes equal. */
.cab-lesson { --subj:#1d4ed8; background:#fff; color:#23233a; border:3px solid #dbe4f5; border-top:14px solid var(--subj); border-radius:18px; padding:.85rem 1rem 1rem; margin:.8rem 0; box-shadow:0 4px 14px rgba(3,12,35,.35); }
.cab-lesson[data-subject="reading"] { --subj:#d92b2b; }
.cab-lesson[data-subject="language arts"], .cab-lesson[data-subject="writing"] { --subj:#7a4fc0; }
.cab-lesson[data-subject="mathematics"], .cab-lesson[data-subject="math"] { --subj:#e8930c; }
.cab-lesson[data-subject="science"] { --subj:#2e9e5b; }
.cab-lesson[data-subject="social studies"] { --subj:#0e9594; }
.cab-lesson[data-subject="other"] { --subj:#1d4ed8; }
.cab-lesson h3 { margin:.5rem 0 .3rem; color:#1d2b52; font-size:1.45rem; line-height:1.2; }
.cab-lesson-meta { display:inline-block; margin:0; font-size:.88rem; font-weight:700; opacity:1; background:var(--subj); color:#fff; padding:.32rem .85rem; border-radius:999px; }
.cab-lesson[data-subject="mathematics"] .cab-lesson-meta, .cab-lesson[data-subject="math"] .cab-lesson-meta { color:#262640; }
.cab-lesson p { color:#33334d; }
.cab-lesson .cab-muted { color:#55556e; opacity:.9; }
.cab-actions button { border:2px solid transparent; font-weight:700; padding:.5rem 1.05rem; }
.cab-actions .cab-lesson-up, .cab-actions .cab-lesson-down { background:#eaf2ff; color:#17457e; border-color:#bcd6ff; }
.cab-actions .cab-lesson-toggle { background:#ffb020; color:#3a2a00; }
.cab-actions .cab-lesson-done { background:#2e9e5b; color:#fff; }
.cab-actions .cab-lesson-delete { background:#fff; color:#c22f2f; border-color:#e5a3a3; }
.cab-muted { opacity:.75; }
.cab-today-card { background:#12081c; border:1px solid rgba(255,105,180,.35); border-radius:.75rem; padding:.7rem .9rem; margin:.6rem 0; }
.cab-today-head { margin:.1rem 0 .5rem; }
.cab-today-rows { display:flex; flex-wrap:wrap; gap:.4rem; }
.cab-today-row { background:#0d0810; border:1px solid #5b2a4a; border-radius:999px; padding:.28rem .7rem; font-size:.92rem; }
.cab-today-row.done { border-color:#2eff7a; color:#a7f3c9; }
.cab-check { display:flex; gap:.5rem; align-items:center; }

/* F3 (2026-11-28): the page's panels carried their card look in
   inline style attributes (navy #0b1f3a) — refused by the suite
   CSP, so they painted as bare stacked blocks. Their cards live
   here now, in the one Neon Boss theme. */
#loginPanel, #middleManPanel, #unifiedPanel, #mySpacePanel, #cabTeacherGuideMount, #schoolWorkMount, #cabLessonsMount {
  border:1px solid rgba(255,105,180,.4); border-radius:.75rem; padding:1rem 1.25rem; margin-bottom:1.5rem; background:#12081c;
}
#cabLessonsMount:empty { display:none; }
