@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #f4f7f9;
  --bg-accent: #ffffff;
  --ink: #0b1b2b;
  --muted: rgba(11, 27, 43, 0.72);
  --brand: #13b3b0;
  --brand-strong: #0a6f75;
  --accent-warm: #d7a21d;
  --line: rgba(11, 27, 43, 0.12);
  --radius: 18px;
  --shadow: 0 18px 40px rgba(11, 27, 43, 0.08);
  --panel-shadow: 0 18px 44px rgba(11, 27, 43, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Manrope', 'Source Sans 3', sans-serif;
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(19, 179, 176, 0.18), transparent 55%),
    radial-gradient(900px 500px at 88% -20%, rgba(215, 162, 29, 0.14), transparent 58%),
    var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.35;
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

section {
  margin-bottom: 20px;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.hero {
  background: var(--bg-accent);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 27, 43, 0.12);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: stretch;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.hero-brand-name {
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--brand-strong);
  font-weight: 600;
}

.hero-logo {
  width: clamp(160px, 12vw, 160px);
  height: auto;
  border-radius: 14px;
}

.hero h1 {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(26px, 3.2vw, 32px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  max-width: 640px;
}


.hero-subtitle--small {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .02em;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(19,179,176,.12);
  font-size: 11.5px;
  font-weight: 600;
  color: #0a4f52;
}


.hero-preview-card {
  border-radius: 18px;
  background: #fdfdfd;
  border: 1px solid rgba(19, 179, 176, 0.25);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-preview-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.hero-preview-row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.hero-preview-note {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px solid rgba(11, 27, 43, 0.1);
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.5fr 0.75fr;
    align-items: stretch;
  }
}

.tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}

