:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --text: #1f2933;
  --muted: #667085;
  --line: #d9dee7;
  --blue: #2367d1;
  --green: #16805f;
  --red: #c24132;
  --map-header-bg: #f8fafc;
  --map-header-text: #1f2937;
  --map-header-search-bg: #ffffff;
  --map-header-search-text: #111827;
  --map-header-search-placeholder: #667085;
  --map-header-search-icon: #2367d1;
  --map-header-chip-bg: #ffffff;
  --map-header-chip-active-bg: #e8f0ff;
  --map-header-chip-active-border: #2367d1;
  --map-header-chip-active-text: #2367d1;
  --map-header-period-bg: #ffffff;
  --growth-rate-top-1: #dc2626;
  --growth-rate-top-2: #d97706;
  --growth-rate-top-3: #16a34a;
  --growth-rate-positive: #16a34a;
  --growth-rate-negative: #2563eb;
  --growth-rate-neutral: #667085;
  --growth-rate-no-data: #98a2b3;
  --growth-rate-top-1-bg: rgba(220, 38, 38, 0.12);
  --growth-rate-top-2-bg: rgba(217, 119, 6, 0.1);
  --growth-rate-top-3-bg: rgba(22, 163, 74, 0.12);
  --growth-rate-positive-bg: rgba(22, 163, 74, 0.1);
  --growth-rate-negative-bg: rgba(37, 99, 235, 0.1);
  --growth-rate-neutral-bg: rgba(102, 112, 133, 0.1);
  --growth-rate-top-1-border: rgba(220, 38, 38, 0.22);
  --growth-rate-top-2-border: rgba(217, 119, 6, 0.24);
  --growth-rate-top-3-border: rgba(22, 163, 74, 0.22);
  --growth-rate-positive-border: rgba(22, 163, 74, 0.22);
  --growth-rate-negative-border: rgba(37, 99, 235, 0.22);
  --growth-rate-neutral-border: rgba(102, 112, 133, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.app-shell {
  max-width: none;
  min-height: 100vh;
  margin: 0 auto;
  padding: 12px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 28px;
  line-height: 1.2;
}

h2 {
  font-size: 17px;
}

.panel-head span,
.status-line {
  color: var(--muted);
  font-size: 13px;
}

.primary-btn,
.toolbar button,
.tabs a,
.tabs button,
.tabs summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 6px;
  padding: 0 12px;
  cursor: pointer;
  flex: 0 0 auto;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  word-break: keep-all;
}

.tabs summary {
  list-style: none;
}

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

.top-period-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  height: 36px;
}

.top-period-select select {
  width: 132px;
  height: 36px;
  appearance: none;
  border: 1px solid #cfd8e7;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 1px 5px rgba(16, 24, 40, 0.08);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 0 34px 0 14px;
  white-space: nowrap;
}

.top-period-select::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #475467;
  border-bottom: 2px solid #475467;
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.growth-rate-tone {
  color: var(--growth-rate-neutral);
  font-weight: 850;
}

.growth-rate-top-1 {
  color: var(--growth-rate-top-1);
}

.growth-rate-top-2 {
  color: var(--growth-rate-top-2);
}

.growth-rate-top-3 {
  color: var(--growth-rate-top-3);
}

.growth-rate-positive {
  color: var(--growth-rate-positive);
}

.growth-rate-negative {
  color: var(--growth-rate-negative);
}

.growth-rate-neutral {
  color: var(--growth-rate-neutral);
}

.growth-rate-no-data {
  color: var(--growth-rate-no-data);
}

.tab-more-menu {
  position: relative;
}

.tab-more-menu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.tab-more-menu[open] summary::after {
  transform: translateY(1px) rotate(225deg);
}

.tab-more-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  display: grid;
  min-width: 160px;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgb(15 23 42 / 14%);
}

.tab-more-list a {
  width: 100%;
  justify-content: flex-start;
}

.tab-logout-link {
  margin-left: auto;
}

.tab-more-list .tab-logout-link {
  margin-left: 0;
}

