:root {
  --bg: #f4f6fb;
  --bg-2: #eef2f8;
  --surface: #ffffff;
  --surface-2: #f7f8fc;
  --surface-3: #eef2fb;
  --border: #e3e8f5;
  --text: #1f2a44;
  --muted: #7c8aa5;
  --accent: #5c7cff;
  --accent-2: #f5b15f;
  --accent-3: #71b693;
  --warn: #d9822b;
  --danger: #d95c63;
  --shadow: 0 10px 30px rgba(31, 42, 68, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7f8fc 0%, var(--bg-2) 100%);
}

button,
select,
input,
textarea,
a {
  font: inherit;
}

button,
select,
input,
textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  padding: 10px 12px;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

button {
  cursor: pointer;
}

button.ghost,
.nav-link.ghost,
.tabs button,
.module-nav a {
  background: transparent;
}

button.small,
.nav-link.small {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 12px;
}

button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

a {
  color: inherit;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr) 320px;
  gap: 16px;
  padding: 20px;
}

.left-nav,
.workspace,
.right-rail {
  min-height: calc(100vh - 40px);
}

.left-nav {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(227, 232, 245, 0.9);
  border-radius: 24px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #5c7cff, #8da6ff);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
}

.eyebrow,
.workspace-eyebrow {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-title {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 700;
}

.scope-card,
.rail-card,
.card,
.kpi,
.status-bar,
.quick-chip,
.summary-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.scope-card {
  padding: 14px;
}

.scope-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.scope-item {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.module-nav {
  display: grid;
  gap: 8px;
}

.module-nav a,
.module-nav button {
  width: 100%;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 10px 12px;
  text-align: left;
  text-decoration: none;
  color: var(--text);
}

.module-nav a:hover,
.module-nav button:hover {
  background: var(--surface-2);
}

.module-nav a.active,
.module-nav button.active {
  background: linear-gradient(135deg, rgba(92, 124, 255, 0.12), rgba(113, 182, 147, 0.08));
  border-color: rgba(92, 124, 255, 0.18);
}

.nav-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface-3);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
}

.nav-copy strong {
  display: block;
  font-size: 14px;
}

.nav-copy small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.nav-footer {
  margin-top: auto;
}

