/* 知趣 · 教师工作台样式（src/teacher/）
 *
 * 定位：独立的教学管理工作台，继承知趣品牌与既有设计令牌，**不复制学生端游戏化页面**。
 * 视觉方向（负责人 2026-10-18）：浅色为主、清秀专业、轻科技感、信息密度合理、层次清晰；
 * 突出教学数据、操作效率与重点提醒，避免过度装饰、复杂动效与游戏 HUD 风格。
 *
 * 纪律：
 *   - 颜色 / 圆角 / 间距 / 字体**只用** design-tokens.css 的语义令牌，不另建第二套视觉规范；
 *     本页 <html data-theme="light">，浅色是默认观感（学生端是深色，两者共用同一份令牌）。
 *   - 设计硬规则 UI-001（不出现可见滚动条）由 design-tokens.css 的规范块承担，本页引用它即可；
 *     需要横向滚动的表格用 overflow-x:auto（滚动行为保留，只是看不见滚动条），不得用 overflow:hidden。
 *   - 类名统一 tc- 前缀：与学生端（.rail/.workspace/.top/.content）同源不同名，避免以后
 *     任一方改样式时互相串味。
 */

/* ---------- 外壳：左侧导航栏 + 工作区（与学生端同一套骨架，观感更收敛） ---------- */

:root { --tc-rail: 236px }

.tc-body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font-sans) }
.tc-body * { box-sizing: border-box }
.tc-body button, .tc-body input, .tc-body select, .tc-body a { font: inherit }
.tc-body button { cursor: pointer; color: inherit; border: 0; background: none }
.tc-body a { color: inherit; text-decoration: none }
.tc-body button:focus-visible, .tc-body a:focus-visible, .tc-body input:focus-visible, .tc-body select:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px }
.tc-body button:disabled { cursor: default; opacity: .5 }
.tc-body h1, .tc-body h2, .tc-body h3, .tc-body h4, .tc-body p { margin: 0 }
.tc-body .num { font-variant-numeric: tabular-nums }

.tc-rail {
  position: fixed; inset: 0 auto 0 0; width: var(--tc-rail); z-index: 30;
  padding: 26px 16px 26px; display: flex; flex-direction: column; gap: 6px;
  background: var(--panel); border-right: 1px solid var(--line); overflow-y: auto;
}
.tc-brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 22px; font-size: 21px; font-weight: 900; letter-spacing: -.6px }
.tc-mark { width: 34px; height: 34px; border-radius: 11px; background: var(--accent); color: var(--panel); display: grid; place-items: center; font-weight: 900; transform: rotate(-7deg); flex-shrink: 0 }
.tc-brand small { display: block; font-size: 10px; font-weight: 500; letter-spacing: 1.6px; color: var(--muted) }
.tc-nav { display: grid; gap: 3px }
.tc-nav button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 11px 13px; border-radius: var(--radius-sm); font-size: 14px; color: var(--muted); min-height: 44px }
.tc-nav button:hover { background: var(--raised); color: var(--ink) }
.tc-nav button.active { background: var(--soft); color: var(--accent); font-weight: 700 }
.tc-nav .tc-nav-group { font-size: 11px; letter-spacing: 1.8px; color: var(--muted); padding: 18px 13px 7px }
.tc-nav .tc-soon-dot { margin-left: auto; font-size: 10px; letter-spacing: .5px; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 1px 7px; flex-shrink: 0 }
.tc-rail-foot { margin-top: auto; padding: 18px 13px 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted) }
.tc-rail-foot b { display: block; color: var(--ink); font-size: 13px; margin-bottom: 4px }

.tc-workspace {
  margin: 12px 12px 12px var(--tc-rail); border: 1px solid var(--line);
  border-radius: 20px; min-height: calc(100dvh - 24px); background: var(--panel); overflow: hidden;
}
.tc-top { min-height: 68px; padding: 0 26px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap }
.tc-crumb { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; min-width: 0 }
.tc-crumb b { color: var(--ink); font-weight: 600; font-size: 15px }
.tc-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap }
.tc-who { display: flex; align-items: center; gap: 9px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--raised); font-size: 13px }
.tc-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--panel); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0 }
.tc-who small { display: block; color: var(--muted); font-size: 11px; line-height: 1.2 }
.tc-content { padding: 24px 26px 32px; max-width: 1440px; margin: auto }
.tc-navstrip { display: none }

