.navbar{background:#fff;border:1px solid #e2e8f0;border-radius:22px;justify-content:space-between;align-items:center;gap:18px;width:min(100% - 32px,1100px);margin:18px auto 0;padding:14px 18px;display:flex;box-shadow:0 14px 45px #0f172a0f}.navbar-brand{color:#0066d6;letter-spacing:-.03em;white-space:nowrap;font-size:22px;font-weight:700;text-decoration:none}.navbar-links{align-items:center;gap:8px;display:flex}.navbar-link{color:#334155;border-radius:14px;align-items:center;gap:8px;padding:10px 12px;font-size:14px;font-weight:400;text-decoration:none;transition:background .2s,color .2s;display:inline-flex}.navbar-link:hover{color:#0066d6;background:#f1f5f9}@media (width<=760px){.navbar{border-radius:20px;width:calc(100% - 16px);margin-top:8px;padding:12px}.navbar-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.navbar-link{background:#f8fafc;justify-content:center;padding:12px}}@media (width<=430px){.navbar{flex-direction:column;align-items:stretch}.navbar-brand{text-align:center}.navbar-links{width:100%}}.report-preview-list{gap:14px;display:grid}.report-preview-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:18px}.report-preview-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.report-student,.report-phone,.report-send-status{align-items:center;gap:7px;display:inline-flex}.report-student{color:#122033}.report-phone{color:#64748b;margin-top:7px;font-size:14px}.report-send-status{white-space:nowrap;border-radius:999px;padding:6px 10px;font-size:13px;font-weight:600}.report-status-stack{justify-items:end;gap:7px;display:grid}.report-send-status.sent{color:#166534;background:#ecfdf3}.report-send-status.failed{color:#b42318;background:#fff1f0}.report-delivery-status{white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:600}.report-delivery-status.pending{color:#475569;background:#f1f5f9}.report-delivery-status.sent{color:#1d4ed8;background:#eff6ff}.report-delivery-status.delivered{color:#166534;background:#ecfdf3}.report-delivery-status.read{color:#4338ca;background:#eef2ff}.report-delivery-status.failed{color:#b42318;background:#fff1f0}.report-metrics{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px;display:grid}.report-metrics div{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:12px}.report-metrics span{color:#64748b;font-size:12px;display:block}.report-metrics strong{color:#122033;margin-top:4px;font-size:20px;display:block}.report-preview-text{white-space:pre-wrap;color:#334155;background:#fff;border:1px solid #e2e8f0;border-radius:14px;margin:16px 0 0;padding:14px;font-family:inherit;font-size:14px;line-height:1.55;overflow:auto}.btn-success{color:#fff;cursor:pointer;background:#16a34a;border:0;border-radius:13px;justify-content:center;align-items:center;gap:8px;max-width:260px;min-height:46px;padding:0 18px;font-weight:600;display:inline-flex}.btn-success:disabled{opacity:.65;cursor:not-allowed}.tool-actions .btn-primary,.tool-actions .btn-success{justify-content:center;align-items:center;gap:8px;display:inline-flex}.tool-status.warn{color:#92400e;background:#fffbeb}.tool-status.bad{color:#b42318;background:#fff1f0}.report-refresh-actions{margin-top:18px}@media (width<=760px){.report-preview-head{flex-direction:column}.report-metrics{grid-template-columns:1fr}.btn-success{width:100%;max-width:none}.report-status-stack{justify-items:start}}.report-links-page .tool-card{gap:18px}.report-links-toggle{color:#24324a;align-items:center;gap:10px;font-weight:700;display:inline-flex}.report-links-toggle input{width:18px;height:18px}.report-links-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:16px;display:grid}.report-links-action,.btn-secondary,.icon-btn{justify-content:center;align-items:center;gap:8px;display:inline-flex}.btn-secondary{color:#12314f;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:13px;min-height:46px;padding:0 18px;font-weight:700}.btn-secondary:disabled{opacity:.65;cursor:not-allowed}.icon-btn{color:#12314f;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:12px;width:42px;height:42px}.report-links-list{flex-direction:column;gap:12px;display:flex}.report-link-item{background:#f8fafc;border:1px solid #dbe4f0;border-radius:8px;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:14px;padding:14px;display:grid}.report-link-item strong,.report-link-item span,.report-link-item a{display:block}.report-link-item span{color:#64748b;margin-top:3px;font-size:.9rem}.report-link-item a{color:#0b63ce;overflow-wrap:anywhere;margin-top:8px}.report-link-empty{color:#64748b;border:1px dashed #cbd5e1;border-radius:8px;padding:18px}@media (width<=720px){.report-links-row,.report-link-item{grid-template-columns:1fr}.report-link-item .icon-btn{justify-self:start}}.public-report-page{padding-bottom:32px}.public-report-student{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.public-report-user{align-items:center;gap:12px;display:flex}.public-report-user strong{color:#122033;font-size:18px;display:block}.public-report-user span{color:#64748b;margin-top:4px;font-size:14px;display:block}.public-report-filters{grid-template-columns:1fr 1fr;gap:14px;min-width:360px;display:grid}.public-summary-grid{grid-template-columns:repeat(3,1fr);gap:18px;display:grid}.public-summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:22px;align-items:center;gap:14px;padding:20px;display:flex;box-shadow:0 16px 45px #0f172a0f}.public-summary-icon{border-radius:16px;place-items:center;width:46px;height:46px;display:grid}.public-summary-icon.attendance{color:#166534;background:#ecfdf3}.public-summary-icon.assignment{color:#1d4ed8;background:#eff6ff}.public-summary-icon.exam{color:#92400e;background:#fef3c7}.public-summary-card span{color:#64748b;font-size:13px;display:block}.public-summary-card strong{color:#122033;margin-top:4px;font-size:24px;display:block}.report-table-wrapper{width:100%;overflow-x:auto}.report-table{border-collapse:collapse;width:100%;min-width:760px;font-size:14px}.report-table th{text-align:left;color:#64748b;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:12px;font-weight:600}.report-table td{color:#334155;vertical-align:top;border-bottom:1px solid #eef2f7;padding:12px}.assessment-status{text-transform:capitalize;white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:600;display:inline-flex}.assessment-status.graded,.assessment-status.submitted{color:#166534;background:#ecfdf3}.assessment-status.not_submitted{color:#b42318;background:#fff1f0}.assessment-status.cheating{color:#92400e;background:#fffbeb}.attendance-list{gap:10px;display:grid}.attendance-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;justify-content:space-between;align-items:center;gap:14px;padding:14px;display:flex}.attendance-item strong{color:#122033}.attendance-date{color:#64748b;margin-top:4px;font-size:13px}.attendance-pill{white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:6px 10px;font-size:13px;font-weight:600;display:inline-flex}.attendance-pill.attended{color:#166534;background:#ecfdf3}.attendance-pill.absent{color:#b42318;background:#fff1f0}@media (width<=760px){.public-report-student{flex-direction:column}.public-report-filters{grid-template-columns:1fr;width:100%;min-width:0}.public-summary-grid{grid-template-columns:1fr}.attendance-item{flex-direction:column;align-items:flex-start}.report-table-wrapper{overflow-x:visible}.report-table{border-collapse:separate;border-spacing:0 12px;min-width:0}.report-table thead{display:none}.report-table tbody,.report-table tr,.report-table td{width:100%;display:block}.report-table tr{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:12px}.report-table td{color:#122033;border-bottom:0;padding:8px 0}.report-table td:not([colspan]){grid-template-columns:92px minmax(0,1fr);align-items:start;gap:12px;display:grid}.report-table td:before{color:#64748b;text-transform:uppercase;font-size:12px;font-weight:700}.report-table td:first-child:before{content:"Name"}.report-table td:nth-child(2):before{content:"Date"}.report-table td:nth-child(3):before{content:"Mark"}.report-table td:nth-child(4):before{content:"Total"}.report-table td:nth-child(5):before{content:"%"}.report-table td:nth-child(6):before{content:"Grade"}.report-table td:nth-child(7):before{content:"Status"}.report-table td[colspan]{color:#64748b;text-align:left}}.attendance-location{text-transform:capitalize;font-weight:600}.attendance-location.online{color:#1d4ed8}.attendance-location.school{color:#166534}.attendance-location.center{color:#92400e}.public-assistant-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;min-width:260px;padding:14px}.public-assistant-card span{color:#64748b;font-size:13px;display:block}.public-assistant-card strong{color:#122033;margin-top:4px;display:block}.public-assistant-card p{color:#334155;margin:6px 0 0}.public-assistant-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.public-assistant-actions a{color:#fff;background:#0066d6;border-radius:12px;padding:9px 12px;font-size:13px;font-weight:600;text-decoration:none}.public-assistant-card.standalone{justify-content:space-between;align-items:center;gap:18px;min-width:0;display:flex}@media (width<=760px){.public-assistant-card{width:100%}.public-assistant-actions a{text-align:center;width:100%}.public-assistant-card.standalone{flex-direction:column;align-items:stretch}}.tool-field-full{grid-column:1/-1}.grade-import-confidence{color:#1d4ed8;background:#eff6ff;border-radius:999px;justify-content:center;align-items:center;min-width:54px;padding:5px 9px;font-size:12px;font-weight:600;display:inline-flex}.grade-import-source{text-overflow:ellipsis;white-space:nowrap;max-width:220px;overflow:hidden}.grade-import-status{text-transform:capitalize;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:600;display:inline-flex}.grade-import-status.graded,.grade-import-status.submitted{color:#166534;background:#ecfdf3}.grade-import-status.needs_review{color:#92400e;background:#fffbeb}.grade-import-status.not_submitted,.grade-import-status.cheating{color:#b42318;background:#fff1f0}.grade-import-issues{white-space:pre-wrap}@media (width<=760px){.grade-import-source{max-width:160px}}.scenario-shell{padding-bottom:48px}.scenario-kicker{color:#0066d6;letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px;font-size:12px;font-weight:700;display:block}.scenario-form .tool-grid{align-items:stretch}.scenario-mode-picker{background:#eef2f7;border-radius:16px;grid-template-columns:repeat(2,1fr);gap:4px;margin-bottom:20px;padding:4px;display:grid}.scenario-mode-picker button{color:#64748b;min-height:62px;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:13px;justify-content:center;align-items:center;gap:10px;padding:10px 14px;transition:all .2s;display:flex}.scenario-mode-picker button.active{color:#0066d6;background:#fff;border-color:#dbe4ee;box-shadow:0 5px 16px #0f172a14}.scenario-mode-picker button>span{text-align:left;gap:2px;display:grid}.scenario-mode-picker strong{color:#122033;font-size:14px}.scenario-mode-picker small{font-size:11px}.tool-field small{color:#64748b;font-size:12px}.scenario-upload{cursor:pointer;background:#f8fafc;border:1px dashed #94a3b8;border-radius:16px;align-items:center;gap:12px;min-height:84px;padding:14px;transition:all .2s;display:flex}.scenario-upload:hover{background:#f0f7ff;border-color:#0066d6}.scenario-upload.uploaded{background:#f0fdf4;border-color:#4ade80}.scenario-upload input{display:none}.scenario-upload-icon{color:#0066d6;background:#fff;border-radius:14px;flex:none;place-items:center;width:44px;height:44px;display:grid}.scenario-upload>span:last-child{gap:4px;min-width:0;display:grid}.scenario-upload strong,.scenario-upload small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.scenario-upload strong{color:#122033}.scenario-upload small{color:#64748b}.scenario-actions{margin-top:22px}.scenario-advanced{border-top:1px solid #e2e8f0;margin-top:18px;padding-top:14px}.scenario-more-button{color:#475569;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;padding:7px 0;font-weight:600;display:inline-flex}.scenario-more-button svg{transition:transform .2s}.scenario-more-button.open svg{transform:rotate(180deg)}.scenario-advanced-panel{background:#f8fafc;border:1px solid #dbe4ee;border-radius:18px;margin-top:12px;padding:18px}.scenario-prompt-head{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.scenario-prompt-head strong{color:#122033}.scenario-prompt-head p{color:#64748b;margin:5px 0 14px;font-size:13px;line-height:1.5}.scenario-prompt-buttons{flex:none;gap:8px;display:flex}.scenario-prompt-buttons button{color:#334155;font:inherit;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:10px;align-items:center;gap:6px;padding:8px 10px;font-size:12px;font-weight:600;display:inline-flex}.scenario-prompt-buttons button:disabled{cursor:not-allowed;opacity:.55}.scenario-advanced-panel textarea{color:#26364a;resize:vertical;background:#fff;border:1px solid #cbd5e1;border-radius:13px;width:100%;min-height:330px;padding:13px;font:13px/1.55 SFMono-Regular,Consolas,Liberation Mono,monospace}.scenario-advanced-panel textarea:focus{border-color:#0066d6;outline:none;box-shadow:0 0 0 3px #0066d61a}.scenario-prompt-meta{color:#64748b;justify-content:space-between;gap:12px;min-height:18px;margin-top:8px;font-size:12px;display:flex}.scenario-result-head{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:16px;display:flex}.scenario-result-head h2{margin:0}.scenario-result-head>span{color:#64748b;font-size:14px}.scenario-correction{color:#26364a;overflow-wrap:anywhere;white-space:pre-wrap;margin-top:18px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:14px;line-height:1.72}.scenario-correction strong{color:#7c2d12;background:#fff3bf;border-radius:4px;padding:1px 3px}.scenario-structured-result{gap:18px;display:grid}.scenario-result-summary,.scenario-result-panel{background:#fff;border:1px solid #e2e8f0;box-shadow:0 16px 45px #0f172a0f}.scenario-result-summary{background:radial-gradient(circle at 100% 0,#0066d617,#0000 32%),#fff;border-radius:26px;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;padding:24px;display:grid}.scenario-score-ring{background:conic-gradient(#0066d6 var(--score), #e2e8f0 0);border-radius:50%;width:112px;height:112px;padding:9px}.scenario-score-ring>div{background:#fff;border-radius:50%;justify-content:center;align-items:baseline;width:100%;height:100%;padding-top:28px;display:flex}.scenario-score-ring strong{color:#122033;font-size:36px}.scenario-score-ring span{color:#64748b;font-size:14px}.scenario-summary-copy h2{color:#122033;margin:0;font-size:24px}.scenario-summary-copy p{color:#64748b;margin:7px 0 0}.scenario-summary-stat{color:#c2410c;background:#fff7ed;border-radius:16px;gap:4px;min-width:130px;padding:14px;display:grid}.scenario-summary-stat span{color:#9a3412;text-transform:uppercase;letter-spacing:.06em;font-size:11px}.scenario-summary-stat strong{font-size:25px}.scenario-result-grid{grid-template-columns:1.15fr .85fr;gap:18px;display:grid}.scenario-result-panel{border-radius:22px;padding:20px}.scenario-panel-title{color:#0066d6;align-items:center;gap:9px;margin-bottom:16px;display:flex}.scenario-panel-title h3{color:#122033;margin:0;font-size:17px}.scenario-count{color:#0066d6;text-align:center;background:#eff6ff;border-radius:999px;min-width:25px;margin-left:auto;padding:3px 8px;font-size:12px}.scenario-requirement-list,.scenario-deduction-list,.scenario-line-corrections{gap:10px;display:grid}.scenario-requirement{border-bottom:1px solid #edf1f5;grid-template-columns:1fr auto;gap:14px;padding:0 0 11px;display:grid}.scenario-requirement:last-child{border-bottom:0;padding-bottom:0}.scenario-requirement>div{gap:4px;display:grid}.scenario-requirement strong{color:#26364a;font-size:13px}.scenario-requirement span{color:#64748b;font-size:12px;line-height:1.45}.scenario-requirement b{color:#0066d6;font-size:14px}.scenario-deduction{background:#fff7ed;border-left:3px solid #fb923c;border-radius:0 12px 12px 0;padding:11px 12px}.scenario-deduction-head{justify-content:space-between;gap:10px;display:flex}.scenario-deduction-head strong{color:#c2410c;font-size:13px}.scenario-deduction-head span{color:#9a3412;font-size:11px}.scenario-deduction p{color:#7c2d12;margin:7px 0 5px;font-size:13px;line-height:1.45}.scenario-deduction small{color:#9a3412;line-height:1.4}.scenario-line-correction{border:1px solid #e2e8f0;border-radius:15px;grid-template-columns:auto 1fr 1fr;gap:12px;padding:14px;display:grid}.scenario-line-badge{color:#0066d6;background:#eff6ff;border-radius:8px;align-self:start;padding:5px 8px;font-size:11px;font-weight:700}.scenario-line-correction>div{gap:5px;min-width:0;display:grid}.scenario-line-correction small{color:#64748b;letter-spacing:.06em;text-transform:uppercase;font-size:10px;font-weight:700}.scenario-line-correction code{color:#9f1239;overflow-wrap:anywhere;white-space:pre-wrap;background:#fff1f2;border-radius:9px;padding:9px}.scenario-line-correction code.corrected{color:#047857;background:#ecfdf5}.scenario-line-correction p{color:#64748b;grid-column:2/-1;margin:0;font-size:12px}.scenario-code-panel{padding:0;overflow:hidden}.scenario-code-panel .scenario-panel-title{margin:0;padding:18px 20px}.scenario-code-panel pre{color:#dbeafe;white-space:pre-wrap;background:#0c1728;max-height:620px;margin:0;padding:22px;font:13px/1.7 SFMono-Regular,Consolas,Liberation Mono,monospace;overflow:auto}.scenario-notes{color:#475569;margin:0;padding-left:20px;line-height:1.65}.scenario-empty{color:#64748b;margin:0;font-size:13px}@media (width<=760px){.scenario-result-head,.scenario-prompt-head,.scenario-prompt-meta{display:grid}.scenario-prompt-buttons{flex-wrap:wrap}.scenario-result-summary,.scenario-result-grid,.scenario-line-correction{grid-template-columns:1fr}.scenario-result-summary{justify-items:start}.scenario-summary-stat{width:100%}.scenario-line-correction p{grid-column:auto}}*{box-sizing:border-box}body{color:#122033;background:#f7f9fc;margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.login-shell{place-items:center;min-height:100vh;padding:24px;display:grid}.dashboard-shell{align-content:start;gap:18px;width:min(100% - 32px,1100px);min-height:100vh;margin:0 auto;padding:24px 0 48px;display:grid}.login-card,.dashboard-card{background:#fff;border:1px solid #e2e8f0;border-radius:15px;width:min(100%,430px);padding:32px;box-shadow:0 22px 70px #0f172a14}.dashboard-card,.dashboard-card-wide{width:100%}.dashboard-section-head{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.dashboard-section-head h2{margin:0;font-size:20px}.dashboard-section-head p{color:#64748b;margin:6px 0 0;line-height:1.5}.dashboard-section-head button{color:#fff;cursor:pointer;white-space:nowrap;background:#0066d6;border:0;border-radius:12px;min-height:42px;padding:0 16px;font-weight:700}.dashboard-section-head button:disabled{opacity:.65;cursor:not-allowed}.dashboard-filters{grid-template-columns:minmax(220px,1fr) 180px 180px;gap:12px;margin-top:18px;display:grid}.dashboard-filters label{gap:7px;display:grid}.dashboard-filters span{color:#64748b;font-size:13px;font-weight:700}.dashboard-filters input{color:#122033;min-height:42px;font:inherit;border:1px solid #cbd5e1;border-radius:12px;padding:0 12px}.dashboard-filters input:focus{border-color:#0066d6;outline:none;box-shadow:0 0 0 3px #0066d61f}.brand{text-align:center}.brand h1{color:#0066d6;margin:0;font-size:30px}.brand h2{color:#0066d6;margin:8px 0 0;font-size:20px;font-weight:600}.description{text-align:center;color:#526173;margin:28px 0;line-height:1.6}.google-button,.actions button{color:#fff;cursor:pointer;background:#0066d6;border:0;border-radius:14px;width:100%;min-height:54px;font-size:16px;font-weight:700}.google-button{justify-content:center;align-items:center;gap:14px;display:flex}.google-icon{color:#0066d6;background:#fff;border-radius:999px;place-items:center;width:30px;height:30px;font-weight:900;display:grid}.user-row{align-items:center;gap:14px;display:flex}.user-row img{border-radius:999px;width:54px;height:54px}.user-row h1{margin:0;font-size:22px}.user-row p{color:#526173;margin:6px 0 0}.actions{gap:12px;margin-top:28px;display:grid}.actions .secondary{color:#122033;background:#edf2f7}.error{color:#b42318;background:#fff1f0;border-radius:12px;padding:12px}.file-list{gap:10px;margin-top:22px;display:grid}.file-list a{color:inherit;background:#f8fafc;border-radius:14px;gap:4px;padding:14px;text-decoration:none;display:grid}.file-list span{color:#64748b;font-size:13px}.dashboard-access-codes{flex-wrap:wrap;gap:8px;margin-top:18px;display:flex}.dashboard-access-codes span{color:#4338ca;background:#eef2ff;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:700}.dashboard-message-list{gap:12px;margin-top:18px;display:grid}.dashboard-empty{color:#64748b;background:#f8fafc;border-radius:14px;padding:18px}.dashboard-message{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:16px}.dashboard-message-head{justify-content:space-between;gap:14px;display:flex}.dashboard-message-head strong,.dashboard-message-head span,.dashboard-message-meta span{display:block}.dashboard-message-head span,.dashboard-message-meta{color:#64748b;font-size:13px}.dashboard-statuses{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.dashboard-status{white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:700}.dashboard-status.sent,.dashboard-status.delivered{color:#166534;background:#ecfdf3}.dashboard-status.read{color:#4338ca;background:#eef2ff}.dashboard-status.failed{color:#b42318;background:#fff1f0}.dashboard-status.pending{color:#475569;background:#f1f5f9}.dashboard-message-meta{flex-wrap:wrap;gap:12px;margin-top:10px;display:flex}.dashboard-message pre{white-space:pre-wrap;max-height:240px;font:inherit;background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin:14px 0 0;padding:12px;font-size:13px;line-height:1.5;overflow:auto}@media (width<=760px){.login-shell{padding:12px}.login-card,.dashboard-card{padding:20px}.dashboard-shell{width:calc(100% - 16px);padding-top:16px}.dashboard-section-head,.dashboard-message-head{flex-direction:column}.dashboard-filters{grid-template-columns:1fr}.dashboard-section-head button{width:100%}.dashboard-statuses{justify-content:flex-start}.user-row{align-items:flex-start}.user-row>div{min-width:0}.user-row p{overflow-wrap:anywhere}}.tool-shell{gap:18px;width:min(100% - 32px,1100px);margin:18px auto 0;display:grid}.tool-hero{background:linear-gradient(135deg,#fff,#f4f8ff);border:1px solid #e2e8f0;border-radius:28px;padding:28px;box-shadow:0 20px 60px #0f172a12}.tool-hero h1{color:#122033;margin:0;font-size:30px;font-weight:650}.tool-hero p{color:#64748b;max-width:720px;margin:10px 0 0;line-height:1.6}.tool-card{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:24px;box-shadow:0 16px 45px #0f172a0f}.tool-card h2{color:#122033;margin:0 0 16px;font-size:20px;font-weight:550}.tool-mode-grid,.upload-grid,.result-grid,.tool-grid{gap:14px;display:grid}.tool-mode-grid,.tool-grid{grid-template-columns:1fr 1fr}.tool-grid{grid-template-columns:repeat(2,1fr)}.tool-mode-card,.upload-tile{text-align:left;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;align-items:flex-start;gap:14px;padding:18px;transition:all .2s;display:flex}.tool-mode-card{width:100%}.tool-mode-card:hover,.upload-tile:hover,.tool-mode-card.active{background:#f0f7ff;border-color:#0066d6;transform:translateY(-1px)}.tool-mode-card h3,.upload-tile strong{color:#122033;margin:0;font-size:16px;font-weight:500}.tool-mode-card p,.upload-tile p{color:#64748b;margin:6px 0 0;font-size:14px;line-height:1.5}.upload-tile{position:relative}.upload-tile input,.prompt-upload input{display:none}.upload-tile.uploaded,.prompt-upload.uploaded{background:#ecfdf3;border-color:#86efac}.upload-tile-icon{color:#0066d6;background:#fff;border-radius:14px;place-items:center;width:42px;height:42px;display:grid}.tool-field{gap:7px;display:grid}.tool-field span{color:#64748b;font-size:13px}.tool-field input,.tool-field textarea{width:100%;font:inherit;resize:vertical;border:1px solid #e2e8f0;border-radius:13px;padding:12px 13px}.tool-field input:focus,.tool-field textarea:focus{border-color:#0066d6;outline:none;box-shadow:0 0 0 3px #0066d61a}.tool-field select{width:100%;font:inherit;background:#fff;border:1px solid #e2e8f0;border-radius:13px;padding:12px 13px}.tool-field select:focus{border-color:#0066d6;outline:none;box-shadow:0 0 0 3px #0066d61a}.tool-section-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.tool-section-head h2{margin-bottom:6px}.tool-section-head p{color:#64748b;margin:0 0 16px}.prompt-upload{color:#334155;cursor:pointer;background:#f8fafc;border:1px dashed #94a3b8;border-radius:13px;margin-top:14px;padding:12px 16px;display:inline-flex}.tool-actions{justify-content:flex-start;display:flex}.btn-primary{color:#fff;cursor:pointer;background:#0066d6;border:0;border-radius:13px;max-width:260px;min-height:46px;padding:0 18px;font-weight:600}.btn-primary:disabled{opacity:.65;cursor:not-allowed}.tool-status{color:#334155;background:#f8fafc;border-radius:13px;margin-top:14px;padding:12px 14px}.result-grid{grid-template-columns:repeat(2,1fr)}.result-stat{background:#f8fafc;border-radius:16px;gap:6px;padding:16px;display:grid}.result-stat span{color:#64748b;font-size:13px}.result-stat strong{font-size:24px}.result-message{color:#334155;line-height:1.6}.artifact-list{gap:10px;margin-top:16px;display:grid}.artifact-list a{color:#0066d6;background:#f8fafc;border-radius:13px;align-items:center;gap:10px;padding:12px;text-decoration:none;display:flex}.raw-result{margin-top:18px}.raw-result pre{color:#fff;background:#0f172a;border-radius:14px;padding:14px;overflow:auto}@media (width<=760px){.tool-shell{width:min(100% - 16px,1100px);margin-top:16px}.tool-hero,.tool-card{border-radius:20px;padding:18px}.tool-mode-grid,.upload-grid,.result-grid,.tool-grid,.correction-grid{grid-template-columns:1fr}.tool-section-head,.tool-actions{flex-direction:column}.tool-actions button,.btn-primary{width:100%;max-width:none}}.tool-shell{width:min(100% - 24px,1100px);margin:20px auto}.tool-card{background:#fff;border:1px solid #e2e8f0;border-radius:15px;margin-bottom:20px;padding:26px;box-shadow:0 20px 60px #0f172a14}.tool-heading h1{color:#122033;margin:0;font-size:26px;font-weight:600}.tool-heading p{color:#64748b;margin-top:10px;line-height:1.6}.mode-grid{grid-template-columns:1fr 1fr;gap:16px;margin-top:24px;display:grid}.mode-card{cursor:pointer;text-align:left;background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;align-items:flex-start;gap:14px;padding:20px;transition:all .2s;display:flex}.mode-card:hover{background:#f0f7ff;border-color:#0066d6;transform:translateY(-2px)}.mode-card h2{margin:0;font-size:18px;font-weight:500}.mode-card p{color:#64748b;margin:6px 0 0;font-size:14px}.upload-box{text-align:center;background:#f8fafc;border:2px dashed #cbd5f5;border-radius:16px;margin-top:20px;padding:20px}.upload-box input{margin-top:10px}.tool-actions{gap:10px;margin-top:18px;display:flex}.tool-actions button{cursor:pointer;border:none;border-radius:12px;flex:1;max-width:240px;height:48px;margin:0 auto;font-weight:600}.btn-primary{color:#fff;background:#0066d6}.btn-secondary{color:#122033;background:#edf2f7}.list{gap:10px;margin-top:18px;display:grid}.list-item{background:#f8fafc;border-radius:14px;padding:12px 14px;font-size:14px}.list-item strong{font-weight:600;display:block}.grid2{grid-template-columns:1fr 1fr;gap:14px;margin-top:14px;display:grid}.field label{color:#64748b;margin-bottom:6px;font-size:13px;display:block}.field select{border:1px solid #e2e8f0;border-radius:10px;width:100%;height:42px;padding:0 10px;font-size:14px}.field input{box-sizing:border-box;border:1px solid #e2e8f0;border-radius:10px;width:100%;height:42px;padding:0 10px;font-size:14px}.muted{color:#64748b;margin:6px 0 0}.grid3{grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px;display:grid}.review-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.review-header h2{margin:0}.review-header p{color:#64748b;margin:6px 0 0}.status-pill{border-radius:999px;padding:6px 10px;font-size:13px;font-weight:700}.status-pill.ready{color:#166534;background:#dcfce7}.status-pill.blocked{color:#991b1b;background:#fee2e2}.status-pill.warning{color:#9a3412;background:#fff7ed}.alert{border-radius:10px;margin-top:14px;padding:12px 14px;font-size:14px}.alert.warning{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa}.alert.error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.alert.success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.attendance-columns{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:16px;margin-top:20px;display:grid}.attendance-columns h3{margin:0;font-size:16px}.list-item{gap:4px;display:grid}.list-item span,.list-item small{color:#64748b}.list-item.unknown{background:#fff7ed}.manual-id-field{gap:6px;margin-top:8px;display:grid}.manual-id-field span{color:#7c2d12;font-size:12px;font-weight:700}.manual-id-field input{color:#122033;width:100%;height:38px;font:inherit;background:#fff;border:1px solid #fdba74;border-radius:8px;padding:0 10px}.manual-id-field input:focus{border-color:#ea580c;outline:none;box-shadow:0 0 0 3px #ea580c1a}.empty-state{color:#64748b;padding:12px 4px;font-size:14px}.tool-actions button:disabled{cursor:not-allowed;opacity:.6}.multi-target-row{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr) 120px;align-items:end;gap:14px;margin-top:14px;display:grid}.multi-target-row.school-only{grid-template-columns:minmax(0,1fr) 120px}.add-target-button{cursor:pointer;border:0;border-radius:10px;height:42px;font-weight:700}.target-chip-list{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.target-chip{color:#0f3f7a;cursor:pointer;background:#eef6ff;border:1px solid #bfdbfe;border-radius:999px;padding:8px 12px;font-weight:700}.target-review-list{gap:16px;margin-top:20px;display:grid}.target-review{border:1px solid #e2e8f0;border-radius:8px;padding:16px}.target-review-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.target-review-header h3{margin:0}.target-review-header p{color:#64748b;margin:6px 0 0}.attendance-subheading{margin:20px 0 0;font-size:15px}.compact-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}@media (width<=760px){.tool-shell{width:min(100% - 16px,1100px);margin:16px auto}.tool-card{padding:18px}.mode-grid{grid-template-columns:1fr}.mode-card{padding:16px}.tool-actions{flex-direction:column}.tool-actions button{width:100%;max-width:none}.grid3,.attendance-columns{grid-template-columns:1fr}.review-header{flex-direction:column;align-items:stretch}.multi-target-row{grid-template-columns:1fr}.target-review-header{flex-direction:column}}
