/* Private teacher lab follows workspace chrome; phone tables scroll inside. */
.teacher-lab-tabs, .teacher-lab-actions, .teacher-lab-filters { display: flex; gap: 8px; align-items: center; }
.teacher-lab-tabs { margin-bottom: 14px; flex-wrap: wrap; }
.teacher-lab-tabs [aria-pressed="true"] { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.teacher-lab-toolbar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.teacher-lab-toolbar input { width: 250px; max-width: 100%; min-width: 0; }
.teacher-lab-filters .ws-btn { border-radius: 14px; }
.teacher-lab-filters .ws-btn::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.teacher-lab-filters [aria-pressed="true"] { background: rgba(255,219,0,.22); border-color: #d8bb00; }
.teacher-lab-filters [aria-pressed="true"]::before { content: "✓"; width: auto; height: auto; background: none; color: #7a6a00; }
.teacher-lab-table-wrap { overflow-x: auto; }
.teacher-lab-table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 13px; }
.teacher-lab-items { min-width: 720px; }
.teacher-lab-bookings { min-width: 940px; }
.teacher-lab-table th { padding: 12px 20px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg); text-align: left; }
.teacher-lab-table td { padding: 14px 20px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.teacher-lab-table .teacher-lab-name { font-weight: 600; }
.teacher-lab-table .teacher-lab-number { text-align: right; font-variant-numeric: tabular-nums; }
.teacher-lab-actions-cell { width: 246px; }
.teacher-lab-actions-cell .teacher-lab-actions { justify-content: flex-end; }
.teacher-lab-actions-cell button { white-space: nowrap; flex-shrink: 0; }
.teacher-lab-table tbody tr:hover { background: var(--panel-hover); }
.teacher-lab-form { padding: 20px; display: grid; gap: 20px; }
.teacher-lab-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; }
.teacher-lab-field { min-width: 0; margin: 0; }
.teacher-lab-field .ws-input { display: block; width: 100%; min-width: 0; margin-top: 7px; font-size: 13px; font-weight: 400; letter-spacing: normal; text-transform: none; }
.teacher-lab-form .teacher-lab-actions { justify-content: flex-end; }
.teacher-lab-empty { margin: 0; padding: 28px 20px; color: var(--muted); font-size: 13px; }
.teacher-lab-error { margin: 0; font-size: 13px; color: var(--danger); }
.teacher-lab-notice { min-height: 18px; font-size: 13px; margin: 14px 0 0; }
:root[data-theme="dark"] .teacher-lab-filters [aria-pressed="true"] { background: rgba(255,219,0,.14); border-color: rgba(255,219,0,.45); }
:root[data-theme="dark"] .teacher-lab-filters [aria-pressed="true"]::before { color: var(--brand-45); }
@media (max-width:700px) {
  .teacher-lab-grid { grid-template-columns: minmax(0,1fr); }
  .teacher-lab-form, .teacher-lab-toolbar { padding: 14px; }
  .teacher-lab-toolbar input { width: 100%; }
  .teacher-lab-table td, .teacher-lab-table th { padding: 12px 14px; }
}
/* Assignment request controls share the workspace form lattice. */
.assignment-editor .ws-fgrid { gap: 14px; }
.assignment-lab-editor > .ws-fgrid { margin-bottom: 14px; }
.assignment-lab-add, .assignment-lab-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; margin-bottom: 14px; }
.assignment-lab-add .ws-field, .assignment-lab-item .ws-field { margin-bottom: 0; min-width: 0; }
.assignment-lab-editor select { width: 100%; }
.assignment-lab-summary .ws-facts__v { overflow-wrap: anywhere; }
