/* Lyceum (2026-11-08; js/lyceum.js, js/lyceum-p.js) — on chronicles.css + standalone-colors.css + gatherings.css (theme switch, charts). */
.prog { display: grid; grid-template-columns: 100px 1fr 44px; gap: 10px; align-items: center; font-size: 12.5px; padding: 6px 0; } .prog .bar { margin: 0; }
.momo { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #ffcc00; margin-right: 4px; flex: none; }
/* The register */
.reg-list { display: grid; gap: 6px; margin-top: 12px; }
.reg { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--edge); background: var(--glass2); }
.reg .av { border-radius: 12px; }
.reg b { font-size: 14px; display: block; } .reg small { color: var(--faint); font-size: 11.5px; }
.marks { display: flex; gap: 6px; }
.marks button { width: 40px; height: 36px; border-radius: 11px; border: 1.5px solid var(--edge); background: transparent; color: var(--faint); font: 800 14px inherit; cursor: pointer; }
.marks button.on[data-s="here"] { background: linear-gradient(135deg, #22c55e, #16a34a); border-color: transparent; color: #fff; }
.marks button.on[data-s="late"] { background: rgba(251, 191, 36, .22); border-color: rgba(251, 191, 36, .7); color: #f59e0b; }
.marks button.on[data-s="absent"] { background: rgba(255, 61, 110, .18); border-color: rgba(255, 61, 110, .6); color: #ff6b8e; }
.reg-sum { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--dim); font-weight: 700; } .reg-sum b { color: var(--text); }
/* Scores */
.score-in { width: 74px; height: 36px; border-radius: 10px; border: 1px solid var(--edge); background: var(--field); color: var(--text); text-align: center; font: 700 14px inherit; }
.score-in:focus { outline: 0; border-color: rgba(255, 138, 61, .7); box-shadow: 0 0 0 3px rgba(255, 138, 61, .18); }
.grade { font-weight: 800; } .g-1, .g-2 { color: #16a34a; } .g-3, .g-4, .g-5, .g-6 { color: #2563eb; } .g-7, .g-8 { color: #b45309; } .g-9 { color: #e11d48; }
html:not([data-theme="light"]) .g-1, html:not([data-theme="light"]) .g-2 { color: #4ade80; } html:not([data-theme="light"]) .g-3, html:not([data-theme="light"]) .g-4, html:not([data-theme="light"]) .g-5, html:not([data-theme="light"]) .g-6 { color: #60a5fa; }
.remark-in { width: 100%; min-width: 180px; height: 36px; border-radius: 10px; border: 1px solid var(--edge); background: var(--field); color: var(--text); padding: 0 10px; font: 500 13px inherit; }
/* The report card (staff view, parent page, print) */
.rc { background: #fff; color: #111827; border-radius: 16px; padding: 22px 22px 18px; font-size: 12.5px; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .6); max-width: 720px; margin: 0 auto 16px; }
.rc-school { display: flex; gap: 12px; align-items: center; border-bottom: 2px solid #111827; padding-bottom: 10px; margin-bottom: 10px; }
.rc-school img, .rc-school .logo { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; }
.rc-school b { font: 600 18px Fraunces, Georgia, serif; display: block; } .rc-school small { color: #6b7280; font-size: 11.5px; display: block; }
.rc h4 { margin: 0 0 8px; text-align: center; letter-spacing: .12em; font-size: 13px; }
.rc-who { display: grid; grid-template-columns: repeat(4, auto); gap: 4px 12px; margin-bottom: 10px; } .rc-who span { color: #6b7280; } .rc-who b { font-weight: 700; }
.rc table { width: 100%; border-collapse: collapse; } .rc th, .rc td { padding: 6px 5px; border-bottom: 1px solid #e5e7eb; text-align: left; } .rc th { font-size: 10px; text-transform: uppercase; color: #6b7280; letter-spacing: .05em; } .rc td:not(:first-child), .rc th:not(:first-child) { text-align: center; }
.rc .g1, .rc .g2 { color: #15803d; font-weight: 800; } .rc .g3, .rc .g4, .rc .g5, .rc .g6 { color: #1d4ed8; font-weight: 800; } .rc .g7, .rc .g8 { color: #b45309; font-weight: 800; } .rc .g9 { color: #be123c; font-weight: 800; }
.rc-sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; } .rc-sum div { background: #f3f4f6; border-radius: 10px; padding: 8px; text-align: center; } .rc-sum b { display: block; font-size: 15px; }
.rc-rem { font-style: italic; color: #374151; margin: 6px 0; } .rc-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; color: #6b7280; font-size: 11px; flex-wrap: wrap; }
.rc-key { color: #9ca3af; font-size: 10px; margin-top: 8px; }
/* The parent page (/l/TOKEN) */
.lp { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; padding: 18px 16px 50px; }
.lp-head { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; } .lp-head img, .lp-head .logo { width: 44px; height: 44px; border-radius: 12px; } .lp-head img { object-fit: contain; background: #fff; padding: 3px; }
.lp-head b { display: block; font-size: 15px; } .lp-head small { color: var(--faint); font-size: 12px; }
.child { border-radius: 22px; padding: 16px; background: var(--grad); color: #fff; margin-bottom: 12px; box-shadow: 0 18px 40px -22px rgba(255, 90, 54, .9); }
.child .ct { display: flex; gap: 12px; align-items: center; } .child .av { width: 48px; height: 48px; border-radius: 15px; background: rgba(255, 255, 255, .25); font-size: 16px; }
.child .av img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.child b { font-size: 17px; display: block; } .child small { opacity: .9; font-size: 12px; }
.child .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; } .child .stats div { background: rgba(255, 255, 255, .16); border-radius: 12px; padding: 8px; text-align: center; } .child .stats b { font-size: 16px; } .child .stats small { font-size: 10.5px; display: block; }
.lp .card { margin-bottom: 12px; }
.lines div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--edge); font-size: 13px; } .lines div span { color: var(--dim); } .lines div.t { border: 0; font-weight: 800; font-size: 15px; }
.lp footer { text-align: center; color: var(--faint); font-size: 11.5px; margin-top: 22px; } .lp footer a { color: var(--dim); }
@media print { body.chr .aurora, body.chr .grain, .no-print, .lp footer, .side, .top { display: none !important; } body.chr { background: #fff !important; } .rc { box-shadow: none; break-inside: avoid; page-break-after: always; } }
