:root {
  --bg: #f6f8fb;
  --text: #172033;
  --muted: #64748b;
  --surface: #ffffff;
  --soft: #eaf2ff;
  --outline: #dbe4f0;
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --success: #16a34a;
  --success-soft: #e9f8ef;
  --warning: #f59e0b;
  --warning-soft: #fff7ed;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --dark: #0f172a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Alibaba PuHuiTi", "阿里巴巴普惠体", "Microsoft YaHei", sans-serif;
}

.sidebar {
  position: fixed;
  left: 24px;
  top: 24px;
  bottom: 24px;
  width: 300px;
  min-height: 720px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--outline);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  padding: 28px 14px 0;
  display: flex;
  flex-direction: column;
  z-index: 20;
}

.brand {
  text-align: center;
  font-weight: 900;
  font-size: 28px;
  line-height: 1.46;
  color: #0b1220;
}

.sidebar-new-project {
  width: 252px;
  min-width: 0;
  height: 50px;
  margin: 16px auto 0;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 900;
}

.sidebar-new-project span:last-child {
  transform: translateX(-5px);
}

.sidebar-new-project:hover {
  background: var(--soft);
}

.plus-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-block;
}

.plus-icon::before,
.plus-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 8px;
  height: 2px;
  border-radius: 1px;
  background: var(--primary);
}

.plus-icon::after {
  left: 8px;
  right: auto;
  top: 3px;
  width: 2px;
  height: 12px;
}

.history-title {
  margin: 38px 0 16px 8px;
  color: #94a3b8;
  font-size: 19px;
  line-height: 28px;
  font-weight: 900;
}

.case-list {
  display: grid;
  gap: 4px;
  min-height: 0;
  overflow: visible;
}

.case-item {
  position: relative;
  width: 268px;
  height: 40px;
  margin: 0 auto;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  display: flex;
  align-items: center;
  padding: 0 44px 0 14px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.case-item:hover,
.case-item.active,
.case-item.menu-open {
  background: var(--soft);
  border-color: #d7e7ff;
}

.case-item:hover::before,
.case-item.active::before,
.case-item.menu-open::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 8px;
  width: 3px;
  height: 24px;
  border-radius: 999px;
  background: var(--primary);
}

.case-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-more {
  position: absolute;
  right: 10px;
  top: 5px;
  width: 30px;
  height: 30px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #94a3b8;
  opacity: 0;
  display: grid;
  place-items: center;
}

.case-item:hover .case-more,
.case-item.menu-open .case-more {
  opacity: 1;
}

.case-menu {
  position: absolute;
  left: 278px;
  top: -4px;
  width: 142px;
  padding: 9px 13px;
  border: 1px solid var(--outline);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
  z-index: 5;
}

.case-menu button {
  width: 100%;
  height: 38px;
  min-width: 0;
  padding: 0 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-size: 15px;
  font-weight: 600;
}

.case-menu button:hover {
  background: #f8fafc;
}

.case-menu .delete-case-action {
  color: var(--danger);
  border-top: 1px solid #eef2f7;
  border-radius: 0;
}

.account-area {
  margin: auto -14px 0;
  min-height: 88px;
  border-top: 1px solid var(--outline);
  padding: 12px 10px;
}

.account-card {
  position: relative;
  height: 60px;
  border: 1px solid transparent;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 5px 10px 5px 12px;
  color: var(--text);
}

.account-card:hover {
  background: var(--soft);
  border-color: #d7e7ff;
}

.avatar-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #dbe4f0;
  background: #f8fbff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
}

