:root{color:#19293b;font-synthesis:none;background:#eef2f6;font-family:PingFang SC,Microsoft YaHei,system-ui,sans-serif}*{box-sizing:border-box}body,h1,h2,h3,p{margin:0}h1{font-size:clamp(1.2rem,3vw,1.65rem)}h2{font-size:1.15rem}a{color:#1959a3}button,.button{color:#fff;font:inherit;cursor:pointer;white-space:nowrap;background:#174d85;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:.4rem;padding:.6rem 1rem;display:inline-flex}button:disabled{opacity:.5;cursor:default}.secondary{color:#174d85;background:#fff;border-color:#c6d3df}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-offset:3px;outline:2px solid #2179bd}input,select{min-width:0;font:inherit;color:inherit;background:#fff;border:1px solid #c2d0dc;border-radius:6px;padding:.55rem .65rem}input[type=file]{max-width:100%}.button input{opacity:0;width:1px;height:1px;position:absolute}.button:focus-within{outline-offset:3px;outline:2px solid #2179bd}.admin{max-width:1180px;margin:auto;padding:32px 24px}.masthead,.toolbar,.actions,.pagination,.report-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.masthead{margin-bottom:24px}.panel,.empty-card{background:#fff;border:1px solid #d6e0e9;border-radius:12px;padding:24px}.report{padding:24px}.sign-in{gap:16px;max-width:380px;margin:12vh auto 0;display:grid}.sign-in label,.form-grid label,.photo-input{gap:6px;display:grid}.muted{color:#566c7e;font-size:.9rem}.toolbar .muted{margin-top:5px}.search{gap:8px;margin:18px 0;display:flex}.search input{width:min(280px,100%)}.table-scroll{overflow:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:.92rem}th,td{vertical-align:middle;border-bottom:1px solid #e2e9ef;padding:13px 10px}th{white-space:nowrap;background:#f1f5fa}.row-actions{white-space:nowrap}.link{color:#1959a3;background:0 0;padding:6px}.danger,.error{color:#a52431}.destructive{background:#a52431}.error,.notice{margin:10px 0}.notice{color:#246044}.empty{text-align:center;color:#566c7e;padding:30px}.pagination{justify-content:flex-end;margin-top:16px}.modal{z-index:1;width:min(720px,100vw - 30px);max-height:90dvh;color:inherit;border:1px solid #c6d4e0;border-radius:10px;margin:auto;padding:24px;position:fixed;inset:0;overflow:auto;box-shadow:0 0 0 100vmax #10243f89}.modal footer{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.form-grid{grid-template-columns:1fr 1fr;gap:12px;margin:16px 0;display:grid}.checkbox{gap:6px;margin-top:10px;display:flex}.qr-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px;display:grid}.qr-grid article{justify-items:center;gap:8px;display:grid}.qr-grid img{width:min(100%,232px)}.bulk-photo-modal .muted{margin:8px 0 12px}.photo-match-list{margin:12px 0;padding:0;list-style:none}.photo-match-list li{overflow-wrap:anywhere;border-bottom:1px solid #e2e9ef;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px 12px;padding:8px 0;display:grid}.photo-match-list li span:last-child{grid-column:1/-1;margin:0}.confirm{max-width:440px}.confirm p{margin-top:12px}body:has(.public-page){background:#fff}.public-page{color:#141414;margin:44px auto;padding:0 16px}.pc-page{max-width:822px}.public-page.h5-page{max-width:740px;margin-top:10px;padding:0}.h5-page .report{padding:0}.h5-page .report-header{justify-content:center;min-height:80px;margin:0;padding:0 30px}.h5-page .school-logo{width:42px}.h5-page .report-header h1{line-height:1.4}.h5-page .report-header h1 span{display:inline}.report-header{flex-direction:column;align-items:center;gap:8px;margin-bottom:16px;display:flex;position:relative}.report-brand{justify-content:center;align-items:center;gap:10px;max-width:100%;display:flex}.report-header h1{text-align:center;font-size:24px;line-height:38px}.report-header h1 span{display:block}.school-logo{flex:none;width:53px;display:block}.school-logo img{width:100%;height:auto;display:block}.school-logo-symbol{aspect-ratio:1;width:min(100%,53px);overflow:hidden}.school-logo-symbol img{width:409.434%;max-width:none}.report-actions{align-items:flex-start;gap:9px;display:flex;position:absolute;top:0;right:0}.report-actions button{color:#3c3c3c;background:0 0;justify-items:center;gap:2px;min-width:35px;padding:2px 3px;font-size:14px;line-height:1.2;display:grid}.report-actions button:hover{color:#174d85;background:#eef4fa}.report-actions svg{width:22px;height:22px}.report-actions .error{width:max-content;position:absolute;top:100%;right:0}.report-sheet-viewport{--pc-sheet-min-width:640px}@media screen{.pc-page .report-document{min-width:var(--pc-sheet-min-width);zoom:var(--pc-sheet-zoom,1)}}.report-print-copy{background:#fff;width:790px;position:fixed;top:0;left:-10000px}.report-print-copy .report-header h1{font-size:24px;line-height:38px}.report-sheet{isolation:isolate;background-color:#e5f3fa;background-position:0 0;background-repeat:no-repeat;position:relative}.h5-page .report-sheet{background-position:50%;background-size:cover}.report-table{table-layout:fixed;color:#111;font-size:16px}.report-table th,.report-table td{text-align:center;overflow-wrap:anywhere;background:0 0;border:1px solid #526774;padding:9px 7px}.report-table th{white-space:normal;font-weight:400}.pc-label{width:15%}.pc-detail{width:15.25%}.pc-report-table .date-value{white-space:nowrap;padding-inline:3px}.pc-photo{width:120px}.report-portrait img{object-fit:contain;width:100%;max-width:108px;max-height:138px;margin:auto;display:block}.pc-report-table .report-portrait{vertical-align:middle;padding:0}.pc-report-table .report-portrait img{object-fit:cover;width:100%;max-width:none;height:136px;max-height:none}.report-portrait span{color:#566c7e}.vertical-label{writing-mode:vertical-rl;letter-spacing:.13em}.pc-page .report-sheet,.report-print-copy .report-sheet{container-type:inline-size}.report-qr img{width:23.5cqw;max-width:100%;height:auto;margin:0 auto;display:block}.report-notes{text-align:left;overflow-wrap:anywhere;border:1px solid #526774;border-top:0;padding:12px;font-size:16px;line-height:26px}.report-notes ol{margin:4px 0 0;padding-inline-start:1.5em}.report-notes li+li{margin-top:2px}.school-seal{z-index:1;pointer-events:none;mix-blend-mode:multiply;opacity:.75;position:absolute}.pc-page .school-seal,.report-print-copy .school-seal{width:220px;bottom:19%;right:3%}@media screen and (width<=1023px){.h5-page .report-header h1{font-size:16px}.h5-page .report-sheet{margin-inline:10px}}.compact-report-table th{width:31%}.compact-report-table td,.compact-report-table th{border-color:#000;height:29px;padding:3px 6px;line-height:1.35}.compact-report-table .report-result{padding:10px 6px;font-weight:700}.h5-page .school-seal{opacity:.7;width:40%;bottom:100px;right:60px}@media screen and (width<=1023px){.h5-page .school-seal{right:50px}}@media screen and (width<=640px){.admin{padding:20px 12px}.panel,.modal{padding:15px}.sign-in{margin-top:6vh}.form-grid{grid-template-columns:1fr}.toolbar{align-items:flex-start}.actions{justify-content:flex-start}.search input{flex:1;width:auto}.student-table,.student-table tbody{display:block}.student-table thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.student-table tr{border:1px solid #d6e0e9;border-radius:8px;margin-bottom:10px;padding:9px 11px;display:block}.student-table td{overflow-wrap:anywhere;border:0;padding:5px 0;display:block}.student-table td[data-label]{grid-template-columns:5em minmax(0,1fr);gap:8px;display:grid}.student-table td[data-label]:before{content:attr(data-label);color:#566c7e}.student-table .row-actions{border-top:1px solid #e2e9ef;flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.student-table .row-actions button{min-height:44px}.qr-grid{grid-template-columns:1fr}.public-page{margin-top:20px;padding-inline:12px}}@media print{.public-page{-webkit-print-color-adjust:exact;print-color-adjust:exact;margin:0;padding:0}.no-print{display:none}}