.primary-btn {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(120px, 160px) minmax(140px, 170px) minmax(140px, 170px) 1fr;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.embedded-toolbar {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  margin: 0;
}

.formula-toolbar {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

select,
input {
  width: 100%;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  color: var(--text);
  background: #fff;
}

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

.quick-buttons button.active,
.period-buttons button.active,
.tabs a.active,
.tabs button.active,
.tab-more-menu.active summary {
  border-color: var(--blue);
  background: #e8f0ff;
  color: var(--blue);
}

.period-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.period-buttons button {
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  padding: 0 10px;
}

.map-period-bar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.map-period-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.ranking-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}

.segmented-buttons {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.segmented-buttons button {
  height: 30px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  padding: 0 10px;
}

.segmented-buttons button.active {
  background: #e8f0ff;
  color: var(--blue);
}

.page-size-control {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.page-size-control select {
  width: 92px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  padding: 12px 16px 16px;
}

.pagination button,
.pagination span {
  min-width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  padding: 0 9px;
}

.pagination button {
  cursor: pointer;
}

.pagination button.active {
  border-color: var(--blue);
  background: #e8f0ff;
  color: var(--blue);
}

.pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.pagination span {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

#priceBandPagination {
  min-height: 60px;
}

#priceBandPagination:empty {
  min-height: 0;
}

#priceBandPagination.loading {
  pointer-events: none;
}

#priceBandPagination.loading button,
#priceBandPagination.loading span {
  opacity: 0.52;
}

.price-band-summary {
  display: grid;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.price-band-count-main,
.price-band-count-sub,
.price-band-count-meta {
  display: block;
}

#priceBandCount {
  min-height: 54px;
}

.price-band-count-main {
  color: #475467;
  font-weight: 850;
}

.price-band-count-sub,
.price-band-count-meta {
  color: var(--muted);
}

.price-band-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.price-band-filter-primary,
.price-band-filter-region,
.price-band-filter-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.price-band-filter-control {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  height: 32px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 0 8px 0 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  word-break: keep-all;
}

.price-band-filter-control.is-active {
  border-color: rgba(35, 103, 209, 0.42);
  background: #edf4ff;
  color: var(--blue);
  box-shadow: 0 1px 2px rgba(35, 103, 209, 0.08);
}

.price-band-filter-control span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  word-break: keep-all;
}

.price-band-filter-control.is-active span,
.price-band-filter-control.is-active select {
  color: var(--blue);
}

.price-band-filter-control-value-only {
  justify-content: center;
}

.price-band-filter-control select {
  width: auto;
  min-width: 70px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  line-height: 1;
  outline: 0;
  padding: 0 22px 0 0;
  white-space: nowrap;
}

.price-band-filter-control-value-only select {
  text-align: center;
}

.price-band-period-filter-control select {
  min-width: 92px;
}

.price-band-filter-arrow {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.price-band-filter-total {
  display: inline-flex;
  align-items: center;
  height: 32px;
  margin-left: 2px;
  border: 1px solid #d8e2f0;
  border-radius: 999px;
  background: #f8fbff;
  color: #315ca7;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 0 12px;
  white-space: nowrap;
}

#priceBandView.price-band-stable-loading .table-wrap {
  position: relative;
}

#priceBandView.price-band-stable-loading .price-band-table {
  pointer-events: none;
}

#priceBandView.price-band-stable-loading .table-wrap::after {
  content: "랭킹을 불러오는 중입니다.";
  position: absolute;
  top: 12px;
  right: 16px;
  left: 16px;
  z-index: 2;
  display: grid;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(184, 198, 220, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #475467;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.1);
  pointer-events: none;
}

.price-band-area-filter-control select {
  min-width: 92px;
}

.price-band-region-filter-control select {
  min-width: 94px;
}