.tc-iconbtn { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: var(--raised); color: var(--muted) }
.tc-iconbtn:hover { color: var(--ink) }
.tc-ico { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0 }

/* ---------- 通用件：卡片 / 按钮 / 标签 / 提示 ---------- */

.tc-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); padding: 20px }
.tc-card.raised { background: var(--raised) }
/* 带标题栏的卡片：标题与说明一行，内容区独立留白（重点提醒 / 薄弱知识点 / 未接通说明共用） */
.tc-card-flush { padding: 0; overflow: hidden }
.tc-cardhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 15px 18px; border-bottom: 1px solid var(--line) }
.tc-cardhead h2 { font-size: 15px; font-weight: 700; letter-spacing: -.2px; display: flex; align-items: center; gap: 8px }
.tc-cardhead h2 .tc-ico { width: 17px; height: 17px; color: var(--accent) }
.tc-cardbody { padding: 16px 18px }
.tc-bodytext { font-size: 13.5px; color: var(--ink); line-height: 1.7 }
.tc-pagehead { margin-bottom: 18px }
.tc-pagehead h1 { font-size: 26px; letter-spacing: -.8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap }
.tc-pagehead p { color: var(--muted); font-size: 13px; margin-top: 5px; max-width: 76ch }
.tc-section { margin-top: 22px }
.tc-section > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap }
.tc-section h2 { font-size: 17px; letter-spacing: -.3px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap }
.tc-section h2 small, .tc-pagehead h1 small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0 }
.tc-hint { font-size: 12px; color: var(--muted) }
.tc-muted { color: var(--muted) }
.tc-mini { font-size: 11.5px; color: var(--muted); margin-left: 2px }
.tc-strong-bad { color: var(--color-error); font-weight: 700 }
.tc-details > summary { cursor: pointer; color: var(--accent); font-size: 13.5px; list-style: none }
.tc-details > summary::-webkit-details-marker { display: none }
.tc-details > summary::before { content: '＋'; margin-right: 6px; font-weight: 700 }
.tc-details[open] > summary::before { content: '－' }
.tc-legend { margin-top: 10px; line-height: 1.7 }

.tc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 18px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--raised); font-size: 14px; transition: background var(--motion-fast) }
.tc-btn:hover { background: var(--hover) }
.tc-btn.primary { background: var(--accent); color: var(--panel); border-color: transparent; font-weight: 700 }
.tc-btn.primary:hover { filter: brightness(1.06) }
.tc-btn.small { min-height: 32px; padding: 5px 12px; font-size: 13px }
.tc-btn.ghost { background: transparent }
.tc-btn.danger { color: var(--color-error); border-color: var(--color-error) }

.tc-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 2px 9px; border-radius: var(--radius-pill); border: 1px solid var(--line); color: var(--muted); background: var(--raised); white-space: nowrap }
.tc-chip.ok { color: var(--color-success); background: var(--color-success-soft); border-color: transparent }
.tc-chip.warn { color: var(--color-warning); background: var(--color-warning-soft); border-color: transparent }
.tc-chip.bad { color: var(--color-error); background: var(--color-error-soft); border-color: transparent }
.tc-chip.soft { color: var(--accent); background: var(--soft); border-color: transparent }
.tc-chip.plain { background: transparent }

