﻿:root {
  --navy: #0d2742;
  --navy-2: #12395c;
  --blue: #1f6feb;
  --blue-soft: #e8f0ff;
  --teal: #0e9384;
  --teal-soft: #e6f6f3;
  --bg: #f3f6fa;
  --card: #ffffff;
  --ink: #13263d;
  --muted: #66788f;
  --line: #e3eaf3;
  --red: #d9363e;
  --red-soft: #fdecec;
  --amber: #b7791f;
  --amber-soft: #fff6e5;
  --green: #16794b;
  --green-soft: #e8f7ef;
  --shadow: 0 8px 28px rgba(13, 39, 66, .08);
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
a { color: var(--blue); text-decoration: none; }

/* 登录 */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(31, 111, 235, .16), transparent 60%),
    radial-gradient(700px 500px at 90% 90%, rgba(14, 147, 132, .14), transparent 60%),
    #eef4fb;
}
.login-card {
  width: 720px;
  max-width: 100%;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(227,234,243,.9);
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(13,39,66,.16);
  padding: 34px 38px 28px;
}
.login-brand { display: flex; gap: 16px; align-items: center; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 13px;
  background: linear-gradient(145deg, #1f6feb, #0e9384);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 24px; letter-spacing: -1px;
  box-shadow: 0 8px 18px rgba(31,111,235,.3);
}
.login-brand h1 { margin: 0; font-size: 25px; letter-spacing: -.4px; }
.login-brand p { margin: 2px 0 0; color: var(--muted); }
.login-tip {
  margin: 24px 0 18px;
  padding: 12px 15px;
  background: #f6f9fd;
  border: 1px dashed #cfdced;
  border-radius: 10px;
  color: #4e627a;
  font-size: 13px;
}
.login-users { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.login-input {
  width: 100%;
  box-sizing: border-box;
  margin: 20px 0 4px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #1f2d3d;
  background: #fff;
}
.login-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,111,235,.12); }
.login-user {
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 13px 14px;
  display: flex; gap: 11px; align-items: center;
  transition: .15s ease;
}
.login-user:hover { border-color: #9fc0f5; box-shadow: 0 6px 18px rgba(31,111,235,.1); transform: translateY(-1px); }
.login-user .avatar { width: 38px; height: 38px; font-size: 15px; display: flex; color: #fff; }
.login-user strong { display: block; font-size: 14px; }
.login-user > span:not(.avatar):not(.role-tag) { display: block; color: var(--muted); font-size: 12px; }
.login-user > span:not(.avatar):not(.role-tag) > span { display: block; color: var(--muted); font-size: 12px; }
.login-user .role-tag { display: inline-block; margin-left: auto; font-size: 11px; padding: 3px 8px; border-radius: 20px; background: var(--blue-soft); color: #1c5fc4; }
.login-user.lawyer .role-tag { background: #f1ecff; color: #6b46c1; }
.login-user.admin .role-tag { background: #eaf7f2; color: #0f7a5c; }
.login-foot { margin-top: 22px; text-align: center; color: #8a9aad; font-size: 12px; }

/* 主框架 */
.app { display: flex; min-height: 100vh; }
.sidebar {
  width: 238px; flex: 0 0 238px;
  background: linear-gradient(180deg, var(--navy), #0a2036);
  color: #cfe0f4;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.brand { display: flex; gap: 11px; align-items: center; padding: 22px 20px 20px; }
.brand .brand-mark { width: 38px; height: 38px; font-size: 20px; border-radius: 10px; }
.brand-text strong { display: block; color: #fff; font-size: 15px; letter-spacing: .5px; }
.brand-text span { display: block; color: #7fa2c8; font-size: 9px; letter-spacing: 1.7px; }
.nav { padding: 8px 12px; display: flex; flex-direction: column; gap: 3px; }
.nav-item {
  border: 0; background: transparent; color: #b9cde4;
  padding: 10px 12px; border-radius: 9px; text-align: left;
  display: flex; align-items: center; gap: 10px; font-size: 13.5px;
}
.nav-item span { width: 18px; text-align: center; color: #7fa2c8; }
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.active { background: #113a5f; color: #fff; box-shadow: inset 3px 0 0 #41d1c0; }
.nav-item.active span { color: #41d1c0; }
.badge-dot {
  margin-left: auto; font-style: normal; background: #e5484d; color: #fff;
  font-size: 10px; min-width: 17px; height: 17px; line-height: 17px;
  border-radius: 9px; text-align: center; padding: 0 5px;
}
.sidebar-foot { margin-top: auto; padding: 12px 20px; color: #6f8fb2; font-size: 11px; }
.role-tip { margin-top: 6px; color: #91b2d4; line-height: 1.5; }
.userbox {
  margin: 10px 12px 14px; padding: 10px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 11px; display: flex; align-items: center; gap: 9px;
}
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(145deg, #3f8cff, #0e9384);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; flex: 0 0 auto;
}
.user-meta { min-width: 0; }
.user-meta strong { display: block; color: #fff; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-meta span { display: block; color: #8eafd2; font-size: 11px; }
.link-btn { margin-left: auto; border: 0; background: transparent; color: #8eafd2; font-size: 11px; padding: 2px; }
.link-btn:hover { color: #fff; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 58px; flex: 0 0 58px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 26px; position: sticky; top: 0; z-index: 10;
}
.crumb { color: #51677f; font-size: 13px; }
.crumb b { color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.env-pill { background: #fff7e8; border: 1px solid #f3d9a9; color: #96620f; padding: 4px 10px; border-radius: 20px; font-size: 11.5px; }
.top-user { color: var(--muted); font-size: 12px; }
.view-root { padding: 26px 28px 44px; max-width: 1380px; width: 100%; margin: 0 auto; }

/* 通用 */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.page-head h2 { margin: 0; font-size: 24px; letter-spacing: -.4px; }
.page-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.eyebrow { color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: 1.6px; margin-bottom: 5px; }
.btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 9px; padding: 8px 14px; font-size: 13px; display: inline-flex;
  align-items: center; gap: 6px; transition: .15s ease;
}
.btn:hover { border-color: #b9cbe2; background: #fafcff; }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 5px 14px rgba(31,111,235,.22); }
.btn-primary:hover { background: #185ed0; border-color: #185ed0; }
.btn-danger { background: #fff; border-color: #efc2c5; color: var(--red); }
.btn-danger:hover { background: var(--red-soft); }
.btn-teal { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-sm { padding: 5px 10px; font-size: 12px; border-radius: 7px; white-space: nowrap; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 3px 12px rgba(13,39,66,.035); }
.pad { padding: 20px 22px; }
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.mt16 { margin-top: 16px; }
.mt8 { margin-top: 8px; }
.flex { display: flex; align-items: center; gap: 8px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrap { flex-wrap: wrap; }

.badge { display: inline-flex; align-items: center; border-radius: 20px; padding: 3px 9px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.badge.high, .badge.red { background: var(--red-soft); color: var(--red); }
.badge.mid { background: var(--amber-soft); color: var(--amber); }
.badge.low { background: var(--green-soft); color: var(--green); }
.badge.unknown { background: #eef1f5; color: #5d6d7e; }
.badge.status-ai_reviewed { background: var(--blue-soft); color: #1c5fc4; }
.badge.status-pending_lawyer, .badge.status-lawyer_reviewing { background: #f1ecff; color: #6b46c1; }
.badge.status-approved { background: var(--green-soft); color: var(--green); }
.badge.status-returned { background: var(--red-soft); color: var(--red); }
.badge.status-oa_pending { background: #e8f7f7; color: #0c7a72; }
.badge.status-completed { background: #eef1f5; color: #5d6d7e; }

/* 工作台 */
.hero {
  background: linear-gradient(120deg, #0d2742 0%, #12395c 58%, #0e5d63 100%);
  border-radius: 16px; color: #fff; padding: 26px 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  box-shadow: 0 14px 34px rgba(13,39,66,.16); overflow: hidden; position: relative;
}
.hero:after { content: ""; position: absolute; width: 300px; height: 300px; right: -90px; top: -140px; border-radius: 50%; background: rgba(65,209,192,.14); }
.hero h2 { margin: 0 0 7px; font-size: 25px; letter-spacing: -.4px; }
.hero p { margin: 0; color: #b9d2ea; font-size: 13px; max-width: 620px; }
.hero-stats { display: flex; gap: 26px; position: relative; z-index: 1; }
.hero-stat strong { display: block; font-size: 27px; line-height: 1.1; }
.hero-stat span { color: #9fc0dd; font-size: 11.5px; }
.stat-card { padding: 16px 17px; }
.stat-card .num { font-size: 27px; font-weight: 700; line-height: 1.1; }
.stat-card .lbl { color: var(--muted); font-size: 12px; margin-top: 3px; }
.stat-card.red .num { color: var(--red); }
.stat-card.amber .num { color: var(--amber); }
.stat-card.green .num { color: var(--green); }
.stat-card.blue .num { color: var(--blue); }

.section-title { font-size: 15px; font-weight: 700; margin: 22px 0 10px; display: flex; align-items: center; justify-content: space-between; }
.section-title .sub { color: var(--muted); font-weight: 400; font-size: 12px; }

/* 列表 */
.table-wrap { overflow: auto; }
table.list { width: 100%; border-collapse: collapse; min-width: 600px; }
table.list th { text-align: left; color: #6d8096; font-size: 11.5px; font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fafcff; white-space: nowrap; }
table.list td { padding: 13px 14px; border-bottom: 1px solid #eef3f8; vertical-align: middle; font-size: 13px; }
table.list tr:last-child td { border-bottom: 0; }
table.list tbody tr { cursor: pointer; }
table.list tbody tr:hover td { background: #f8fbff; }
.cell-title { font-weight: 600; color: var(--ink); }
.cell-sub { color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.amount { font-variant-numeric: tabular-nums; white-space: nowrap; }
.empty { padding: 48px 20px; text-align: center; color: var(--muted); }
.empty .big { font-size: 36px; margin-bottom: 8px; opacity: .5; }
.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.toolbar input, .toolbar select { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; background: #fff; font-size: 12.5px; }
.toolbar input { min-width: 220px; }

/* 上传 */
.upload-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 18px; align-items: start; }
.dropzone {
  border: 1.5px dashed #b9cee7; background: #f8fbff; border-radius: 13px;
  padding: 30px 20px; text-align: center; cursor: pointer; transition: .15s ease;
}
.dropzone:hover, .dropzone.drag { border-color: var(--blue); background: #f1f7ff; }
.dropzone .icon { font-size: 30px; color: var(--blue); }
.dropzone strong { display: block; margin-top: 6px; }
.dropzone span { color: var(--muted); font-size: 12px; }
.file-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 7px 11px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 12px; color: #51677f; font-weight: 600; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; background: #fff;
  outline: none; transition: .15s ease; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: #8bb4f0; box-shadow: 0 0 0 3px rgba(31,111,235,.1); }
.field textarea { min-height: 70px; resize: vertical; }
.auth-check { display: flex; gap: 8px; align-items: flex-start; color: #51677f; font-size: 12px; margin-top: 12px; }
.auth-check input { margin-top: 3px; }
.side-note { background: #f8fbff; border: 1px solid #e1ebf7; border-radius: 11px; padding: 15px 17px; font-size: 12.5px; color: #4e627a; }
.side-note h4 { margin: 0 0 7px; font-size: 13px; color: var(--ink); }
.side-note ul { margin: 6px 0 0; padding-left: 17px; }
.side-note li { margin: 5px 0; }

/* 详情 */
.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.detail-head h2 { margin: 0; font-size: 24px; letter-spacing: -.4px; }
.detail-meta { color: var(--muted); font-size: 12.5px; margin-top: 5px; }
.detail-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.report-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 16px; align-items: start; }
.risk-banner {
  border-radius: 14px; padding: 18px 20px; display: flex; align-items: center; gap: 18px;
  background: #fdecec; border: 1px solid #f3c9cc;
}
.risk-banner.mid { background: #fff6e5; border-color: #f1ddb3; }
.risk-banner.low { background: #e8f7ef; border-color: #bfe6d1; }
.risk-banner.unknown { background: #eef1f5; border-color: #dbe2ea; }
.score-ring {
  width: 78px; height: 78px; border-radius: 50%; flex: 0 0 auto;
  background: conic-gradient(var(--red) calc(var(--score) * 1%), #f0c9cc 0);
  display: flex; align-items: center; justify-content: center;
}
.risk-banner.mid .score-ring { background: conic-gradient(var(--amber) calc(var(--score) * 1%), #f0dfbe 0); }
.risk-banner.low .score-ring { background: conic-gradient(var(--green) calc(var(--score) * 1%), #c7e8d8 0); }
.score-ring .inner {
  width: 60px; height: 60px; border-radius: 50%; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
}
.score-ring strong { font-size: 23px; }
.score-ring span { color: var(--muted); font-size: 9px; margin-top: 3px; }
.risk-copy h3 { margin: 0 0 4px; font-size: 18px; }
.risk-copy p { margin: 0; color: #5d4b4b; font-size: 12.5px; }
.risk-tags { margin-top: 7px; display: flex; gap: 6px; flex-wrap: wrap; }
.risk-tags .tag { background: rgba(255,255,255,.7); border-radius: 20px; padding: 2px 8px; font-size: 11px; color: #6b4b4b; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin: 13px 0; }
.stat-box { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; }
.stat-box strong { display: block; font-size: 21px; line-height: 1.1; }
.stat-box span { color: var(--muted); font-size: 11.5px; }
.report-card { padding: 17px 19px; margin-bottom: 13px; }
.report-card h4 { margin: 0 0 10px; font-size: 14px; display: flex; align-items: center; gap: 7px; }
.num-chip { width: 20px; height: 20px; border-radius: 50%; background: var(--blue-soft); color: #1c5fc4; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.red-line { border-left: 3px solid var(--red); background: #fff8f8; border-radius: 0 8px 8px 0; padding: 10px 12px; margin: 8px 0; }
.red-line strong { color: var(--red); }
.red-line p { margin: 3px 0 0; font-size: 12.5px; }
.missing-item { border-left: 3px solid var(--amber); background: #fffbf3; border-radius: 0 8px 8px 0; padding: 8px 11px; margin: 7px 0; font-size: 12.5px; }
.missing-item b { color: #8a5a10; }
.issue-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.issue-table th { text-align: left; background: #fafcff; color: #6d8096; font-size: 11px; padding: 8px 9px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.issue-table td { padding: 9px; border-bottom: 1px solid #eef3f8; vertical-align: top; font-size: 12px; }
.issue-table td.quote { color: #566b82; max-width: 250px; }
.facts-table { min-width: 0; table-layout: fixed; }
.facts-table th, .facts-table td { white-space: normal; word-break: break-word; }
.issues-fixed { min-width: 620px; table-layout: fixed; }
.issues-fixed td, .issues-fixed th { word-break: break-word; overflow-wrap: anywhere; }
.issues-fixed td.quote { max-width: none; }
.rule-pill { display: inline-block; background: #f1f5fa; border: 1px solid #e1e9f3; color: #52677e; border-radius: 5px; padding: 1px 5px; font-size: 10.5px; }
.suggestion-list { margin: 0; padding-left: 18px; }
.suggestion-list li { margin: 6px 0; font-size: 12.5px; }
.side-card { padding: 16px 17px; margin-bottom: 13px; }
.side-card h4 { margin: 0 0 10px; font-size: 13px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed #eef3f8; font-size: 12px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); flex: 0 0 auto; }
.kv b { text-align: right; font-weight: 600; min-width: 0; word-break: break-word; overflow-wrap: anywhere; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { padding: 0 0 12px 16px; border-left: 1px solid #dbe6f2; position: relative; font-size: 12px; }
.timeline li:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); position: absolute; left: -4px; top: 5px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .when { color: #8a9aad; font-size: 10.5px; }
.version-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px dashed #eef3f8; font-size: 12px; }
.version-row:last-child { border-bottom: 0; }
.disclaimer { color: #8a9aad; font-size: 11px; line-height: 1.6; border-top: 1px dashed var(--line); margin-top: 12px; padding-top: 10px; }

/* 弹窗、toast */
.modal { position: fixed; inset: 0; background: rgba(10,25,42,.46); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-card { width: 520px; max-width: 100%; background: #fff; border-radius: 16px; box-shadow: 0 24px 70px rgba(0,0,0,.25); padding: 22px 24px; }
.modal-card h3 { margin: 0 0 5px; font-size: 18px; }
.modal-card .sub { color: var(--muted); font-size: 12.5px; margin-bottom: 14px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: #0d2742; color: #fff; padding: 10px 16px; border-radius: 9px; font-size: 12.5px; z-index: 200; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.toast:empty { display: none; }
.toast.err { background: var(--red); }

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .report-layout { grid-template-columns: 1fr; }
  .upload-grid { grid-template-columns: 1fr; }
  .hero { flex-direction: column; align-items: flex-start; }
  .hero-stats { width: 100%; justify-content: space-between; }
}
@media (max-width: 760px) {
  .sidebar { width: 66px; flex-basis: 66px; }
  .brand-text, .nav-item:not(.active)::after, .sidebar-foot, .user-meta, .link-btn { display: none; }
  .brand { padding: 16px 12px; justify-content: center; }
  .nav { padding: 8px; }
  .nav-item { justify-content: center; padding: 11px 8px; font-size: 0; }
  .nav-item span { font-size: 18px; }
  .nav-item .badge-dot { position: absolute; margin: 0 0 14px 18px; }
  .userbox { justify-content: center; }
  .view-root { padding: 16px 14px 30px; }
  .topbar { padding: 0 14px; }
  .env-pill, .top-user { display: none; }
  .page-head h2 { font-size: 20px; }
  .form-grid, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .detail-head { flex-direction: column; }
  .detail-actions { justify-content: flex-start; }
  .login-users { grid-template-columns: 1fr; }
  .login-card { padding: 24px 20px; }
  .risk-banner { flex-direction: column; align-items: flex-start; }
}
.inline-warn { margin: 0 0 10px; padding: 9px 12px; border-radius: 8px; background: #fff6e6; border: 1px solid #f5dcaa; color: #8a5a00; font-size: 12px; line-height: 1.6; }

.kv-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 6px 24px; }
.role-select { padding: 5px 8px; border: 1px solid #d6dee8; border-radius: 6px; font-size: 12px; background: #fff; }
.side-card .kv { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed #eef3f8; font-size: 13px; }
.side-card .kv:last-child { border-bottom: 0; }
.side-card .kv span { color: #7b8a9c; flex: none; }
.side-card .kv b { text-align: right; word-break: break-all; }

.pager { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: 12px; }
.pager .btn-sm[disabled] { opacity: .45; cursor: not-allowed; }

.req { color: #d1242f; font-style: normal; margin-left: 2px; }
