.report-pane {
  position: relative;
  z-index: 3;
  min-width: 0;
  min-height: 0;
  background: var(--paper);
  box-shadow: -1px 0 0 var(--line);
}

.report-scroll {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 28px 48px;
}

.report-header h2 {
  margin: 0;
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.report-intro {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.preset-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 22px 0 18px;
  padding: 0;
  gap: 8px;
  border: 0;
}

.preset-option {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  min-height: 64px;
  padding: 12px;
  gap: 9px;
  background: var(--paper);
  box-shadow: var(--shadow-border);
  border-radius: 8px;
  cursor: pointer;
  transition: box-shadow 150ms ease, background 150ms ease;
}

.preset-option:hover {
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.17);
}

.preset-option.selected {
  background: #f7fbff;
  box-shadow: 0 0 0 1px var(--blue), inset 0 0 0 1px rgba(10, 114, 239, 0.08);
}

.preset-option input {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.preset-copy {
  display: block;
  min-width: 0;
}

.preset-copy strong,
.preset-copy span {
  display: block;
}

.preset-copy strong {
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 600;
}

.preset-copy span {
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1.35;
}

.report-pane.has-result .report-header {
  display: none;
}

.report-pane.has-result .preset-selector {
  display: flex;
  margin: 0 0 12px;
  padding: 1px;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.report-pane.has-result .preset-option {
  grid-template-columns: 13px auto;
  flex: 0 0 auto;
  align-items: center;
  min-height: 34px;
  padding: 7px 4px;
  gap: 4px;
}

.report-pane.has-result .preset-option input {
  width: 13px;
  height: 13px;
}

.report-pane.has-result .preset-copy strong {
  margin: 0;
  font-size: 9.5px;
}

.report-pane.has-result .preset-copy span {
  display: none;
}

.status-banner {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  min-height: 54px;
  margin: 0 0 22px;
  padding: 10px 12px;
  gap: 9px;
  background: var(--surface);
  box-shadow: var(--shadow-border);
  border-radius: 8px;
}

.status-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-family: "Geist Mono", monospace;
  font-size: 13px;
}

.status-banner strong,
.status-banner span:not(.status-icon) {
  display: block;
}

.status-banner strong {
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 600;
}

.status-banner span:not(.status-icon) {
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.35;
}

.status-banner.idle .status-icon {
  color: var(--ink-muted);
  background: #ededed;
}

.status-banner.working {
  background: var(--blue-soft);
  box-shadow: 0 0 0 1px rgba(10, 114, 239, 0.18);
}

.status-banner.working .status-icon {
  color: var(--blue);
  background: rgba(10, 114, 239, 0.1);
  animation: spin 1s linear infinite;
}

.status-banner.privacy {
  background: var(--blue-soft);
  box-shadow: 0 0 0 1px rgba(10, 114, 239, 0.18);
}

.status-banner.privacy .status-icon {
  color: var(--blue);
  background: rgba(10, 114, 239, 0.1);
}

.status-banner.complete {
  background: var(--green-soft);
  box-shadow: 0 0 0 1px rgba(22, 121, 75, 0.18);
}

.status-banner.complete .status-icon {
  color: var(--green);
  background: rgba(22, 121, 75, 0.1);
}

.status-banner.warning {
  background: var(--amber-soft);
  box-shadow: 0 0 0 1px rgba(138, 75, 8, 0.18);
}

.status-banner.warning .status-icon {
  color: var(--amber);
  background: rgba(138, 75, 8, 0.1);
}

.status-banner.error {
  background: var(--red-soft);
  box-shadow: 0 0 0 1px rgba(217, 45, 32, 0.2);
}

.status-banner.error .status-icon {
  color: var(--red);
  background: rgba(217, 45, 32, 0.1);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.empty-report {
  padding: 30px 24px;
  text-align: center;
  background: var(--surface);
  box-shadow: var(--shadow-border);
  border-radius: 10px;
}

.empty-report-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 10px;
  font-family: "Geist Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  transform: rotate(-3deg);
}

.empty-report h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.empty-report p {
  max-width: 420px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.empty-report ul {
  display: inline-grid;
  margin: 18px auto 0;
  padding: 0;
  gap: 7px;
  list-style: none;
  text-align: left;
}

.empty-report li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.4;
}

.empty-report li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--green);
  font-weight: 600;
}

.file-summary {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px;
  gap: 10px;
  box-shadow: var(--shadow-card);
  border-radius: 8px;
}