.avatar-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.account-name {
  min-width: 0;
  font-size: 18px;
  line-height: 27px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logout-btn {
  margin-left: auto;
  width: 34px;
  height: 34px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #94a3b8;
  opacity: 0;
}

.account-card:hover .logout-btn {
  opacity: 1;
}

.sidebar-login-btn {
  width: 125px;
  height: 50px;
  min-width: 0;
  margin: 6px auto 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.app {
  margin-left: 348px;
  padding: 34px 40px 56px;
}

.topbar {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  margin-top: 8px;
  font-size: 34px;
  font-weight: 900;
}

h2 {
  font-size: 22px;
  font-weight: 900;
}

h3 {
  font-size: 18px;
  font-weight: 900;
}

p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

button {
  min-width: 112px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

button.primary {
  background: var(--primary);
  color: white;
}

button.primary:hover {
  background: var(--primary-strong);
}

button.secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--outline);
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(246, 248, 251, 0.64);
  backdrop-filter: blur(1px);
}

.auth-overlay[hidden] {
  display: none;
}

.auth-card {
  width: 448px;
  min-height: 292px;
  padding: 12px 31px 8px;
  border: 0;
  background: #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.16);
}

.auth-card h1 {
  margin: 0 0 14px;
  color: #111111;
  text-align: center;
  font-size: 20px;
  line-height: 32px;
  font-weight: 500;
}

.auth-input {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 4px;
  background: #f5f6fa;
  padding: 0 17px;
  color: #172033;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  outline: none;
}

.auth-input::placeholder {
  color: #b9bfcb;
  font-weight: 500;
}

.auth-code-row {
  position: relative;
  margin-top: 12px;
}

.auth-code-row .auth-input {
  padding-right: 128px;
}

.send-code-btn {
  position: absolute;
  right: 11px;
  top: 6px;
  width: 112px;
  min-width: 0;
  height: 36px;
  padding: 0;
  background: transparent;
  color: #aeb5c2;
  font-size: 14px;
  font-weight: 500;
}

.send-code-btn:not(:disabled) {
  color: var(--primary);
}

.send-code-btn:disabled {
  cursor: not-allowed;
}

.auth-options {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7d8490;
  font-size: 14px;
  font-weight: 400;
}

.remember-option,
.agreement-option {
  display: inline-flex;
  align-items: center;
}

.remember-option {
  gap: 8px;
}

.remember-option input {
  width: 13px;
  height: 13px;
  accent-color: #1a73e8;
}

.login-submit {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #1f7ceb;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 6px;
  text-align: center;
  text-indent: 6px;
}

.login-submit:hover {
  background: #176ed8;
}

.agreement-option {
  justify-content: center;
  width: 100%;
  margin-top: 10px;
  gap: 4px;
  color: #9aa0aa;
  font-size: 12px;
  font-weight: 400;
}

.agreement-option input {
  width: 12px;
  height: 12px;
  appearance: none;
  border: 1px solid #8791a0;
  border-radius: 50%;
  background: #fff;
}

.agreement-option input:checked {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 4px #fff;
  background: var(--primary);
}

.agreement-option a {
  color: #1f7ceb;
  text-decoration: none;
}

.auth-notice {
  min-height: 14px;
  margin-top: 3px;
  text-align: center;
  color: var(--danger);
  font-size: 12px;
}

.workflow {
  display: flex;
  align-items: center;
  margin: 34px 0 28px;
  max-width: 760px;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.step b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #cbd5e1;
  color: white;
}

.step.done b {
  background: var(--success);
}

.step.active {
  color: var(--primary);
}

.step.active b {
  background: var(--primary);
}

.line {
  width: 86px;
  height: 2px;
  background: var(--outline);
  margin: 0 18px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 24px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 24px;
  padding: 24px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}

.panel-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

button.action-primary {
  margin-left: -10px;
  color: #2563EB;
  background: #EAF2FF;
  border-color: #2088E1;
}

button.action-primary:hover:not(:disabled) {
  color: #2563EB;
  background: #EAF2FF;
  border-color: #2088E1;
}

.field-row {
  display: flex;
  gap: 12px;
}

.folder-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.selection-hint {
  min-width: 140px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

input[type="text"] {
  height: 48px;
  flex: 1;
  border: 1px solid var(--outline);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--text);
  font: inherit;
}

.auth-card input.auth-input {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 4px;
  background: #f5f6fa;
  padding: 0 17px;
  color: #172033;
  font-size: 14px;
  font-weight: 500;
}

.auth-card .auth-code-row input.auth-input {
  padding-right: 128px;
}

.upload-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 18px;
  background: var(--bg);
  border: 1px dashed #b8c7dc;
  border-radius: 18px;
}

.upload-panel {
  position: relative;
  display: flex;
  padding: 0;
  overflow: hidden;
  border: 0;
}

.upload-dropzone {
  box-sizing: border-box;
  flex: 1;
  width: 100%;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 24px;
  border: 1px dashed #2f66ff;
  border-radius: 24px;
  background: #fff;
  text-align: center;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.upload-dropzone.is-dragging {
  background: #f8fbff;
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.16), 0 12px 32px rgba(37, 99, 235, 0.14);
}

