:root {
  font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif;
  color: #15263d;
  background:
    radial-gradient(circle at top left, rgba(255, 213, 154, 0.6), transparent 28%),
    linear-gradient(180deg, #f8f2e7 0%, #eef4fb 48%, #e6eef9 100%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

.app-shell {
  min-height: 100vh;
  padding: 28px 18px 36px;
}

.hero {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.hero-kicker {
  margin: 0 0 8px;
  color: #a85718;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
}

.hero-copy {
  margin: 12px 0 0;
  max-width: 720px;
  color: rgba(21, 38, 61, 0.76);
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pill,
.panel,
.summary-card,
.report-row,
.control select {
  border: 1px solid rgba(21, 38, 61, 0.1);
  background: rgba(255, 255, 255, 0.84);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(16, 32, 52, 0.08);
}

.pill {
  padding: 10px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.panel {
  overflow: hidden;
}

.panel-header {
  padding: 16px 18px 10px;
  border-bottom: 1px solid rgba(21, 38, 61, 0.08);
}

.panel-header h2 {
  margin: 0;
  font-size: 1.02rem;
}

.panel-body {
  padding: 16px 18px 18px;
}

.controls-panel {
  margin-bottom: 18px;
}

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

.control {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
}

.control span {
  color: rgba(21, 38, 61, 0.7);
  font-size: 0.85rem;
}

.control select {
  padding: 11px 12px;
  font: inherit;
  color: #15263d;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.summary-card {
  padding: 18px;
}

.summary-label {
  color: rgba(21, 38, 61, 0.64);
  font-size: 0.88rem;
}

.summary-value {
  margin-top: 8px;
  font-size: 1.6rem;
  font-weight: 700;
}

.summary-note {
  margin-top: 8px;
  color: rgba(21, 38, 61, 0.7);
  font-size: 0.88rem;
  line-height: 1.45;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.3fr);
  gap: 16px;
}

.report-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.report-group-label {
  margin-top: 4px;
  margin-bottom: 2px;
  color: #7b4a1d;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.report-row {
  width: 100%;
  text-align: left;
  padding: 13px 14px;
  cursor: pointer;
}

.report-row.active {
  border-color: #1c6fd8;
  background: rgba(28, 111, 216, 0.12);
}

.report-row-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.report-row-copy {
  margin-top: 6px;
  color: rgba(21, 38, 61, 0.72);
  font-size: 0.88rem;
  line-height: 1.45;
}

.report-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  color: rgba(21, 38, 61, 0.72);
  font-size: 0.88rem;
}

.report-article {
  border: 1px solid rgba(21, 38, 61, 0.08);
  border-radius: 18px;
  background: rgba(249, 251, 255, 0.94);
  padding: 18px;
  min-height: 360px;
}

.report-article h2,
.report-article h3,
.report-article h4,
.report-article p {
  margin: 0;
}

.report-article h2 {
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.report-article h3 {
  margin-top: 16px;
  margin-bottom: 10px;
  font-size: 1.02rem;
}

.report-article h4 {
  margin-top: 12px;
  margin-bottom: 8px;
  font-size: 0.94rem;
  color: #29507a;
}

.report-article p {
  line-height: 1.6;
}

.report-bullet {
  color: rgba(21, 38, 61, 0.94);
}

.report-space {
  height: 8px;
}

.empty {
  color: rgba(21, 38, 61, 0.72);
}

@media (max-width: 1180px) {
  .summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .app-shell {
    padding: 20px 14px 28px;
  }

  .hero {
    flex-direction: column;
  }

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

  .control {
    min-width: 100%;
  }
}
