/* 소개사이트 방문통계 모달 (2026-07-21) — company_intro_sites/stats_modal + intro-stats 컨트롤러 */

.ists { padding: 4px 2px 2px; }

.ists-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; margin-bottom: 14px;
}
.ists-presets { display: flex; gap: 4px; }
.ists-preset {
  padding: 6px 12px; border: 1px solid #e5e7eb; border-radius: 8px;
  background: #fff; color: #4b5563; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.ists-preset:hover { background: #f9fafb; }
.ists-preset.is-active { background: #3e6187; border-color: #3e6187; color: #fff; }
.ists-range { display: flex; align-items: center; gap: 6px; }
.ists-date {
  padding: 5px 8px; border: 1px solid #d1d5db; border-radius: 8px;
  font-size: 12.5px; background: #fff; color: #374151;
}
.ists-tilde { font-size: 12px; color: #9ca3af; }

.ists-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px;
}
.ists-kpi {
  background: #f8fafc; border: 1px solid #eef2f6; border-radius: 12px;
  padding: 12px 10px; text-align: center; min-width: 0;
}
.ists-kpi-label { font-size: 11.5px; color: #6b7280; margin-bottom: 4px; }
.ists-kpi-value { font-size: 20px; font-weight: 800; color: #1f2937; }
.ists-kpi:first-child .ists-kpi-value { color: #3e6187; }

.ists-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 14px 14px 12px; margin-bottom: 10px; min-width: 0;
}
.ists-card-title { font-size: 13px; font-weight: 700; color: #374151; margin: 0 0 10px; }
.ists-canvas-wrap { position: relative; height: 180px; min-width: 0; }
.ists-canvas-daily { height: 210px; }

.ists-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ists-nodata { padding: 40px 0; text-align: center; font-size: 12.5px; color: #9ca3af; }

.ists-note { margin: 10px 2px 0; font-size: 11.5px; color: #9ca3af; }

@media (max-width: 640px) {
  .ists-kpis { grid-template-columns: repeat(2, 1fr); }
  .ists-row2 { grid-template-columns: 1fr; }
}
