:root{color-scheme:light;--ink:#193452;--muted:#657b91;--line:#dbe6f0;--bg:#f5f8fc;--card:#fff;--blue:#1766cf;--teal:#008f9c;--violet:#7963df;--red:#c4384a;--radius:18px;--shadow:0 12px 38px rgba(39,81,119,.07)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:18px/1.5 system-ui,-apple-system,"Segoe UI",Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button,input,select,textarea{transition:border-color .17s,box-shadow .17s,background .17s}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #75c7f7;outline-offset:1px}a{color:var(--blue)}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.2;letter-spacing:-.6px}h2{font-size:24px;letter-spacing:-.4px}h3{font-size:21px}small,.small{font-size:14px}.muted{color:var(--muted)}.shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:28px 17px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:20px}.brand{display:flex;align-items:center;gap:12px;padding:7px 10px}.brand-square{width:44px;height:44px;border-radius:13px;background:linear-gradient(130deg,#1673d3,#00a4a6);color:white;display:grid;place-items:center;font-size:24px;font-weight:800}.brand b{font-size:22px;display:block;letter-spacing:.2px}.brand span{font-size:12px;color:var(--muted);display:block}.nav{display:grid;gap:8px}.nav-button{border:1px solid transparent;border-radius:13px;padding:13px 14px;display:flex;align-items:center;gap:12px;background:transparent;color:#304863;font-weight:700;text-align:left;width:100%;min-height:54px}.nav-button .symbol{width:28px;height:28px;display:grid;place-items:center;color:#627f9b;border-radius:9px;border:1px solid #dce7f2;font-size:16px}.nav-button:hover,.nav-button:focus-visible{background:#eef8ff;border-color:#b4e1f6}.nav-button:hover .nav-label,.nav-button.active .nav-label{background:linear-gradient(100deg,#136bd3,#008f9c,#7563dd);color:transparent;background-clip:text;-webkit-background-clip:text}.nav-button.active{border-color:#c3dcf1;background:#edf7ff}.sidebar-foot{margin-top:auto;padding:14px 12px;color:var(--muted);font-size:13px;border-top:1px solid var(--line)}.workspace{padding:25px clamp(15px,3vw,48px) 45px;min-width:0;max-width:1650px;width:100%;margin:auto}.topbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:26px;flex-wrap:wrap}.eyebrow{font-size:13px;letter-spacing:1.6px;text-transform:uppercase;color:var(--teal);font-weight:800}.topbar h1{margin:4px 0 0}.account{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pill{background:#eff6fc;color:#26527c;padding:6px 12px;border-radius:30px;font-weight:700;font-size:14px}.year-select{min-width:150px}.btn{border:1px solid var(--line);border-radius:12px;padding:11px 16px;background:#fff;color:var(--ink);font-weight:750;min-height:46px}.btn:hover{border-color:#9fd2ee;box-shadow:0 6px 16px #1679ae19}.btn-primary{border:0;background:linear-gradient(110deg,#176ad3,#008e9e);color:#fff;box-shadow:0 6px 15px #1766ce20}.btn-primary:hover{background:linear-gradient(110deg,#0a57b8,#087b91);transform:translateY(-1px)}.btn-danger{border-color:#f4cbd1;color:var(--red);background:#fff6f6}.btn-gradient{background:linear-gradient(110deg,#1869d0,#008eab);color:#fff;border:0}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:25px;min-width:0}.card + .card{margin-top:17px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stats{font-size:34px;line-height:1.2;font-weight:800;letter-spacing:-.6px;margin:10px 0}.statcard{border-top:3px solid #2988e7}.statcard:nth-child(2){border-top-color:#08a7a0}.statcard:nth-child(3){border-top-color:#856ee7}.statcard:nth-child(4){border-top-color:#e6a953}.statcard:hover{transform:translateY(-2px)}.statcard:hover .stats{background:linear-gradient(90deg,#176ad3,#00a2a6,#8168d8);color:transparent;background-clip:text;-webkit-background-clip:text}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.field{display:grid;gap:7px;min-width:0}.field>label{font-weight:750;color:#294b6d}.field input,.field select,.field textarea,.field .fieldlike{height:53px;width:100%;border:1px solid #cfdfee;border-radius:13px;padding:11px 14px;background:#fff;color:#183757;font-size:18px}.field textarea{height:95px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#64b2e9;box-shadow:0 0 0 4px #a9dafe45;outline:0}.field.span2,.span2{grid-column:span 2}.section-title{margin:0 0 15px;font-size:22px;font-weight:820}.section-title::after{content:"";display:block;width:64px;height:3px;background:linear-gradient(90deg,#176ad3,#00bba8);border-radius:9px;margin-top:8px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 17px}.tab{padding:11px 16px;border:1px solid var(--line);background:#fff;border-radius:11px;color:#355575;font-weight:750}.tab.active,.tab:hover{border-color:#9fd0ed;background:#ecf8ff;color:#0870b7}.record-columns{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(290px,.85fr);gap:20px;align-items:start}.queue{position:sticky;top:20px}.queue-lines{max-height:480px;overflow:auto}.queue-item{padding:13px 0;border-bottom:1px solid #e9eff6;font-size:16px}.queue-item b{display:block}.queue-item button{float:right}.hint{font-size:14px;color:var(--muted)}.notice{padding:14px 16px;background:#edf7ff;border:1px solid #d0e8f7;border-radius:13px;margin:12px 0}.notice.warn{background:#fff8ed;border-color:#ffe4b5}.notice.error{background:#fff1f1;border-color:#f2c4c4;color:#a22a35}.notice.success{background:#eefbf3;border-color:#b5e6c6;color:#166b43}.suggest{border:1px solid #c8dded;border-radius:12px;max-height:265px;overflow:auto;background:white;box-shadow:0 15px 28px #1b56821c;z-index:5}.suggest button{width:100%;text-align:left;border:0;border-bottom:1px solid #edf2f7;background:white;padding:12px 14px;display:block;color:#173b5b;font-weight:700}.suggest button:hover,.suggest button:focus{background:#eff8ff}.suggest small{display:block;color:#6b849b;font-weight:500}.splitline{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}.table-scroll{max-width:100%;overflow:auto}table{width:100%;border-collapse:collapse;min-width:600px;font-size:16px}thead{background:#f1f7fd}th,td{text-align:left;padding:13px 12px;border-bottom:1px solid #e8eef5;vertical-align:top}th{font-weight:800;color:#325a7b;white-space:nowrap}tbody tr:hover{background:#f9fcff}.empty{background:#f6f9fc;border:1px dashed #cfdde9;border-radius:14px;text-align:center;padding:25px;color:#657e91}.tag{display:inline-block;background:#edf6ff;color:#1b6bb6;padding:5px 9px;border-radius:20px;font-size:13px;font-weight:700}.footer{font-size:13px;color:#8192a2;text-align:center;margin-top:35px;padding:15px}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 15% 10%,#e7f5ff,transparent 38%),radial-gradient(circle at 88% 92%,#ecf9f5,transparent 35%),var(--bg)}.auth{max-width:450px;width:100%;padding:36px}.auth .field{margin:15px 0}.auth h1{margin-bottom:7px}.auth p{color:var(--muted)}.auth .btn{width:100%}.link{background:none;border:0;color:#1969cb;text-decoration:underline;padding:4px;font-size:15px}.dropzone{border:2px dashed #add1e8;border-radius:16px;padding:25px;text-align:center;background:#f8fcff}.stack{display:grid;gap:14px}.muted-tiny{font-size:13px;color:#7b8e9c}.hero{background:linear-gradient(115deg,#e7f4ff,#f1fffa);border:1px solid #d2eaf5;border-radius:20px;padding:28px;margin-bottom:18px}.hero h2{margin:0 0 6px;font-size:29px}.hoverpanel:hover{border-color:#a7d6ef}.hoverpanel:hover h2,.hoverpanel:hover h3{background:linear-gradient(90deg,#1a66c5,#00a59e,#8d68df);background-clip:text;-webkit-background-clip:text;color:transparent}button:focus-visible{outline-offset:2px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:1100px){.record-columns{grid-template-columns:1fr}.queue{position:static}.grid-4{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){body{font-size:18px}.shell{grid-template-columns:1fr}.sidebar{position:relative;height:auto;padding:12px 12px 8px;gap:8px}.brand{padding:3px}.nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;overflow:auto}.nav-button{padding:9px 4px;min-height:64px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;font-size:12px}.nav-button .symbol{width:26px;height:26px}.sidebar-foot{display:none}.workspace{padding:17px 13px 30px}.card{padding:17px;border-radius:15px}.grid-2,.form-grid{grid-template-columns:1fr}.span2,.field.span2{grid-column:span 1}.grid-3{grid-template-columns:1fr}.topbar{gap:10px;margin-bottom:16px}.account{width:100%}h1{font-size:26px}h2{font-size:22px}.record-columns{grid-template-columns:1fr}table{font-size:15px}}

/* 2026-10-29 · Thanh giao diện tối giản và hồ sơ cá nhân */
:root{--ink:#193454;--muted:#5d7187;--line:#dee8f2;--shadow:0 9px 32px rgba(28,71,111,.045)}
.sidebar{gap:16px;border-right-color:#e5edf5}
.nav{gap:5px}
.nav-button{min-height:50px;padding:11px 13px}
.nav-button:hover,.nav-button.active{border-color:#c8e4f4;box-shadow:0 4px 14px rgba(39,118,175,.06)}
.workspace{padding-top:22px}
.topbar{margin-bottom:19px;align-items:center}
.topbar h1{font-size:30px}
.card{box-shadow:var(--shadow);border-color:#e2eaf2}
.card:focus-within{border-color:#c6dff0}
.tabs{gap:5px;padding:5px;background:#edf3f9;border:1px solid #e1eaf3;border-radius:15px;width:fit-content;max-width:100%;overflow-x:auto;flex-wrap:nowrap}
.tab{background:transparent;border:0;border-radius:10px;white-space:nowrap;padding:10px 13px;min-height:43px;font-size:15px;font-weight:700}
.tab:hover,.tab.active{background:#fff;border:0;box-shadow:0 2px 8px rgba(26,76,116,.09)}
.tab:hover,.tab.active{background-image:linear-gradient(95deg,#156ad0,#008d9c,#6d60c7);-webkit-background-clip:text;background-clip:text;color:transparent}
.account-trigger{padding:8px 13px;min-height:42px;border:1px solid #cfe3f1;border-radius:999px;color:#14436b;background:#f1f8ff;font-weight:750;font-size:15px;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-trigger:hover,.account-trigger:focus-visible{background:#e8f4ff;border-color:#87c8e6;box-shadow:0 5px 14px rgba(30,94,151,.12)}
.account-trigger span{color:#1c7aaf;margin-left:5px}
.btn-signout{font-size:14px;min-height:42px;padding:8px 12px}
.section-subheading{font-size:19px;margin:24px 0 12px;color:#21486d}
.admin-section-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.admin-section-heading .muted{max-width:650px;font-size:16px;margin-bottom:0}
.new-account{background:#f5faff;border:1px solid #d4e8f8;border-radius:13px;padding:15px 18px;margin:18px 0 22px}
.new-account summary{font-weight:750;color:#165e9c;cursor:pointer}
.new-account[open] summary{margin-bottom:18px}
.account-row{padding:17px 18px;margin:9px 0;border:1px solid #e0eaf4;border-radius:14px;background:#fff;transition:border-color .2s,box-shadow .2s}
.account-row:hover{border-color:#aed5eb;box-shadow:0 6px 20px rgba(36,88,131,.055)}
.account-row-head{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:13px}
.account-row-head b{font-size:18px}
.account-row-head p{font-size:14px;color:var(--muted);margin:3px 0 0}
.account-row-fields{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:12px}
.account-row-fields .field{gap:4px}
.account-row-fields .field label{font-size:14px}
.account-row-fields select{height:45px;font-size:15px;padding:8px 10px}
.account-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;min-height:45px}
.checkline{display:flex;gap:8px;align-items:center;font-size:15px;font-weight:600}
.checkline input{width:17px;height:17px;accent-color:#0c82a2}
.account-state{font-size:13px;padding:4px 10px;border-radius:30px;font-weight:750}
.account-state.is-active{background:#e7f7ef;color:#217453}
.account-state.is-pending{background:#fff5e7;color:#9b6c19}
.profile-dialog{width:min(530px,calc(100vw - 30px));max-height:90vh;overflow:auto;border:1px solid #d6e5f2;border-radius:20px;background:#fff;box-shadow:0 30px 90px rgba(19,45,76,.2);padding:24px;color:var(--ink)}
.profile-dialog::backdrop{background:rgba(13,33,58,.43);backdrop-filter:blur(3px)}
.profile-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px}
.profile-head h2{margin:2px 0 0;font-size:25px}
.profile-head .btn{font-size:20px;min-height:40px;padding:5px 12px}
.profile-tabs{margin-bottom:22px}
.profile-dialog .stack{gap:14px}
.profile-dialog .field input{height:50px}
.profile-dialog .hint{margin:15px 0 0;color:#27668b;min-height:22px}
.field input:hover,.field select:hover,.field textarea:hover{border-color:#92badb}
@media(max-width:1050px){.account-row-fields{grid-template-columns:1fr 1fr}.account-actions{grid-column:span 2;justify-content:flex-start}}
@media(max-width:760px){.workspace{padding-top:14px}.tabs{width:100%}.tab{font-size:14px}.account-trigger{max-width:210px}.account-row-fields{grid-template-columns:1fr}.account-actions{grid-column:auto}.profile-dialog{padding:17px}.admin-section-heading{flex-direction:column}.topbar h1{font-size:27px}}
/* SỔ SAO ĐỎ · Đợt nâng cấp hồ sơ, chứng cứ, phân quyền và quy định điểm */
.glyph{display:inline-block;flex:none;vertical-align:-.16em;stroke-width:1.8;transition:transform .18s ease}
.btn,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn:hover .glyph,.icon-button:hover .glyph{transform:translateY(-1px)}
.account-trigger{display:inline-flex;align-items:center;gap:10px;max-width:330px;padding:5px 12px 5px 6px}
.account-trigger .account-name{display:inline-block;max-width:185px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.person-avatar{display:inline-flex;justify-content:center;align-items:center;flex:none;border-radius:50%;border:2px solid #d6eaf8;object-fit:cover;background:#dff3ff;color:#255b93;font-size:19px;font-weight:850}
.avatar-section{display:flex;gap:20px;align-items:center;padding:15px;margin:2px 0 22px;border:1px solid #d9e9f5;border-radius:16px;background:linear-gradient(95deg,#f6fbff,#f5fcfa)}
.avatar-section .avatar-preview{width:80px;flex:none}.avatar-section .person-avatar{border-radius:18px}.avatar-section .profile-avatar-label{font-size:19px;font-weight:800;color:#1e456c}
.avatar-form{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0}.avatar-form input{width:min(270px,100%);max-width:100%;font-size:14px}
.schedule-options{margin:14px 0 3px;padding:12px 16px;border:1px solid #d4e4f2;border-radius:15px;background:#f8fbff}
.schedule-options summary{cursor:pointer;display:flex;gap:9px;align-items:center;font-size:17px;font-weight:800;color:#245e88}
.schedule-options[open] summary{margin-bottom:16px}
.schedule-options .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.schedule-options .field input{font-size:16px;height:46px;padding:7px 11px}
.schedule-options .checkline input{width:19px;height:19px}
.rules-toolbar{background:#f2f8fd;padding:12px 14px;border:1px solid #d8e8f4;border-radius:13px;margin:15px 0 10px;justify-content:space-between}
.rule-edit{width:100%;min-width:220px;min-height:58px;resize:vertical;padding:10px 12px;border:1px solid #d6e6f2;border-radius:12px;font:inherit;color:inherit;background:#fff}
.rule-point{width:125px;min-height:48px;padding:8px 11px;border:1px solid #d6e6f2;border-radius:11px;font-size:18px}
.rule-edit[readonly],.rule-point[readonly]{background:#f6f9fc;border-color:transparent}
.rule-edit:not([readonly]),.rule-point:not([readonly]){outline:2px solid #abdaf5;outline-offset:1px}
.rule-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end}
.icon-button{min-width:44px;min-height:44px;padding:9px;border:1px solid #d6e4f1;border-radius:12px;background:#fff;color:#246090;cursor:pointer}
.icon-button:hover,.icon-button:focus-visible{background:linear-gradient(115deg,#e6f4ff,#effdf9);border-color:#93cced;color:#065c8c;box-shadow:0 5px 12px #2472a116}
.icon-button.danger{color:#a84455}.icon-button.danger:hover{background:#fff1f3;border-color:#f0b8c2;color:#c5223d}
.icon-button.save-rule{color:#087c69}
.btn-small{font-size:15px;padding:8px 12px;min-height:40px}
.account-row .schedule-options{margin-top:14px}
@media(max-width:760px){.account-trigger{max-width:165px}.account-trigger .account-name{max-width:85px}.avatar-section{flex-direction:column;align-items:flex-start}.schedule-options .form-grid{grid-template-columns:1fr}.rule-edit{min-width:170px}.rule-actions{justify-content:flex-start}}
/* SSD 2026-10-30 · Hồ sơ học sinh, báo cáo tuần và hệ thống bảng dễ đọc */
:root{--ssd-grad:linear-gradient(115deg,#1769cf 0%,#0097ac 52%,#7166d6 100%)}
.table-scroll{border:1px solid #e1eaf3;border-radius:17px;overflow:auto;background:#fff;box-shadow:0 6px 22px #22446b0a}
.table-scroll table{border-collapse:separate;border-spacing:0;font-size:17px;line-height:1.45}
.table-scroll th{position:relative;background:#edf5fc;color:#244e73;font-size:18px;font-weight:820;padding:16px 14px;white-space:nowrap;border-bottom:2px solid #dceaf4}
.table-scroll td{padding:17px 14px;vertical-align:middle;border-bottom:1px solid #e3ebf4;color:#17395a}
.table-scroll tbody tr:nth-child(odd){background:#fff}
.table-scroll tbody tr:nth-child(even){background:#f1f7fc}
.table-scroll tbody tr:hover{background:#e8f6ff;box-shadow:inset 4px 0 0 #138bd0}
.table-scroll tbody tr:last-child td{border-bottom:0}
.student-name-btn{display:inline-flex;align-items:center;text-align:left;border:0;background:transparent;padding:6px 4px;color:#16539a;font-size:17px;font-weight:850;text-decoration:none;line-height:1.35;border-radius:6px;cursor:pointer}
.student-name-btn:hover,.student-name-btn:focus-visible{color:#006c86;background:#e1f6f7;text-decoration:underline;text-underline-offset:3px}
.table-scroll .link{display:inline-flex;align-items:center;gap:5px;text-decoration:none;font-size:16px;font-weight:750;padding:7px 6px;border-radius:7px;white-space:nowrap;color:#1568b3}
.table-scroll .link:hover{color:#087684;background:#e2f6fa}
.report-row-head{display:flex;gap:14px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin:0 0 15px}
.report-row-head h3{margin:0;font-size:21px}
.report-row-head .section-title{margin-bottom:6px}
.report-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:15px 0}
.report-toolbar a.btn{text-decoration:none}
.student-report-dialog{width:min(1120px,calc(100vw - 30px));max-width:1120px;max-height:91dvh;border:1px solid #d5e5f2;border-radius:21px;background:#f8fbfe;box-shadow:0 30px 90px #16395744;padding:22px 25px;overflow:auto;color:var(--ink)}
.student-report-dialog::backdrop{background:#142e4caa;backdrop-filter:blur(5px)}
.student-report-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:4px 0 18px;border-bottom:3px solid transparent;border-image:linear-gradient(90deg,#1675dc,#0aaba5,#796be6) 1;margin-bottom:18px}
.student-report-header h2{font-size:27px;margin:5px 0 3px}
.student-report-header .hint{margin:0}
.report-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.report-filters .field select{height:48px;font-size:16px}
.report-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:16px 0}
.report-stat{min-height:105px;display:flex;flex-direction:column;justify-content:center;gap:5px;background:#fff;border:1px solid #d9e6f1;border-radius:15px;padding:14px;box-shadow:0 5px 15px #12436e0a;border-top:3px solid #1489c9;transition:transform .22s,border-color .22s,box-shadow .22s}
.report-stat:nth-child(2){border-top-color:#08aa9e}.report-stat:nth-child(3){border-top-color:#e07b89}.report-stat:nth-child(4){border-top-color:#7b6bd4}.report-stat:nth-child(5){border-top-color:#c7a04c}
.report-stat:hover{transform:translateY(-3px);border-color:#abd5ed;box-shadow:0 10px 18px #1365a016}
.report-stat small{font-size:14px;color:#5a748b;font-weight:720}
.report-stat b{font-size:27px;line-height:1.2;font-weight:850;color:#134a79}
.report-stat span{font-size:12px;color:#986732}
.report-two{display:grid;grid-template-columns:1.3fr 1fr;gap:14px;margin:16px 0}
.report-panel{background:#fff;border:1px solid #dce8f3;border-radius:17px;padding:18px;margin:14px 0;overflow:hidden}
.report-panel h3{display:flex;align-items:center;gap:9px;font-size:19px;margin:0 0 15px;color:#1b4d75}
.report-bars{display:grid;gap:12px}
.bar-row{display:grid;grid-template-columns:minmax(105px,180px) minmax(75px,1fr) 39px;gap:11px;align-items:center;font-size:14px}
.bar-row .bar-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#315773;font-weight:650}
.bar-track{height:12px;background:#eaf1f8;border-radius:18px;overflow:hidden}
.bar-fill{height:100%;border-radius:18px;background:linear-gradient(90deg,#1b73cf,#8d7ae0);width:var(--bar-width);transform-origin:left;animation:report-bar-grow .8s ease-out both;transition:filter .2s}
.bar-fill.vp{background:linear-gradient(90deg,#ed7d81,#bf5668)}
.bar-fill.kt{background:linear-gradient(90deg,#13a8ae,#54c5a7)}
.bar-row:hover .bar-fill{filter:brightness(1.15) saturate(1.3)}
.trend-scroll{overflow-x:auto}.report-trend{display:block;min-width:520px;width:100%;height:auto;overflow:visible}
.report-trend circle{cursor:crosshair;transition:r .18s}.report-trend circle:hover{r:8}
.chart-legend{display:flex;gap:18px;font-size:13px;color:#536d83;margin-top:5px}
.legend-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}.legend-dot.vp{background:#dd6577}.legend-dot.kt{background:#0da89a}
.seal-pill{display:inline-flex;gap:6px;align-items:center;padding:9px 13px;font-size:14px;font-weight:850;border-radius:100px;border:1px solid #dce5ef}
.seal-pill.sealed{background:#e8f7f0;color:#146c4d;border-color:#bee6d4}.seal-pill.open{background:#eaf4ff;color:#185d9d}
.kind-pill{display:inline-block;border-radius:100px;padding:5px 10px;font-size:13px;font-weight:800}.kind-pill.vp{background:#fff0f2;color:#a83d54}.kind-pill.kt{background:#e9faf2;color:#157a60}
.footer{position:relative;margin-top:30px;padding:17px 16px;border-radius:14px;color:#fff;background:linear-gradient(115deg,#1767c0,#038aab,#7661d0,#1767c0);background-size:250% 100%;animation:ssd-grad-flow 16s ease infinite;box-shadow:0 8px 20px #1f5f9e16;font-size:14px}
.sidebar-foot{border-top:2px solid #cfe3f2;position:relative}
@keyframes report-bar-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes ssd-grad-flow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@media(max-width:1000px){.report-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.report-two{grid-template-columns:1fr}}
@media(max-width:750px){.table-scroll table{font-size:16px}.table-scroll th{font-size:16px;padding:11px 12px}.table-scroll td{padding:12px}.student-name-btn{font-size:16px}.student-report-dialog{padding:16px;width:calc(100vw - 18px);max-height:95dvh}.student-report-header h2{font-size:22px}.report-filters{grid-template-columns:1fr}.report-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-stat{padding:12px;min-height:90px}.report-stat b{font-size:23px}.bar-row{grid-template-columns:minmax(90px,120px) minmax(50px,1fr) 28px}}
@media(prefers-reduced-motion:reduce){.bar-fill,.footer{animation:none!important}.report-stat,.report-trend circle{transition:none!important}}
@media print{.sidebar,.topbar,.footer,.report-toolbar,.nav,.btn,.report-filters{display:none!important}.student-report-dialog{position:static;max-width:100%;max-height:none;overflow:visible;border:0;box-shadow:none}.table-scroll{overflow:visible}}

/* Dashboard trực quan · 30/10/2026; giảm chuyển động theo thiết lập trợ năng. */
.ssd-filter-card{margin-top:22px;border:1px solid #dcebf4;border-radius:23px;background:linear-gradient(155deg,#fff 70%,#f7fcff);padding:clamp(17px,2.4vw,30px);box-shadow:0 15px 48px #295c8a10}
.ssd-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:17px}
.ssd-section-title h2{font-weight:850;margin:0;font-size:25px;color:#164d78;display:flex;align-items:center;gap:10px}
.ssd-section-title>span{color:#627b90;font-size:15px}
.ssd-filter-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;padding:15px;background:#f3f8fd;border:1px solid #e0edf7;border-radius:16px;margin-bottom:20px}
.ssd-filter-row .field{min-width:0}.ssd-filter-row label{font-weight:750;font-size:15px}.ssd-filter-row select{width:100%;font-size:16px;min-width:0}
.ssd-mini-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 20px}
.dash-stat{border:1px solid #dceaf4;border-radius:17px;background:#fff;padding:16px 17px;min-height:111px;box-shadow:0 7px 24px #14456e0a;transition:transform .25s ease,box-shadow .25s ease}
.dash-stat:hover{transform:translateY(-3px);box-shadow:0 14px 27px #236ea117}
.dash-stat span{display:block;font-size:15px;color:#55748d;font-weight:700}.dash-stat strong{display:block;font-size:31px;line-height:1.35;letter-spacing:-.5px;background:linear-gradient(110deg,#125bb9,#008c9a,#775ace);color:transparent;background-clip:text;-webkit-background-clip:text}
.dash-stat small{font-size:12px;color:#6f879e}
.ssd-dash-plots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.ssd-dash-panel{min-width:0;background:#fff;border:1px solid #e0eaf3;border-radius:19px;padding:18px 20px;box-shadow:0 7px 24px #235a8510;transition:border-color .22s ease,transform .22s ease,box-shadow .22s ease}
.ssd-dash-panel:hover{border-color:#a9d7ee;transform:translateY(-2px);box-shadow:0 15px 35px #1c67941c}
.ssd-dash-panel h3{display:flex;gap:9px;align-items:center;font-size:19px;color:#1c567b;margin:0 0 12px}
.ssd-dash-panel h3 .glyph{color:#1285ae}.ssd-dash-panel .hint{font-size:13px;margin:8px 0}
.ssd-bars{display:grid;gap:11px;max-height:355px;overflow:auto;padding:4px 5px 8px}
.ssd-bar-item{padding:3px 0}.ssd-bar-item.can-select{cursor:pointer}.ssd-bar-item.can-select:hover .ssd-bar-top{color:#116fc9}
.ssd-bar-top{display:flex;justify-content:space-between;gap:8px;font-size:15px;font-weight:720;margin-bottom:5px;color:#28516f}
.ssd-bar-top>b{color:#166c91;font-variant-numeric:tabular-nums}
.ssd-bar-track{height:13px;border-radius:999px;background:#eef3f8;overflow:hidden}
.ssd-bar-fill{display:block;height:100%;width:var(--ssd-bar);min-width:0;border-radius:999px;background:linear-gradient(95deg,var(--ssd-tone),#58e3cf);transform-origin:left;animation:ssd-reveal .85s both}
.ssd-bar-item:hover .ssd-bar-fill{filter:saturate(1.4) brightness(1.04)}
@keyframes ssd-reveal{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.ssd-donut-row{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:26px;min-height:215px}
.ssd-donut{display:grid;place-items:center;position:relative;width:190px;height:190px;border-radius:50%;background:conic-gradient(#dc6681 0 var(--vp-percent),#12afaa var(--vp-percent) 100%);box-shadow:0 7px 19px #245b7b22;transition:filter .25s}
.ssd-donut:hover{filter:saturate(1.25)}.ssd-donut::after{content:'';position:absolute;inset:29px;background:white;border-radius:50%;box-shadow:inset 0 1px 4px #12538d1a}
.ssd-donut>span{z-index:1;display:grid;text-align:center}.ssd-donut b{font-size:34px;color:#20597b}.ssd-donut small{font-size:15px;color:#657b90}
.ssd-donut-labels{min-width:150px}.ssd-donut-labels p{display:flex;align-items:center;gap:9px;font-weight:650;font-size:16px;margin:9px 0}.ssd-donut-labels b{margin-left:auto}
.ssd-dot{width:12px;height:12px;display:inline-block;border-radius:4px}.ssd-dot.vp{background:#dc6681}.ssd-dot.kt{background:#12afaa}
.ssd-week-visual{margin:24px 0;padding:16px;border:1px solid #dcebf5;border-radius:19px;background:#f6faff}
.ssd-week-visual>h3{font-size:22px;margin:0 0 15px;color:#18578e}.ssd-week-visual .ssd-dash-plots{margin:0}
.report-trend polyline{stroke-dasharray:1350;stroke-dashoffset:1350;animation:ssd-draw 1.4s ease forwards}.report-trend circle{transform-origin:center;animation:ssd-fade .9s both}
@keyframes ssd-draw{to{stroke-dashoffset:0}}@keyframes ssd-fade{from{opacity:0}to{opacity:1}}
.footer{background:linear-gradient(110deg,#1463bc,#008b9e,#7162cd,#1463bc)!important;background-size:260% 260%!important;animation:ssd-footer 12s ease infinite;color:#fff!important;border-radius:14px;padding:13px 18px;text-align:center;font-size:14px;font-weight:650;margin-top:34px}
@keyframes ssd-footer{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}
@media(max-width:1120px){.ssd-filter-row,.ssd-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.ssd-dash-plots{grid-template-columns:1fr}.ssd-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ssd-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ssd-dash-panel{padding:16px}}
@media(max-width:430px){.ssd-filter-row{grid-template-columns:1fr}.ssd-mini-stats{gap:8px}.dash-stat{padding:12px}.dash-stat strong{font-size:25px}.ssd-donut{width:155px;height:155px}.ssd-donut:after{inset:25px}}
@media(prefers-reduced-motion:reduce){.ssd-bar-fill,.report-trend polyline,.report-trend circle,.footer{animation:none!important}.ssd-dash-panel:hover,.dash-stat:hover{transform:none}}
/* History reconciliation: quiet professional palette, fully responsive. */
.history-title{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:22px}
.history-title .section-title,.history-heading h3{display:flex;align-items:center;gap:10px;margin:0 0 9px}
.history-dropzone{border:2px dashed #9dcaf3;border-radius:18px;padding:26px;background:linear-gradient(118deg,#f5fbff,#f0faf9);margin-bottom:22px}
.history-dropzone input[type=file]{display:block;width:100%;background:#fff;border:1px solid #cbddeb;border-radius:12px;padding:15px;font-size:17px}
.history-dropzone .btn{align-self:flex-start}
.history-preview-card{border:1px solid #b7d9e6;border-radius:18px;padding:22px;margin-bottom:22px;background:#fff;box-shadow:0 10px 30px rgba(11,49,87,.06)}
.history-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}
.history-heading p{margin:0;color:#52708f}
.history-kpis{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin:20px 0}
.history-kpi{display:flex;flex-direction:column;gap:8px;padding:19px 17px;border:1px solid #c8e1ef;border-radius:15px;background:linear-gradient(135deg,#f4faff 0%,#f5fdfc 100%)}
.history-kpi span{font-size:15px;font-weight:650;color:#416481}
.history-kpi strong{font-size:29px;color:#092d51;font-variant-numeric:tabular-nums}
.history-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:16px 0}
.history-grid>div{min-width:0;border:1px solid #e0ebf3;border-radius:14px;padding:15px}
.history-grid h4,.history-preview-card h4{margin:14px 0;font-size:18px}
.history-scroll{max-width:100%;overflow:auto;border:1px solid #e3ecf3;border-radius:13px;margin:12px 0 20px}
.history-scroll table{min-width:720px;margin:0}
.history-scroll tr:nth-child(even) td{background:#f6faff}
.history-scroll td,.history-scroll th{font-size:16px;line-height:1.5}
.history-scroll td small{display:block;color:#58738f;font-size:13px;margin-top:5px}
.history-status{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;font-size:14px;font-weight:700}
.history-add{color:#08766e;background:#e1f6f2}
.history-duplicate{color:#52657c;background:#edf1f6}
.history-skip{color:#956000;background:#fff1d3}
.history-lock{display:inline-flex;align-items:center;gap:5px;color:#0b598f;font-weight:700}
.history-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:20px 0}
.history-preview-card textarea{width:100%;border:1px solid #bed5e7;border-radius:12px;padding:12px 14px;font:inherit;resize:vertical}
@media(max-width:900px){.history-grid{grid-template-columns:1fr}.history-kpis{grid-template-columns:repeat(2,minmax(120px,1fr))}}
@media(max-width:520px){.history-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.history-kpi{padding:12px}.history-kpi strong{font-size:23px}.history-preview-card,.history-dropzone{padding:14px}.history-actions>*{width:100%;justify-content:center}}
@media(prefers-reduced-motion:reduce){.history-preview-card *, .history-dropzone *{animation:none!important;transition:none!important}}

/* 30/10/2026: longitudinal class / semester experience, no extra main navigation */
.ssd-mode-switch{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px;align-items:center}
.ssd-mode-switch .btn{font-size:17px;font-weight:800;min-height:48px;border-radius:14px;padding:10px 20px}
.ssd-period-card{margin-top:20px;border:1px solid #cde3f1;border-radius:24px;padding:clamp(17px,2.6vw,30px);background:linear-gradient(154deg,#ffffff 44%,#f2faff);box-shadow:0 18px 44px #173d7012;min-width:0}
.ssd-mode-switch+.ssd-period-card,.ssd-mode-switch~#period-summary-pane .ssd-period-card{margin-top:0}
.ssd-period-card>.hint{font-size:15px;line-height:1.55;margin:10px 0 18px}
.ssd-period-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:17px;border:1px solid #d2e5f2;border-radius:18px;background:linear-gradient(120deg,#eef7ff,#f3fbfa);margin:15px 0}
.ssd-period-filters .field{min-width:0}
.ssd-period-filters label{font-size:17px;font-weight:800;color:#19557e}
.ssd-period-filters select{font-size:17px;width:100%;min-height:50px}
.ssd-period-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:14px 0 20px}
.ssd-period-actions .btn{font-size:16px;font-weight:800}
.ssd-period-scope{border-left:4px solid #0ca3a7;padding:10px 14px;margin-bottom:17px;border-radius:8px;background:#edf9fa;font-size:16px;color:#175b78;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.ssd-period-card .ssd-mini-stats{grid-template-columns:repeat(5,minmax(0,1fr));margin:13px 0 20px}
.ssd-period-card .dash-stat{border:1px solid #dcebf4;background:#fff;border-radius:16px}
.ssd-period-card .dash-stat strong{font-size:clamp(24px,2.6vw,35px)}
.ssd-period-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.ssd-period-panel{min-width:0;overflow:hidden;margin:16px 0 0;padding:20px;border-radius:20px;border:1px solid #dce9f4;background:white;box-shadow:0 7px 25px #275d8310;transition:box-shadow .22s ease,border-color .22s ease,transform .22s ease}
.ssd-period-panel:hover{border-color:#9fcee4;box-shadow:0 12px 28px #235b8416;transform:translateY(-2px)}
.ssd-period-panel h3{display:flex;align-items:center;gap:9px;color:#154e76;font-size:20px;margin:0 0 14px}
.ssd-period-panel .hint{font-size:14px}
.ssd-period-panel .table-wrap,.ssd-period-panel .table-scroll,.ssd-period-panel .table-responsive{max-width:100%;overflow-x:auto}
.ssd-period-panel table{font-size:16px;min-width:700px}
.ssd-period-panel table th{font-size:15px;white-space:nowrap}
.ssd-period-panel tbody tr:nth-child(even){background:#f3f9fe}
.ssd-period-panel tbody tr:hover{background:#e9f7ff}
.ssd-semester-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ssd-semester-tile{border-radius:15px;border:1px solid #d4e7f4;background:linear-gradient(140deg,#f1f9ff,#fff);padding:16px 20px;display:grid;gap:9px;font-size:16px;transition:transform .2s ease}
.ssd-semester-tile:hover{transform:translateY(-2px)}
.ssd-semester-tile strong{font-size:20px;color:#166e9e;margin-bottom:6px}
.ssd-semester-tile .glyph{vertical-align:middle}
.ssd-data-note{margin-top:20px;border-top:1px solid #d6e4ef;padding-top:12px}
#period-summary-pane[hidden],#weekly-summary-pane[hidden]{display:none!important}
@media(max-width:1120px){.ssd-period-card .ssd-mini-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.ssd-period-grid{grid-template-columns:1fr}}
@media(max-width:760px){.ssd-period-filters{grid-template-columns:1fr}.ssd-period-card .ssd-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ssd-semester-grid{grid-template-columns:1fr}.ssd-period-panel{padding:14px}.ssd-mode-switch .btn{flex:1;justify-content:center;font-size:15px}.ssd-period-panel table{font-size:15px}}
@media(prefers-reduced-motion:reduce){.ssd-period-panel:hover,.ssd-semester-tile:hover{transform:none}}

/* Week-complete event review: accessible desktop/mobile; zero fake counts. */
.rec-week-card{border:1px solid #cadfeb;background:linear-gradient(155deg,#fff 55%,#f3faff);}
.rec-week-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:16px}
.rec-week-head h2{display:flex;align-items:center;gap:10px;font-size:clamp(21px,2vw,26px);color:#164871}
.rec-week-head .hint{font-size:16px;line-height:1.5;margin:6px 0 0}
.rec-week-filters{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:14px;background:#f1f8fd;border:1px solid #d2e6f5;border-radius:18px;padding:17px;margin-bottom:18px}
.rec-week-filters .field{min-width:0}.rec-week-filters label{font-size:16px;color:#1d5376}
.rec-week-filters .field:last-child{grid-column:1/-1}.rec-week-filters .field :is(input,select){min-height:53px;font-size:17px}
.rec-week-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:15px 0}
.rec-week-summary>div{display:grid;gap:7px;border:1px solid #d7e7f1;border-radius:15px;padding:15px 18px;background:#fff;border-top:3px solid #2485c7}
.rec-week-summary>div:nth-child(2){border-top-color:#0c9c8b}.rec-week-summary>div:nth-child(3){border-top-color:#dbaf48}.rec-week-summary>div:nth-child(4){border-top-color:#9c78d1}
.rec-week-summary small{font-size:15px;color:#526c83;font-weight:650}.rec-week-summary strong{font-size:29px;color:#103e64;font-variant-numeric:tabular-nums}
.rec-week-caption{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;color:#376382;font-size:15px;margin:10px 0 15px}
.rec-week-caption>span:first-child{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.rec-week-card .table-scroll{border-radius:17px;border-color:#cfe0ec}
.rec-week-card .table-scroll table{min-width:1050px;font-size:16px;table-layout:auto}
.rec-week-card .table-scroll td{font-size:16px;line-height:1.5;vertical-align:top}
.rec-week-card .table-scroll th{font-size:17px}
.rec-week-card .table-scroll td:nth-child(3){min-width:175px}.rec-week-card .table-scroll td:nth-child(5){min-width:210px;max-width:370px}
.rec-week-card .student-name-btn{font-weight:800;font-size:17px}
.rec-week-card .rec-collective{font-weight:800;color:#315773}
.rec-type{display:inline-block;margin-top:5px;font-weight:700;font-size:13px}.rec-type.violation{color:#ab4051}.rec-type.reward{color:#078c7c}
.rec-event-note{display:block;font-size:14px;margin-top:7px;color:#536c81;white-space:pre-wrap;overflow-wrap:anywhere}
.rec-badge{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:13px;font-weight:800;white-space:nowrap}
.rec-badge.approved{color:#106b54;background:#e2f8ef}.rec-badge.pending{color:#865e16;background:#fff2d5}.rec-badge.rejected{color:#a44453;background:#ffedf0}
.rec-actions{display:flex;align-items:center;gap:4px;white-space:nowrap}
.rec-icon-btn{border:1px solid #d8e4f1;border-radius:10px;display:inline-flex;justify-content:center;align-items:center;background:white;color:#1a6db1;min-width:40px;min-height:40px;padding:7px;cursor:pointer;transition:background .18s,transform .18s}
.rec-icon-btn:hover{background:#e9f7fc;transform:translateY(-1px)}.rec-icon-btn.danger{color:#aa3d4f}.rec-icon-btn.danger:hover{background:#fff0f2}
.rec-evidence-files{margin-top:8px;padding:9px;background:#eef8fb;border:1px solid #d4e9ef;border-radius:9px;font-size:13px;white-space:normal;max-width:280px;overflow-wrap:anywhere}
.rec-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px;color:#4a657c;font-size:15px}
.rec-pager>div{display:flex;gap:9px;flex-wrap:wrap}.rec-pager .btn{min-height:41px;font-size:15px}.rec-pager .btn:disabled{opacity:.45;cursor:not-allowed}
.rec-edit-dialog{border:1px solid #c4ddec;border-radius:20px;box-shadow:0 25px 75px #0b3a6180;padding:26px;width:min(660px,calc(100vw - 22px));max-height:90dvh;overflow:auto;color:#183858}
.rec-edit-dialog::backdrop{background:#0a2848a6;backdrop-filter:blur(3px)}
.rec-dialog-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:5px}.rec-dialog-head h2{display:flex;align-items:center;gap:9px;font-size:23px;margin:0}
.rec-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rec-edit-grid .rec-edit-full{grid-column:1/-1}
.rec-edit-dialog .field input,.rec-edit-dialog .field select{font-size:17px}.rec-edit-dialog textarea{width:100%;min-height:90px;border:1px solid #cbddec;border-radius:12px;padding:12px;font:inherit;resize:vertical}
.rec-edit-scope{grid-column:1/-1;background:#f2f8fd;border-radius:12px;padding:14px;color:#355a77}
.rec-dialog-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}.rec-dialog-actions .btn{min-width:125px}
@media(max-width:980px){.rec-week-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.rec-week-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.rec-week-card{padding:14px}.rec-week-filters{grid-template-columns:1fr;padding:12px}.rec-week-filters .field:last-child{grid-column:auto}.rec-week-summary{gap:8px}.rec-week-summary>div{padding:12px}.rec-week-summary strong{font-size:24px}.rec-edit-grid{grid-template-columns:1fr}.rec-edit-grid .rec-edit-full,.rec-edit-scope{grid-column:auto}.rec-edit-dialog{padding:16px}.rec-dialog-actions .btn{flex:1}}
@media(prefers-reduced-motion:reduce){.rec-icon-btn:hover{transform:none}.rec-icon-btn{transition:none}}

/* Đối tượng ghi nhận đặc biệt: tách khỏi sĩ số học sinh. */
.rec-subject-choice {display:flex!important;align-items:center;gap:10px;flex-wrap:wrap;background:linear-gradient(105deg,#eff6ff,#e6fcfa)!important;color:#14547c!important;border:1px solid #b8dae9!important;border-radius:12px!important;padding:12px 14px!important;margin:5px!important;font-weight:600}
.rec-subject-choice small {font-size:13px;color:#57748e;font-weight:400}
.rec-subject-choice:hover,.rec-subject-choice:focus-visible {background:linear-gradient(105deg,#dbeafe,#bcf7e8)!important;box-shadow:0 4px 13px #195a8a20!important;transform:translateY(-1px)}
.rec-collective {font-weight:750;color:#116b73}
