.admin-view-switch{margin:0 0 18px;padding:13px 12px;background:#ffffff0b;border:1px solid #ffffff20;border-radius:12px}.admin-view-caption{display:block;font-size:9px;font-weight:750;letter-spacing:1.4px;color:#a6c7c2;margin-bottom:10px}.admin-view-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px}.admin-view-buttons button{font:600 11px system-ui;padding:10px 5px;min-height:38px;border-radius:8px;border:1px solid #ffffff25;color:#d7e8e4;background:transparent}.admin-view-buttons button.active{background:#d6eee4;color:#174e46;border-color:#d6eee4}.admin-preview-caption{margin:10px 0 0;font-size:10px;line-height:1.6;color:#adcac3}.admin-nav-group{padding:0;margin:0 0 15px}.admin-nav-heading{padding:0 12px;margin:14px 0 7px;font-size:9px;font-weight:750;letter-spacing:1.3px;text-transform:uppercase;color:#83ada5}.sidebar #navigation .admin-nav-group button{display:flex;align-items:center;gap:11px;width:100%;padding:10px 12px;margin:3px 0;font-size:12px;text-align:left;border-radius:9px;line-height:1.5;min-height:40px}.admin-workspace-mode .sidebar-bottom{display:none}.admin-workspace-mode .shell>header{align-items:center}.admin-section-intro{max-width:800px;margin:0 0 25px;color:#627984;font-size:14px;line-height:1.8}.admin-workspace{max-width:1280px;margin:0 auto}.admin-section-body{display:flex;flex-direction:column;gap:18px}.admin-section-body h2{font-size:23px;margin:0 0 8px;letter-spacing:-.5px}.admin-section-body h3{margin:12px 0;font-size:17px}.admin-section-body .card-actions,.admin-section-body .action-row{gap:12px}.admin-section-body>button{align-self:flex-start}.admin-section-body .admin-table-wrap{border:1px solid #dce7e5;border-radius:12px;overflow:auto;background:#fff}.admin-section-body .admin-table{margin:0;border-collapse:collapse;width:100%;font-size:12px}.admin-section-body .admin-table th{background:#f0f6f4;color:#496c63;white-space:nowrap;font-size:11px}.admin-section-body .admin-table th,.admin-section-body .admin-table td{padding:13px 16px;border-bottom:1px solid #e7eeeb;vertical-align:top}.admin-section-body .admin-table tbody tr:hover{background:#f9fcfb}.admin-section-body .stats{gap:14px}.admin-section-body .stat{border:1px solid #dce7e5;box-shadow:none}.admin-section-body .stat strong{color:#147666}.admin-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.admin-overview-card{background:#fff;border:1px solid #dce7e5;border-radius:17px;padding:24px}.admin-overview-card h3{margin:0 0 16px;color:#21564c;font-size:17px}.admin-overview-card .admin-shortcut{display:block;text-align:left;width:100%;background:#f8fbfa;border:1px solid #e2ebe7;border-radius:10px;margin:10px 0;padding:14px 15px}.admin-shortcut strong{display:block;font-size:13px}.admin-shortcut small{display:block;margin-top:6px;font-size:11px;font-weight:400;color:#6a807a;line-height:1.7}.admin-overview-card .admin-shortcut:hover{background:#edf7f2;border-color:#c2ddd0}.admin-account-list{display:grid;gap:14px}.admin-account-card{background:#fff;border:1px solid #dce7e5;border-radius:14px;padding:19px 22px;display:flex;justify-content:space-between;align-items:center;gap:20px}.admin-account-card h3{margin:0 0 5px}.admin-account-card p{margin:0 0 10px;color:#637a80;font-size:13px;overflow-wrap:anywhere}.danger-button{background:#fff5f2;border:1px solid #ecc5b9;color:#a43124;border-radius:9px;padding:11px 15px;font-weight:650;cursor:pointer;min-height:42px}.danger-button:hover{background:#fbe4de}.danger-button:disabled{opacity:.5;cursor:not-allowed}.admin-delete-dialog{padding:0;width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 32px);border:1px solid #e1e8e4;overflow:auto}.admin-delete-dialog>header{display:block;padding:23px 26px;background:#fff;border-bottom:1px solid #e4ece8}.admin-delete-dialog h2{font-size:22px;margin:0}.admin-delete-body{padding:23px 26px}.admin-account-email{margin:6px 0 22px;color:#677d83;overflow-wrap:anywhere}.admin-delete-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.admin-delete-counts div{background:#f2f7f4;border-radius:10px;padding:14px}.admin-delete-counts strong{display:block;font-size:25px;color:#27634f}.admin-delete-counts span{font-size:11px;line-height:1.6;display:block;color:#678173}.admin-delete-warning{background:#fff7eb;border:1px solid #ebd6b4;border-radius:10px;padding:14px 17px;font-size:12px;line-height:1.8;color:#805e2e;margin:16px 0}.admin-delete-body>label:not(.admin-delete-consent){display:block;font-size:12px;font-weight:650;margin:23px 0 8px}.admin-delete-body>input{box-sizing:border-box;width:100%;min-height:44px;border:1px solid #cfdbd5;border-radius:8px;padding:10px 12px;font-size:15px}.admin-delete-consent{display:flex;gap:11px;align-items:flex-start;font-size:12px;line-height:1.8;margin:19px 0;cursor:pointer}.admin-delete-consent input{flex:none;width:18px;height:18px;min-height:18px;margin:3px 0 0;accent-color:#147b70}.admin-delete-dialog .dialog-actions{padding:18px 26px;gap:12px}.admin-delete-dialog .error{font-size:12px;line-height:1.7}.admin-delete-body .muted{font-size:12px;line-height:1.9}.sidebar-collapsed .admin-view-caption,.sidebar-collapsed .admin-preview-caption,.sidebar-collapsed .admin-nav-heading{display:none}.sidebar-collapsed .admin-view-switch{padding:7px 4px}.sidebar-collapsed .admin-view-buttons{display:flex;flex-direction:column}.sidebar-collapsed .admin-view-buttons button{font-size:9px;white-space:normal}.sidebar-collapsed #navigation .admin-nav-group button{justify-content:center;padding:10px 4px}
@media(max-width:800px){.admin-overview-grid{grid-template-columns:1fr}.admin-overview-card{padding:20px}.admin-account-card{align-items:flex-start;flex-direction:column;gap:8px}.admin-account-card .danger-button{align-self:flex-end}.admin-delete-body,.admin-delete-dialog>header{padding:20px}.admin-delete-counts{gap:7px}.admin-delete-counts div{padding:10px}.admin-delete-counts strong{font-size:22px}.admin-delete-dialog .dialog-actions{padding:16px 20px}.admin-section-body .admin-table th,.admin-section-body .admin-table td{padding:11px 13px}}

.sidebar .admin-view-switch{flex-shrink:0}.admin-workspace-mode #navigation{display:block;overflow-y:auto;min-height:0;flex:1;scrollbar-width:none}.admin-workspace-mode #navigation::-webkit-scrollbar{display:none}

.workspace-loading .sidebar-bottom{visibility:hidden}

.sidebar .admin-view-buttons{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}.sidebar .admin-view-buttons button{display:flex;align-items:center;justify-content:center;width:100%;height:44px;min-height:44px;padding:8px 4px;box-sizing:border-box;line-height:1.4}.sidebar-collapsed .sidebar .admin-view-buttons{grid-template-columns:1fr}.sidebar-collapsed .sidebar .admin-view-buttons button{font-size:9px;height:40px;min-height:40px}
@media(max-width:800px){.admin-workspace-mode .sidebar{display:flex;flex-direction:column;max-height:480px;height:auto;padding:20px 16px}.admin-workspace-mode #navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;max-height:220px;overflow-y:auto;flex:none}.admin-workspace-mode .admin-nav-group{margin-bottom:4px}.admin-workspace-mode .admin-nav-heading{padding-left:9px;margin-top:8px}.admin-workspace-mode .sidebar #navigation .admin-nav-group button{font-size:11px;padding:8px 9px;gap:8px;min-height:38px}.admin-workspace-mode .admin-view-switch{margin-bottom:10px}}
.admin-delete-dialog>header{min-height:0;height:auto}.admin-delete-dialog .error:empty{display:none}

.admin-live-list,.admin-word-list{display:grid;gap:18px;margin-top:24px}.live-teacher-heading{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}.presence-state{padding:6px 12px;border-radius:20px;font-size:13px;background:#e2e8f0;color:#334155}.presence-active{background:#dcfce7;color:#166534}.presence-open{background:#dbeafe;color:#1e40af}.presence-timeline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0;list-style:none;gap:8px;margin:24px 0}.presence-timeline li{border-top:4px solid #cbd5e1;padding:12px 6px;color:#475569}.presence-timeline li.current{border-color:#0f766e;font-weight:700;color:#115e59;background:#f0fdfa}.admin-word-option{display:flex;align-items:flex-start;gap:16px;padding:18px;border:1px solid #cbd5e1;border-radius:12px;background:#fff}.admin-word-option input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin-top:4px}.admin-word-option>span{display:grid;gap:6px}.admin-word-option small{color:#475569}@media(max-width:650px){.presence-timeline{grid-template-columns:1fr}.presence-timeline li{border-top:0;border-left:4px solid #cbd5e1;padding-left:12px}}

.admin-word-list+details{margin-top:24px}

/* DEV22: reviewed per-teacher cleanup, retaining account identity. */
.admin-account-card>div:first-child{flex:1;min-width:0}.admin-account-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;max-width:470px}.admin-account-actions button{white-space:normal;text-align:center}.admin-content-dialog{max-width:900px;width:min(900px,94vw)}.admin-content-dialog .admin-delete-body>select{width:100%;box-sizing:border-box;padding:12px;border:1px solid #cfdbd5;border-radius:9px;background:#fff;color:#29453d;font:inherit}.admin-content-dialog .admin-word-option{margin-top:12px;cursor:pointer;overflow-wrap:anywhere}.admin-content-dialog .admin-word-option:hover{background:#f2f8f5;border-color:#84b9a6}.admin-content-dialog .admin-word-option:has(input:checked){background:#edf7f1;border-color:#39866f}.admin-delete-dialog .error{overflow-wrap:anywhere}.admin-content-dialog .dialog-actions{position:sticky;bottom:0;background:#fff}.admin-content-dialog .admin-delete-warning{font-size:13px}@media(max-width:650px){.admin-account-actions{width:100%;max-width:none;display:grid;grid-template-columns:1fr}.admin-account-actions button{width:100%}.admin-content-dialog .dialog-actions{flex-wrap:wrap}.admin-content-dialog .dialog-actions button{flex:1;min-width:120px}}

.admin-content-dialog>header h2,.admin-delete-dialog>header h2{margin:0;font-size:21px;line-height:1.4}.admin-content-dialog>header{border-bottom:1px solid #e2ebe6;padding:22px 26px}@media(max-width:650px){.admin-content-dialog>header{padding:18px 20px}.admin-content-dialog>header h2{font-size:19px}}
