/* 陕面 AI 助教 — B2B 白牌风格 */
:root {
  --accent: #B4232C;
  --accent-soft: rgba(180, 35, 44, 0.08);
  --ink: #111827;
  --ink-2: #374151;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --bg: #f5f6f8;
  --card: #ffffff;
  --line: #e5e7eb;
  --line-2: #eef0f3;
  --ok: #15803d;
  --ok-bg: #ecfdf3;
  --warn: #b45309;
  --warn-bg: #fffbeb;
  --bad: #b91c1c;
  --bad-bg: #fef2f2;
  --info: #1d4ed8;
  --info-bg: #eff6ff;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06);
  --radius: 14px;
  --radius-sm: 9px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font-family: inherit; font-size: inherit; }
a { color: inherit; }

/* ---------- 登录 ---------- */
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.login-left {
  position: relative;
  background: linear-gradient(150deg, #1b1f2a 0%, #2a1a1d 55%, var(--accent) 160%);
  color: #fff;
  padding: 56px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.login-left::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, 0.05);
}
.login-left::before {
  content: "秦";
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 260px;
  line-height: 1;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.035);
}
.login-brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.login-logo {
  width: 44px; height: 44px; border-radius: 12px;
  background: #fff; color: var(--accent);
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px; letter-spacing: -1px;
}
.login-brand-name { font-size: 19px; font-weight: 700; letter-spacing: 0.5px; }
.login-brand-sub { font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.login-hero { position: relative; z-index: 1; max-width: 460px; }
.login-hero h1 { font-size: 34px; line-height: 1.3; margin: 0 0 16px; letter-spacing: -0.5px; }
.login-hero h1 em { font-style: normal; color: #ffd7a8; }
.login-hero p { color: rgba(255, 255, 255, 0.72); font-size: 14px; margin: 0; }
.login-points { list-style: none; padding: 0; margin: 28px 0 0; position: relative; z-index: 1; }
.login-points li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 0; color: rgba(255, 255, 255, 0.85); font-size: 13.5px;
}
.login-points .pt {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); color: #fff;
  display: grid; place-items: center; font-size: 11px; margin-top: 1px;
}
.login-foot { position: relative; z-index: 1; color: rgba(255, 255, 255, 0.4); font-size: 12px; }