/* 重点提醒：说清「发生了什么 / 涉及谁 / 接下来点哪里」，不是装饰性横幅 */
.tc-notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--raised); font-size: 13px }
.tc-notice b { display: block; font-size: 14px; margin-bottom: 3px }
.tc-notice p { color: var(--muted) }
.tc-notice.info { background: var(--soft); border-color: transparent }
.tc-notice.warn { background: var(--color-warning-soft); border-color: transparent }
.tc-notice.bad { background: var(--color-error-soft); border-color: transparent }
.tc-notice .tc-ico { margin-top: 2px; color: var(--accent) }
.tc-notice.warn .tc-ico { color: var(--color-warning) }
.tc-notice.bad .tc-ico { color: var(--color-error) }
.tc-notice-body { min-width: 0; flex: 1 }
.tc-notice-list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); line-height: 1.9 }
.tc-alertlist { display: grid; gap: 10px; padding: 16px 18px }
.tc-alertlist .tc-notice { border-radius: var(--radius-md) }
/* 提醒里的学生名是可点的：直接进学生档案（提醒 → 证据的最短路径） */
.tc-chip-link, .tc-chip.plain.tc-chip-link { cursor: pointer; color: var(--ink); border-color: var(--line); background: var(--panel); font-weight: 600 }
.tc-chip.tc-chip-link:hover { border-color: var(--accent); color: var(--accent) }
.tc-linkbtn { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 0; font-size: 12.5px; font-weight: 600; color: var(--accent) }
.tc-linkbtn .tc-ico { width: 14px; height: 14px }
.tc-linkbtn:hover { text-decoration: underline }
/* 「未接通」标记：明确告诉教师这块没有数据，不是数据为零 */
.tc-unsupported { border: 1px dashed var(--line); border-radius: var(--radius-md); padding: 16px; background: var(--raised); color: var(--muted); font-size: 13px }
.tc-unsupported b { color: var(--ink); display: block; font-size: 14px; margin-bottom: 4px }
.tc-unsupported ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px }

.tc-empty { padding: 34px 20px; text-align: center; color: var(--muted); font-size: 13px }
.tc-empty b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 5px }
.tc-skel { padding: 26px; text-align: center; color: var(--muted); font-size: 13px }

/* ---------- 数据概览（KPI） ---------- */

.tc-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px }
.tc-kpi { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 16px; background: var(--raised) }
.tc-kpi small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.tc-kpi b { font-size: 25px; letter-spacing: -1px; font-weight: 700; font-variant-numeric: tabular-nums }
.tc-kpi span { font-size: 12px; color: var(--muted); margin-left: 5px }
.tc-kpi.accent b { color: var(--accent) }
.tc-kpi.bad b { color: var(--color-error) }
.tc-kpi.warn b { color: var(--color-warning) }

/* 提醒 / 薄弱知识点并排（学情表另起一行吃满宽度：宁可整行铺开，也不要在窄列里横向滚动） */
.tc-cols { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: start }

/* 本班薄弱知识点摘要（真实聚合，不画趋势） */
.tc-weaksummary { display: grid; gap: 2px }
.tc-weaksummary-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line) }
.tc-weaksummary-row:last-child { border-bottom: 0 }
.tc-weaksummary .tc-kp { min-width: 0 }
.tc-weaksummary .tc-kp b { display: block; font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.tc-weaksummary .tc-kp small { color: var(--muted); font-size: 11.5px }
.tc-weaksummary-num { text-align: right; flex-shrink: 0 }
.tc-weaksummary-num b { display: block; font-size: 16px; font-variant-numeric: tabular-nums }
.tc-weaksummary-num small { font-size: 11px; color: var(--muted) }

/* 分段筛选（全部 / 需要关注 / 有学习 / 长期未学习） */
.tc-segmented { display: inline-flex; gap: 2px; padding: 3px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--raised); max-width: 100%; overflow-x: auto }
.tc-segmented button { white-space: nowrap; padding: 6px 14px; border-radius: var(--radius-pill); font-size: 13px; color: var(--muted); min-height: 32px }
.tc-segmented button:hover { color: var(--ink) }
.tc-segmented button.active { background: var(--panel); color: var(--accent); font-weight: 700; box-shadow: 0 1px 2px var(--line) }

/* ---------- 表格（学情与名单的主要呈现方式） ---------- */

