/* 상세 내역 표 가독성 강화 */
.table-panel table {
  min-width: 880px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.table-panel th {
  font-size: 0.8125rem;
  font-weight: 800;
}

.table-panel td,
.table-panel th {
  padding: 0.8125rem 0.875rem;
}

.table-panel td:first-child {
  font-weight: 800;
}

.return-cell {
  color: #10b981;
  font-weight: 800;
}

body.dark .return-cell {
  color: #c4f582;
}

/* 계산 기준 안내를 항상 표시하고 핵심 가정을 강조 */
.assumptions {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.assumptions h2 {
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.assumptions .assumption-highlight {
  color: var(--text);
  background: var(--soft);
  border-left: 4px solid var(--green);
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
  font-weight: 700;
  line-height: 1.7;
}

/* 광고는 계산과 콘텐츠 사이에 분리해 표시 */
.ad-section {
  margin: 2rem 0 -2rem;
}

.ad-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ad-slot {
  min-height: 6.25rem;
}

.ad-slot.ad-placeholder {
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: 0.75rem;
  background: var(--field);
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: center;
}

.return-cell.negative {
  color: #ca5e52;
}

@media (max-width: 700px) {
  .table-panel table {
    min-width: 760px;
    font-size: 0.875rem;
  }

  .table-panel th {
    font-size: 0.75rem;
  }

  .table-panel td,
  .table-panel th {
    padding: 0.75rem 0.8125rem;
  }
}