.login-right { display: grid; place-items: center; padding: 40px 24px; background: #fff; }
.login-card { width: 100%; max-width: 380px; }
.login-title { font-size: 24px; font-weight: 700; margin: 0 0 6px; }
.login-desc { color: var(--muted); font-size: 13px; margin: 0 0 28px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; padding: 10px 12px; color: var(--ink); outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.textarea { resize: vertical; min-height: 90px; line-height: 1.7; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 9px 16px; border-radius: var(--radius-sm); cursor: pointer;
  font-weight: 600; font-size: 13.5px; transition: all 0.15s; white-space: nowrap;
}
.btn:hover { border-color: var(--muted-2); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--bad); border-color: #fecaca; background: var(--bad-bg); }
.btn.sm { padding: 5px 10px; font-size: 12px; border-radius: 7px; }
.btn.block { width: 100%; padding: 11px; font-size: 14px; }
.demo-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.demo-chip {
  font-size: 11.5px; color: var(--muted); border: 1px dashed var(--line);
  padding: 4px 8px; border-radius: 20px; cursor: pointer; background: #fafafa;
}
.demo-chip:hover { color: var(--accent); border-color: var(--accent); }
.login-tip {
  margin-top: 18px; padding: 10px 12px; border-radius: 8px;
  background: #fafafa; border: 1px solid var(--line-2);
  font-size: 12px; color: var(--muted); line-height: 1.7;
}

/* ---------- 布局 ---------- */
.shell { display: grid; grid-template-columns: 228px 1fr; min-height: 100vh; }
.sidebar {
  background: #0f1420; color: #e5e7eb;
  display: flex; flex-direction: column; padding: 18px 14px;
  position: sticky; top: 0; height: 100vh;
}
.side-brand { display: flex; align-items: center; gap: 10px; padding: 4px 6px 18px; }
.side-logo {
  width: 36px; height: 36px; border-radius: 10px; background: #fff;
  color: var(--accent); display: grid; place-items: center;
  font-weight: 800; font-size: 15px; flex: none;
}
.side-name { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.3; }
.side-sub { font-size: 10.5px; color: rgba(255, 255, 255, 0.42); }
.nav { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
.nav-label { font-size: 10px; color: rgba(255, 255, 255, 0.3); padding: 14px 10px 6px; letter-spacing: 1px; }
.nav-item {
  display: flex; align-items: center; gap: 9px; padding: 9px 10px;
  border-radius: 8px; color: rgba(255, 255, 255, 0.68); cursor: pointer;
  font-size: 13px; border: none; background: none; text-align: left; width: 100%;
}
.nav-item:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.nav-item.active { background: var(--accent); color: #fff; font-weight: 600; }
.nav-icon { width: 18px; text-align: center; font-size: 14px; flex: none; }
.side-user {
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 12px;
  display: flex; align-items: center; gap: 9px;
}
.avatar {
  width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.12);
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; flex: none;
}
.side-user-name { font-size: 12.5px; color: #fff; line-height: 1.2; }
.side-user-role { font-size: 10.5px; color: rgba(255, 255, 255, 0.4); }
.side-logout { margin-left: auto; background: none; border: none; color: rgba(255, 255, 255, 0.4); cursor: pointer; font-size: 12px; }
.side-logout:hover { color: #fff; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 60px; background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; padding: 0 28px; gap: 14px;
  position: sticky; top: 0; z-index: 20;
}
.topbar-title { font-size: 16px; font-weight: 700; }
.topbar-sub { font-size: 12px; color: var(--muted); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.content { padding: 24px 28px 56px; max-width: 1180px; width: 100%; }

/* ---------- 通用 ---------- */
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
}
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.card-title { font-size: 14px; font-weight: 700; }
.card-sub { font-size: 12px; color: var(--muted); }
.card-head .btn { margin-left: auto; }
.stat-label { font-size: 12px; color: var(--muted); }
.stat-value { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; margin-top: 2px; }
.stat-value small { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 3px; }
.stat-hint { font-size: 11.5px; color: var(--muted-2); margin-top: 4px; }
.muted { color: var(--muted); }
.tiny { font-size: 11.5px; }
.spacer { flex: 1; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.section-title { font-size: 15px; font-weight: 700; margin: 26px 0 12px; }
.empty { padding: 32px; text-align: center; color: var(--muted); font-size: 13px; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 600;
  background: #f3f4f6; color: var(--ink-2);
}
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.info { background: var(--info-bg); color: var(--info); }
.badge.accent { background: var(--accent-soft); color: var(--accent); }

.table { width: 100%; border-collapse: collapse; }
.table th {
  text-align: left; font-size: 11.5px; color: var(--muted); font-weight: 600;
  padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.table td { padding: 11px 10px; border-bottom: 1px solid var(--line-2); font-size: 13px; vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: #fafbfc; }
.table .clickable { cursor: pointer; }

/* ---------- 看板 ---------- */
.trend { display: flex; align-items: flex-end; gap: 10px; height: 110px; padding-top: 6px; }
.trend-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.trend-fill { width: 100%; max-width: 34px; background: var(--accent-soft); border-radius: 6px 6px 2px 2px; position: relative; min-height: 4px; }
.trend-fill.hot { background: var(--accent); }
.trend-num { font-size: 11px; color: var(--muted); }
.trend-day { font-size: 10.5px; color: var(--muted-2); }
.warn-list { display: flex; flex-direction: column; gap: 8px; }
.warn-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 9px; background: #fafafa; border: 1px solid var(--line-2);
}
.warn-item.high { background: var(--bad-bg); border-color: #fecaca; }
.warn-item .btn { margin-left: auto; }
.warn-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); flex: none; }
.warn-item.high .warn-dot { background: var(--bad); }

/* ---------- 题库 ---------- */
.set-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.set-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow); transition: transform 0.15s, border-color 0.15s;
}
.set-card:hover { transform: translateY(-2px); border-color: #d7dbe0; }
.set-title { font-size: 14.5px; font-weight: 700; line-height: 1.45; }
.set-meta { font-size: 12px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.set-card .btn { margin-top: auto; }
.set-type { display: flex; gap: 5px; flex-wrap: wrap; }

/* ---------- 考试 ---------- */
.exam { max-width: 880px; margin: 0 auto; }
.exam-head {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 16px; position: sticky; top: 72px; z-index: 10;
}
.exam-progress { display: flex; gap: 5px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.dot.done { background: var(--ok); }
.dot.active { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.exam-timer { margin-left: auto; font-variant-numeric: tabular-nums; font-size: 22px; font-weight: 800; letter-spacing: 0.5px; }
.exam-timer.warn { color: var(--bad); animation: pulse 1s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.exam-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; }
.q-type { font-size: 11.5px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 3px 9px; border-radius: 20px; }
.q-prompt {
  font-size: 17px; line-height: 1.85; font-weight: 600; margin: 14px 0 6px;
  padding: 16px 18px; background: #fafbfc; border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
}
.q-prompt.hidden-text { color: transparent; text-shadow: 0 0 12px rgba(17, 24, 39, 0.4); user-select: none; }
.q-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.answer-box { margin-top: 6px; }
.answer-area {
  width: 100%; min-height: 240px; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px; line-height: 1.9; font-size: 15px; resize: vertical; outline: none;
  background: #fff;
}
.answer-area:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.answer-foot { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.rec-btn.on { background: var(--bad); border-color: var(--bad); color: #fff; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 0.9s infinite; }
.exam-actions { display: flex; gap: 10px; margin-top: 18px; }
.exam-actions .btn { flex: 1; padding: 12px; }
.toast-tip { font-size: 12px; color: var(--muted-2); margin-top: 10px; }

/* ---------- 报告 ---------- */
.report-head {
  display: flex; gap: 26px; align-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); margin-bottom: 16px; flex-wrap: wrap;
}
.score-ring {
  --p: 0;
  width: 118px; height: 118px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), #eef0f3 0);
  display: grid; place-items: center; position: relative;
}
.score-ring::before { content: ""; position: absolute; inset: 9px; background: #fff; border-radius: 50%; }
.score-num { position: relative; text-align: center; line-height: 1.1; }
.score-num b { font-size: 32px; font-weight: 800; letter-spacing: -1px; }
.score-num span { display: block; font-size: 11px; color: var(--muted); }
.report-meta h2 { margin: 0 0 6px; font-size: 19px; }
.report-meta .row { margin-top: 8px; }
.report-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); margin-bottom: 16px; font-size: 13.5px; line-height: 1.85; }
.report-summary b { color: var(--accent); }
.examiners { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.examiner { border: 1px solid var(--line); border-radius: 9px; padding: 9px 6px; text-align: center; background: #fff; }
.examiner .nm { font-size: 10.5px; color: var(--muted); }
.examiner .sc { font-size: 18px; font-weight: 800; margin-top: 2px; }
.examiner.cut { opacity: 0.5; }
.examiner.cut .sc { text-decoration: line-through; }
.examiner.final { border-color: var(--accent); background: var(--accent-soft); }
.bars { display: flex; flex-direction: column; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 90px 1fr 46px; gap: 10px; align-items: center; font-size: 12.5px; }
.bar-track { height: 8px; background: #eef0f3; border-radius: 10px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 10px; }
.bar-fill.muted { background: var(--muted-2); }
.q-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 14px; overflow: hidden; }
.q-card-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.q-card-head .idx { font-size: 12px; color: var(--muted); font-weight: 700; }
.q-card-head .sc { margin-left: auto; font-size: 18px; font-weight: 800; }
.q-card-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.q-prompt-sm { font-size: 13.5px; line-height: 1.75; color: var(--ink-2); background: #fafbfc; padding: 12px 14px; border-radius: 8px; }
.transcript {
  font-size: 13px; line-height: 1.85; color: var(--ink-2); white-space: pre-wrap;
  background: #fcfcfd; border: 1px dashed var(--line); border-radius: 8px; padding: 12px 14px;
  max-height: 220px; overflow-y: auto;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 11.5px; padding: 3px 9px; border-radius: 20px; background: #f3f4f6; color: var(--muted); }
.chip.hit { background: var(--ok-bg); color: var(--ok); }
.chip.miss { background: var(--bad-bg); color: var(--bad); }
.deduction { display: flex; gap: 8px; font-size: 12.5px; padding: 7px 0; border-bottom: 1px dashed var(--line-2); }
.deduction:last-child { border-bottom: none; }
.deduction .quote { color: var(--bad); background: var(--bad-bg); padding: 1px 6px; border-radius: 5px; }
.review-box { background: #fffdf5; border: 1px solid #fde68a; border-radius: 9px; padding: 12px 14px; font-size: 12.5px; }
.review-form { display: grid; grid-template-columns: 90px 1fr auto; gap: 8px; align-items: start; }
.review-form .input { padding: 7px 9px; }
.review-form .btn { height: 36px; }
details summary { cursor: pointer; font-size: 12.5px; color: var(--accent); font-weight: 600; }
.high-score { font-size: 13px; line-height: 1.9; background: var(--ok-bg); border-radius: 8px; padding: 12px 14px; color: #14532d; }

/* ---------- 弹窗 / toast ---------- */
.modal { position: fixed; inset: 0; background: rgba(17, 24, 39, 0.45); display: grid; place-items: center; z-index: 100; padding: 20px; }
.modal-card { background: #fff; border-radius: 16px; width: 100%; max-width: 620px; max-height: 88vh; overflow: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25); }
.modal-head { display: flex; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line-2); }
.modal-head h3 { margin: 0; font-size: 16px; }
.modal-head .btn { margin-left: auto; }
.modal-body { padding: 20px 22px; }
.modal-foot { padding: 14px 22px 20px; display: flex; gap: 10px; justify-content: flex-end; }
.toast-wrap { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  background: #111827; color: #fff; padding: 9px 18px; border-radius: 30px;
  font-size: 13px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: toastIn 0.2s ease;
}
.toast.ok { background: var(--ok); }
.toast.bad { background: var(--bad); }
.toast.info { background: #1d4ed8; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- 表单/管理 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.preview-card { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; text-align: center; }
.preview-logo { width: 54px; height: 54px; border-radius: 14px; margin: 0 auto 10px; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff; }
.preview-name { font-weight: 800; font-size: 16px; }
.preview-slogan { font-size: 12px; color: var(--muted); margin-top: 4px; }
.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px; background: #0f1420; color: #c9d1d9; border-radius: 9px;
  padding: 14px; overflow: auto; line-height: 1.7; max-height: 320px; white-space: pre;
}
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tab { padding: 8px 14px; font-size: 13px; color: var(--muted); cursor: pointer; border: none; background: none; border-bottom: 2px solid transparent; }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 700; }
.hr { height: 1px; background: var(--line-2); margin: 16px 0; border: none; }

/* ---------- 打印 / 存 PDF ---------- */
@media print {
  @page { size: A4; margin: 12mm; }
  html, body { background: #fff !important; }
  .sidebar, .topbar, .btn, .toast-wrap, #modal-root,
  .panel-left, .panel-right, .glow-border, .girl-icon { display: none !important; }
  .shell { display: block; }
  .main, .content { display: block; padding: 0; max-width: none; }
  .card, .report-head, .report-summary, .q-card { box-shadow: none !important; }
  .report-head { border: 1px solid #e5e7eb; }
  .q-card { break-inside: avoid; page-break-inside: avoid; margin-bottom: 10px; }
  .q-card-body { display: block !important; }
  details > summary { cursor: default; }
  .score-ring { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a { color: inherit; text-decoration: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .set-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .examiners { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .login { grid-template-columns: 1fr; }
  .login-left { display: none; }
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; flex-direction: row; align-items: center; padding: 10px 14px; overflow-x: auto; }
  .side-brand { padding: 0; margin-right: 10px; }
  .side-sub, .side-user-role, .side-user-name, .nav-label { display: none; }
  .nav { flex-direction: row; flex: 1; }
  .nav-item { width: auto; white-space: nowrap; padding: 7px 10px; }
  .side-user { border: none; padding: 0; margin-left: 6px; }
  .topbar { padding: 0 16px; }
  .content { padding: 16px; }
  .grid-3, .grid-2, .set-grid, .form-grid { grid-template-columns: 1fr; }
  .exam-head { top: 0; }
  .poster { display: none; }
  .review-form { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 76px 1fr 40px; }
}