.tab-button {
  border: none;
  background: transparent;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.tab-button.active {
  color: var(--ink);
  border-bottom-color: var(--brand);
}

.tab-button:hover {
  color: var(--ink);
}

.tab-panel {
  display: none;
  gap: 16px;
  flex-direction: column;
}

.tab-panel.active {
  display: flex;
}

.card {
  background: var(--bg-accent);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--panel-shadow);
  border: 1px solid rgba(11, 27, 43, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.card-header h2,
.card-header h3 {
  margin: 0;
  font-family: 'Fraunces', 'Georgia', serif;
}

.card-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.analysis-section {
  padding: 12px 16px;
  gap: 8px;
  display: flex;
  flex-direction: column;
}

.analysis-section label {
  margin-bottom: 0;
}

.analysis-section button {
  margin-top: 6px;
  align-self: flex-start;
}

.analysis-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.analysis-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.analysis-metrics__label {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.analysis-metrics__value {
  margin: 2px 0 0;
  font-size: 24px;
  font-weight: 600;
}

.analysis-sum-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.analysis-sum-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(11, 27, 43, 0.04);
  border: 1px solid rgba(11, 27, 43, 0.08);
  flex-wrap: wrap;
}

.analysis-sum-meta,
.analysis-sum-values {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.analysis-sum-label {
  margin: 0;
  font-weight: 600;
}

.analysis-sum-detail {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.analysis-sum-value {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.analysis-sum-status {
  align-self: flex-end;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.analysis-sum-status--ok {
  background: rgba(19, 179, 176, 0.15);
  color: #0a6f75;
}

.analysis-sum-status--warn {
  background: rgba(215, 162, 29, 0.15);
  color: #8a4d00;
}

.analysis-notes {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.analysis-notes li {
  line-height: 1.4;
}

.collapsible-details {
  width: 100%;
}

.collapsible-summary {
  cursor: pointer;
  list-style: none;
  margin: 0;
  padding: 0 8px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.collapsible-summary .card-header {
  width: 100%;
}

.collapsible-summary::after {
  content: '▼';
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
  color: var(--muted);
  margin-left: 16px;
}

.collapsible-details[open] .collapsible-summary::after {
  transform: rotate(180deg);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.table-wrap.narrow {
  max-width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  padding: 10px;
  border-bottom: 1px solid rgba(11, 27, 43, 0.08);
  text-align: left;
}

th {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 27, 43, 0.6);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
}

.checkbox-label input {
  width: 16px;
  height: 16px;
}

.demo-checkbox-input {
  width: 20px;
  height: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(11, 27, 43, 0.12);
  border-radius: 12px;
  padding: 12px 22px;
  font-weight: 700;
  cursor: pointer;
  background: var(--bg-accent);
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(11, 27, 43, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(11, 27, 43, 0.2);
  color: var(--ink);
}

.btn.primary {
  background: linear-gradient(135deg, #8be5e1, #55bab7);
  color: #032929;
  border-color: rgba(19, 179, 176, 0.22);
  box-shadow: 0 14px 28px rgba(10, 111, 117, 0.2);
}

.btn.primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-link {
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  color: var(--brand);
  background: rgba(19, 179, 176, 0.1);
  transition: opacity 0.2s ease;
}

.btn-link.disabled {
  opacity: 0.4;
  pointer-events: none;
  background: rgba(11, 27, 43, 0.08);
  color: rgba(11, 27, 43, 0.5);
}

.zip-container {
  display: flex;
  justify-content: flex-end;
}

.zip-download-button {
  border: none;
  background: var(--brand);
  color: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.zip-download-button:hover {
  transform: translateY(-1px);
}

.text-link {
  color: var(--brand-strong);
  font-weight: 600;
}

.progress-text {
  margin: 0;
  font-size: 13px;
  color: var(--brand-strong);
  min-height: 18px;
}

.micro-copy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.upload-limit-error {
  margin: 4px 0 0;
  font-size: 13px;
  color: #bb1f2a;
  min-height: 18px;
}

.hero-note {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.demo-fairuse {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}

.demo-fairuse .upload-limit-error {
  color: #bb1f2a;
  min-height: 16px;
}

.consent-row {
  padding-left: 24px;
}

.hidden {
  display: none !important;
}

.report-intro {
  display: grid;
  gap: 6px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.grid {
  display: grid;
  gap: 16px;
}

.result-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.result-meta-line {
  margin-top: 6px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.result-meta-line span {
  white-space: nowrap;
}

.result-title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.result-subline {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.result-header__status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.result-status-icon {
  font-size: 20px;
}

.kpi-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.card.kpi {
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(11, 27, 43, 0.07);
  background: rgba(255, 255, 255, 0.9);
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  gap: 4px;
}

.card.kpi .kpi-label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--muted);
}

.card.kpi .kpi-value {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}

.findings {
  width: 100%;
}

.findings summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  gap: 12px;
  border-bottom: 1px solid rgba(11, 27, 43, 0.08);
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.findings summary::-webkit-details-marker {
  display: none;
}

.findings summary::after {
  content: '▸';
  transition: transform 0.2s ease;
  font-size: 14px;
}

.findings[open] summary::after {
  transform: rotate(90deg);
}

.findings .finding-list {
  gap: 12px;
}

.finding-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.finding {
  border-radius: 16px;
  border: 1px solid rgba(11, 27, 43, 0.12);
  padding: 18px 20px;
  background: #fff;
  box-shadow: 0 18px 35px rgba(15, 30, 61, 0.09);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.finding-warn {
  border-color: rgba(235, 114, 0, 0.35);
  background: rgba(255, 244, 236, 0.85);
}

.finding-info {
  border-color: rgba(10, 96, 195, 0.25);
  background: rgba(229, 238, 255, 0.9);
}

.finding-compare {
  border-color: rgba(10, 104, 173, 0.4);
  background: rgba(233, 245, 252, 0.9);
}

.finding-icon {
  font-size: 18px;
  margin-top: 2px;
}

.finding-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
}

.finding-title {
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.finding-text {
  margin: 0;
  color: var(--muted);
}

.finding-sublist {
  margin: 8px 0 0;
  padding-left: 20px;
  list-style-type: disc;
  color: var(--ink);
  font-size: 13px;
  gap: 4px;
}

.detail-lines {
  margin: 0;
  padding-left: 18px;
}

.detail-lines li {
  margin-bottom: 6px;
}

.details-card {
  gap: 18px;
}

.details-card__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.details-card__header h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  flex: 1;
}

.accordion-toggle {
  border: 1px solid rgba(11, 27, 43, 0.15);
  background: rgba(246, 249, 255, 0.9);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--ink);
  gap: 12px;
  min-width: 240px;
}

.accordion-label {
  color: var(--ink);
}

.accordion-icon {
  font-size: 18px;
}

.accordion-content {
  padding-top: 12px;
  border-top: 1px solid rgba(11, 27, 43, 0.08);
}

.accordion-content.hidden {
  display: none;
}

.result-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.download-card .result-card__actions .btn {
  padding: 8px 14px;
}

.csv-preview-card {
  background: rgba(243, 247, 252, 0.95);
  border: 1px solid rgba(11, 27, 43, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.csv-preview {
  margin: 0;
  font-family: 'IBM Plex Mono', 'Source Code Pro', 'monospace';
  font-size: 13px;
  background: #e9edf3;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(11, 27, 43, 0.1);
  min-height: 140px;
  max-height: 240px;
  overflow: auto;
  white-space: pre-wrap;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
}

.badge-info {
  background: rgba(10, 111, 117, 0.18);
  color: #0b3b41;
  border-color: rgba(10, 111, 117, 0.35);
}

.badge-ok {
  background: rgba(19, 179, 176, 0.22);
  color: #044d46;
  border-color: rgba(19, 179, 176, 0.4);
}

.badge-warn {
  background: rgba(255, 190, 116, 0.3);
  color: #a55e00;
  border-color: rgba(255, 190, 116, 0.4);
}

.badge-critical {
  background: rgba(199, 68, 55, 0.25);
  color: #6b1d16;
  border-color: rgba(199, 68, 55, 0.35);
}

.report-evaluation {
  margin: 0;
  font-weight: 600;
}

.report-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.recommendations {
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
}

.comparison-wrapper {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.comparison-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.kanzlei-check {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(11, 27, 43, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
}

.kanzlei-toggle-label {
  margin: 0;
  font-size: 13px;
  color: var(--brand-strong);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kanzlei-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.kanzlei-status-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.kanzlei-status-badge,
.kanzlei-consent-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kanzlei-status-badge {
  border: 1px solid rgba(11, 27, 43, 0.2);
  color: var(--brand-strong);
  background: rgba(19, 179, 176, 0.12);
}

.kanzlei-status-badge.ohne-ai {
  color: var(--brand-strong);
}

.kanzlei-status-badge.mit-ai {
  background: rgba(19, 179, 176, 0.25);
  color: #062a2d;
  border-color: rgba(19, 179, 176, 0.35);
}

.kanzlei-consent-badge {
  background: rgba(11, 27, 43, 0.08);
  color: var(--ink);
  border: 1px solid rgba(11, 27, 43, 0.12);
  letter-spacing: 0.04em;
  margin-left: 0;
}

.kanzlei-check[data-preview="false"] .export-box {
  display: none;
}

.result-hero {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(11, 27, 43, 0.12);
  background: rgba(11, 27, 43, 0.04);
}

.result-hero.success {
  border-color: rgba(19, 179, 176, 0.24);
  background: rgba(19, 179, 176, 0.12);
}

.result-hero.info {
  border-color: rgba(29, 91, 122, 0.16);
  background: rgba(29, 91, 122, 0.08);
}

.result-hero.warn {
  border-color: rgba(219, 137, 0, 0.28);
  background: rgba(219, 137, 0, 0.12);
}

.result-hero__icon {
  font-size: 22px;
  line-height: 1;
}

.result-hero__title {
  font-weight: 700;
  color: #2b3945;
  letter-spacing: -0.01em;
}

.result-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.result-hero__file {
  font-size: 12px;
  color: var(--muted);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(11, 27, 43, 0.1);
  background: rgba(11, 27, 43, 0.03);
}

.summary-item {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(11, 27, 43, 0.08);
  background: #fff;
}

.summary-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(11, 27, 43, 0.6);
}

.summary-value {
  font-weight: 700;
  font-size: 16px;
  color: #0b1b2b;
}

.summary-meta {
  font-size: 11px;
  color: var(--muted);
}

.summary-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 27, 43, 0.08);
  color: #2b3945;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.result-details {
  border-top: 1px solid rgba(11, 27, 43, 0.12);
  padding-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.result-details summary {
  cursor: pointer;
  font-weight: 600;
  color: #2b3945;
  list-style: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(11, 27, 43, 0.08);
  background: rgba(11, 27, 43, 0.04);
}

.result-details summary::-webkit-details-marker {
  display: none;
}

.result-details[open] summary {
  margin-bottom: 6px;
}

.result-details summary .summary-title {
  font-weight: 600;
  color: #2b3945;
}

.result-details summary .summary-action {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(29, 91, 122, 0.2);
  background: rgba(29, 91, 122, 0.08);
  color: #1d5b7a;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.result-details summary .summary-hide {
  display: none;
}

.result-details[open] summary .summary-action {
  border-color: rgba(11, 27, 43, 0.16);
  background: rgba(11, 27, 43, 0.08);
  color: #3d4f5d;
}

.result-details[open] summary .summary-show {
  display: none;
}

.result-details[open] summary .summary-hide {
  display: inline;
}

.info-stack {
  display: grid;
  gap: 6px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 2px 0 0;
  display: grid;
  gap: 8px;
}

.message-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  color: var(--ink);
  font-size: 14px;
}

.message-item__text {
  color: var(--muted);
  line-height: 1.5;
}

.export-cta {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11, 27, 43, 0.1);
  background: rgba(255, 255, 255, 0.72);
  flex-wrap: wrap;
}

.export-cta__text {
  font-weight: 600;
  color: #0a6f75;
  letter-spacing: -0.01em;
}

.export-cta__actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.export-box {
  width: 100%;
  min-height: 120px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(11, 27, 43, 0.12);
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  background: #fff;
}

.result-table {
  table-layout: fixed;
  font-size: 13px;
  min-width: 700px;
}

.result-table th,
.result-table td {
  padding: 6px 4px;
  word-break: break-word;
  hyphens: auto;
}

.result-table td {
  font-size: 13px;
}

.result-table th {
  font-size: 12px;
}

.result-table .amount-cell {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.result-table .tax-cell {
  text-align: center;
}

.result-table .text-cell {
  word-break: normal;
  hyphens: none;
}

.result-table .tax-pill {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(11, 27, 43, 0.06);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.02em;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.result-table tfoot tr {
  background: rgba(11, 27, 43, 0.06);
  font-size: 12px;
  color: rgba(11, 27, 43, 0.72);
}

.result-table tfoot tr:first-child td {
  border-top: 2px solid rgba(11, 27, 43, 0.16);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(11, 27, 43, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.table-wrap table {
  border-radius: 12px;
}

.comparison-column {
  flex: 1;
  border-radius: 12px;
  border: 1px solid rgba(11, 27, 43, 0.08);
  padding: 12px;
}

.comparison-column h4 {
  margin: 0 0 6px;
  font-size: 14px;
}

.comparison-field {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(11, 27, 43, 0.12);
}

.comparison-field:last-child {
  border-bottom: none;
}

.ai-benefit {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--brand-strong);
  font-weight: 600;
  white-space: pre-line;
}

.export-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}

.export-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.export-note {
  margin: 0;
  font-size: 12px;
  color: #6b1d16;
}

.action-status {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  min-height: 18px;
}

.empty-cell {
  text-align: center;
  padding: 24px;
  font-size: 14px;
  color: var(--muted);
}

.upload-widget input {
  width: 100%;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.remove-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  color: #c0392b;
  font-weight: 700;
}

@media (max-width: 720px) {
  .comparison-grid {
    flex-direction: column;
  }

  .hero {
    padding: 20px;
  }

  .hero-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    align-self: stretch;
    justify-content: space-between;
  }

  .hero-nav {
    width: 100%;
    justify-content: space-between;
  }

  .card {
    padding: 16px;
  }
}
