*{box-sizing:border-box} :root{--ink:#202d3d;--muted:#7c8999;--line:#e8edf2;--blue:#4966e9;--soft:#eef2ff;--green:#25886b;--bg:#f6f8fb}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,'Malgun Gothic','맑은 고딕',sans-serif;font-size:13px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:1px solid var(--line);background:white;border-radius:8px;padding:9px 14px;color:var(--ink);font-weight:600}button:hover{background:#f1f4fb}button.primary{background:var(--blue);border-color:var(--blue);color:white}button.primary:hover{background:#3a54ca}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:white;border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 30px;font-size:20px;font-weight:800;letter-spacing:2px}.brand small{display:block;font-size:8px;letter-spacing:2.4px;color:var(--muted);margin-top:0}.brand-icon{display:block;width:42px;height:42px;flex:none;border-radius:12px}.workspace{display:flex;gap:10px;border:1px solid var(--line);border-radius:10px;padding:12px 9px;align-items:center}.workspace small,.profile small{display:block;font-size:10px;color:var(--muted)}.building{font-size:25px;color:#8b9ab5}.workspace strong{font-size:11px}.nav-label{margin:32px 14px 12px;color:#9da8b6;font-size:9px;letter-spacing:1.8px;font-weight:bold}nav a{display:flex;align-items:center;gap:13px;padding:13px 15px;margin:4px 0;color:#748196;border-radius:8px;font-size:12px;font-weight:600}nav a>span{font-size:20px;width:21px;line-height:1}nav a.active{color:var(--blue);background:var(--soft)}nav b{font-size:10px;margin-left:auto;padding:0 6px;background:#dfe6ff;border-radius:4px}.sidebar-bottom{margin-top:auto}.pilot{margin:20px 8px;padding:17px 12px;background:#f8f9fd;border-radius:9px;font-size:10px;font-weight:600}.pilot p{color:var(--muted);font-size:10px;font-weight:400;margin-bottom:0}.dot{display:inline-block;background:#6886e9;width:6px;height:6px;border-radius:50%;margin-right:6px}.profile{display:flex;gap:10px;align-items:center;padding:19px 8px 0;border-top:1px solid var(--line);font-size:11px}.avatar,.profile-dot{display:grid;place-items:center;border-radius:12px;background:#e9edff;color:#596aca;width:34px;height:34px;font-weight:bold}.shell{margin-left:238px}header{height:75px;background:#ffffffdf;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}.breadcrumb{font-size:11px;color:#8691a2}.breadcrumb span{margin:0 12px;color:#ced4de}.breadcrumb strong{color:#526176;font-weight:500}.header-right{display:flex;gap:22px;align-items:center}.save-status{font-size:10px;color:#7f8c9b}.profile-dot{width:29px;height:29px;border-radius:50%;font-size:10px}main{max-width:1540px;margin:0 auto;padding:34px 38px 20px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px}.eyebrow{font-size:9px;color:var(--blue);font-weight:700;letter-spacing:1.8px;margin-bottom:7px}h1{font-size:27px;line-height:1.4;letter-spacing:-1.2px;margin:0 0 7px}h2{font-size:15px;letter-spacing:-.4px;margin:0}h3{font-size:13px;margin:0}p{margin-top:8px}.subtitle{color:var(--muted);font-size:11px;margin:0}.actions{display:flex;gap:8px;align-items:center}.actions button{font-size:11px}.sample-banner{border:1px solid #e2e7fb;border-radius:9px;background:#f0f3ff;display:flex;align-items:center;gap:10px;padding:11px 16px;color:#62739d;font-size:11px;margin-bottom:22px}.sample-banner strong{color:#425fc7;font-size:10px;white-space:nowrap}.sample-banner a{margin-left:auto;color:#5268b2;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:20px 22px}.stat-top{display:flex;justify-content:space-between;color:#758397;font-size:11px}.stat-icon{border-radius:8px;background:#f2f5ff;color:#6880e4;width:29px;height:29px;text-align:center;line-height:29px;font-size:15px}.stat-value{font-size:33px;font-weight:700;letter-spacing:-1px;line-height:1.5}.stat-value small{font-size:11px;font-weight:400;color:#94a0af;margin-left:5px;letter-spacing:0}.stat-foot{font-size:10px;color:#96a0af}.stat-foot strong{color:#5f76d7;font-weight:500}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(275px,1fr);gap:20px;margin-bottom:24px}.card{border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden}.card-head{display:flex;align-items:center;justify-content:space-between;padding:21px 23px 8px}.card-head small{font-size:10px;color:var(--muted)}.card-sub{font-size:10px;color:var(--muted);padding:0 23px}.text-button{border:0;color:var(--blue);padding:4px;background:transparent;font-size:10px}.chart{height:176px;display:flex;align-items:flex-end;gap:18px;padding:24px 28px 12px}.bar-group{flex:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0}.bar-count{font-size:9px;color:#77869b;margin-bottom:6px}.bar-stack{width:100%;max-width:31px;display:flex;flex-direction:column;border-radius:5px 5px 0 0;overflow:hidden;background:#e9eefb;min-height:2px}.bar-complete{background:#8194ed}.bar-open{background:#dfe5fb}.bar-label{font-size:9px;color:#8b96a6;white-space:nowrap;margin-top:8px}.legend{display:flex;justify-content:center;gap:18px;font-size:9px;color:#8a96a9;padding:4px 0 17px}.legend i{display:inline-block;width:7px;height:7px;background:#8194ed;margin-right:5px;border-radius:2px}.legend i.light{background:#dfe5fb}.progress-content{display:flex;gap:24px;align-items:center;padding:25px 23px 27px}.ring{height:116px;width:116px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--blue) calc(var(--p)*1%),#edf0f8 0)}.ring-inner{width:91px;height:91px;background:white;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column}.ring-inner strong{font-size:25px;letter-spacing:-1px}.ring-inner small{font-size:9px;color:var(--muted)}.progress-list{flex:1;font-size:10px}.progress-list div{display:flex;justify-content:space-between;gap:8px;margin:12px 0;color:#7d8a9b}.progress-list b{color:#425169}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 13px}.section-heading p{font-size:10px;color:var(--muted);margin:3px 0 0}.filters{display:flex;gap:10px;padding:16px 20px;align-items:center;flex-wrap:wrap;border-bottom:1px solid var(--line)}input,select,textarea{border:1px solid #e0e5ed;border-radius:7px;background:white;color:#536277;padding:9px 11px;min-width:0}input::placeholder{color:#a0a9b6}input[type=search]{width:230px;font-size:11px}.filters select{font-size:10px;max-width:185px}.tabs{display:flex;gap:20px;padding:0 22px;border-bottom:1px solid var(--line);overflow:auto}.tabs button{border:0;border-radius:0;padding:15px 0 12px;background:none;font-size:11px;white-space:nowrap;color:#8a95a5;border-bottom:2px solid transparent}.tabs button.active{color:var(--blue);border-bottom-color:var(--blue)}.tabs b{margin-left:6px;font-size:9px;color:inherit;font-weight:500}table{border-collapse:collapse;width:100%;text-align:left;table-layout:fixed}.table-wrap{overflow:auto}th{font-size:9px;color:#8f9aaa;background:#fafbfd;padding:11px 14px;font-weight:500;white-space:nowrap}td{padding:13px 14px;border-top:1px solid #f0f2f6;font-size:11px;vertical-align:middle}tbody tr:hover{background:#fbfcff}.student-link{border:0;padding:0;background:none;font-size:11px;font-weight:700;color:#344258}.student-sub{display:block;color:#8b97a8;font-size:9px;margin-top:2px}.exam-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.6;font-size:10px;color:#536278}.exam-type{font-size:8px;color:#8f9caf;margin-bottom:2px}.badge{border-radius:5px;display:inline-block;padding:3px 8px;font-size:9px;white-space:nowrap;font-weight:500}.badge.pass{background:#eaf6ef;color:#38906f}.badge.fail{background:#fff0ed;color:#ce806d}.badge.pending{background:#f0f3f9;color:#7d8ba1}.badge.review{background:#fff7e4;color:#b28d39}.result-select{padding:5px 6px;font-size:10px;width:85px;color:#6a79a1;border-color:#e5e9f4}.empty{text-align:center;padding:46px;color:var(--muted)}.table-foot{padding:13px 20px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);font-size:10px;color:#8f9cad}.table-foot button{padding:4px 10px;font-size:10px}.table-foot button:disabled{opacity:.35;cursor:default}.bottom-note{display:flex;gap:10px;align-items:flex-start;margin:19px 0;color:#8b97aa;font-size:10px}.bottom-note strong{color:#7385b7}footer{margin:20px 38px;padding:20px 0;border-top:1px solid var(--line);font-size:8px;letter-spacing:1px;color:#a0abbc;display:flex;justify-content:space-between}footer span{letter-spacing:0;font-size:9px}.student-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px}.student-card{padding:21px;border:1px solid var(--line);border-radius:12px;background:white;text-align:left;font-weight:400}.student-card:hover{border-color:#bdc9f4;background:#fff}.student-card .top{display:flex;gap:11px;align-items:center}.student-card p{font-size:10px;color:var(--muted);margin:2px 0}.student-card .student-metrics{display:flex;justify-content:space-between;margin-top:20px;font-size:10px;color:#8090a6}.student-card .student-metrics b{color:#4e68d7;font-size:16px}.mini-track{height:4px;background:#eef1f8;border-radius:5px;margin-top:13px;overflow:hidden}.mini-track div{height:100%;background:#8095eb}.guide{padding:26px;margin-bottom:18px}.guide p,.guide li{font-size:12px;color:#6d7b8e}.guide a{color:var(--blue)}dialog{border:0;border-radius:15px;padding:28px;width:530px;max-width:calc(100vw - 28px);color:var(--ink);box-shadow:0 20px 80px #24375433}dialog::backdrop{background:#23304455;backdrop-filter:blur(2px)}dialog.drawer{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:510px;border-radius:15px 0 0 15px;padding:29px;overflow:auto}dialog .dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}dialog .dialog-top button{border:0;font-size:19px;padding:3px 10px}dialog label{display:block;font-size:11px;color:#6a7b90;margin:15px 0 6px}dialog input,dialog select,dialog textarea{width:100%;font-size:12px}dialog textarea{min-height:90px;resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.detail-exam{padding:17px 0;border-bottom:1px solid var(--line)}.detail-exam p{font-size:11px;color:#63738b;word-break:break-word}.detail-meta{font-size:10px;color:#8795a8;margin:13px 0}.detail-exam .actions{justify-content:space-between}.detail-exam .actions button{font-size:10px}.detail-exam h3{font-size:11px}.detail-source{background:#f5f7fc;padding:13px;border-radius:8px;font-size:10px;color:#77869b;line-height:1.9;margin:14px 0}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}#toast{position:fixed;bottom:25px;left:calc(50% + 90px);transform:translateX(-50%);padding:12px 22px;background:#26354d;color:white;border-radius:9px;box-shadow:0 6px 28px #24334a20;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:20}#toast.show{opacity:1}.pill{font-size:10px;background:white;border:1px solid var(--line);border-radius:7px;padding:7px 11px;color:#8390a3}.mobile-only{display:none}@media(min-width:1550px){td{padding-top:16px;padding-bottom:16px}.chart{height:200px}}@media(max-width:1150px){.sidebar{width:206px;padding:25px 14px}.shell{margin-left:206px}main{padding:25px 24px}header{padding:0 24px}.stat{padding:16px}.dashboard-grid{grid-template-columns:1.3fr 1fr;gap:14px}.progress-content{gap:14px;padding:25px 15px}.ring{height:100px;width:100px}.ring-inner{height:78px;width:78px}.student-grid{grid-template-columns:repeat(2,1fr)}.chart{gap:12px}}@media(max-width:800px){.sidebar{position:static;width:100%;padding:13px 18px;display:block;border-bottom:1px solid var(--line)}.brand{font-size:15px;padding:0}.brand-icon{width:29px;height:30px;font-size:24px;line-height:26px}.brand small{font-size:6px}.workspace,.nav-label,.sidebar-bottom{display:none}nav{display:flex;margin-top:10px;gap:6px}nav a{font-size:10px;padding:9px;gap:5px}nav a>span{font-size:14px}.shell{margin-left:0}header{height:49px;padding:0 18px}.header-right .save-status{font-size:8px}.breadcrumb{font-size:9px}.breadcrumb span{margin:0 4px}main{padding:24px 17px}h1{font-size:23px}.page-heading{align-items:flex-start}.actions{flex-wrap:wrap}.page-heading .actions button{padding:8px;font-size:10px}.stats{grid-template-columns:repeat(2,1fr);gap:10px}.stat-value{font-size:29px}.dashboard-grid{grid-template-columns:1fr}.sample-banner{font-size:10px;align-items:flex-start}.sample-banner a{display:none}table{min-width:730px}.student-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.student-card{padding:15px}.filters{padding:12px}.filters input{flex:1;width:170px}.tabs{gap:17px;padding:0 14px}.stat-top{font-size:10px}footer{margin:12px 18px;gap:15px}#toast{left:50%;width:max-content;max-width:90vw}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Multiple campuses and two attempts per date */
[hidden]{display:none!important}.scope-picker{padding:13px 12px;border:1px solid var(--line);border-radius:10px}.scope-picker label{display:block;font-size:9px;color:#8896a9;margin:0 0 5px}.scope-picker select{width:100%;font-size:11px;margin-bottom:12px;padding:8px}.scope-summary{font-size:9px;color:#7b8db1}.owner-label{display:block;color:#8090ad;font-size:8px;margin-top:3px}.attempt-table{min-width:850px}.result-select{width:77px;max-width:100%;font-size:10px}.result-select:disabled{background:#f4f6f8;border-color:#edf0f4;color:#abb3c0;cursor:not-allowed;opacity:1}.result-select.pass{color:#25886b;background:#edf8f1}.result-select.fail{color:#bd7160;background:#fff4f0}.result-select.pass:disabled,.result-select.fail:disabled{opacity:.7}.badge.reschedule{background:#fff0e8;color:#b97243}.next-button{padding:4px 6px;font-size:9px;color:#b97749;background:#fff7ec;border-color:#f4e6d0;white-space:nowrap}.attempt-panel{display:flex;align-items:center;gap:13px;margin:16px 0;flex-wrap:wrap}.attempt-panel>div{display:flex;flex-direction:column;gap:5px}.attempt-panel>div>span{font-size:10px;color:#7e8b9f}.attempt-panel .result-select{width:96px;padding:8px}.attempt-arrow{color:#aab5c6;margin-top:20px}.attempt-panel button{align-self:flex-end;font-size:10px}.rollover-notice{padding:14px;background:#fff8ed;color:#a6783a;border-radius:8px;font-size:11px;margin:15px 0}.session-list{margin:12px 0 22px;border:1px solid var(--line);border-radius:9px;overflow:hidden}.session-entry{padding:13px;border-bottom:1px solid var(--line);font-size:11px;display:flex;justify-content:space-between;gap:8px}.session-entry:last-child{border:0}.session-entry small{font-size:8px;color:#657ddd;background:#eef2ff;border-radius:4px;margin-left:5px;padding:3px}.session-entry span{color:#78879d}.session-entry i{margin:0 8px;color:#b4bfd1;font-style:normal}.breadcrumb #scope-crumb{margin:0;color:#6d7b91}.sidebar .nav-label{margin-top:20px}.sidebar .pilot{display:none}input:read-only{background:#f5f7fa;color:#8693a5}@media(max-width:800px){.scope-picker{display:flex;align-items:center;gap:8px;padding:10px 0 0;border:0}.scope-picker label{white-space:nowrap;margin:0}.scope-picker select{margin:0;width:140px}.scope-summary{display:none}.attempt-table{min-width:850px}.breadcrumb{white-space:nowrap;overflow:hidden}.header-right .save-status{display:none}}
.brand-korean{font-size:15px;letter-spacing:-.7px;white-space:nowrap}.brand-korean small{font-size:7px;letter-spacing:1.8px;margin-top:4px}.brand{gap:9px;padding-left:3px;padding-right:3px}.brand-icon{font-size:26px;letter-spacing:-3px}.teacher-guidance{background:#fff;border:1px solid #e0e6f5;border-radius:10px;margin-bottom:18px;overflow:hidden}.teacher-guidance summary{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 20px;background:#f2f5ff;cursor:pointer;list-style:none}.teacher-guidance summary b{font-size:12px;color:#4b61a5}.teacher-guidance summary small{display:block;font-size:10px;color:#8997b5;margin-top:3px}.guidance-toggle{font-size:10px;color:#7786a7;white-space:nowrap}.guidance-body{padding:18px 21px}.guidance-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.95;color:#53637b;margin:0}.guidance-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:16px;padding-top:12px}.guidance-footer small{font-size:9px;color:#99a3b3}.operations-card{margin-top:24px;margin-bottom:20px}.operations-card .card-head{padding-bottom:20px}.operations-table{min-width:900px;table-layout:fixed}.operations-table th:first-child{width:100px}.operations-table th{font-size:11px}.operations-table td{vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.85;border-left:1px solid #edf0f5}.operations-table .assistant-row td,.operations-table .assistant-row th{background:#fff9e9;color:#8b753f}.schedule-block{padding:9px 0}.schedule-block+.schedule-block{border-top:1px dashed #e4e9f0}.schedule-empty{color:#b8c1cd}.operations-source{font-size:10px;color:#8a97aa;padding:0 22px;margin:18px 0}.guidance-editor{min-height:350px!important;line-height:1.9}.editor-section{margin:24px 0 10px;color:#566b98}.schedule-edit-group{border:1px solid var(--line);border-radius:7px;padding:12px;margin:12px 0}.schedule-edit-group summary{cursor:pointer;color:#5a6f9a}.operations-card h2{font-size:14px}@media(max-width:800px){.brand-korean{font-size:14px}nav{overflow-x:auto}nav a{white-space:nowrap}.teacher-guidance summary{padding:13px}.guidance-toggle{font-size:9px}}
.brand-repass{font-size:24px;font-weight:800;letter-spacing:-1px}.brand-repass small{font-size:9px;letter-spacing:.1px;font-weight:500}.seating-card{margin:25px 0}.seating-card .card-head{padding-bottom:22px}.seating-scroll{overflow:auto;padding:18px 22px;background:#fbfcfe}.seat-map{display:grid;isolation:isolate}.seat-cell{display:flex;align-items:center;justify-content:center;white-space:pre-wrap;text-align:center;font-size:10px;line-height:1.45;overflow:hidden;padding:2px;color:#26354a}.seat-border{border:1px solid #8f9cae}.seat-label{font-weight:600}.seat-cell:not(.seat-border):not(.seat-label){opacity:.4}@media(max-width:800px){.brand-repass{font-size:20px}.seating-card .card-head{align-items:flex-start;gap:10px}.seating-card .pill{display:none}}

.guidance-select-prompt{margin-bottom:18px;padding:17px 20px;border:1px dashed #cbd5e9;border-radius:10px;background:#f7f9ff;color:#64748b;font-size:12px}.guidance-actions{display:flex;gap:12px;align-items:center}.schedule-day-slots{display:grid;grid-template-rows:repeat(2,minmax(54px,auto));gap:6px}.schedule-slot{padding:6px 8px;border:1px solid #e6ebf4;border-radius:7px;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere;min-height:54px}.schedule-slot>span{display:block;margin-bottom:3px;color:#6979a5;font-size:9px;font-weight:700}.schedule-slot .schedule-empty{color:#b8c1cd}.operations-table td{vertical-align:top}.schedule-edit-day{padding:12px 0;border-top:1px solid #e7ecf5}.schedule-edit-day>strong{display:block;color:#42526d;font-size:12px;margin-bottom:8px}.schedule-edit-slots{display:grid;grid-template-columns:1fr 1fr;gap:10px}.schedule-edit-slots label{margin:0;color:#61728e;font-weight:600}.schedule-edit-slots textarea{display:block;min-height:90px;margin-top:5px;font-weight:400}#operations-dialog{width:min(780px,calc(100vw - 28px))}.pinned-guidance[popover]{position:fixed;inset:85px 18px auto auto;margin:0;width:min(390px,calc(100vw - 28px));max-height:min(70vh,700px);padding:0;border:1px solid #aebde0;border-radius:12px;background:#fffef7;box-shadow:0 18px 55px #1c2c4d38;z-index:2147483647;overflow:auto;resize:both}.pinned-guidance-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;background:#fff5cf;border-bottom:1px solid #eadca7}.pinned-guidance-head strong{display:block;font-size:13px;color:#3e4b66}.pinned-guidance-head small{display:block;font-size:10px;color:#7d785e}.pinned-guidance-head button{padding:2px 8px;font-size:20px;line-height:1;background:transparent;border:0}.pinned-guidance-body{padding:16px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.8;color:#4c5c75}@media(max-width:600px){.schedule-edit-slots{grid-template-columns:1fr}.pinned-guidance[popover]{inset:65px 10px auto auto;max-height:60vh}}
.attendance-table{min-width:1420px;table-layout:fixed}.attendance-table th:nth-child(1){width:160px}.attendance-table th:nth-child(2){width:110px}.attendance-table th:nth-child(3){width:90px}.attendance-table th:nth-child(4){width:125px}.attendance-table th:nth-child(5){width:220px}.attendance-table th:nth-child(6){width:240px}.attendance-table th:nth-child(n+7){width:95px}.attendance-table td{vertical-align:top;white-space:normal}.attendance-table .group-start td{border-top:2px solid #dce5ef}.student-cell{vertical-align:top!important}.student-cell small{font-size:11px;color:#68778c}.full-title{line-height:1.6;overflow-wrap:anywhere}.inline-note{width:100%;min-height:65px;margin:0;padding:8px;border:1px solid #dce4ee;background:rgba(255,255,255,.7);font:inherit;font-size:12px;resize:vertical;white-space:pre-wrap}.arrival-time{width:110px;padding:5px;font-size:12px}.arrival-button{padding:5px 9px;margin-top:6px;font-size:12px}.catalog-entry{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #e7edf4}.catalog-entry[hidden],.roster-option[hidden]{display:none}.catalog-entry h3{margin:7px 0;line-height:1.5}.catalog-entry p{margin:0;font-size:12px;color:#64748b}.roster{max-height:220px;overflow:auto;border:1px solid #dce5ef;border-radius:8px;margin:8px 0}.roster-option{display:flex;gap:9px;align-items:center;padding:8px 12px;margin:0!important;border-bottom:1px solid #edf1f6;font-size:13px}.roster-option input{width:auto}.roster-option small{color:#6b7890}.assigned-list{max-height:180px;overflow:auto;background:#f4f7fc;padding:12px;border-radius:8px;font-size:12px}.format-toolbar{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.format-toolbar button{padding:7px 10px}.format-toolbar [data-highlight="#fff29b"]{background:#fff29b}.format-toolbar [data-highlight="#ffd1e8"]{background:#ffd1e8}.format-toolbar [data-highlight="#c8f2d4"]{background:#c8f2d4}.format-toolbar [data-highlight="#cde8ff"]{background:#cde8ff}.guidance-editor[contenteditable]{min-height:240px;max-height:450px;overflow:auto;border:1px solid #ccd7e4;border-radius:8px;padding:14px;line-height:1.8;white-space:pre-wrap}.guidance-editor:focus{outline:2px solid #4b80e8}.guidance-text{white-space:normal!important}.guidance-text strong{font-weight:750}
.attendance-table{min-width:1080px;font-size:12px}.attendance-table th:nth-child(1){width:125px}.attendance-table th:nth-child(2){width:90px}.attendance-table th:nth-child(3){width:75px}.attendance-table th:nth-child(4){width:110px}.attendance-table th:nth-child(5){width:155px}.attendance-table th:nth-child(6){width:175px}.attendance-table th:nth-child(n+7){width:85px}.attendance-table th:nth-child(8),.attendance-table th:nth-child(9){width:112px}.attendance-table th,.attendance-table td{padding:12px 8px}.attendance-table .result-select{min-width:96px;width:96px;padding:6px}.attendance-table .arrival-time{width:98px}.attendance-table .badge{font-size:10px;padding:4px}.attendance-table .student-link{font-size:13px}
.attendance-table th:nth-child(4){width:120px}.attendance-table th:nth-child(5){width:145px}.attendance-table .arrival-time{width:112px;font-size:11px;padding:4px 2px}.attendance-table .student-cell small{font-size:10px}
#add-dialog{width:min(850px,94vw);max-width:850px}.assignment-head,.assignment-row{display:grid;grid-template-columns:minmax(150px,1fr) 155px 125px;gap:10px;align-items:center}.assignment-head{padding:10px;font-size:12px;color:#66768a;background:#f3f6fa}.assignment-row{padding:9px 10px;border-bottom:1px solid #e6ecf3}.assignment-row label{display:flex;align-items:center;gap:8px;margin:0!important;font-size:13px}.assignment-row input[type=checkbox]{width:auto}.assignment-row input{min-width:0;width:100%;padding:8px}.class-roster{max-height:350px;overflow:auto}.unlisted{margin:20px 0;border:1px solid #dce5ef;border-radius:9px;padding:14px}.unlisted summary{cursor:pointer;font-weight:600}.completion-heading{padding:16px 20px;background:#eef3fc;margin:0;font-size:15px}.completion-heading small{font-size:12px;color:#69798e;margin-left:10px}@media(max-width:600px){.assignment-head,.assignment-row{grid-template-columns:minmax(100px,1fr) 130px 105px;gap:5px}.class-assignment{overflow:auto}}
.appointment-card{margin:16px;border:1px solid #dce5f0;border-radius:12px;overflow:hidden}.appointment-top{padding:18px;display:flex;justify-content:space-between;gap:20px;background:#f5f8fd;align-items:center}.appointment-top .student-link{font-size:19px}.appointment-top b{font-size:13px;display:block;margin-top:10px}.appointment-top b small{font-weight:400;color:#748298}.appointment-fields{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.appointment-fields small{display:block;font-size:11px;color:#6c7b90;margin-bottom:7px}.appointment-fields strong{font-size:14px}.appointment-fields input{width:120px}.student-exams{min-width:1140px;width:100%;table-layout:fixed}.student-exams th:first-child{width:30%}.student-exams th:nth-child(2){width:28%}.student-exams th:nth-child(n+3){width:10%}.student-exams th:nth-child(4),.student-exams th:nth-child(5){width:11%}.student-exams td{white-space:normal;overflow-wrap:anywhere;vertical-align:top}.student-exams .result-select{min-width:96px;width:100%;padding:7px}.appointment-conflict{padding:10px 18px;background:#fff7e5;color:#855d1d;font-size:12px;line-height:1.6;margin:0}.appointment-inherit{grid-column:1/-1;color:#697b91;font-size:11px}.appointment-top .owner-label{display:block}@media(max-width:1100px){.appointment-top{align-items:flex-start;flex-direction:column}.appointment-fields{width:100%}}
/* Compact appointment header: separate schedule and attendance panels. */
.appointment-top{padding:20px;gap:24px;align-items:center}.appointment-top>div:first-child{min-width:170px;flex:1}.appointment-fields{display:grid;grid-template-columns:minmax(320px,1fr) 230px;gap:12px;flex:0 1 610px;width:auto;align-items:stretch}.schedule-panel,.checkin-panel{background:#fff;border:1px solid #e3e8f2;border-radius:10px;padding:12px 14px;min-width:0}.schedule-panel-label{height:23px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;color:#7a879d;font-size:11px;font-weight:600;letter-spacing:.02em}.schedule-panel-body{display:flex;align-items:center;gap:18px;min-height:38px}.appointment-fields .schedule-value small{font-size:10px;margin:0 0 5px;color:#8290a4}.appointment-fields .schedule-value strong{display:block;font-size:14px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.35;overflow-wrap:anywhere}.schedule-value{min-width:0}.schedule-value:first-child{flex:1}.appointment-fields .schedule-edit{height:36px;padding:0 11px;white-space:nowrap;font-size:11px;background:#f8f9fd;border-color:#e6eaf2;color:#52617a;margin-left:auto;flex-shrink:0}.appointment-fields .schedule-next{border:0;background:#f0efff;color:#625be0;font-size:10px;padding:4px 8px;border-radius:5px;white-space:nowrap}.checkin-panel-body{display:flex;align-items:center;gap:8px;min-height:38px}.appointment-fields .checkin-panel-body input{width:112px;min-width:0;height:38px;padding:6px 8px;font-size:12px;border-radius:7px;margin:0;flex:1}.appointment-fields .checkin-panel-body button{height:38px;padding:0 12px;font-size:12px;white-space:nowrap;border-radius:7px}.checkin-status{color:#94a0b3;font-size:10px;font-weight:400;letter-spacing:0}.checkin-status.is-arrived{color:#26917a}.appointment-top .owner-label{margin-top:5px;line-height:1.6}.appointment-top b{margin-top:10px}.appointment-top .student-link{font-size:20px;font-weight:700}.appointment-card .student-exams th{background:#fafbfe}.appointment-card .student-exams td{padding-top:14px;padding-bottom:14px}@media(max-width:1150px){.appointment-top{align-items:stretch;flex-direction:column;gap:16px}.appointment-fields{width:100%;flex:auto;grid-template-columns:minmax(300px,1fr) 230px}.appointment-top>div:first-child{min-width:0}}@media(max-width:650px){.appointment-top{padding:15px}.appointment-fields{grid-template-columns:1fr;gap:9px}.schedule-panel-body{gap:12px}.checkin-panel-body input{max-width:none}.appointment-card{margin:10px}.schedule-panel-label{margin-bottom:7px}}
.appointment-exam-body[hidden]{display:none!important}.appointment-top[data-card-header]{cursor:pointer}.appointment-top[data-card-header]:hover{background:#f0f3ff}.card-disclosure{display:inline-flex;align-items:center;gap:12px}.disclosure-chevron{display:inline-block;color:#8793ac;font-size:20px;font-weight:400;transition:transform .16s}.card-disclosure[aria-expanded=true] .disclosure-chevron{transform:rotate(180deg)}.card-disclosure:focus-visible{outline:2px solid #625be0;outline-offset:5px;border-radius:4px}.expand-all-button{margin-left:auto;font-size:12px;color:#625be0;background:#f4f3ff;border:1px solid #e0defa;padding:9px 13px}.appointment-top button,.appointment-top input{cursor:pointer}
.filters .expand-all-button{margin-left:8px}
.time-picker{min-width:100px;font-variant-numeric:tabular-nums}.appointment-fields .checkin-panel-body select{width:112px;min-width:0;height:38px;padding:6px 8px;font-size:12px;border-radius:7px;margin:0;flex:1}.assignment-row select{min-width:0;width:100%;padding:8px}.time-picker:disabled{background:#f1f4f8;color:#8d99ac}
.appointment-card.attendance-overdue{border:1px solid #f3b1be;border-left:4px solid #e34262;box-shadow:0 2px 9px #c92c4b1b}.overdue-label{display:block;color:#df254d;background:#fff0f3;border-radius:5px;padding:5px 8px;font-size:11px;font-weight:650;margin-top:8px;width:fit-content}.filters .attendance-notice-button{margin-left:auto;color:#d72e53;background:#fff3f5;border:1px solid #ffc4d0;font-size:12px;padding:9px 13px}.notice-students{max-height:380px;overflow:auto}.notice-student{display:grid;grid-template-columns:1fr auto;gap:7px;padding:14px 0;border-bottom:1px solid #e8edf4}.notice-student span,.notice-student small{font-size:12px;color:#728096}.notice-student b{font-size:13px}.notice-integration{margin-top:18px;padding:15px;border-radius:9px;background:#f4f6fb;font-size:13px}.notice-integration p{line-height:1.7}.notice-integration small{color:#7b8799}
.appointment-card.attendance-notified{border:1px solid #ecd78c;border-left:4px solid #d4a528;box-shadow:0 2px 9px #b88b241b}.attendance-notified .overdue-label{color:#88600b;background:#fff3c9}
.tabs .adjustment-tab{margin-left:auto;border:1px solid #c8b9fa;border-radius:8px;background:#f4efff;color:#6542bd;font-weight:800}.tabs .adjustment-tab b{background:#e7dcff;color:#5b38ad}.tabs .adjustment-tab.active{background:#6b46c1;color:#fff;border-color:#6b46c1}.tabs .adjustment-tab.active b{background:#fff;color:#5b38ad}.adjustment-label{display:inline-block;margin-top:5px;padding:4px 8px;border-radius:6px;background:#eee5ff;color:#6335b8;font-size:10px;font-weight:750}.adjustment-request-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0;padding:13px 15px;border:1px solid #d8c9f3;border-radius:9px;background:#f8f5ff}.adjustment-request-panel p{margin:0;color:#645b7a;font-size:12px;line-height:1.55}.adjustment-request-panel button{flex:none;border-color:#a78bdb;background:#fff;color:#673db3;font-weight:700}.adjustment-request-panel button:disabled{opacity:.65;cursor:default}@media(max-width:650px){.tabs .adjustment-tab{margin-left:0}.adjustment-request-panel{align-items:stretch;flex-direction:column}}
.appointment-card{margin-top:10px;margin-bottom:10px}.appointment-top{padding:10px 16px;gap:16px}.appointment-top .student-link{font-size:18px}.appointment-top .owner-label{margin-top:2px;line-height:1.35}.appointment-top b{margin-top:5px}.appointment-fields{grid-template-columns:minmax(300px,1fr) 218px;gap:9px;flex-basis:570px}.schedule-panel,.checkin-panel{padding:7px 10px}.schedule-panel-label{height:18px;margin-bottom:3px;font-size:10px}.schedule-panel-body,.checkin-panel-body{min-height:32px}.appointment-fields .schedule-value small{margin-bottom:1px}.appointment-fields .schedule-value strong{font-size:13px}.appointment-fields .schedule-edit,.appointment-fields .checkin-panel-body input,.appointment-fields .checkin-panel-body select,.appointment-fields .checkin-panel-body button{height:32px}.overdue-label{display:inline-block;margin-top:5px;padding:3px 7px;font-size:10px}
.completion-range{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;background:#f7f8ff;border-bottom:1px solid #e5eafa}.completion-range strong{font-size:14px;font-variant-numeric:tabular-nums}.completion-range small{display:block;font-size:11px;color:#7b879b;margin-top:5px}.completion-range button{color:#625be0;background:white;border-color:#dadcf4;font-size:12px}.completion-undated{padding:14px 22px;border-top:1px solid #eef1f6;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#8290a3}.completion-undated button{font-size:11px}@media(max-width:650px){.completion-range,.completion-undated{align-items:flex-start;flex-direction:column}}
.teacher-campus-card{margin-bottom:28px}.teacher-campus-card .card-head{padding-bottom:20px}.teacher-campus-list{border-top:1px solid var(--line)}.teacher-campus-row{display:grid;grid-template-columns:minmax(180px,1fr) 70px minmax(160px,220px);gap:16px;align-items:center;padding:13px 23px;border-bottom:1px solid var(--line)}.teacher-campus-row:nth-child(even){background:#fafbfe}.teacher-campus-row strong{display:block;font-size:12px}.teacher-campus-row small{display:block;color:var(--muted);font-size:10px}.teacher-campus-row label{color:var(--muted);font-size:10px}.teacher-campus-row select{width:100%;font-size:11px}.teacher-campus-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 23px}.teacher-campus-actions span{font-size:10px;color:var(--muted)}.teacher-campus-actions button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:600px){.teacher-campus-row{grid-template-columns:1fr minmax(125px,1fr);gap:4px 10px;padding:13px 16px}.teacher-campus-row label{grid-column:2;grid-row:1}.teacher-campus-row select{grid-column:2;grid-row:2}.teacher-campus-actions{padding:16px;align-items:stretch;flex-direction:column}}
.campus-registry-card{margin-bottom:18px}.campus-registry-card .card-head{padding-bottom:12px}.campus-registry-list{display:flex;flex-wrap:wrap;gap:8px;padding:3px 23px 17px}.campus-registry-list span{border:1px solid #dce4f7;background:#f4f7ff;color:#5266a0;border-radius:18px;padding:5px 11px;font-size:11px}.campus-add-form{display:flex;align-items:center;gap:10px;padding:16px 23px;border-top:1px solid var(--line)}.campus-add-form label{font-size:11px;color:var(--muted);white-space:nowrap}.campus-add-form input{width:240px;max-width:100%}.campus-add-form button{white-space:nowrap}.campus-add-form button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:600px){.campus-add-form{flex-wrap:wrap;padding:16px}.campus-add-form label{width:100%}.campus-add-form input{flex:1}}
.brand-repass .app-version{display:block;width:max-content;margin-top:7px;padding:2px 7px;border-radius:5px;background:#eef2ff;color:#5368b0;font-size:9px;font-weight:700;letter-spacing:0}
.pinned-guidance[popover]{inset:auto 18px 18px auto;width:min(410px,calc(100vw - 28px));max-height:calc(100dvh - 105px);padding:10px;background:#f5f7fc;resize:horizontal}.pinned-guidance-title{display:flex;align-items:center;gap:7px;padding:3px 4px 9px;color:#566480;font-size:11px;font-weight:700}.pinned-guidance-title span{padding:1px 6px;border-radius:9px;background:#e9edfa;color:#4e61bc}.pinned-guidance-title select{margin-left:auto;width:auto;max-width:145px;padding:5px 7px;border:1px solid #dce2f1;border-radius:6px;background:white;color:#4e61bc;font-size:11px}.pinned-guidance-list{display:grid;gap:10px}.pinned-guidance-card{overflow:hidden;border:1px solid #e3d9ad;border-radius:9px;background:#fffef7}.pinned-guidance-card .pinned-guidance-head{position:static}.pinned-guidance-card .pinned-guidance-body{max-height:210px;overflow:auto}.pinned-guidance-card .pinned-guidance-head button{cursor:pointer}@media(max-width:600px){.pinned-guidance[popover]{inset:auto 10px 10px auto;max-height:calc(100dvh - 80px);resize:none}.pinned-guidance-card .pinned-guidance-body{max-height:150px}}
.pinned-guidance-card .pinned-guidance-head strong,.pinned-guidance-card .pinned-guidance-head small{font-size:11px}.pinned-guidance-card .pinned-guidance-body{padding:12px;font-size:11px;line-height:1.55}.pinned-guidance-card .pinned-guidance-body *{font-size:11px!important}
.teacher-guidance .guidance-footer{flex-direction:row-reverse;gap:12px;flex-wrap:wrap}
.guidance-import-card{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;padding:13px 16px;border:1px solid #d8dff2;border-radius:9px;background:#f7f9ff;color:#586886;font-size:11px}.guidance-import-card button{white-space:nowrap;color:#fff;background:#4d63df;border:1px solid #4d63df}.guidance-import-card button:disabled{opacity:.5}@media(max-width:600px){.guidance-import-card{align-items:stretch;flex-direction:column}}
.teacher-guidance summary{border-left:4px solid #4d63df;background:#eef2ff}.teacher-guidance summary b{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}.guidance-teacher-name{font-size:17px;font-weight:800;letter-spacing:-.03em;color:#233e8b}.guidance-heading-suffix{font-size:12px;font-weight:700;color:#6274a4}.teacher-guidance .guidance-text,.guidance-editor[contenteditable]{font-size:13px;line-height:1.8}.format-toolbar-divider{align-self:stretch;width:1px;background:#dce3f0;margin:0 3px}.format-toolbar [data-guidance-size]{border-color:#cbd6f5;background:#f7f9ff;color:#4258a9}.format-toolbar [data-guidance-size="emphasis"]{font-size:14px}.guidance-editor font[size="3"]{font-size:13px}.guidance-editor font[size="5"]{font-size:16px}
.planned-time-picker{display:block;min-width:0;width:100%}.planned-time-picker select,.planned-time-picker .time-custom-input{display:block;width:100%;min-width:0}.planned-time-picker .time-custom-input{margin-top:7px}.planned-time-picker .time-custom-input[hidden]{display:none!important}
.manual-pass-section,.manual-pass-record{margin:16px 0 20px;padding:15px 17px;border:1px solid #d8e1ff;border-radius:10px;background:#f7f9ff}.manual-pass-section .manual-pass-trigger{border:1px solid #4d63df;color:#4058ce;background:#fff;font-weight:700}.manual-pass-section form{margin-top:14px}.manual-pass-section form textarea{min-height:92px}.manual-pass-section form p,.manual-pass-record small{display:block;margin:8px 0 0;color:#687791;font-size:11px;line-height:1.55}.manual-pass-section .dialog-actions{margin-top:12px}.manual-pass-record strong,.manual-pass-session{color:#4058ce}.manual-pass-record p{margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.stats{grid-template-columns:repeat(5,minmax(0,1fr))}.stat-completion{display:flex;flex-direction:column}.stat-primary-link{display:block;flex:1}.stat-primary-link:hover .stat-value,.stat-primary-link:focus-visible .stat-value{color:#4966e9}.stat-manual-link{display:flex;justify-content:space-between;gap:6px;align-items:center;margin-top:10px;padding-top:8px;border-top:1px solid #e9edf6;color:#4d63df;font-size:11px;font-weight:600;white-space:nowrap}.stat-manual-link strong{margin-right:auto}.stat-manual-link span{font-size:10px;color:#7a89ba}.stat-manual-link:hover,.stat-manual-link:focus-visible{text-decoration:underline}.manual-filter{border-color:#d8defe;color:#4e61c9;background:#f7f8ff;white-space:nowrap}.manual-filter.active{color:white;background:#4d63df;border-color:#4d63df}@media(max-width:1350px){.stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.stats{grid-template-columns:1fr}}
[hidden]{display:none!important}.stat-link{display:block;transition:border-color .15s,box-shadow .15s,transform .15s}.stat-link:hover,.stat-link:focus-visible{border-color:#8ea1f5;box-shadow:0 8px 24px #344fc91a;transform:translateY(-2px)}.metric-link{display:inline-flex;min-width:34px;align-items:center;justify-content:center;padding:4px 9px;border-radius:6px;color:#425cc9;font-weight:700}.metric-link:hover,.metric-link:focus-visible{background:#edf1ff;text-decoration:underline}.today-filter{border-color:#d8defe;color:#4e61c9;background:#f7f8ff;white-space:nowrap}.today-filter.active{color:white;background:#4d63df;border-color:#4d63df}.focus-card{margin-bottom:24px}.focus-card .card-head{padding-bottom:18px}.focus-card table{min-width:760px}.focus-settings-list{border-top:1px solid var(--line)}.focus-settings-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 23px;border-bottom:1px solid var(--line)}.focus-settings-row:nth-child(even){background:#fafbfe}.focus-settings-row label strong,.focus-settings-row label small{display:block}.focus-settings-row label small{font-size:10px;color:var(--muted)}.focus-settings-row>div{display:flex;align-items:center;gap:8px}.focus-settings-row input{width:74px;text-align:right}.focus-settings-row span{white-space:nowrap;color:var(--muted)}@media(max-width:600px){.focus-settings-row{padding:12px 16px}}

.shared-intro,.admin-setting{padding:22px;margin-bottom:18px}.shared-intro h2,.admin-setting h2{margin:0 0 8px}.shared-intro p,.admin-setting p{line-height:1.6}.shared-list{display:grid;gap:14px}.shared-card{padding:18px}.shared-person{display:flex;justify-content:space-between;gap:20px;align-items:center}.shared-person div{display:grid;gap:5px}.shared-person strong{font-size:18px}.shared-person span,.shared-person small,.shared-empty{color:#64748b}.shared-exams{display:grid;gap:7px;margin-top:15px}.shared-exams button{display:flex;justify-content:space-between;gap:14px;align-items:center;width:100%;padding:11px 14px;text-align:left;border:1px solid #dbe3f5;border-radius:9px;background:#f8faff;color:#1e293b}.shared-exams button:hover{border-color:#596be5;background:#f0f3ff}.shared-exams small{color:#64748b}.admin-setting form{padding:20px;display:grid;gap:18px}.admin-setting form>label{display:grid;gap:7px;max-width:320px}.admin-setting input[type=text],.admin-setting input[name=empNo],.admin-setting input[data-slack-teacher]{min-height:38px;padding:8px 10px;border:1px solid #dbe3f5;border-radius:7px}.admin-setting fieldset{border:1px solid #dbe3f5;border-radius:9px}.setting-checks{display:flex;flex-wrap:wrap;gap:12px;padding:8px}.setting-checks label{display:flex;gap:5px;align-items:center}.setting-saved{padding:0 20px 20px}.setting-saved p{margin:4px 0}@media(max-width:700px){.shared-person,.shared-exams button{display:grid}.shared-card{padding:14px}}
.admin-setting input[data-slack-teacher]{width:min(280px,100%);text-align:left}.shared-list>.shared-empty{padding:24px}
.admin-setting #access-target{min-height:38px;padding:8px 10px;border:1px solid #dbe3f5;border-radius:7px;background:white}.setting-saved-note{margin:0;color:#687791;font-size:11px}.teacher-status-table{width:100%;min-width:940px;table-layout:fixed}.teacher-status-table th:first-child{width:11%}.teacher-status-table th:nth-child(n+2):nth-child(-n+6){width:10%}.teacher-status-table th:nth-last-child(-n+2){width:19.5%}.teacher-status-table th,.teacher-status-table td{padding-left:10px;padding-right:10px}.teacher-ratio strong,.teacher-ratio small{display:block}.teacher-ratio strong{font-size:14px;color:#25385f}.teacher-ratio small{font-size:10px;color:#8290a5;white-space:nowrap}
.catalog-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.catalog-actions .pdf-print{display:inline-flex;align-items:center;min-height:35px;padding:7px 10px;border:1px solid #cad6ff;border-radius:8px;background:#f7f9ff;color:#425ac4;font-weight:700;white-space:nowrap}.catalog-actions .pdf-print:hover{background:#e9eeff}.catalog-updated{display:block;margin-top:4px;color:#718096;font-size:11px}#drive-sync-button{color:#425ac4;border-color:#cad6ff;white-space:nowrap}#drive-sync-button:disabled{opacity:.65;cursor:wait}@media(max-width:780px){.catalog-entry{align-items:flex-start;flex-direction:column}.catalog-actions{justify-content:flex-start}}
.drive-sync-report{padding:12px 20px;border-bottom:1px solid #e7ebf5;color:#4b5876;font-size:12px}.drive-sync-report summary{cursor:pointer;font-weight:700}.drive-sync-report p{margin:8px 0 0;line-height:1.6}
.catalog-document-info{display:block;margin-top:5px;color:#8a5a18;font-size:11px;font-weight:600}

/* Keep the action queue visible without squeezing its label into the count. */
.exam-tabs{align-items:center;gap:14px;min-height:56px;padding:0 18px;overflow:visible}
.exam-tab-list{display:flex;align-items:center;gap:20px;min-width:0;flex:1;overflow-x:auto;scrollbar-width:thin}
.exam-tabs .exam-tab-list button{display:inline-flex;align-items:center;gap:6px;flex:none;min-height:55px;padding:14px 0 12px;line-height:1.2}
.exam-tabs .exam-tab-list b{margin:0;font-variant-numeric:tabular-nums}
.exam-tab-priority{display:flex;align-items:center;flex:none;min-height:38px;padding-left:14px;border-left:1px solid #e8e9f2}
.exam-tabs .adjustment-tab{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:36px;margin:0;padding:7px 11px 7px 14px;border:1px solid #cbb9f6;border-radius:999px;background:#f5f1ff;color:#5b3aa9;font-size:11px;font-weight:750;line-height:1.2;white-space:nowrap;box-shadow:0 1px 3px #54369212}
.exam-tabs .adjustment-tab:hover{background:#ece5ff;border-color:#aa8ce9}
.exam-tabs .adjustment-tab b{display:inline-grid;place-items:center;flex:none;min-width:21px;height:21px;margin:0;padding:0 5px;border-radius:999px;background:#e5d9ff;color:#5637a4;font-size:10px;font-weight:800;font-variant-numeric:tabular-nums}
.exam-tabs .adjustment-tab.active{background:#6746bd;border-color:#6746bd;color:#fff;box-shadow:0 3px 10px #6746bd2a}
.exam-tabs .adjustment-tab.active b{background:#fff;color:#5637a4}
.exam-tabs .adjustment-tab:focus-visible{outline:2px solid #6746bd;outline-offset:3px}
.appointment-card.schedule-adjustment-needed,.appointment-card.schedule-adjustment-needed.attendance-overdue,.appointment-card.schedule-adjustment-needed.attendance-notified{border:1px solid #c5b0f2;border-left:4px solid #8459d7;box-shadow:0 2px 9px #6746bd1b}
/* Keep the exam list interactive while its inspector is open. */
:root{--detail-panel-width:clamp(340px,32vw,510px)}
body.detail-panel-open .shell{margin-right:var(--detail-panel-width)}
body.detail-panel-open main{padding-left:24px;padding-right:24px}
dialog.drawer[open]{width:var(--detail-panel-width);max-width:var(--detail-panel-width);border-left:1px solid #dce4f1;border-radius:14px 0 0 14px;box-shadow:-12px 0 32px #25375b1f;z-index:50}
.detail-draft-note{margin:0 0 16px;padding:9px 11px;border:1px solid #f0d68e;border-radius:7px;background:#fff9e9;color:#775c25;font-size:11px}
@media(max-width:1500px){body.detail-panel-open .appointment-top{align-items:stretch;flex-direction:column}body.detail-panel-open .appointment-fields{width:100%;flex:auto;grid-template-columns:minmax(0,1fr) minmax(190px,218px)}}
@media(max-width:1200px){body.detail-panel-open .appointment-fields{grid-template-columns:1fr}}
@media(max-width:800px){body.detail-panel-open .shell{margin-right:0;padding-bottom:48dvh}dialog.drawer[open]{inset:auto 0 0 0;width:100%;max-width:100%;height:48dvh;max-height:48dvh;padding:18px;border-left:0;border-top:1px solid #dce4f1;border-radius:14px 14px 0 0;box-shadow:0 -12px 32px #25375b1f}}
.appointment-top .adjustment-label{margin-right:6px;background:#eee7ff;color:#5d3dad}
@media(max-width:820px){.exam-tabs{flex-wrap:wrap;gap:0;padding:0 14px}.exam-tab-priority{order:-1;width:100%;min-height:0;padding:11px 0 0;border:0}.exam-tab-list{width:100%;flex:none;gap:17px}.exam-tabs .exam-tab-list button{min-height:45px;padding:10px 0 9px}}
.exam-title-button{display:block;width:100%;padding:0;border:0;background:transparent;color:#324b76;font:inherit;font-weight:600;text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.exam-title-button:hover,.exam-title-button:focus-visible{color:#4b57d9;text-decoration:underline}
.schedule-auto-note{margin:18px 0 0;padding:11px 13px;border:1px solid #dfe6fa;border-radius:9px;background:#f6f8ff;color:#50617e;font-size:11px;line-height:1.6}
.schedule-auto-note strong{color:#4258b5;margin-right:5px}

/* A compact presence list uses the spare space in the top toolbar. */
.active-users{position:relative;flex:none;margin-left:auto;margin-right:22px;color:#68778f;font-size:10px;white-space:nowrap}
.presence-details{position:relative}
.presence-summary{display:flex;align-items:center;gap:7px;padding:5px 7px;border:1px solid transparent;border-radius:8px;cursor:pointer;list-style:none}
.presence-summary::-webkit-details-marker{display:none}
.presence-summary:hover,.presence-details[open] .presence-summary{border-color:#dce4fb;background:#f7f9ff}
.presence-summary:focus-visible{outline:2px solid var(--blue)}
.presence-label{margin-right:3px;color:#69778e}.presence-label strong{margin:0 2px 0 4px;color:#455bd0;font-weight:800}
.presence-preview{display:inline-flex;align-items:center;gap:4px;color:#46536b;font-weight:600}
.presence-avatar{display:grid;place-items:center;flex:none;width:22px;height:22px;border-radius:50%;background:#e5ebff;color:#445bcc;font-size:10px;font-weight:800}
.presence-preview:nth-of-type(3n) .presence-avatar,.presence-person:nth-of-type(3n) .presence-avatar{background:#dff5ed;color:#28745d}
.presence-preview:nth-of-type(3n+1) .presence-avatar,.presence-person:nth-of-type(3n+1) .presence-avatar{background:#fff0df;color:#ac6c2d}
.presence-extra{display:grid;place-items:center;min-width:22px;height:22px;padding:0 4px;border-radius:50%;background:#eff1f8;color:#65738b;font-size:9px;font-weight:700}
.presence-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:80;width:260px;max-height:340px;overflow:auto;padding:9px 12px;border:1px solid #dce4f1;border-radius:10px;background:#fff;box-shadow:0 12px 28px #23345424;white-space:normal}
.presence-help{margin:3px 2px 8px;color:#8390a4;font-size:10px}
.presence-person{display:flex;align-items:center;gap:9px;padding:7px 3px;border-top:1px solid #f0f2f7}
.presence-person-text{display:flex;flex-direction:column;min-width:0}.presence-person-text strong{color:#36455d;font-size:11px}.presence-person-text small{color:#8994a5;font-size:9px}
@media(max-width:1100px){.presence-name{display:none}.active-users{margin-right:8px}}
@media(max-width:800px){.presence-summary{gap:4px;padding:3px}.presence-label{font-size:9px}.presence-avatar,.presence-extra{width:19px;min-width:19px;height:19px;font-size:9px}.presence-panel{right:-58px;width:min(260px,90vw)}}
/* Partial completion: same exam, separate completed and remaining records. */
.result-select.partial{background:#ecf8f2;border-color:#b7dfcc;color:#207650}
#partial-pass-dialog{width:min(600px,calc(100vw - 28px));max-width:600px;padding:26px;border:1px solid #dde5f0;border-radius:16px}
#partial-pass-dialog .dialog-top h2{font-size:19px;margin:4px 0}
.partial-pass-student{color:#687b94;font-size:12px;margin:12px 0 4px}
.partial-pass-exam{font-size:14px;margin:0 0 20px;overflow-wrap:anywhere}
#partial-pass-description{min-height:90px;resize:vertical}
.partial-pass-help{font-size:12px;line-height:1.7;color:#72819a;margin:10px 0 16px}
.partial-pass-preview{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
.partial-pass-preview>div{padding:16px;border:1px solid #e0e7f0;border-radius:10px;background:#f8fafd;min-width:0}
.partial-pass-destination{display:inline-block;font-size:10px;font-weight:700;padding:3px 8px;margin-bottom:9px;border-radius:5px}
.partial-pass-destination.done{background:#e5f5ed;color:#257b53}.partial-pass-destination.remaining{background:#ecefff;color:#4d5fd2}
.partial-pass-preview strong{display:block;font-size:12px}.partial-pass-preview p{font-size:12px;color:#64758e;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0}
.partial-pass-record{margin:16px 0;padding:16px;border:1px solid #cde4d8;background:#f5fbf8;border-radius:10px}
.partial-pass-record>strong{color:#28734f}.partial-pass-record p{margin:7px 0;white-space:pre-wrap;overflow-wrap:anywhere}.partial-pass-record small{display:block;color:#708878;font-size:11px}.partial-pass-record button{margin-top:10px;padding:4px 0}
.partial-pass-error{color:#b33746;background:#fff1f3;border-radius:8px;padding:10px 12px;font-size:12px}
@media(max-width:540px){#partial-pass-dialog{padding:20px}.partial-pass-preview{grid-template-columns:1fr}#partial-pass-dialog .dialog-actions{flex-wrap:wrap}}
