/* ===========================================================
   启学 · 学科能力测评  全局样式（移动端优先，无外部依赖）
   =========================================================== */
:root {
  --ink: #0f172a;
  --sub: #64748b;
  --line: #e6eaf2;
  --bg: #f3f6fc;
  --card: #ffffff;
  --pri: #2f6bff;
  --pri-d: #1e4fd6;
  --pri-soft: #eaf0ff;
  --ok: #10b981;
  --ok-soft: #e7f8f1;
  --bad: #ef4444;
  --bad-soft: #fdecec;
  --warn: #f59e0b;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(900px 420px at 50% -160px, #dbe6ff 0%, rgba(219, 230, 255, 0) 70%),
    var(--bg);
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--pri); text-decoration: none; }
b { font-weight: 700; }

.hide { display: none !important; }
.muted { color: var(--sub); }
.small { font-size: 13px; line-height: 1.65; }
.center { text-align: center; }

.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 18px calc(28px + env(safe-area-inset-bottom));
}

/* ---------- 品牌头 ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0 18px;
}
.brand .logo {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--pri), #6f9bff);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(47, 107, 255, 0.28);
}
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: 0.2px; }
.brand-sub { font-size: 11px; color: var(--sub); letter-spacing: 1px; }

/* ---------- 首页 ---------- */
.hero { padding: 4px 2px 22px; }
.hero h1 { font-size: 28px; line-height: 1.3; letter-spacing: -0.4px; }
.hero .lead {
  margin-top: 10px;
  font-size: 15px;
  color: var(--sub);
}
.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}
.points li {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 233, 247, 0.9);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}
.points li b { display: block; font-size: 13px; color: var(--pri-d); }
.points li span { display: block; font-size: 11px; color: var(--sub); line-height: 1.45; margin-top: 3px; }

.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 20px 18px;
  margin-bottom: 14px;
}
.card.soft { background: rgba(255, 255, 255, 0.6); box-shadow: none; }
.card h2 { font-size: 16px; margin-bottom: 14px; }