.tc-tablewrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow-x: auto; background: var(--panel) }
.tc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px }
.tc-table.wide { min-width: 880px }   /* 作业逐学生表：窄屏横向滚动，不压缩到看不清 */
.tc-table th, .tc-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap }
.tc-table th { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--raised); position: sticky; top: 0; z-index: 1 }
.tc-table th.sortable { cursor: pointer; user-select: none }
.tc-table th.sortable:hover { color: var(--ink) }
.tc-table th .tc-sortmark { color: var(--accent); margin-left: 3px }
.tc-table tbody tr:hover { background: var(--raised) }
.tc-table tbody tr.clickable { cursor: pointer }
.tc-table tbody tr:last-child td { border-bottom: 0 }
.tc-table td.num, .tc-table th.num { text-align: right; font-variant-numeric: tabular-nums }
.tc-table .tc-name { font-weight: 600 }
.tc-table .tc-sub { color: var(--muted); font-size: 12px }
.tc-table .tc-rowaction { color: var(--accent); font-size: 13px; font-weight: 600 }
.tc-tablecap { padding: 10px 14px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); background: var(--raised) }

/* ---------- 工具条（搜索 / 排序 / 班级切换） ---------- */

.tc-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap }
.tc-field { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted) }
.tc-field.tc-search { position: relative; gap: 0 }
.tc-field.tc-search > span { position: absolute; left: 12px; display: grid; place-items: center; pointer-events: none }
.tc-field.tc-search .tc-ico { width: 16px; height: 16px }
.tc-field.tc-search .tc-input { padding-left: 36px }
.tc-input, .tc-select { min-height: 40px; padding: 8px 13px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-size: 14px }
.tc-input::placeholder { color: var(--muted) }
.tc-input.search { min-width: 220px }
.tc-updated { margin-left: auto; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums }

/* ---------- 班级卡片 ---------- */

.tc-classgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 14px }
.tc-classcard { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); padding: 18px; display: grid; gap: 12px; text-align: left }
.tc-classcard:hover { border-color: var(--accent) }
.tc-classcard.active { border-color: var(--accent); background: var(--soft) }
.tc-classcard h3 { font-size: 16px }
.tc-classcard .tc-classmeta { font-size: 12px; color: var(--muted); display: grid; gap: 3px }
.tc-classcard .tc-classnums { display: flex; gap: 18px; flex-wrap: wrap }
.tc-classcard .tc-classnums b { display: block; font-size: 19px; letter-spacing: -.5px }
.tc-classcard .tc-classnums small { color: var(--muted); font-size: 11px }

/* ---------- 学生档案 ---------- */

.tc-profilehead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap }
.tc-profileid { display: flex; align-items: center; gap: 14px }
.tc-bigavatar { width: 56px; height: 56px; border-radius: 17px; background: var(--soft); color: var(--accent); display: grid; place-items: center; font-size: 22px; font-weight: 800 }
.tc-profileid h1 { font-size: 24px; letter-spacing: -.6px }
.tc-profileid p { color: var(--muted); font-size: 13px; margin-top: 4px }
.tc-metagrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px }
.tc-metacell { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px 14px; background: var(--raised) }
.tc-metacell small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 5px }
.tc-metacell b { font-size: 17px; letter-spacing: -.3px }
.tc-metacell b.small { font-size: 14px; font-weight: 600 }
.tc-bar { height: 6px; border-radius: 6px; background: var(--hover); overflow: hidden; margin-top: 8px }
.tc-bar i { display: block; height: 100%; background: var(--accent); border-radius: 6px }
.tc-bar i.warn { background: var(--color-warning) }
.tc-bar i.bad { background: var(--color-error) }
.tc-weaklist { display: grid; gap: 10px }
.tc-weakrow { display: grid; grid-template-columns: minmax(0, 1fr) 120px 72px; gap: 12px; align-items: center; font-size: 13px; border-bottom: 1px solid var(--line); padding-bottom: 10px }
.tc-weakrow:last-child { border-bottom: 0; padding-bottom: 0 }
.tc-weakrow .tc-kp { min-width: 0 }
.tc-weakrow .tc-kp b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.tc-weakrow .tc-kp small { color: var(--muted); font-size: 11.5px }
.tc-weakrow .tc-num { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums }
.tc-rule { height: 1px; background: var(--line); margin: 18px 0 }

/* ---------- 登录 / 状态门 ---------- */

