/* Continuous spreadsheet-style teaching-history table. */
.tt-panel,.tt-mode-tabs,.tt-pagination,.tt-empty{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Segoe UI","Microsoft YaHei",sans-serif}
.tt-mode-tabs{display:flex;gap:0;margin:0 0 23px;border:1px solid #d5dfea;border-radius:9px;background:white;overflow:hidden}
.tt-mode-tabs button{flex:1;min-height:44px;padding:11px 8px;border:0;border-radius:0;background:#fff;color:#526580;font:inherit;font-size:14px}
.tt-mode-tabs button+button{border-left:1px solid #d5dfea}
.tt-mode-tabs button[aria-pressed="true"]{background:#1d365b;color:#fff;font-weight:600}
.tt-panel{border:1px solid #d6dfeb;background:#fff;border-radius:10px;overflow:hidden;margin-top:20px}
.tt-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 12px;border-bottom:1px solid #d6dfeb}
.tt-toolbar strong{font-size:14px;font-weight:650;color:#263b59}.tt-toolbar strong span{font-size:12px;font-weight:500;background:#eef2f8;border-radius:5px;margin-left:7px;padding:3px 7px}
.tt-toolbar button{min-height:36px;background:#fff;border:1px solid #c7d6ea;border-radius:7px;padding:7px 11px;font:inherit;font-size:12px;color:#315e98;white-space:nowrap}
.tt-scroll{width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.tt-table{border-collapse:collapse;width:100%;min-width:350px;table-layout:fixed;font-size:13px;line-height:1.7;color:#2d405e}
.tt-table th,.tt-table td{border-right:1px solid #dce3ed;border-bottom:1px solid #dce3ed;vertical-align:middle;text-align:center;padding:13px 7px;overflow-wrap:anywhere}
.tt-table th:last-child,.tt-table td:last-child{border-right:0}.tt-table tbody tr:last-child td{border-bottom:0}
.tt-table th{background:#eaf0f7;color:#2d4262;font-size:13px;font-weight:650;padding:12px 5px;white-space:nowrap}
.tt-table .tt-data-row{background:#fff}.tt-table .tt-data-row.tt-stripe{background:#f7f9fc}
.tt-time span{display:block;font-variant-numeric:tabular-nums;font-size:12px;line-height:1.7}
.tt-table .tt-service{text-align:left;padding-left:11px;font-size:14px;line-height:1.7;color:#243e60;font-weight:500}
.tt-status{display:inline-block;font-size:11px;line-height:1.6;padding:3px 6px;border-radius:5px;background:#f0f2f5;color:#718093;white-space:nowrap}
.tt-status-pending{background:#fff1d1;color:#94671d}.tt-status-processing{background:#e3efff;color:#326dad}.tt-status-answered{background:#e5f5ec;color:#31775b}.tt-status-rejected,.tt-status-cancelled{background:#e9edf2;color:#6c7684}
.tt-points{font-variant-numeric:tabular-nums;font-size:13px}
.tt-expand{display:inline-flex;align-items:center;justify-content:center;min-height:40px;width:100%;padding:5px 0;border:0;background:none;color:#2462ac;font:inherit;font-size:13px;cursor:pointer}
.tt-table .tt-detail-row>td{text-align:left;background:#eef3f9;padding:0}
.tt-detail{padding:16px 15px;line-height:1.9}
.tt-detail h3{font-size:13px;font-weight:650;line-height:1.8;color:#304e73;margin:14px 0 5px}.tt-detail h3:first-child{margin-top:0}
.tt-detail p{margin:0;color:#536b88;font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow-y:auto}
.tt-detail p.tt-muted{color:#7b8a9f}
.tt-detail-foot{margin-top:15px;padding-top:11px;border-top:1px solid #dbe4ef;display:flex;align-items:center;justify-content:space-between;gap:10px}
.tt-detail-foot>span{font-size:10px;color:#7d8da4;overflow-wrap:anywhere;min-width:0}
.tt-detail-foot>button{background:none;border:0;padding:7px 0 7px 8px;min-height:34px;white-space:nowrap;color:#315e98;font:inherit;font-size:12px}
.tt-pagination{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin:18px 0;color:#78879c;font-size:11px}
.tt-pagination button{padding:9px 12px;min-height:40px;border:1px solid #d9e1ec;border-radius:8px;background:#fff;color:#4c6689;font:inherit}
.tt-pagination button:disabled{opacity:.4;cursor:not-allowed;background:#eef1f5}
.tt-table .tt-empty,.tt-empty{padding:36px 16px;text-align:center}.tt-empty h3{font-size:16px;line-height:1.7;color:#304868}.tt-empty p{font-size:13px;color:#7c8ba1;margin:10px 0 19px;line-height:1.8}.tt-empty .primary{width:auto;font-size:13px;padding:11px 18px;min-height:44px}
.tt-error{padding:12px 14px;font-size:13px;margin:0;line-height:1.8;overflow-wrap:anywhere}
.tt-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tt-panel button:focus-visible,.tt-mode-tabs button:focus-visible,.tt-pagination button:focus-visible,.tt-scroll:focus-visible{outline:3px solid #8bb3e9;outline-offset:-3px}
@media(max-width:360px){.tt-table th,.tt-table td{padding:11px 5px}.tt-toolbar{padding:11px 10px}.tt-detail{padding:14px 12px}.tt-pagination{font-size:10px}.tt-pagination button{padding:8px 10px}}

.tt-empty-filter{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px;border-bottom:1px solid #e5e9ef}
.tt-empty-filter>span{font-size:12px;color:#bc3544;padding:0 0 12px;border-bottom:2px solid #bc3544}
.tt-empty-filter button{background:none;border:0;font:inherit;font-size:12px;color:#7c8ca4;margin:0;padding:0 0 12px;min-height:32px}
.tt-empty-card{min-height:295px;padding:40px 16px!important;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border:1px solid #e5eaf0;border-radius:14px;box-shadow:none}
.tt-empty-card .empty-icon{display:grid;place-items:center;width:67px;height:67px;margin:0 auto 18px;background:#f5f1ef;border-radius:22px;color:#c5a99d}
.tt-empty-card .empty-icon svg{width:30px;height:30px}
.tt-empty-card h3{font-size:15px;font-weight:600;color:#203858}
.tt-empty-card p{font-size:12px;line-height:1.9;color:#8a97a9;margin:10px 0 22px}
.tt-empty-card .primary{border-radius:10px;min-height:44px;padding:11px 23px;font-size:13px;font-weight:600;background:var(--red,#bc3544);color:#fff}
.tt-empty-note{text-align:center;font-size:11px;line-height:1.8;color:#8d9aab;margin:16px 6px 12px}