.price-band-detail-panel {
  position: fixed;
  top: var(--map-global-header-height);
  right: 0;
  bottom: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  width: min(720px, 100vw);
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  border-left: 1px solid rgba(16, 24, 40, 0.16);
  border-radius: 0;
  background: #ffffff;
  box-shadow: -8px 0 28px rgba(16, 24, 40, 0.18);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.price-band-detail-panel[hidden] {
  display: none;
}

.price-band-detail-panel.loading .map-popup-stats {
  align-items: stretch;
}

.price-band-detail-panel .map-popup-chart-wrap {
  min-height: 0;
  overflow-x: hidden;
}

.price-band-detail-panel .map-popup-chart svg {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.price-band-table tr.selected {
  background: #eef6ff;
}

.price-band-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.price-band-row-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.price-band-chip-row {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 2px;
}

.price-band-chip {
  display: grid;
  min-width: 116px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  padding: 10px 12px;
  text-align: left;
}

.price-band-chip:hover {
  border-color: #b8c6dc;
  background: #f8fafc;
}

.price-band-chip.active {
  border-color: var(--blue);
  background: #e8f0ff;
  box-shadow: inset 0 0 0 1px rgba(35, 103, 209, 0.18);
}

.price-band-chip strong {
  font-size: 14px;
}

.price-band-chip span,
.price-band-chip em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.price-band-chip.active span,
.price-band-chip.active em {
  color: #315ca7;
}

.price-band-empty {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.price-band-loading-cell {
  height: 180px;
}

.price-band-loading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.price-band-loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #d9e3f2;
  border-top-color: var(--blue);
  border-radius: 999px;
  animation: price-band-loading-spin 0.8s linear infinite;
}

@keyframes price-band-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.status-line {
  min-height: 24px;
  margin: 10px 0 16px;
}

.crawl-panel,
.info-panel {
  margin-bottom: 16px;
}

.crawl-activity-alert {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid #fecaca;
  border-left: 6px solid #dc2626;
  border-radius: 8px;
  background: #fef2f2;
  color: #991b1b;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.12);
}

.crawl-activity-alert[hidden] {
  display: none;
}

.crawl-activity-alert strong {
  font-size: 18px;
  font-weight: 900;
}

.crawl-activity-alert span,
.crawl-activity-alert em {
  font-size: 13px;
  line-height: 1.45;
}

.crawl-activity-alert em {
  color: #7f1d1d;
  font-style: normal;
  font-weight: 700;
}

.crawl-body {
  padding: 16px;
}

.collection-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.collection-summary-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.collection-summary-grid strong {
  display: block;
  overflow: hidden;
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collection-summary-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.progress-track {
  height: 14px;
  background: #edf1f7;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #16805f);
  transition: width 240ms ease;
}

.crawl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.formula-grid {
  padding: 0 16px 16px;
}

.crawl-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.crawl-grid strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
}

.crawl-grid span,
.crawl-logs {
  color: var(--muted);
  font-size: 12px;
}

.crawl-job-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.crawl-job-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.crawl-job-card-head,
.crawl-job-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.crawl-job-card-head strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.crawl-job-percent {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}

.crawl-job-track {
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f7;
}

.crawl-job-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2367d1;
}

.crawl-job-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.crawl-job-activity {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
}

.crawl-job-activity span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crawl-job-current {
  overflow: hidden;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crawl-job-empty {
  grid-column: 1 / -1;
  padding: 28px 16px;
}

.kb-coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.kb-coverage-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.kb-coverage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.kb-coverage-head strong {
  font-size: 15px;
}

.kb-coverage-head span,
.kb-coverage-meta,
.kb-coverage-latest {
  color: var(--muted);
  font-size: 12px;
}

.kb-coverage-main {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.kb-coverage-main div {
  display: grid;
  gap: 2px;
}

.kb-coverage-main span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.kb-coverage-main strong {
  color: var(--text);
  font-size: 24px;
  font-weight: 900;
}

.kb-coverage-main em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.kb-coverage-track {
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f7;
}

.kb-coverage-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #16a34a;
}

.kb-coverage-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.kb-coverage-metric {
  display: grid;
  gap: 2px;
  border-radius: 7px;
  background: #f8fafc;
  padding: 7px 8px;
}

.kb-coverage-metric span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.kb-coverage-metric strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.kb-coverage-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 8px;
  margin-top: 10px;
}

.kb-coverage-meta span,
.kb-coverage-latest,
.kb-coverage-eta,
.kb-coverage-current {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kb-coverage-eta,
.kb-coverage-current {
  margin-top: 8px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.kb-coverage-current {
  color: var(--muted);
  font-weight: 600;
}

.kb-coverage-details {
  margin-top: 8px;
}

.kb-coverage-details summary {
  cursor: pointer;
  color: #2367d1;
  font-size: 12px;
  font-weight: 900;
}

.kb-coverage-latest {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.completion-list {
  display: grid;
  gap: 10px;
}

.completion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.completion-item strong {
  font-size: 16px;
}

.crawl-logs {
  display: grid;
  gap: 4px;
  max-height: 110px;
  overflow: auto;
  margin-top: 12px;
  padding: 10px;
  background: #101828;
  color: #d0d5dd;
  border-radius: 8px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.info-grid div {
  background: #fff;
  padding: 16px;
}

.info-grid h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.info-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.top-tabs {
  margin-bottom: 12px;
}

.map-shell-mode .app-shell > .top-tabs {
  margin-bottom: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.crawl-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}

.crawl-section-head strong {
  font-size: 14px;
}

.crawl-section-head span {
  color: var(--muted);
  font-size: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 800;
}

.status-pill.completed {
  background: #e8f6ef;
  color: var(--green);
}

.status-pill.failed {
  background: #fdeceb;
  color: var(--red);
}

.status-pill.running {
  background: #e8f0ff;
  color: var(--blue);
}

.status-pill.pending {
  background: #f2f4f7;
  color: var(--muted);
}

.status-pill.requested {
  background: #f2f4f7;
  color: var(--muted);
}

.duplicate-hidden-row {
  background: #fff7f6;
}

.duplicate-hidden-row td {
  color: #475467;
}

.error-cell {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.growth-map {
  height: 560px;
  min-height: 420px;
  background: #eef2f7;
}

.map-canvas-wrap {
  flex: 1;
  min-height: 0;
  position: relative;
}

.map-transition-status {
  position: absolute;
  top: 66px;
  left: 50%;
  z-index: 760;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.9);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 13px;
  transform: translateX(-50%);
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.22);
}

.deploy-version-badge {
  position: fixed;
  right: 12px;
  bottom: 10px;
  z-index: 1300;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #475467;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 5px 6px 5px 9px;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.12);
}

.deploy-version-badge[hidden] {
  display: none;
}

.deploy-version-text {
  user-select: text;
}

.deploy-version-commit {
  border: 0;
  background: transparent;
  color: #2367d1;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  line-height: 1;
  padding: 0;
}

.deploy-version-commit:hover,
.deploy-version-commit:focus-visible {
  text-decoration: underline;
  outline: 0;
}

.deploy-version-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(71, 84, 103, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: #475467;
  cursor: pointer;
  padding: 0;
}

.deploy-version-copy:hover,
.deploy-version-copy:focus-visible {
  border-color: rgba(35, 103, 209, 0.38);
  color: #2367d1;
  outline: 0;
}

.deploy-version-copy svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.deploy-version-badge.copied .deploy-version-copy {
  border-color: rgba(22, 128, 95, 0.38);
  color: #16805f;
}

.deploy-commit-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  display: grid;
  width: min(420px, calc(100vw - 24px));
  gap: 8px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.18);
  color: #1d2939;
  padding: 10px;
}

.deploy-commit-popover > strong {
  font-size: 12px;
  font-weight: 950;
}

.deploy-commit-list {
  display: grid;
  gap: 6px;
}

.deploy-commit-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  border-radius: 6px;
  background: #f8fafc;
  padding: 7px 8px;
}

.deploy-commit-sha {
  color: #2367d1;
  font-size: 11px;
  font-weight: 950;
}

.deploy-commit-subject {
  overflow: hidden;
  color: #1d2939;
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deploy-commit-time {
  color: #667085;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.deploy-commit-empty {
  border-radius: 6px;
  background: #f8fafc;
  color: #667085;
  font-size: 12px;
  font-weight: 850;
  padding: 9px;
}