.upload-dropzone.is-uploading {
  opacity: 0.72;
}

.upload-dropzone h2 {
  max-width: 100%;
  font-size: 28px;
  font-weight: 900;
  color: #111827;
  line-height: 1.25;
}

.upload-dropzone p {
  margin: 0;
  max-width: 100%;
  color: #667796;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.upload-main-btn {
  min-width: 176px;
  height: 58px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.notice {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(92px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.stat {
  padding: 14px;
  border: 1px solid var(--outline);
  border-radius: 16px;
  background: var(--surface);
  text-align: left;
}

.stat strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  font-weight: 900;
}

.stat-button {
  width: 100%;
  min-width: 0;
  height: auto;
  color: var(--text);
}

.stat-button:hover,
.stat-button.active {
  border-color: var(--primary);
  background: var(--soft);
}

.stat-danger strong {
  color: var(--danger);
}

.doc-list {
  display: grid;
  gap: 10px;
  overflow: visible;
}

.doc-empty,
.doc-table-wrap {
  border: 1px solid var(--outline);
  border-radius: 14px;
  background: #fff;
}

.doc-empty {
  padding: 14px 16px;
}

.doc-table-wrap {
  max-height: 440px;
  overflow: auto;
}

.doc-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  table-layout: fixed;
}

.doc-table th,
.doc-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #edf2f7;
  text-align: left;
  vertical-align: middle;
}

.doc-table tbody tr,
.doc-table tbody tr.is-locked {
  background: #fff;
}

.doc-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #f8fafc;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.doc-table tbody tr:last-child td {
  border-bottom: 0;
}

.doc-table tbody tr.is-locked {
  color: var(--muted);
}

.select-col {
  width: 44px;
  text-align: center !important;
}

.index-col {
  width: 58px;
  color: var(--muted);
  text-align: center !important;
  white-space: nowrap;
}