.workspace {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.workspace-header,
.workspace-toolbar {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(227, 232, 245, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.workspace-header {
  padding: 20px 22px 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.workspace-header h1 {
  margin: 8px 0 6px;
  font-size: 32px;
}

.workspace-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.workspace-actions {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.workspace-toolbar {
  padding: 16px 18px;
  display: grid;
  gap: 14px;
}

.filters,
.tabs,
.view-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filters {
  align-items: end;
}

.filters label,
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.checkbox-label {
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
}

.checkbox-label input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.tabs button,
.tabs .tab-link {
  color: var(--muted);
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  min-height: 40px;
  padding: 10px 14px;
}

.tabs button.active,
.tabs .tab-link.active {
  border-color: rgba(92, 124, 255, 0.22);
  color: var(--accent);
  background: rgba(92, 124, 255, 0.08);
}

.status-bar {
  padding: 12px 14px;
  color: var(--muted);
  background: rgba(92, 124, 255, 0.06);
}

.workspace-content {
  display: grid;
  gap: 16px;
}

.audit-report-content,
.detail-reading-content {
  grid-template-rows: auto auto minmax(0, 1fr);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.kpi {
  padding: 14px;
}

.kpi-action {
  display: block;
  text-align: left;
  width: 100%;
  border: 1px solid rgba(92, 124, 255, 0.18);
  background: linear-gradient(180deg, rgba(92, 124, 255, 0.06), rgba(255, 255, 255, 0.96));
  box-shadow: 0 6px 18px rgba(31, 42, 68, 0.05);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  text-decoration: none;
}

.kpi-action:hover {
  transform: translateY(-1px);
  border-color: rgba(92, 124, 255, 0.32);
  box-shadow: 0 10px 24px rgba(92, 124, 255, 0.12);
}

.kpi-action:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(92, 124, 255, 0.14);
}

.kpi .value {
  font-size: 26px;
  font-weight: 700;
}

.kpi .label {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.view-controls {
  margin-top: 2px;
}

.view-controls button.active {
  border-color: rgba(92, 124, 255, 0.22);
  color: var(--accent);
  background: rgba(92, 124, 255, 0.08);
}

.content-grid,
.chart-grid,
.task-list,
.summary-list,
.quick-actions,
.drill-grid,
.module-grid,
.table-grid,
.detail-grid {
  display: grid;
  gap: 16px;
}

.content-grid.two,
.chart-grid.two,
.module-grid.two,
.table-grid.two,
.detail-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chart-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.rail-card {
  padding: 16px;
}

.extra-panel {
  margin: 0;
}

.card-head,
.rail-head,
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.card-head h2,
.rail-head h2 {
  margin: 0;
  font-size: 17px;
}

.muted {
  color: var(--muted);
  font-size: 12px;
}

.chart {
  height: 320px;
}

.table-wrap,
.panel-scroll,
.profile-card {
  max-height: 420px;
  overflow: auto;
}

.audit-report-summary-card,
.detail-summary-card {
  padding-bottom: 12px;
}

.audit-report-summary-card .card-head,
.detail-summary-card .card-head {
  margin-bottom: 8px;
}

.audit-report-summary-card #reportSummary,
.detail-summary-card .drill-grid {
  gap: 8px;
  line-height: 1.55;
}

.audit-report-summary-card #reportSummary > div,
.detail-summary-card .drill-grid > div {
  padding-bottom: 2px;
}

.audit-report-body-card,
.detail-body-card {
  display: flex;
  flex-direction: column;
  min-height: 62vh;
}

.audit-report-body-card .card-head,
.detail-body-card .card-head {
  margin-bottom: 10px;
}

.audit-report-body-card #reportContent,
.detail-body-scroll {
  flex: 1;
  min-height: 0;
  max-height: none;
  height: min(72vh, 1100px);
  padding-right: 6px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.data-table th,
.data-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--muted);
  font-weight: 600;
}

.data-table tr[data-clickable="1"] {
  cursor: pointer;
}

.data-table tr[data-clickable="1"]:hover {
  background: rgba(92, 124, 255, 0.05);
}

.task-row-selected {
  background: rgba(92, 124, 255, 0.08);
}

.contact-inline-list {
  display: grid;
  gap: 4px;
  min-width: 180px;
}

.contact-inline-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  line-height: 1.5;
}

.contact-inline-label {
  color: var(--muted);
  min-width: 34px;
}

.source-primary {
  font-weight: 600;
  line-height: 1.5;
}

.source-secondary {
  margin-top: 4px;
  line-height: 1.5;
}

.source-confidence-line {
  margin-top: 6px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.amap-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.amap-photo-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
  text-decoration: none;
}

.amap-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: var(--surface);
}

.amap-photo-card span {
  font-size: 12px;
  line-height: 1.6;
}

.source-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.source-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 11px;
  white-space: nowrap;
}

.source-badge-amap {
  color: #246b45;
  background: rgba(113, 182, 147, 0.14);
}

.source-badge-tianyancha {
  color: #8a5b15;
  background: rgba(245, 177, 95, 0.18);
}

.source-badge-tencent_wsa {
  color: #3152c8;
  background: rgba(92, 124, 255, 0.14);
}

.source-badge-google_maps {
  color: #7d3fb2;
  background: rgba(154, 106, 208, 0.14);
}

.source-badge-zhipu,
.source-badge-manual_seed,
.source-badge-other {
  color: var(--muted);
}

.owner-board-table td,
.owner-board-table th {
  white-space: nowrap;
}

.owner-board-table td:nth-child(1),
.owner-board-table td:nth-child(2) {
  text-align: center;
}

.owner-board-table td:nth-child(n + 3) {
  font-variant-numeric: tabular-nums;
}

.owner-board-table .up {
  color: var(--accent-2);
}

.owner-board-table .down {
  color: var(--danger);
}

.right-rail {
  display: grid;
  gap: 16px;
}

.summary-list {
  gap: 10px;
}

.summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface-2);
}

.summary-item strong {
  display: block;
  font-size: 13px;
}

.summary-item span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.pill,
.summary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(92, 124, 255, 0.08);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.quick-actions {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.quick-chip {
  padding: 12px;
}

.quick-chip strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.quick-chip p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.chat-box {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.chat-history {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 120px;
  max-height: 260px;
  overflow: auto;
  padding: 8px 0;
}

.chat-message {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--surface-2);
  white-space: pre-wrap;
  line-height: 1.6;
  font-size: 13px;
}

.chat-message.user {
  background: rgba(92, 124, 255, 0.08);
}

.chat-message.assistant {
  background: rgba(113, 182, 147, 0.08);
}

.chat-role {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
}

.chat-input-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.chat-input-row textarea {
  flex: 1;
  min-height: 78px;
  resize: vertical;
}

.insight-section {
  margin-bottom: 12px;
}

.insight-section h3 {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--accent);
}

.insight-section ul {
  margin: 0;
  padding-left: 18px;
}

.compact-list {
  margin: 8px 0 0;
  padding-left: 18px;
  line-height: 1.7;
}

.empty-state-card {
  padding: 18px;
  border: 1px dashed var(--border);
  border-radius: 16px;
  background: var(--surface-2);
}

.drill-block + .drill-block {
  margin-top: 14px;
}

.drill-grid {
  line-height: 1.7;
}

.task-context-grid,
.investigation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.investigation-grid > div {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
  line-height: 1.7;
}

.table-actions-stack {
  min-width: 90px;
}

.audit-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.audit-form-grid .full-span {
  grid-column: 1 / -1;
}

