/* ClassJot website public demo v0.5.7. Independent, standalone UI styles. */
:root{color-scheme:light;--cjx-navy:#11223e;--cjx-blue:#1b65ed;--cjx-text:#233653;--cjx-sub:#667b96;--cjx-line:#dce6f3;--cjx-bg:#f2f5fa;--cjx-shadow:0 9px 25px rgba(28,54,89,.035)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#eef2f8;color:var(--cjx-text);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;font-size:14px;line-height:1.48}html[dir=rtl] body{font-family:'Noto Sans Arabic','IBM Plex Sans Arabic','Segoe UI',Tahoma,sans-serif;line-height:1.8}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #176af6;outline-offset:3px}a{text-decoration:none;color:inherit}svg{flex:none}.cjx-app{max-width:1220px;min-height:100vh;margin:0 auto;border-inline:1px solid var(--cjx-line);background:#fff;box-shadow:0 12px 36px #132b5012;overflow:clip}.cjx-top{min-height:66px;background:var(--cjx-navy);color:white;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 19px}.cjx-brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:800;letter-spacing:-.025em;color:white}.cjx-brandbox{border-radius:10px;width:35px;height:35px;background:white;display:flex;align-items:center;justify-content:center;padding:2px}.cjx-mark{width:31px;height:31px;display:block}.cjx-headright{display:flex;align-items:center;gap:14px}.cjx-return{font-size:12px;color:#dbe9ff;font-weight:690}.cjx-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;background:#eaf2ff;color:#285892;padding:5px 10px;font-size:12px;font-weight:720;white-space:nowrap}.cjx-small-badge{color:#e8f0fe;background:#29425f}.cjx-demobar{min-height:43px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#e8f1ff;color:#325b8a;padding:7px 20px;border-bottom:1px solid #d7e5f8;font-size:12px}.cjx-demobar span{display:flex;align-items:center;gap:7px}.cjx-demobar button{min-height:28px;font-size:11px;padding:4px 11px}.cjx-sectionhead{display:flex;justify-content:space-between;align-items:center;min-height:75px;gap:14px;padding:13px 20px;background:#fff;border-bottom:1px solid var(--cjx-line)}.cjx-sectionhead h1{font-size:24px;margin:0;font-weight:820;letter-spacing:-.035em}.cjx-classselect{display:grid;gap:3px;font-weight:760;color:#8191a7;font-size:10px;text-transform:uppercase;letter-spacing:.025em}.cjx-classselect select{background:white;border:1px solid #dce5f0;border-radius:10px;min-width:130px;font-size:12px;font-weight:650;padding:9px 13px;color:#253b5b;text-transform:none}.cjx-layout{display:grid;grid-template-columns:178px minmax(0,1fr);min-height:calc(100vh - 185px)}.cjx-side{border-inline-end:1px solid var(--cjx-line);display:flex;flex-direction:column;gap:5px;padding:20px 8px;background:#fff}.cjx-tab{border:0;border-radius:10px;background:transparent;display:flex;align-items:center;gap:10px;padding:12px;width:100%;color:#60728e;font-size:13px;font-weight:720;text-align:start}.cjx-tab:hover{background:#f0f5fd;color:#175fde}.cjx-tab.is-active{background:#eaf0ff;color:#075fed}.cjx-main{min-width:0;background:var(--cjx-bg);padding:18px 20px 30px}.cjx-stack{max-width:910px;margin:0 auto;display:grid;gap:13px;align-content:start}.cjx-card{background:#fff;border:1px solid var(--cjx-line);box-shadow:var(--cjx-shadow);border-radius:17px;padding:18px;min-width:0}.cjx-card h2{font-size:17px;line-height:1.35;margin:0 0 12px;font-weight:800;letter-spacing:-.015em}.cjx-card h3{font-size:15px;margin:0 0 8px}.cjx-card p{margin:4px 0 12px}.cjx-muted,.cjx-card-head small{color:var(--cjx-sub);font-size:12px}.cjx-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.cjx-card-head h2{margin:0}.cjx-card-head p{margin:3px 0 0;color:var(--cjx-sub)}.cjx-accent{font-size:20px;color:var(--cjx-blue)}.cjx-teacher{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.cjx-avatar{width:56px;height:56px;display:grid;place-items:center;background:#e9effe;color:var(--cjx-blue);border-radius:15px;font-size:27px;font-weight:790}.cjx-teachertext{display:grid;flex:1;min-width:155px}.cjx-teachertext strong{font-size:16px}.cjx-teachertext span{display:flex;align-items:center;gap:4px;color:var(--cjx-sub);font-size:12px}.cjx-quiet{display:flex;align-items:center;gap:7px;border:1px solid #dae5f2;border-radius:9px;background:white;padding:8px 12px;font-size:12px;font-weight:680}.cjx-quiet:hover{background:#f2f6fe}.cjx-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.cjx-stat,.cjx-stats>div{border:1px solid var(--cjx-line);border-radius:14px;background:#fff;min-width:0;padding:14px;text-align:start;box-shadow:var(--cjx-shadow);display:grid;gap:5px}.cjx-stat:hover{border-color:#9bbcf9;background:#fbfdff}.cjx-stat small,.cjx-stats>div small{display:flex;gap:6px;align-items:center;color:var(--cjx-sub);font-size:11px;font-weight:630}.cjx-stat strong,.cjx-stats>div strong{font-size:25px;font-weight:820;line-height:1.08;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.cjx-stats strong.cjx-smallstat{font-size:16px;line-height:1.4}.cjx-stats strong small{font-size:10px;display:inline}.cjx-grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cjx-session{background:#f4f7fd;padding:12px 14px;border-radius:11px;display:flex;align-items:center;justify-content:space-between;gap:10px}.cjx-session span{display:grid;font-weight:700;font-size:12px}.cjx-session small{font-weight:450;color:var(--cjx-sub)}.cjx-session time{font-size:12px;font-weight:790;color:#195ed0;white-space:nowrap}.cjx-count-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px 0 0}.cjx-count{min-width:0;display:flex;align-items:center;justify-content:center;gap:7px;min-height:45px;border-radius:11px;padding:10px 8px;font-size:13px;font-weight:720}.cjx-count strong{font-size:16px;font-weight:820;font-variant-numeric:tabular-nums}.cjx-count.cjx-present{background:#e2f4ec;color:#078761}.cjx-count.cjx-absent{background:#fbe9ed;color:#ac2e50}.cjx-count.cjx-late{background:#fff2d9;color:#ae700b}.cjx-count.cjx-excused{background:#f0e9fb;color:#7554b1}.cjx-count-grid.cjx-plain{grid-template-columns:repeat(4,minmax(0,1fr));}.cjx-plain .cjx-count{display:grid;min-height:80px;text-align:center;justify-items:center;align-content:center;background:#f4f6fa}.cjx-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.cjx-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;border-radius:10px;padding:8px 14px;font-size:12px;font-weight:740;border:1px solid #d7e3f1;white-space:normal}.cjx-primary{background:#2562e7;border-color:#2562e7;color:white}.cjx-primary:hover{background:#154ed2}.cjx-secondary{background:white;color:#305882}.cjx-secondary:hover,.cjx-light:hover{background:#eaf2ff}.cjx-light{background:#fff;color:#35577d}.cjx-rightactions{display:flex;justify-content:flex-end}.cjx-statusline{display:flex;justify-content:flex-end}.cjx-panel-box{background:#f3f6fb;border:1px solid #e3ebf6;padding:13px;border-radius:13px;margin:14px 0}.cjx-panel-box label{display:grid;gap:6px;font-size:12px;font-weight:790}.cjx-panel-box select{width:100%;min-height:40px;border:1px solid #d6e3f1;border-radius:9px;padding:8px 11px;background:#fff}.cjx-threefields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.cjx-threefields label,.cjx-modal label{display:grid;gap:6px;font-size:12px;font-weight:760;color:#48617f}.cjx-threefields input,.cjx-threefields select,.cjx-modal input,.cjx-modal select,.cjx-modal textarea{width:100%;min-width:0;border:1px solid #d5e1ed;border-radius:9px;background:#fff;padding:10px;font-size:12px;color:#273f60}.cjx-details{color:var(--cjx-sub);font-size:12px;margin-top:12px}.cjx-details summary{font-weight:760;cursor:pointer}.cjx-segment{display:flex;border:1px solid #e3eaf3;background:#f3f6fb;border-radius:12px;padding:4px;gap:5px;margin:10px 0}.cjx-segment button{flex:1;border:0;background:transparent;color:#6b7f9a;border-radius:9px}.cjx-segment button[aria-pressed=true]{background:#fff;color:#264367;box-shadow:0 2px 8px #15294613}.cjx-modebar{display:flex;gap:8px;margin:13px 0}.cjx-mode{min-height:65px;flex:1;min-width:0;border:1px solid transparent;border-radius:12px;background:white;color:#526d8e;display:grid;justify-items:center;align-content:center;gap:4px;font-size:12px}.cjx-mode.is-selected{color:white;background:#ae2b4a}.cjx-mode.cjx-late.is-selected{background:#ad741c}.cjx-mode.cjx-excused.is-selected{background:#7756b5}.cjx-mode.cjx-present.is-selected{background:#087d5c}.cjx-hint{background:#eef3ff;border:1px solid #e0eafb;padding:10px 13px;border-radius:11px;color:#536d95;font-size:12px}.cjx-classroom{overflow-x:auto;background:#f5f7fb;border:1px solid #e1e8f3;border-radius:13px;padding:12px 10px 20px;max-width:100%}.cjx-whiteboard{margin:0 auto 12px;max-width:230px;background:#fff;border:1px solid #d1e0f0;padding:4px 13px;text-align:center;border-radius:7px;color:#7b90ac;font-size:10px;font-weight:650}.cjx-seat-rows{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:480px}.cjx-seat-row{border-radius:11px;background:#eef2f9;border:1px solid #dde7f4;padding:5px;min-width:0}.cjx-row-label{background:#e5eeff;border-radius:7px;min-height:25px;color:#1959bc;font-size:11px;font-weight:800;padding:5px 6px;display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.cjx-desk{border:1px solid #d3e0ec;background:#f8fbff;border-radius:8px;padding:2px;margin-bottom:6px;text-align:center}.cjx-desk small{display:block;color:#6385ab;font-size:9px;font-weight:750;line-height:1.5}.cjx-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.cjx-seat,.cjx-seat-empty{min-width:0;height:30px;border:1px solid #b9d2e6;border-radius:6px;background:#e4f1ff;color:#316184;font-size:10px;font-weight:820;display:flex;align-items:center;justify-content:center;position:relative}.cjx-seat::before{content:'';position:absolute;top:3px;inset-inline-start:2px;background:#1795d6;width:5px;height:5px;border:1px solid white;border-radius:50%}.cjx-g-f::before{background:#ab60cf}.cjx-seat.cjx-g-f{background:#f2eafa;border-color:#d9c8ef;color:#714e8f}.cjx-seat.cjx-seat-present{background:#e3f6ed;border-color:#b4ddcd}.cjx-seat.cjx-seat-absent{background:#fce6ea;border-color:#f1afb9}.cjx-seat.cjx-seat-late{background:#fff1d6;border-color:#e9c990}.cjx-seat.cjx-seat-excused{background:#efe7fa;border-color:#d9c7f0}.cjx-seat.is-picked{outline:2px solid #1866f0;outline-offset:1px}.cjx-seat-empty{background:transparent;color:#7894b4}.cjx-teacherdesk{width:max-content;margin:11px 0 0 auto;padding:4px 12px;border:1px solid #d8e3f1;border-radius:8px;font-size:10px;color:#64809f;background:#fff}html[dir=rtl] .cjx-teacherdesk{margin:11px auto 0 0}.cjx-attendance-list{max-height:410px;overflow:auto;border:1px solid #e1e9f4;border-radius:11px}.cjx-list-person{width:100%;border:0;border-bottom:1px solid #edf1f7;background:#fff;display:flex;align-items:center;justify-content:space-between;text-align:start;gap:10px;padding:11px;font-size:12px}.cjx-list-person:hover{background:#f7faff}.cjx-list-person:last-child{border:0}.cjx-status-present{background:#e3f6ed;color:#188064}.cjx-status-absent{background:#fee8ef;color:#b33750}.cjx-status-late{background:#fff2d6;color:#af710e}.cjx-status-excused{background:#eee7fa;color:#7855b1}.cjx-period{display:grid;gap:7px}.cjx-period small{font-size:11px;color:#6780a0;font-weight:740}.cjx-period select{padding:10px 12px;background:#fff;border:1px solid #d9e3ee;border-radius:11px}.cjx-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cjx-action-grid.cjx-third{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:8px}.cjx-action-grid.cjx-single{grid-template-columns:1fr;margin-bottom:8px}.cjx-action-grid .cjx-btn{width:100%;padding-inline:5px}.cjx-tablewrap{overflow:auto;border:1px solid #e0e8f4;border-radius:12px;max-height:580px}.cjx-table{width:100%;border-collapse:collapse;min-width:560px;font-size:12px}.cjx-table thead{position:sticky;top:0;z-index:2}.cjx-table th{background:#e7effd;color:#2c456c;font-size:11px;border-bottom:1px solid #d9e4f2}.cjx-table td,.cjx-table th{border-inline-end:1px solid #e8edf5;border-bottom:1px solid #edf1f6;padding:11px 9px}.cjx-table tr:last-child td{border-bottom:0}.cjx-table td:first-child{font-weight:680;min-width:120px}.cjx-studentno{color:#7286a1;font-size:10px}.cjx-table .cjx-avg{color:#0b815a;font-weight:820;text-align:center;font-variant-numeric:tabular-nums}.cjx-markbutton{border:0;border-radius:6px;padding:6px 7px;background:transparent;color:#253d61;font-weight:740;font-variant-numeric:tabular-nums}.cjx-markbutton:hover{background:#eaf1ff;color:#135cdc}.cjx-table-tip{font-size:11px;color:#6e829b}.cjx-roster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:570px;overflow:auto;padding:2px}.cjx-search{display:flex;align-items:center;gap:7px;background:#f6f9fd;border:1px solid #dce6f4;border-radius:10px;padding:8px 11px;margin:12px 0}.cjx-search input{min-width:0;width:100%;border:0;background:transparent;outline:0}.cjx-person{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e0e9f5;border-radius:10px;text-align:start;padding:9px;font-size:11px;min-width:0}.cjx-person:hover{border-color:#92b8f4;background:#f9fbff}.cjx-person-n{background:#eaf1ff;color:#2863b3;padding:4px 5px;border-radius:5px;font-size:10px;font-weight:800}.cjx-person>span:nth-child(2){flex:1;overflow:hidden;text-overflow:ellipsis}.cjx-points{color:#3670bd;font-size:11px;font-weight:800}.cjx-class-stats{margin-top:12px}.cjx-weekdays{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:12px 0}.cjx-weekday{border:1px solid #dce5f1;border-radius:9px;padding:11px 4px;background:#fff;font-size:12px;font-weight:740}.cjx-weekday.on{background:#e6efff;color:#115ed7;border-color:#86b1f6}.cjx-week-session{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;border:1px solid #e2e9f3;border-radius:10px;margin-bottom:9px}.cjx-week-session>div{display:flex;align-items:center;gap:8px}.cjx-week-session small{color:var(--cjx-sub)}.cjx-week-session time{color:#2360bd;font-weight:820}.cjx-entry{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px;border:1px solid #e2e9f3;border-radius:12px;margin-top:9px}.cjx-entry strong{font-size:13px}.cjx-entry p{font-size:12px;color:#6c809a;margin:4px 0}.cjx-entry small{color:#7590ac;font-size:11px}.cjx-more-item{width:100%;display:flex;align-items:center;gap:12px;background:#fff;border:0;border-bottom:1px solid #edf1f6;padding:14px;font-weight:730;text-align:start}.cjx-more-item span:nth-child(2){flex:1}.cjx-more-item:hover{background:#f5f8fe}.cjx-reportstats{margin:14px 0}.cjx-below{margin:20px auto;max-width:900px;text-align:center;color:#8694aa;font-size:11px}.cjx-bottom{display:none}.cjx-backdrop{position:fixed;inset:0;background:#1126409c;display:flex;align-items:center;justify-content:center;z-index:200;padding:15px}.cjx-modal{width:min(530px,100%);background:#fff;border:1px solid #d9e3f2;border-radius:18px;box-shadow:0 22px 70px #0003;max-height:min(90dvh,760px);overflow:auto}.cjx-modal header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e1e9f4;padding:15px 18px}.cjx-modal header h2{font-size:17px;margin:0}.cjx-modal header button{border:0;background:#f3f6fb;border-radius:7px;font-size:23px;width:31px;height:31px}.cjx-modalbody{padding:17px}.cjx-modalbody form{display:grid;gap:11px}.cjx-modalbody form>label{display:grid;gap:5px}.cjx-fieldgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cjx-modalbuttons{display:flex;gap:9px;justify-content:flex-end;margin-top:13px}.cjx-toast{position:fixed;inset-inline-start:50%;bottom:78px;transform:translateX(-50%);pointer-events:none;border-radius:11px;background:#163052;color:#fff;padding:10px 16px;font-size:12px;z-index:300;min-height:0;box-shadow:0 6px 20px #1126402e}.cjx-toast:empty{display:none}
@media(max-width:950px){.cjx-layout{grid-template-columns:145px minmax(0,1fr)}.cjx-main{padding:14px}.cjx-roster{grid-template-columns:repeat(2,minmax(0,1fr))}.cjx-seat-rows{min-width:440px}}
@media(max-width:680px){.cjx-top{min-height:64px;padding:9px 14px}.cjx-headright{gap:8px}.cjx-return{font-size:10px}.cjx-demobar{padding:7px 12px;font-size:10px}.cjx-demobar span{gap:3px}.cjx-demobar button{padding:6px}.cjx-sectionhead{padding:12px 14px;min-height:75px}.cjx-sectionhead h1{font-size:20px}.cjx-classselect{font-size:9px}.cjx-classselect select{min-width:115px}.cjx-layout{display:block;min-height:0}.cjx-side{display:none}.cjx-main{padding:13px 12px 95px;min-height:calc(100vh - 150px)}.cjx-stack{gap:12px}.cjx-card{padding:13px;border-radius:15px}.cjx-card h2{font-size:16px}.cjx-profile-card .cjx-quiet{flex-basis:100%;justify-content:center}.cjx-teachertext{min-width:0}.cjx-grid-two{grid-template-columns:1fr}.cjx-count-grid.cjx-plain{grid-template-columns:repeat(4,minmax(0,1fr))}.cjx-plain .cjx-count{padding:7px 2px;min-height:66px}.cjx-plain .cjx-count strong{font-size:18px}.cjx-plain .cjx-count span{font-size:11px}.cjx-threefields{gap:7px}.cjx-threefields label{font-size:10px}.cjx-threefields input,.cjx-threefields select{padding:7px 5px;font-size:10px;min-height:38px}.cjx-seat-rows{min-width:415px}.cjx-classroom{padding:10px 8px}.cjx-bottom{position:fixed;inset-inline:0;bottom:0;z-index:100;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;border-top:1px solid #dae4f3;background:#fff;padding:5px 5px max(6px,env(safe-area-inset-bottom));box-shadow:0 -4px 22px #10284912}.cjx-bottom .cjx-tab{display:grid;justify-items:center;align-content:center;gap:3px;min-height:56px;padding:5px 1px;font-size:10px;text-align:center;border-radius:10px}.cjx-bottom .cjx-tab svg{width:20px;height:20px}.cjx-roster{grid-template-columns:repeat(2,minmax(0,1fr))}.cjx-tablewrap{max-height:520px}.cjx-action-grid.cjx-third .cjx-btn{font-size:10px}.cjx-count{font-size:11px;gap:4px}.cjx-count svg{width:14px;height:14px}.cjx-count strong{font-size:13px}}
@media(max-width:370px){.cjx-return{max-width:92px}.cjx-demobar strong{display:none}.cjx-brand{font-size:15px}.cjx-headright .cjx-small-badge{display:none}.cjx-sectionhead h1{font-size:19px}.cjx-roster{grid-template-columns:1fr}.cjx-btn{padding:7px 9px}.cjx-modalbuttons{flex-wrap:wrap}}
html[dir=rtl] .cjx-brand{letter-spacing:0}html[dir=rtl] .cjx-sectionhead h1{letter-spacing:0}html[dir=rtl] .cjx-tabs,html[dir=rtl] .cjx-side{direction:rtl}html[dir=rtl] .cjx-table{text-align:right}html[dir=rtl] .cjx-card h2{letter-spacing:0}html[dir=rtl] .cjx-roster{direction:rtl}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Keep the four desk rows visible together on phones, matching ClassJot. */
@media(max-width:680px){
 .cjx-headright .cjx-small-badge{display:none}
 .cjx-seat-rows{min-width:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
 .cjx-classroom{overflow-x:visible;padding:7px 5px}
 .cjx-seat-row{padding:3px}
 .cjx-row-label{font-size:9px;padding:4px 2px;min-height:21px}
 .cjx-desk{padding:2px;margin-bottom:4px}
 .cjx-pair{gap:2px}
 .cjx-seat,.cjx-seat-empty{height:27px;font-size:9px}
 .cjx-seat::before{width:4px;height:4px;top:2px;inset-inline-start:1px}
 .cjx-whiteboard{margin-bottom:8px}
}
@media(max-width:680px){
 .cjx-table{min-width:430px;font-size:10px}
 .cjx-table td,.cjx-table th{padding:8px 6px}
 .cjx-markbutton{font-size:11px;padding:5px}
}
/* v0.5.8 — faithful, safe public-classroom interactions; the WordPress site is unchanged. */
.cjx-class-card{padding:18px 20px}.cjx-class-tile{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.cjx-class-identity{display:flex;gap:14px;align-items:center;min-width:0;flex:1}.cjx-class-emblem{width:54px;height:54px;border-radius:14px;background:#e7f0ff;color:#1b65ed;display:grid;place-items:center;flex:none}.cjx-class-identity h2{margin:0 0 4px}.cjx-class-identity p{margin:0;color:var(--cjx-sub);font-size:13px}.cjx-class-actions{display:flex;flex-wrap:wrap;gap:9px}.cjx-class-stats{margin-top:18px}.cjx-class-empty{text-align:center;padding:12px 5px}.cjx-class-empty>div{display:inline-grid;place-items:center;background:#eaf2ff;color:#1b65ed;width:45px;height:45px;border-radius:12px;margin-bottom:10px}.cjx-class-empty h2{margin:0 0 7px}.cjx-class-empty p{color:var(--cjx-sub);font-size:12px;margin:0 0 14px}.cjx-roster-tip{margin:0 0 10px}.cjx-person-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cjx-person .cjx-points{white-space:nowrap;font-variant-numeric:tabular-nums}.cjx-person .cjx-points small{color:#91a8ca;font-size:7px}.cjx-front-of-class{position:relative;display:grid;grid-template-columns:1fr minmax(120px,220px) 1fr;align-items:end;gap:10px;margin:14px 0 0}.cjx-front-of-class .cjx-whiteboard{grid-column:2;margin:0;background:#fff;color:#657d9e;min-height:25px;display:grid;place-items:center}.cjx-front-of-class .cjx-teacherdesk{grid-column:3;grid-row:1;justify-self:end;align-self:end;margin:0;min-height:25px}.cjx-teacherdesk{direction:ltr}html[dir=rtl] .cjx-front-of-class{direction:ltr}.cjx-classroom-edit .cjx-seat-empty{border:1px dashed #7aa7e7;background:#fff;color:#2267c8}.cjx-classroom-edit .cjx-seat-empty:hover,.cjx-seat-empty:hover{border-color:#1b65ed;background:#e5f0ff;color:#1254bc}.cjx-status-select{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.cjx-status-button{border:1px solid #dbe5f3;border-radius:10px;padding:10px 3px;font-size:11px;font-weight:700;background:#f6f9fd}.cjx-status-button.is-on{outline:2px solid #1b65ed;color:#125bd1}.cjx-student-modal-head{border-bottom:1px solid #e8eef8;padding-bottom:10px}.cjx-student-modal-head p{margin:0}.cjx-modal-section{padding-top:14px}.cjx-modal-section h3{font-size:14px;margin-bottom:10px}.cjx-point-balances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.cjx-point-balances>div{border:1px solid #dbe8f7;border-radius:12px;padding:10px;background:#f6f9ff;display:grid;gap:4px;font-size:12px}.cjx-point-balances strong{font-size:23px;line-height:1;font-variant-numeric:tabular-nums;color:#1b5ecc}.cjx-reason-label{display:grid;gap:6px;color:#526b8e;font-size:12px;font-weight:700}.cjx-reason-label input{width:100%;min-height:37px;padding:8px;border:1px solid #d9e4f3;border-radius:9px}.cjx-modal-help{color:#7890aa;font-size:12px}.cjx-point-controls{display:grid;gap:14px}.cjx-point-controls>div{display:grid;gap:7px}.cjx-point-controls strong{font-size:12px}.cjx-point-controls>div>div{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.cjx-point-controls button,.cjx-point-steps button{padding:8px 2px;background:#f4f8ff;border:1px solid #cfe0f6;border-radius:8px;font-size:12px;font-weight:800;color:#255eae;min-height:36px;font-variant-numeric:tabular-nums}.cjx-point-controls button:hover,.cjx-point-steps button:hover,.cjx-point-steps button.is-on{border-color:#2469ed;background:#e1edff;color:#0a55cf}.cjx-point-log{display:flex;gap:12px;border-bottom:1px solid #edf2f8;padding:7px 0;color:#576f8d;font-size:12px}.cjx-point-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:10px 0}.cjx-inlinepoints{display:block;color:#4275b7;font-size:10px;margin-top:2px}.cjx-reports-note{margin:13px 0 0!important}.cjx-barline{display:grid;grid-template-columns:70px minmax(0,1fr) 25px;align-items:center;gap:12px;margin:12px 0;font-size:12px;font-variant-numeric:tabular-nums}.cjx-bartrack{height:17px;background:#edf3fd;border-radius:7px;overflow:hidden}.cjx-barfill{height:100%;min-width:2px;background:linear-gradient(90deg,#4786ff,#1b65ed);border-radius:7px}.cjx-barline strong{text-align:end;color:#1b65ed}.cjx-leaderlist{display:grid;gap:6px}.cjx-leaderlist>button{display:flex;align-items:center;gap:9px;text-align:start;padding:9px 7px;border:1px solid #e4ebf7;border-radius:9px;background:#fff;font-size:12px;min-width:0}.cjx-leaderlist>button:hover{background:#f4f8ff;border-color:#b4cbed}.cjx-leaderlist>button>span:nth-child(2){flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cjx-leaderlist>button strong{color:#235cae;font-variant-numeric:tabular-nums}.cjx-leaderlist>button strong small{font-size:9px;color:#8594a7}.cjx-rank{width:26px;height:26px;display:grid;place-items:center;border-radius:7px;background:#ebf1ff;color:#1b65ed;font-weight:800;flex:none}.cjx-historyrow{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;border-bottom:1px solid #e9eef7;padding:12px 0}.cjx-historyrow:last-child{border-bottom:0}.cjx-historyrow>div{display:flex;flex-wrap:wrap;gap:5px}.cjx-report-student-marks{display:grid;gap:7px;margin:14px 0}.cjx-report-student-marks span{display:flex;justify-content:space-between;padding:9px;border-bottom:1px solid #e4ebf6}.cjx-modalbody .cjx-status-select button{font-size:11px}.cjx-modalbody label{font-size:12px;font-weight:700}.cjx-modalbody .cjx-fieldgrid label{display:grid;gap:5px}
@media(max-width:800px){.cjx-class-tile{align-items:start}.cjx-class-actions{width:100%}.cjx-class-actions .cjx-btn{flex:1}.cjx-leaderlist>button{font-size:11px}.cjx-point-controls>div>div{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.cjx-front-of-class{grid-template-columns:1fr minmax(85px,140px) 1fr;gap:4px}.cjx-front-of-class .cjx-whiteboard,.cjx-front-of-class .cjx-teacherdesk{font-size:8px;padding:4px;min-height:23px}.cjx-status-select{grid-template-columns:repeat(2,minmax(0,1fr))}.cjx-point-balances{grid-template-columns:repeat(2,minmax(0,1fr))}.cjx-point-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.cjx-historyrow>div{max-width:100%}.cjx-historyrow .cjx-badge{font-size:10px;padding:4px 7px}.cjx-class-identity h2{font-size:15px}.cjx-class-emblem{width:42px;height:42px}.cjx-class-card{padding:13px}.cjx-reports-note{font-size:11px}.cjx-barline{grid-template-columns:54px minmax(0,1fr) 20px;gap:6px}.cjx-class-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:370px){.cjx-point-balances{grid-template-columns:1fr}.cjx-class-actions{display:grid;grid-template-columns:1fr}.cjx-front-of-class{grid-template-columns:1fr minmax(75px,130px) 1fr}}

.cjx-barprogress{appearance:none;-webkit-appearance:none;width:100%;height:17px;border:0;border-radius:7px;background:#edf3fd;overflow:hidden}.cjx-barprogress::-webkit-progress-bar{background:#edf3fd;border-radius:7px}.cjx-barprogress::-webkit-progress-value{background:linear-gradient(90deg,#4786ff,#1b65ed);border-radius:7px}.cjx-barprogress::-moz-progress-bar{background:#1b65ed;border-radius:7px}

/* v0.5.9: refine report metrics & demo class-manager, no page redesign. */
.cjx-v059-class-header{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;align-items:center}
.cjx-v059-class-header .cjx-class-identity{flex:1;min-width:180px}
.cjx-classname-line{display:flex;gap:8px;align-items:center}.cjx-classname-line h2{margin:0}
.cjx-icon-button{width:34px;height:34px;border:1px solid #d6e2f4;border-radius:10px;background:white;color:#2865cc;display:grid;place-items:center;cursor:pointer}
.cjx-icon-button:hover,.cjx-icon-button:focus-visible{background:#e9f1ff;outline:2px solid #c7dbff}
.cjx-v059-manager-head{align-items:start}.cjx-v059-manager-head p{margin:4px 0 0}
.cjx-v059-roster-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:15px 0 10px}
.cjx-v059-roster-toolbar .cjx-search{flex:1;min-width:190px;margin:0}.cjx-v059-roster-toolbar .cjx-actions{margin:0}
.cjx-v059-roster-head{display:flex;justify-content:space-between;gap:10px;color:#587296;font-size:12px;margin-bottom:9px}
.cjx-v059-roster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:390px;overflow:auto;padding:2px}
.cjx-v059-studentrow{display:flex;align-items:center;min-width:0;border:1px solid #dfebfa;border-radius:10px;background:#fff;gap:5px}
.cjx-v059-studentrow>label{padding:6px 3px 6px 9px;display:grid;place-items:center}
.cjx-v059-studentrow input{width:15px;height:15px;accent-color:#1764e8}
.cjx-v059-roster-person{display:flex;gap:8px;align-items:center;min-width:0;flex:1;text-align:start;border:0!important;background:transparent!important;padding:7px 8px 7px 0!important;cursor:pointer}
.cjx-v059-roster-person .cjx-person-name{min-width:0;flex:1;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cjx-gender-dot{width:7px;height:7px;border-radius:50%;flex:none;background:#288ddf}.cjx-gender-dot.cjx-g-f{background:#a06add}
.cjx-v059-planbar{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:12px 0}
.cjx-v059-planbar label{flex:1;min-width:160px}.cjx-v059-planbar select{display:block;width:100%;margin-top:4px}
.cjx-v059-grade-table{min-width:780px}.cjx-v059-grade-table th small{display:block;color:#7288aa;font-size:10px;font-weight:700}
.cjx-v059-grade-table td:not(:first-child){font-variant-numeric:tabular-nums}
.cjx-class-stats strong{font-variant-numeric:tabular-nums}
@media(max-width:730px){.cjx-v059-roster{grid-template-columns:1fr}.cjx-v059-roster-toolbar{align-items:stretch}.cjx-v059-roster-toolbar .cjx-actions{width:100%;flex-wrap:wrap}.cjx-v059-class-header .cjx-class-actions{width:100%}}
html[dir=rtl] .cjx-v059-roster-person{padding:7px 0 7px 8px!important;text-align:right}

/* v0.6.0 — Source-guided public demo. No private ClassJot app code is shipped. */
.cjx-app{max-width:1600px;overflow:visible}
.cjx-top{position:relative;z-index:3;min-height:70px}
.cjx-return{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#fff;color:#163b71;padding:10px 16px;border-radius:9px;border:1px solid #c5d8f3;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer;position:relative;z-index:5;pointer-events:auto}
.cjx-return:hover{background:#eaf2ff;color:#0756cc}
.cjx-layout{grid-template-columns:235px minmax(0,1fr)}
.cjx-side{padding:18px 12px;gap:5px}
.cjx-tab{font-size:14px;min-height:47px;padding:12px 14px}
.cjx-main{padding:24px 30px 36px}
.cjx-stack{max-width:1320px;gap:18px}
.cjx-card{padding:24px;border-radius:20px}
.cjx-card h2{font-size:20px}
.cjx-sectionhead h1{font-size:28px}
.cjx-stat strong,.cjx-stats>div strong{font-size:29px}
.cjx-v060-sectionhead{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 2px}
.cjx-v060-sectionhead h2{font-size:25px;line-height:1.25;margin:0 0 4px;color:#20344f}
.cjx-v060-sectionhead p{margin:0}
.cjx-v060-classes .cjx-class-card{padding:24px 27px}
.cjx-v060-class-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:26px;flex-wrap:wrap}
.cjx-v060-class-primary{min-width:200px;display:grid;justify-items:start;gap:6px}
.cjx-v060-class-primary .cjx-class-emblem{width:58px;height:58px;margin-bottom:8px}
.cjx-v060-class-primary h2{font-size:23px;margin:0}
.cjx-v060-class-primary p{font-size:14px;color:#647b9b;margin:0}
.cjx-v060-class-buttons{display:grid;gap:8px;min-width:200px;max-width:250px;flex:1}
.cjx-v060-class-buttons .cjx-btn{justify-content:flex-start;min-height:42px}
.cjx-v060-roster{display:grid;gap:1px;border:1px solid #dbe4f0;border-radius:12px;max-height:560px;overflow:auto;background:#dbe4f0}
.cjx-v060-personrow{display:flex;gap:10px;align-items:center;background:#fff;min-width:0;padding:10px 12px;min-height:61px}
.cjx-v060-select{display:flex;align-items:center}
.cjx-v060-select input{width:17px;height:17px;accent-color:#1b65ed}
.cjx-v060-number{display:grid;place-items:center;background:#e8effd;color:#195aca;font-weight:800;font-variant-numeric:tabular-nums;border-radius:8px;min-width:31px;height:31px;flex:none}
.cjx-v060-name{border:0;background:none;text-align:start;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:750;color:#243b59}
.cjx-v060-name:hover{color:#0e56c6;text-decoration:underline}
.cjx-v060-person-actions{display:flex;gap:5px;align-items:center}
.cjx-v060-person-actions .cjx-btn{min-height:34px;padding:5px 9px}
.cjx-v060-person-actions button:last-child{color:#b82e4d;border-color:#f2d5de}
.cjx-v060-seat-panels{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(225px,1fr);gap:18px}
.cjx-v060-seat-stage{min-width:0}
.cjx-v060-plan-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:0 0 16px;padding:15px}
.cjx-v060-plan-controls>label{flex:1;min-width:200px;font-weight:750;font-size:13px}
.cjx-v060-plan-controls select{display:block;width:100%;margin-top:7px;background:white;border:1px solid #d8e4f4;border-radius:9px;min-height:40px;padding:7px}
.cjx-v060-plan-controls .cjx-actions{margin:0;width:100%;flex-wrap:wrap}
.cjx-v060-plan-limit{font-size:13px;color:#8192ab;font-variant-numeric:tabular-nums}
.cjx-v060-layout-controls{display:grid;grid-template-columns:100px 125px minmax(140px,1fr) auto;gap:10px;align-items:end;margin:10px 0 14px}
.cjx-v060-layout-controls label{display:grid;gap:5px;font-size:13px;line-height:1.4;font-weight:750;color:#5d7290}
.cjx-v060-layout-controls input,.cjx-v060-layout-controls select{width:100%;min-width:0;border:1px solid #d8e4f4;border-radius:9px;padding:10px;background:#fff}
.cjx-v060-layout-controls :disabled{color:#60789a;opacity:.9}
.cjx-v060-layout-controls button:disabled{opacity:.55}
.cjx-v060-seat-actions{justify-content:end;margin:12px 0}
.cjx-v060-roster-side{border:1px solid #dce5f2;background:#fff;border-radius:15px;padding:15px;min-width:0;align-self:start}
.cjx-v060-roster-side h3{font-size:17px;margin:0 0 13px}
.cjx-v060-roster-side label{display:grid;gap:6px;font-weight:720;font-size:12px;color:#647b9b}
.cjx-v060-roster-side input{border:1px solid #d4e0f0;border-radius:8px;padding:10px;min-width:0;width:100%;font-size:13px}
.cjx-v060-seat-roster{max-height:570px;overflow:auto;margin-top:14px}
.cjx-v060-roster-choice{border:0;background:#fff;border-bottom:1px solid #edf0f7;width:100%;display:flex;align-items:center;gap:8px;min-width:0;text-align:start;padding:11px 4px;cursor:pointer}
.cjx-v060-roster-choice:hover,.cjx-v060-roster-choice.is-chosen{background:#e8f0ff;color:#1458c7}
.cjx-v060-roster-choice>span:last-child{display:grid;gap:3px;min-width:0;font-size:12px}
.cjx-v060-roster-choice strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cjx-v060-roster-choice small{font-size:10px;color:#748aa5}
.cjx-v060-statrow>div{display:flex;align-items:center;justify-content:space-between;min-height:84px}
.cjx-v060-statrow small{font-size:14px}
.cjx-v060-timetable-scroll{overflow-x:auto;max-width:100%;border:1px solid #dce7f3;border-radius:13px}
.cjx-v060-timetable-grid{border-collapse:collapse;width:100%;min-width:900px;table-layout:fixed}
.cjx-v060-timetable-grid th,.cjx-v060-timetable-grid td{border:1px solid #e2eaf6;padding:6px;vertical-align:middle}
.cjx-v060-timetable-grid thead th{background:#eaf0ff;color:#253d60;padding:12px 5px;font-size:12px}
.cjx-v060-timetable-grid thead th small{display:block;font-weight:600;color:#617994;margin-top:4px}
.cjx-v060-timetable-grid tbody th{text-align:start;font-weight:760;color:#263f62;width:100px;white-space:nowrap}
.cjx-v060-timetable-grid .cjx-v060-slot{border:1px solid transparent;background:#f3f6fb;border-radius:8px;min-height:65px;width:100%;font-size:12px;display:grid;align-content:center;justify-items:center;gap:4px;overflow:hidden;padding:6px;color:#637a9b}
.cjx-v060-timetable-grid .cjx-v060-slot.filled{background:#e9f1ff;border-color:#b1c9fc;color:#1b5cce}
.cjx-v060-timetable-grid .cjx-v060-slot:hover{border-color:#1d64ee;background:#eaf1ff}
.cjx-v060-timetable-grid .cjx-v060-slot small{font-size:10px}
.cjx-v060-logbook-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#f3f6fb;border:1px solid #e0e8f3;border-radius:13px;padding:16px;margin-bottom:14px}
.cjx-v060-logbook-fields label{display:grid;gap:7px;color:#5c7291;font-weight:750;font-size:13px}
.cjx-v060-logbook-fields input,.cjx-v060-logbook-fields select{background:#fff;border:1px solid #d3e0f0;border-radius:9px;min-height:43px;padding:10px;font-size:13px;min-width:0}
.cjx-v060-logbook-search{grid-column:1/-1}
.cjx-v060-lesson-list{display:grid;gap:8px}
.cjx-v060-logbook-entry{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #e1eaf4;border-radius:11px;padding:15px;background:#fff}
.cjx-v060-logbook-entry strong{font-size:15px}
.cjx-v060-logbook-entry p{color:#617896;font-size:13px}
.cjx-v060-report-filters{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.cjx-v060-report-filters label{display:grid;gap:8px;font-weight:730;font-size:13px;color:#607490}
.cjx-v060-report-filters select{padding:12px;border:1px solid #d7e2f1;border-radius:9px;background:#fff;opacity:1;color:#263c59}
.cjx-v060-reportmetrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cjx-v060-reportmetrics section{border:1px solid #dce6f3;background:#fff;border-radius:16px;padding:20px;display:grid;gap:7px}
.cjx-v060-reportmetrics small{color:#5f7492;font-size:13px;font-weight:720}
.cjx-v060-reportmetrics strong{font-size:31px;line-height:1.1;font-variant-numeric:tabular-nums}
.cjx-v060-reportmetrics span{color:#7187a5;font-size:11px}
.cjx-v060-progress{display:grid;grid-template-columns:95px minmax(0,1fr) 34px;gap:12px;align-items:center;margin:13px 0;color:#283d58;font-size:13px}
.cjx-v060-progress progress{width:100%;height:18px;accent-color:#2368e8;border:0}
.cjx-v060-progress progress::-webkit-progress-value{background:#246ae7;border-radius:12px}
.cjx-v060-progress progress::-webkit-progress-bar{background:#edf2f9;border-radius:12px}
.cjx-v060-progress-present progress{accent-color:#19986b}.cjx-v060-progress-absent progress{accent-color:#c94360}.cjx-v060-progress-late progress{accent-color:#db9223}.cjx-v060-progress-excused progress{accent-color:#9464ce}
.cjx-v060-grade-threshold{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:15px}
.cjx-v060-grade-threshold>div{background:#f3f6fb;border:1px solid #e1e8f2;padding:14px;border-radius:13px;display:grid;gap:7px}
.cjx-v060-grade-threshold small{color:#647994;font-weight:700}
.cjx-v060-grade-threshold strong{font-size:33px;color:#0c976b;font-variant-numeric:tabular-nums;line-height:1}
.cjx-v060-grade-threshold>div:first-child strong{color:#c84361}
.cjx-v060-grade-threshold span{color:#7b8ea7;font-size:12px}
.cjx-v060-highlight-toggle{max-width:350px}
.cjx-v060-highlight-toggle button{min-height:35px;border-radius:8px}
.cjx-v060-highlight-toggle button.is-active{background:#e8effe;color:#1a5ccd;font-weight:790}
.cjx-v060-highlights{display:grid;gap:11px;margin-top:15px}
.cjx-v060-highlights button{border:0;background:none;display:grid;grid-template-columns:35px minmax(0,1fr) 80px;gap:4px 9px;align-items:center;text-align:start;padding:8px;cursor:pointer;border-radius:10px}
.cjx-v060-highlights button:hover{background:#f3f7ff}
.cjx-v060-highlights span{color:#667b96}
.cjx-v060-highlights strong{font-size:14px}
.cjx-v060-highlights button>span:nth-child(3){text-align:end;font-variant-numeric:tabular-nums}
.cjx-v060-highlights progress{grid-column:2/-1;width:100%;height:9px;accent-color:#2869e5}
.cjx-v060-grade-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 15px}
html[dir=rtl] .cjx-v060-personrow,html[dir=rtl] .cjx-v060-roster-choice{direction:rtl}
html[dir=rtl] .cjx-v060-timetable-scroll{direction:rtl}
@media(max-width:1100px){.cjx-layout{grid-template-columns:175px minmax(0,1fr)}.cjx-main{padding:18px}.cjx-v060-seat-panels{grid-template-columns:minmax(0,1.8fr) minmax(200px,1fr)}.cjx-v060-layout-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.cjx-v060-reportmetrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.cjx-layout{grid-template-columns:1fr}.cjx-side{display:none}.cjx-main{padding:14px 11px 90px}.cjx-card{padding:14px}.cjx-top{padding:10px 12px}.cjx-v060-seat-panels{grid-template-columns:1fr}.cjx-v060-roster-side{order:2}.cjx-v060-seat-roster{max-height:270px}.cjx-v060-personrow{gap:5px;flex-wrap:wrap}.cjx-v060-person-actions{width:100%;justify-content:flex-end}.cjx-v060-class-buttons{min-width:100%;max-width:none;grid-template-columns:repeat(2,minmax(0,1fr))}.cjx-v060-class-buttons .cjx-btn:last-child{grid-column:1/-1}.cjx-v060-layout-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.cjx-v060-report-filters{grid-template-columns:1fr}.cjx-v060-reportmetrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cjx-v060-reportmetrics section{padding:12px}.cjx-v060-reportmetrics strong{font-size:24px}.cjx-v060-timetable-grid{min-width:850px}.cjx-v060-sectionhead h2{font-size:21px}.cjx-v060-progress{grid-template-columns:65px minmax(0,1fr) 25px;gap:6px}.cjx-v060-grade-threshold strong{font-size:25px}.cjx-v060-logbook-entry{align-items:flex-start}.cjx-return{padding:8px;font-size:12px}}
@media(max-width:450px){.cjx-v060-roster-choice .cjx-v060-number{min-width:24px;height:25px}.cjx-v060-class-buttons{grid-template-columns:1fr}.cjx-v060-class-buttons .cjx-btn:last-child{grid-column:auto}.cjx-return{max-width:130px;white-space:normal;text-align:center}.cjx-v060-reportmetrics section{min-width:0}.cjx-v060-reportmetrics strong{font-size:23px}.cjx-v060-grade-actions .cjx-btn{flex:1}.cjx-v060-layout-controls{gap:6px}.cjx-v060-logbook-fields{grid-template-columns:1fr}.cjx-v060-logbook-search{grid-column:1}.cjx-v060-grade-threshold{grid-template-columns:1fr}}
.cjx-seat-rows[data-rows="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.cjx-seat-rows[data-rows="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}.cjx-seat-rows[data-rows="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}.cjx-seat-rows[data-rows="5"]{grid-template-columns:repeat(5,minmax(0,1fr))}.cjx-seat-rows[data-rows="6"]{grid-template-columns:repeat(6,minmax(0,1fr))}
.cjx-v060-points-header{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:12px 0}.cjx-v060-points-header label{display:grid;gap:5px;font-size:12px;font-weight:750;min-width:200px;flex:1}.cjx-v060-points-header select{background:#fff;padding:9px 11px;border:1px solid #d7e2f2;border-radius:9px;width:100%}.cjx-v060-point-log{max-height:400px;overflow:auto}.cjx-v060-point-log p{display:flex;gap:8px;flex-wrap:wrap;justify-content:space-between;border-bottom:1px solid #e6ecf6;padding:8px 0}
@media(max-width:450px){.cjx-seat-rows[data-rows="5"],.cjx-seat-rows[data-rows="6"]{min-width:530px}}
@media(max-width:680px){
 .cjx-seat-rows[data-rows="4"],.cjx-seat-rows[data-rows="3"],.cjx-seat-rows[data-rows="2"]{min-width:0;gap:3px}
 .cjx-seat-row{padding:2px;border-radius:7px}.cjx-row-label{font-size:9px;min-height:21px;padding:3px 4px;margin-bottom:4px}
 .cjx-desk{padding:1px;margin-bottom:3px;border-radius:5px}.cjx-desk small{font-size:8px;line-height:1.25}
 .cjx-pair{gap:2px}.cjx-seat,.cjx-seat-empty{min-height:24px;height:25px;padding:0;font-size:8px;border-radius:4px}
 .cjx-classroom{padding:8px 5px 12px}
}

/* v0.6.1 — accessible attendance status summaries and populated attendance plan */
.cjx-count-grid .cjx-count{appearance:none;border:1px solid transparent;width:100%;cursor:pointer;text-align:center;font-family:inherit;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease;position:relative}
.cjx-count-grid .cjx-count:hover{border-color:#adc8ed;filter:saturate(1.06)}
.cjx-count-grid .cjx-count.is-expanded{border-color:#4a83dc;box-shadow:0 0 0 2px #cfe0fa}
.cjx-count-grid .cjx-count .cjx-status-chev{position:absolute;inset-inline-end:9px;top:50%;transform:translateY(-50%);font-size:15px;line-height:1;opacity:.55}
.cjx-status-details{background:#fff;border:1px solid #d9e5f5;border-radius:13px;padding:13px 15px;margin-top:12px}
.cjx-status-details-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:9px;border-bottom:1px solid #e7edf6}
.cjx-status-details-head h3{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0;font-size:15px;font-weight:780}
.cjx-status-name{color:#215fcf}
.cjx-status-total{display:inline-grid;place-items:center;min-width:27px;height:27px;padding:0 6px;border-radius:999px;background:#eaf1ff;color:#255ca7;font-size:13px;font-weight:800;font-variant-numeric:tabular-nums}
.cjx-status-close{width:30px;height:30px;border:1px solid #d8e3f2;border-radius:8px;background:#fff;font-size:20px;line-height:1;color:#627c9f}
.cjx-status-close:hover{background:#f1f5fc}
.cjx-status-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:290px;overflow-y:auto;overscroll-behavior:contain;margin-top:11px;padding:1px}
.cjx-status-person{display:flex;align-items:center;gap:9px;min-width:0;border:1px solid #e0e8f3;background:#fafcff;border-radius:9px;padding:9px;text-align:start}
.cjx-status-person:hover{background:#edf4ff;border-color:#8eb7f6}
.cjx-status-person-number{flex:none;display:grid;place-items:center;min-width:28px;height:28px;border-radius:8px;background:#e7efff;color:#1b5ad2;font-weight:800;font-size:13px;font-variant-numeric:tabular-nums}
.cjx-status-person strong{flex:1;min-width:0;overflow-wrap:anywhere;font-size:12px}
.cjx-status-person small{color:#6b819c;font-size:11px;white-space:nowrap}
.cjx-attendance-plan-warning{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#fff8e8;border:1px solid #eed7a7;border-radius:11px;padding:10px 12px;margin:12px 0}
.cjx-attendance-plan-warning p{margin:0;color:#72572d;font-size:12px;flex:1;min-width:200px}
@media(max-width:700px){.cjx-status-people{grid-template-columns:1fr;max-height:300px}.cjx-status-person small{font-size:10px}.cjx-count-grid .cjx-count{padding-inline:13px 20px}.cjx-status-details{padding:11px}}
@media(prefers-reduced-motion:reduce){.cjx-count-grid .cjx-count{transition:none}}

/* v0.6.2 — single-tap attendance & inline student points (no modal) */
.cjx-v062-selecthint{display:flex;align-items:center;gap:9px;background:#f0f5ff;border:1px solid #d4e3fb;border-radius:11px;padding:11px 13px;margin:12px 0;color:#405f91;font-size:13px;font-weight:600;line-height:1.5}
.cjx-v062-inline-points{border:1px solid #bad2f7;border-radius:14px;background:linear-gradient(115deg,#f9fbff,#edf4ff);padding:13px 16px;margin:13px 0 12px;display:grid;gap:10px}
.cjx-v062-inline-details{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cjx-v062-inline-name{display:flex;align-items:center;gap:10px;min-width:0}
.cjx-v062-inline-name>div{display:grid;gap:3px;min-width:0}
.cjx-v062-inline-name small{color:#66809d;font-size:11px;font-weight:700}
.cjx-v062-inline-name strong{font-size:18px;color:#1c385e;overflow-wrap:anywhere}
.cjx-v062-inline-dismiss{border:1px solid #d8e3f2;background:white;border-radius:8px;width:33px;height:33px;font-size:22px;color:#547398;cursor:pointer;flex-shrink:0}
.cjx-v062-inline-dismiss:hover{background:#eaf1ff}
.cjx-v062-inline-controls{display:flex;align-items:end;gap:15px;flex-wrap:wrap}
.cjx-v062-step{display:grid;gap:5px;color:#526e92;font-size:12px;font-weight:750;min-width:110px}
.cjx-v062-step select{min-height:42px;border:1px solid #c7d8f0;background:#fff;border-radius:9px;padding:8px 30px 8px 10px;color:#203f66;font-weight:750}
.cjx-v062-point-actions{display:flex;align-items:center;justify-content:space-between;gap:9px;flex:1;min-width:min(100%,270px)}
.cjx-v062-point-actions button{min-height:45px;min-width:71px;border:1px solid transparent;border-radius:10px;padding:8px 13px;font-size:18px;line-height:1.2;font-weight:800;font-variant-numeric:tabular-nums;cursor:pointer}
.cjx-v062-point-minus{background:#ffecef;color:#b72b4b;border-color:#f5c5ce!important}
.cjx-v062-point-plus{background:#e2f7ef;color:#087b59;border-color:#b7e4d2!important}
.cjx-v062-point-actions button:hover{filter:brightness(.96)}
.cjx-v062-points-value{display:grid;text-align:center;gap:2px;color:#597492;min-width:0}
.cjx-v062-points-value span{font-size:11px;font-weight:700;line-height:1.3}
.cjx-v062-points-value strong{font-size:22px;color:#1d385c;font-weight:820;line-height:1.2;font-variant-numeric:tabular-nums}
.cjx-seat.is-picked{outline:2px solid #1b65e6;outline-offset:2px}
@media(max-width:540px){.cjx-v062-inline-points{padding:10px}.cjx-v062-inline-controls{gap:10px}.cjx-v062-step{min-width:80px}.cjx-v062-point-actions{min-width:0}.cjx-v062-point-actions button{font-size:15px;min-width:52px;padding:7px}.cjx-v062-inline-name strong{font-size:15px}.cjx-v062-points-value strong{font-size:20px}}
@media(max-width:375px){.cjx-v062-inline-controls{display:grid}.cjx-v062-point-actions{min-width:0}}