.time-col {
  width: 138px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.size-col {
  width: 104px;
  color: var(--muted);
  white-space: nowrap;
}

.status-col {
  width: 96px;
}

.delete-col {
  width: 78px;
  text-align: center !important;
}

.doc-table input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.doc-table input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.table-sort {
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: 900;
  text-align: left;
}

.table-sort:hover {
  color: var(--primary);
}

.doc-name {
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.doc-name-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.doc-size {
  flex: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.doc-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.badge.uploaded {
  color: var(--muted);
  background: #f1f5f9;
}

.badge.parsing {
  color: var(--primary);
  background: var(--soft);
}

.badge.parsed {
  color: var(--success);
  background: var(--success-soft);
}

.badge.failed {
  color: var(--danger);
  background: var(--danger-soft);
}

.doc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

button.tiny {
  min-width: 54px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
}

button.danger {
  color: var(--danger);
  background: var(--danger-soft);
  border: 1px solid #fecaca;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.report-panel {
  margin-top: 24px;
}

.report-download-footer {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

button.download-report-btn,
button.download-report-btn:hover {
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--primary);
}

.report {
  min-width: 0;
}

.report-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.report-nav,
.report-section {
  border: 1px solid var(--outline);
  border-radius: 16px;
  background: #fff;
}

.report-nav {
  position: sticky;
  top: 20px;
  padding: 18px;
}

.report-nav {
  display: grid;
  gap: 8px;
}

.nav-title {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.report-nav a {
  min-height: 34px;
  display: flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.report-body {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.report-section {
  padding: 18px;
  scroll-margin-top: 20px;
}

.report-section h3 {
  margin-bottom: 14px;
}

.subsection {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.subsection:first-of-type {
  margin-top: 0;
}

.subsection h4 {
  margin: 0;
  font-size: 15px;
}

.report-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.report-summary .stat {
  padding: 12px;
}

.report-summary .stat strong {
  font-size: 20px;
}

.table-wrap {
  width: 100%;
  overflow-x: hidden;
  border: 1px solid #edf2f7;
  border-radius: 12px;
}

.table-wrap.is-scrollable {
  overflow-x: auto;
}

.report-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

.report-table th,
.report-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #edf2f7;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.report-table thead th {
  position: relative;
  background: #f8fafc;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.report-table thead th.narrow-col,
.report-table tbody td:first-child {
  white-space: nowrap;
}

.report-table thead th.narrow-col {
  width: 72px;
  text-align: center;
}

.compact-table tbody td:first-child {
  text-align: center;
}

.th-label {
  display: block;
  padding-right: 10px;
}

.col-resizer {
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 100%;
  cursor: col-resize;
  z-index: 2;
}

.col-resizer::after {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 3px;
  width: 1px;
  background: transparent;
}

.col-resizer:hover::after,
.is-resizing-column .col-resizer::after {
  background: #cbd5e1;
}

.is-resizing-column {
  cursor: col-resize;
  user-select: none;
}

.report-table tbody th {
  width: 170px;
  font-weight: 900;
}

.report-table tr:last-child th,
.report-table tr:last-child td {
  border-bottom: 0;
}

.compact-table {
  min-width: 680px;
}

.empty-cell,
.muted {
  color: #DFDFDF;
}

.mini-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 24px;
  border-radius: 999px;
  color: var(--muted);
  background: #f1f5f9;
  font-size: 12px;
  font-weight: 900;
}

.mini-status.ok {
  color: var(--success);
  background: var(--success-soft);
}

.report-paragraphs {
  min-height: 72px;
  padding: 14px;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  color: var(--muted);
}

.intro-table {
  min-width: 1080px;
}

.intro-table thead th {
  color: var(--text);
  white-space: nowrap;
  text-align: left;
}

.intro-table tbody td {
  white-space: normal;
  line-height: 1.8;
  color: var(--text);
}

@media (max-width: 1080px) {
  .sidebar {
    position: static;
    width: auto;
    min-height: auto;
    margin: 16px;
    padding-bottom: 14px;
  }

  .app {
    margin-left: 0;
    padding: 24px;
  }

  .case-list {
    max-height: 180px;
    overflow-y: auto;
  }

  .account-area {
    margin-top: 16px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .report-shell {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  .topbar,
  .field-row,
  .folder-picker,
  .upload-box,
  .doc {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .workflow {
    overflow-x: auto;
  }

  .summary,
  .report-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  button,
  input[type="text"] {
    width: 100%;
  }

  .auth-card {
    width: calc(100vw - 32px);
    padding: 12px 20px 8px;
  }

  .auth-card h1 {
    font-size: 20px;
  }

  .auth-input {
    height: 48px;
    font-size: 14px;
  }

  .auth-options {
    font-size: 13px;
  }

  .selection-hint {
    width: 100%;
  }
}

@media print {
  @page {
    size: A4;
    margin: 14mm 12mm;
  }

  body {
    background: #fff;
    color: #172033;
  }

  .sidebar,
  .topbar,
  .workflow,
  .grid,
  .report-nav,
  .download-report-btn,
  .report-download-footer {
    display: none !important;
  }

  .app {
    margin-left: 0;
    padding: 0;
  }

  .panel,
  .report-panel {
    box-shadow: none;
  }

  .report-panel {
    margin-top: 0;
    padding: 0;
    border: 0;
  }

  .panel-head {
    margin-bottom: 14px;
  }

  .report-shell {
    display: block;
  }

  .report-body {
    display: grid;
    gap: 12px;
  }

  .report-section {
    break-inside: avoid;
    page-break-inside: avoid;
    padding: 0;
    border: 0;
    border-radius: 0;
  }

  .table-wrap {
    overflow: visible !important;
    border-radius: 8px;
  }

  .report-table,
  .compact-table,
  .intro-table {
    min-width: 0 !important;
    width: 100% !important;
    font-size: 10px;
  }

  .report-table col.narrow-col-def {
    width: 3.25em !important;
  }

  .report-table th,
  .report-table td {
    padding: 6px 7px;
    line-height: 1.45;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .report-table tbody td:first-child {
    white-space: normal;
  }

  .report-table thead th.narrow-col,
  .report-table tbody td.narrow-cell {
    width: 3.25em !important;
    min-width: 3.25em !important;
    max-width: 3.25em !important;
    padding-left: 4px;
    padding-right: 4px;
    white-space: nowrap;
    text-align: center;
  }

  .intro-table thead th {
    white-space: nowrap;
  }

  .intro-table tbody td {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .col-resizer {
    display: none;
  }
}