.audit-form-grid textarea {
  min-height: 96px;
  resize: vertical;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.task-builder-form {
  display: grid;
  gap: 18px;
}

.task-builder-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(92, 124, 255, 0.12);
  background: linear-gradient(180deg, rgba(92, 124, 255, 0.05), rgba(92, 124, 255, 0.02));
  color: var(--muted);
  line-height: 1.7;
}

.task-builder-banner strong {
  color: var(--text);
}

.task-builder-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.task-form-shell {
  display: grid;
  gap: 16px;
}

.task-form-block {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(31, 42, 68, 0.04);
}

.task-form-block-primary {
  background: linear-gradient(180deg, rgba(92, 124, 255, 0.035), rgba(255, 255, 255, 0.98));
}

.task-form-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.task-form-block-head h3 {
  margin: 0;
  font-size: 16px;
}

.task-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.task-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.task-field[hidden] {
  display: none !important;
}

.task-field.is-hidden {
  display: none !important;
}

.task-field-full {
  grid-column: 1 / -1;
}

.task-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.task-help {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.task-field-featured {
  padding: 16px;
  border: 1px solid rgba(92, 124, 255, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(92, 124, 255, 0.06), rgba(92, 124, 255, 0.02));
}

.service-right-picker {
  position: relative;
}

.service-right-picker input {
  padding-right: 44px;
}

.service-right-picker.open .service-right-toggle-icon {
  transform: rotate(180deg);
}

.service-right-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  z-index: 24;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.service-right-toggle:hover {
  background: rgba(92, 124, 255, 0.06);
}

.service-right-toggle-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.service-right-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(92, 124, 255, 0.16);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 36px rgba(31, 42, 68, 0.12);
  max-height: 320px;
  overflow: auto;
}

.service-right-options[hidden] {
  display: none !important;
}

.service-right-option {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  text-align: left;
}

.service-right-option:hover,
.service-right-option.active {
  border-color: rgba(92, 124, 255, 0.14);
  background: rgba(92, 124, 255, 0.07);
}

.service-right-option-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.service-right-option-sub,
.service-right-empty {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.service-right-empty {
  padding: 12px;
}

.task-form-grid input,
.task-form-grid select,
.task-form-grid textarea,
.task-result-limit input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #dbe3f3;
  background: #fff;
  padding: 12px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.task-form-grid textarea {
  min-height: 108px;
  resize: vertical;
}

.task-form-grid input:focus,
.task-form-grid select:focus,
.task-form-grid textarea:focus,
.task-result-limit input:focus {
  outline: none;
  border-color: rgba(92, 124, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(92, 124, 255, 0.12);
}

.task-form-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(247, 248, 252, 0.9), rgba(255, 255, 255, 0.96));
}

.task-result-limit {
  min-width: 180px;
  max-width: 220px;
}

.task-form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.task-form-actions button {
  min-width: 180px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #5c7cff, #7e96ff);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(92, 124, 255, 0.24);
}

.task-form-actions button:hover {
  transform: translateY(-1px);
}

.spotlight-panel {
  border-color: rgba(92, 124, 255, 0.42);
  box-shadow: 0 0 0 4px rgba(92, 124, 255, 0.08), var(--shadow);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-toast {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(92, 124, 255, 0.12);
}

.page-toast.success {
  border-color: rgba(113, 182, 147, 0.45);
  background: rgba(113, 182, 147, 0.14);
}

.page-toast.error {
  border-color: rgba(217, 92, 99, 0.45);
  background: rgba(217, 92, 99, 0.14);
}

.upload-dropzone {
  border: 1px dashed rgba(92, 124, 255, 0.18);
  border-radius: 16px;
  padding: 22px 18px;
  background: linear-gradient(180deg, rgba(92, 124, 255, 0.05), rgba(245, 177, 95, 0.04));
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(92, 124, 255, 0.1), rgba(245, 177, 95, 0.08));
  transform: translateY(-1px);
}

.upload-dropzone-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.upload-file-list {
  display: grid;
  gap: 10px;
}

.upload-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.workspace-note {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1380px) {
  .app-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .right-rail {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: auto;
  }
}

@media (max-width: 1040px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .left-nav,
  .workspace,
  .right-rail {
    min-height: auto;
  }

  .workspace-header {
    flex-direction: column;
    align-items: stretch;
  }

  .chart-grid,
  .content-grid.two,
  .module-grid.two,
  .table-grid.two,
  .detail-grid.two,
  .right-rail,
  .audit-form-grid,
  .task-form-grid,
  .task-context-grid,
  .investigation-grid {
    grid-template-columns: 1fr;
  }

  .task-builder-banner,
  .task-form-footer {
    display: grid;
  }

  .task-builder-banner {
    justify-content: stretch;
  }

  .task-form-footer {
    align-items: stretch;
  }

  .task-result-limit {
    max-width: none;
  }

  .audit-report-body-card,
  .detail-body-card {
    min-height: auto;
  }

  .audit-report-body-card #reportContent,
  .detail-body-scroll {
    height: auto;
    max-height: 70vh;
  }
}