.tc-gate { min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: var(--bg) }
.tc-gatecard { width: min(430px, 100%); border: 1px solid var(--line); border-radius: 20px; background: var(--panel); padding: 30px 28px; box-shadow: var(--shadow) }
.tc-gatecard .tc-brand { padding: 0 0 6px }
.tc-gatecard h1 { font-size: 21px; letter-spacing: -.5px; margin-bottom: 6px }
.tc-gatecard > p.tc-gatelead { color: var(--muted); font-size: 13px; margin-bottom: 20px }
.tc-form { display: grid; gap: 13px }
.tc-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted) }
.tc-form .tc-input, .tc-form .tc-select { width: 100% }
.tc-form .tc-err { color: var(--color-error); font-size: 13px; min-height: 18px }
.tc-formfoot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); display: grid; gap: 8px }
.tc-formfoot details summary { cursor: pointer; color: var(--accent) }
.tc-gatewrap { display: grid; gap: 14px }
.tc-gatebody { display: grid; gap: 14px }
.tc-kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 13px }
.tc-kv dt { color: var(--muted) }
.tc-kv dd { margin: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere }

.tc-loadingbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: transparent; z-index: 90 }
.tc-loadingbar i { display: block; height: 100%; width: 30%; background: var(--accent); animation: tc-slide 1.1s ease-in-out infinite }
@keyframes tc-slide { 0% { transform: translateX(-100%) } 100% { transform: translateX(400%) } }
@media (prefers-reduced-motion: reduce) { .tc-loadingbar i { animation: none; width: 100% } }

.tc-toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--panel); padding: 11px 20px; border-radius: var(--radius-md); font-size: 13.5px; z-index: 100; box-shadow: var(--shadow); max-width: min(90vw, 560px) }

/* ---------- 响应式：桌面优先，逐级收敛 ---------- */

@media (max-width: 1320px) { .tc-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)) } }
@media (max-width: 1180px) {
  :root { --tc-rail: 210px }
  /* minmax(0,1fr) 不是 1fr：栅格项默认 min-width:auto，宽表格会把整列撑到 940px，
     结果是表格在自己容器里滚不动、右栏被 overflow:hidden 裁掉（2026-10-18 实测） */
  .tc-cols { grid-template-columns: minmax(0, 1fr) }
}
@media (max-width: 980px) {
  /* 收起侧栏，改用顶栏下方的横向导航条：手机/平板上老师先看到数据，再横向切换模块 */
  .tc-rail { display: none }
  .tc-workspace { margin: 0; border: 0; border-radius: 0; min-height: 100dvh }
  .tc-navstrip { display: flex; gap: 8px; padding: 12px 18px 0; overflow-x: auto; align-items: center }
  .tc-navstrip button { white-space: nowrap; padding: 8px 14px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--raised); color: var(--muted); font-size: 13px; min-height: 38px; display: inline-flex; align-items: center; gap: 7px }
  .tc-navstrip button.active { background: var(--soft); color: var(--accent); border-color: transparent; font-weight: 700 }
  .tc-top { min-height: 62px; padding: 10px 18px }
  .tc-content { padding: 18px 18px 26px }
  .tc-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .tc-updated { margin-left: 0; width: 100% }
}
@media (max-width: 640px) {
  .tc-pagehead h1 { font-size: 22px }
  .tc-kpi b { font-size: 21px }
  .tc-card { padding: 16px }
  .tc-card-flush { padding: 0 }
  .tc-cardhead, .tc-cardbody, .tc-alertlist { padding-left: 14px; padding-right: 14px }
  .tc-who small { display: none }
  .tc-weakrow { grid-template-columns: 1fr; gap: 6px }
  .tc-weakrow .tc-num { text-align: left }
  .tc-tablewrap { border-radius: var(--radius-md) }
  .tc-table { min-width: 640px }
  .tc-input.search { min-width: 0; width: 100% }
  .tc-field.tc-search { flex: 1 1 100% }
  .tc-toolbar .tc-btn { flex-shrink: 0 }
  .tc-segmented { display: flex; width: 100% }
}
