/* Operations UI refinement. All icons are provided by Lucide, not generated assets. */
.lucide { width: 16px; height: 16px; stroke-width: 1.75; flex-shrink: 0; vertical-align: middle; pointer-events: none; }
.with-action-icon { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.with-action-icon .lucide { width: 14px; height: 14px; }
.nav-search > .lucide { position: absolute; left: 11px; top: 10px; width: 14px; height: 14px; color: #7b8e93; }
.nav-search input { padding-left: 32px !important; }
.nav-search kbd { top: 8px; right: 8px; border: 1px solid #dce4e6; background: #f9fbfb; border-radius: 3px; padding: 0 4px; font-size: 9px; }
#consoleMenu .lucide { width: 19px; height: 19px; }
.workspace-icon .lucide { width: 16px; height: 16px; color: #568078; }
.login-note { display: flex; align-items: flex-start; gap: 7px; text-align: left !important; font-size: 11px !important; color: #7a8e8b !important; line-height: 1.6 !important; }
.login-note .lucide { width: 14px; height: 14px; margin-top: 2px; }
.service-warning { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; border-radius: 6px; }
.icon-btn .lucide { width: 19px; height: 19px; }
#sideNav a { min-height: 38px; }
#sideNav a svg { stroke-width: 1.75; }
.metric-card { position: relative; }
.metric-card > .lucide { position: absolute; top: 20px; right: 21px; width: 17px; height: 17px; color: #829b98; }
.metric-card:hover { border-color: #c4d8d2; }
.todo-item { justify-content: flex-start; align-items: center; gap: 10px; }
.todo-item .lucide { color: #558b7e; width: 16px; height: 16px; }
.status-label { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.status-label .lucide { width: 13px; height: 13px; }
.table-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 6px 10px; line-height: 1.75; }
.table-empty > .lucide { width: 26px; height: 26px; stroke-width: 1.4; color: #99aaa9; }
.table-empty.is-error > .lucide { color: #bd7355; }
.table-empty.is-loading > .lucide { color: #638f86; animation: console-spin 1.1s linear infinite; }
@keyframes console-spin { to { transform: rotate(360deg); } }
.table-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #839298; font-size: 11px; padding: 13px 2px 0; }
.table-meta span { display: inline-flex; align-items: center; gap: 5px; }
.table-meta .lucide { width: 13px; height: 13px; color: #879d98; }
.search-input-wrap { position: relative; flex: 1 1 240px; min-width: 150px; }
.search-input-wrap > .lucide { position: absolute; top: 12px; left: 12px; width: 14px; height: 14px; color: #889a9f; }
.toolbar .search-input-wrap input { width: 100%; min-width: 0; padding-left: 35px !important; }
.toolbar #clearTeacherFilters { color: #6c817e; background: #f5f8f7; border: 1px solid #e1e9e6; }
#teachers table { min-width: 1100px; }
#teachers td:last-child { min-width: 220px; }
td .with-action-icon { white-space: nowrap; }
td .with-action-icon .lucide { width: 12px; height: 12px; }
.modal-card { border: 1px solid #dde6e3; }
.modal-head .icon-btn { width: 32px; height: 32px; }
.form-actions { padding-top: 16px; border-top: 1px solid var(--line); }
.sync-banner a { display: inline-flex; align-items: center; gap: 6px; }
.sync-banner a .lucide { width: 13px; height: 13px; }
@media (max-width: 760px) {
  .top-actions button { min-width: 34px; padding: 8px 9px; }
  .top-actions .lucide { width: 13px; height: 13px; }
  .table-meta { align-items: flex-start; font-size: 10px; }
  .table-meta > span:last-child { display: none; }
  .toolbar #clearTeacherFilters { min-height: 36px; }
  #sideNav a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .table-empty.is-loading > .lucide { animation: none !important; } }

.with-action-icon.hidden { display: none !important; }

/* 审核操作在桌面端固定于表格右侧；宽表滚动时仍可操作。 */
@media (min-width: 761px) {
  #teachers th:last-child, #teachers td:last-child { position: sticky; right: 0; z-index: 1; background: #fff; box-shadow: -7px 0 12px -10px #56747360; }
  #teachers th:last-child { background: #fafbfc; z-index: 2; }
  #teachers tr:hover td:last-child { background: #fafcfc; }
  #teachers td[colspan] { position: static; box-shadow: none; }
}

@media (max-width: 600px) {
  .console-breadcrumb { display: none !important; }
  .topbar h2 { margin: 0; white-space: nowrap; }
  .topbar { gap: 10px; }
  .top-actions button, #consoleMenu, .toolbar button, .toolbar #clearTeacherFilters { min-height: 44px; }
  #consoleMenu { min-width: 36px; }
}

/* 品牌区：Lucide BookOpen 原始图标 + 中文字标。 */
.brand { padding: 24px 20px 23px !important; gap: 12px !important; }
.sidebar .brand > div.console-brand-mark, .console-brand-mark {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 40px !important; height: 40px !important; border-radius: 12px !important;
  color: #086b5e !important; background: #e7f2ec !important;
  border: 1px solid #d6e8de; box-shadow: inset 0 1px 0 #ffffffc0 !important;
}
.console-brand-mark .lucide { width: 23px !important; height: 23px !important; stroke-width: 1.8; }
.brand h1 { font-size: 19px !important; font-weight: 650 !important; color: #24423c !important; letter-spacing: .08em !important; line-height: 1.25; }
.brand p { color: #81918b !important; font-size: 10px !important; letter-spacing: .05em !important; margin-top: 5px !important; }
.login-brand { gap: 13px; padding-bottom: 26px; margin-bottom: 28px; border-bottom: 1px solid #edf1ef; }
.login-brand .console-brand-mark { width: 45px !important; height: 45px !important; border-radius: 13px !important; }
.login-brand .console-brand-mark .lucide { width: 26px !important; height: 26px !important; }
.console-wordmark strong { display: block; font-size: 20px; font-weight: 650; color: #24423c; letter-spacing: .08em; line-height: 1.3; }
.console-wordmark > span { display: block; margin-top: 5px; color: #87968f; font-size: 11px; font-weight: 400; letter-spacing: .05em; }
.sidebar-footer { background: #f8faf9; }
.sidebar-footer .workspace-icon { border-radius: 8px; color: #708a80; background: #edf2ef; }
@media (max-width: 760px) { .brand { padding: 25px 20px 22px !important; } }