.field { display: block; margin-bottom: 14px; }
.field .label {
  display: block;
  font-size: 13px;
  color: var(--sub);
  margin-bottom: 7px;
  font-weight: 500;
}
.input, .select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcff;
  color: var(--ink);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2364748b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.input:focus, .select:focus {
  border-color: var(--pri);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.12);
}
.hint { margin-top: 10px; font-size: 12px; color: var(--bad); min-height: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 13px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.08s, background 0.15s, opacity 0.15s;
}
.btn:active { transform: scale(0.985); }
.btn-primary {
  background: linear-gradient(135deg, var(--pri), #4c82ff);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.28);
}
.btn-primary:disabled { opacity: 0.45; box-shadow: none; }
.btn-ghost:disabled { opacity: 0.4; }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-block { width: 100%; }
.btn-sm { height: 38px; font-size: 14px; padding: 0 14px; border-radius: 10px; }

.rules { counter-reset: r; }
.rules li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: #334155;
  margin-bottom: 9px;
  counter-increment: r;
}
.rules li::before {
  content: counter(r);
  position: absolute;
  left: 0; top: 2px;
  width: 19px; height: 19px;
  border-radius: 6px;
  background: var(--pri-soft);
  color: var(--pri-d);
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.foot { text-align: center; font-size: 12px; color: #94a3b8; padding: 10px 0 4px; }

/* ---------- 答题页 ---------- */
.quiz-body { background: #fff; }
.quiz-shell {
  max-width: 520px;
  margin: 0 auto;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.quiz-top {
  padding: calc(14px + env(safe-area-inset-top)) 20px 12px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.quiz-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: var(--sub);
  margin-bottom: 9px;
}
.quiz-meta .cur { font-size: 18px; font-weight: 700; color: var(--ink); }
.quiz-meta .cur i { font-style: normal; font-size: 13px; color: var(--sub); font-weight: 400; }
.progress {
  height: 6px;
  background: #eef2f9;
  border-radius: 99px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--pri), #6ea0ff);
  transition: width 0.28s ease;
}
.q-stage {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 24px 20px 12px;
}
.q-kind {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 7px;
  background: var(--pri-soft);
  color: var(--pri-d);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
}
.q-stem {
  font-size: 19px;
  line-height: 1.65;
  font-weight: 600;
  letter-spacing: 0.1px;
  margin-bottom: 22px;
  white-space: pre-wrap;
  word-break: break-word;
}
.opts { display: flex; flex-direction: column; gap: 11px; }
.opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 15px 14px;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.opt:active { background: #f8faff; }
.opt-key {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: #f1f5fb;
  color: var(--sub);
  font-size: 13px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.opt-text { flex: 1; word-break: break-word; }
.opt.is-sel {
  border-color: var(--pri);
  background: var(--pri-soft);
}
.opt.is-sel .opt-key { background: var(--pri); color: #fff; }

.quiz-foot {
  flex: none;
  display: flex;
  gap: 10px;
  padding: 12px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
}
.quiz-foot .btn { flex: 1; }
.quiz-foot .btn-ghost { flex: 0 0 104px; }

.quiz-done { text-align: center; padding: 60px 20px; }
.quiz-done .big { font-size: 40px; margin-bottom: 10px; }

/* ---------- 结果页 ---------- */
.result-head { text-align: center; padding: 8px 0 18px; }
.result-head .eyebrow { font-size: 12px; letter-spacing: 2px; color: var(--sub); }
.result-head h1 { font-size: 22px; margin-top: 6px; }

.score-card {
  background: linear-gradient(150deg, #2f6bff 0%, #4f86ff 52%, #6f9bff 100%);
  border-radius: 22px;
  padding: 26px 20px 24px;
  color: #fff;
  box-shadow: 0 14px 34px rgba(47, 107, 255, 0.28);
  position: relative;
  overflow: hidden;
}
.score-card::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  right: -90px; top: -110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.score-row { display: flex; align-items: center; gap: 18px; position: relative; }
.score-num { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -2px; }
.score-num small { font-size: 15px; font-weight: 500; opacity: 0.8; margin-left: 2px; letter-spacing: 0; }
.score-side { flex: 1; }
.level-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.score-desc { font-size: 12.5px; line-height: 1.55; opacity: 0.92; }
.score-foot {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12px;
  opacity: 0.92;
  position: relative;
}
.score-foot div { flex: 1; }
.score-foot b { display: block; font-size: 16px; font-weight: 700; }

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 2px 12px;
}
.section-title h2 { font-size: 16px; }
.section-title span { font-size: 12px; color: var(--sub); }

.k-list { display: flex; flex-direction: column; gap: 13px; }
.k-row { display: flex; align-items: center; gap: 10px; }
.k-name { flex: 0 0 84px; font-size: 13px; color: #334155; }
.k-bar { flex: 1; height: 8px; background: #eef2f9; border-radius: 99px; overflow: hidden; }
.k-bar i {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #4c82ff, #6ea0ff);
}
.k-bar i.low { background: linear-gradient(90deg, #fbbf24, #fcd34d); }
.k-bar i.bad { background: linear-gradient(90deg, #f87171, #fca5a5); }
.k-val { flex: 0 0 40px; text-align: right; font-size: 12.5px; color: var(--sub); font-variant-numeric: tabular-nums; }

.radar-box { display: flex; justify-content: center; padding: 6px 0; }
.radar-box svg { width: 100%; max-width: 380px; height: auto; }

.review-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
  background: #fff;
}
.review-head { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; }
.review-no {
  flex: none;
  font-size: 11px;
  color: var(--sub);
  background: #f4f7fd;
  border-radius: 6px;
  padding: 2px 6px;
  margin-top: 2px;
}
.review-q { font-size: 14.5px; font-weight: 600; line-height: 1.6; }
.rv-opt {
  font-size: 13.5px;
  color: #475569;
  padding: 7px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  background: #f8fafd;
  border: 1px solid transparent;
}
.rv-opt.bad { background: var(--bad-soft); color: #b91c1c; border-color: #fecaca; }
.rv-opt.good { background: var(--ok-soft); color: #047857; border-color: #a7f3d0; }
.rv-exp {
  font-size: 13px;
  color: #475569;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 9px;
  padding: 9px 11px;
  margin-top: 8px;
  line-height: 1.65;
}
.rv-exp b { color: #92400e; }

.advice-list { display: flex; flex-direction: column; gap: 10px; }
.advice-item {
  display: flex;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 12px;
  background: #f7faff;
  border: 1px solid #e3ebfb;
  font-size: 14px;
  line-height: 1.65;
  color: #1e293b;
}
.advice-item .n {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--pri);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

.result-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.result-actions .btn { flex: 1; }

.qr-note { text-align: center; font-size: 12px; color: var(--sub); margin-top: 14px; line-height: 1.7; }

/* 报告长图（导出区域） */
.report-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px 18px 18px;
  border: 1px solid var(--line);
}
.report-card .rc-top {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px; border-bottom: 1px solid #eef2f9; margin-bottom: 14px;
}
.report-card .rc-org { font-size: 13px; font-weight: 700; color: var(--pri-d); }
.report-card .rc-title { font-size: 11px; color: var(--sub); }
.report-card .rc-student { font-size: 18px; font-weight: 700; }
.report-card .rc-meta { font-size: 12px; color: var(--sub); margin-top: 2px; }

.poster-mask {
  position: fixed;
  inset: 0;
  background: #0b1220;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.poster-inner { max-width: 380px; width: 100%; margin: auto 0; display: flex; flex-direction: column; }
.poster-inner img {
  order: 2;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 190px);
  max-height: calc(100dvh - 190px);
  margin: 0 auto;
  border-radius: 12px;
  display: block;
  box-shadow: var(--shadow-lg);
}
.poster-tip {
  order: 1;
  color: #fff;
  font-size: 13px;
  text-align: center;
  margin: 0 auto 12px;
  line-height: 1.65;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px 12px;
  max-width: 330px;
}
.poster-close {
  order: 3;
  margin: 16px auto 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ---------- 老师后台 ---------- */
.admin-body { background: #f1f5fb; }
.admin-top {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.admin-top .logo {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(140deg, var(--pri), #6f9bff);
  color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.admin-top .t { font-size: 14px; font-weight: 700; }
.admin-top .t span { font-weight: 400; color: var(--sub); font-size: 12px; margin-left: 6px; }
.admin-top .sp { flex: 1; }

.admin-wrap { max-width: 1080px; margin: 0 auto; padding: 18px 16px 46px; }

.login-card {
  max-width: 380px;
  margin: 8vh auto 0;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px 12px;
}
.kpi b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; }
.kpi span { display: block; font-size: 12px; color: var(--sub); margin-top: 3px; }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.panel-head h3 { font-size: 14px; }
.panel-head .sub { font-size: 12px; color: var(--sub); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filters .input, .filters .select { height: 38px; font-size: 14px; width: auto; min-width: 120px; border-radius: 10px; }
.filters .grow { flex: 1; min-width: 140px; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th {
  text-align: left; color: var(--sub); font-weight: 500; font-size: 12px;
  padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.data td { padding: 11px 10px; border-bottom: 1px solid #f1f5fb; white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr { cursor: pointer; }
table.data tbody tr:active { background: #f8faff; }
.sc { font-weight: 700; font-variant-numeric: tabular-nums; }
.tag {
  display: inline-block; padding: 1px 8px; border-radius: 99px;
  font-size: 11.5px; font-weight: 600; background: #f1f5fb; color: #475569;
}
.tag.a { background: var(--ok-soft); color: #047857; }
.tag.b { background: #eff6ff; color: #1d4ed8; }
.tag.c { background: #fff7ed; color: #b45309; }

.bars { display: flex; flex-direction: column; gap: 10px; }
.bar-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.bar-row .lb { flex: 0 0 62px; color: var(--sub); }
.bar-row .tr { flex: 1; height: 22px; background: #f4f7fd; border-radius: 7px; overflow: hidden; }
.bar-row .tr i {
  display: block; height: 100%; border-radius: 7px;
  background: linear-gradient(90deg, #4c82ff, #7ba6ff);
  min-width: 2px; transition: width 0.4s;
}
.bar-row .vl { flex: 0 0 42px; text-align: right; color: #334155; font-variant-numeric: tabular-nums; }

.link-row {
  display: flex; gap: 8px; margin-top: 10px; align-items: center; flex-wrap: wrap;
}
.link-row .input { flex: 1; min-width: 200px; height: 40px; font-size: 13px; }
.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #f4f7fd; padding: 2px 6px; border-radius: 5px; font-size: 12.5px;
}

/* 详情弹层 */
.sheet {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(15, 23, 42, 0.55);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0;
}
.sheet-card {
  background: #fff;
  width: 100%; max-width: 720px;
  max-height: 88vh;
  border-radius: 20px 20px 0 0;
  overflow-y: auto;
  padding: 18px 18px calc(24px + env(safe-area-inset-bottom));
  animation: sheetUp 0.22s ease;
}
@keyframes sheetUp { from { transform: translateY(30px); opacity: 0.6; } to { transform: none; opacity: 1; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sheet-head h3 { font-size: 17px; }
.sheet-close { border: 0; background: #f1f5fb; width: 32px; height: 32px; border-radius: 10px; font-size: 18px; color: var(--sub); cursor: pointer; }

.dl { display: grid; grid-template-columns: 80px 1fr; gap: 6px 10px; font-size: 13.5px; margin-bottom: 16px; }
.dl dt { color: var(--sub); }
.dl dd { margin: 0; }

/* ---------- 报告长图 ---------- */
.poster-src {
  position: fixed;
  left: -10000px;
  top: 0;
  width: 380px;
  z-index: -1;
}
.report-card { width: 380px; }
.rc-date { font-size: 11px; color: var(--sub); }
.rc-score {
  display: flex;
  align-items: center;
  margin: 16px 0 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef3ff, #f8faff);
}
.rc-num {
  font-size: 44px;
  font-weight: 800;
  color: var(--pri-d);
  line-height: 1;
  letter-spacing: -1.5px;
}
.rc-num small { font-size: 13px; font-weight: 500; color: var(--sub); margin-left: 2px; letter-spacing: 0; }
.rc-level { margin-left: auto; text-align: right; }
.rc-level b { display: block; font-size: 26px; color: var(--pri); line-height: 1.1; }
.rc-level span { font-size: 12px; color: var(--sub); }
.rc-radar { margin: 4px -12px 0; }
.rc-radar svg { width: 100%; height: auto; display: block; }
.pk-row { display: flex; align-items: center; gap: 8px; font-size: 11.5px; margin-bottom: 7px; }
.pk-name { flex: 0 0 68px; color: #475569; }
.pk-bar { flex: 1; height: 6px; background: #eef2f9; border-radius: 99px; overflow: hidden; }
.pk-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #4c82ff, #7ba6ff); }
.pk-val { flex: 0 0 32px; text-align: right; color: var(--sub); }
.pk-title { font-size: 12px; font-weight: 700; margin: 14px 0 6px; color: var(--ink); }
.pk-advice { font-size: 11.5px; line-height: 1.7; color: #475569; margin-bottom: 6px; }
.rc-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #eef2f9;
  margin-top: 14px;
  padding-top: 10px;
  font-size: 10.5px;
  color: #94a3b8;
}

@media (max-width: 720px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .admin-wrap { padding: 14px 12px 40px; }
}

/* 手机上表格只保留关键列，避免横向被切 */
@media (max-width: 640px) {
  table.data th:nth-child(5), table.data td:nth-child(5),
  table.data th:nth-child(6), table.data td:nth-child(6),
  table.data th:nth-child(8), table.data td:nth-child(8) { display: none; }
  table.data th, table.data td { padding-left: 6px; padding-right: 6px; }
  table.data { font-size: 13px; }
  .dt-y { display: none; }
  .admin-top { padding: 10px 12px; gap: 8px; }
  .admin-top .t { font-size: 13px; }
  .admin-top .t span { display: none; }
  .admin-top .btn-sm { padding: 0 10px; }
  .kpi b { font-size: 22px; }
  .filters .input, .filters .select { min-width: 0; flex: 1 1 40%; }
  .filters .grow { flex: 1 1 100%; }
}
