/* ── Özet view ── */
.oview {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* period selector */
.oview .period-row {
  display: flex;
  gap: 6px;
}
.oview .period-btn {
  flex: 1;
  padding: 8px 0;
  background: var(--bg2);
  border: 1px solid var(--bd);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--tx2);
  cursor: pointer;
  font-family: var(--fn);
  transition: all .15s;
  text-align: center;
}
.oview .period-btn:hover { border-color: var(--bl); color: var(--bl); }
.oview .period-btn.on    { border-color: var(--bl); background: var(--bl2); color: var(--bl); }

/* insight card */
.oview .icard {
  background: var(--bg2);
  border: 1px solid var(--bd);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  animation: fadeUp .3s ease both;
  position: relative;
  overflow: hidden;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.oview .icard::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  border-radius: 14px 0 0 14px;
}
.oview .icard.trend    ::before { background: var(--bl); }
.oview .icard.positive::before  { background: var(--gr); }
.oview .icard.negative::before  { background: var(--rd); }
.oview .icard.warning::before   { background: var(--am); }
.oview .icard.neutral::before   { background: var(--tx2); }

.oview .icard-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.oview .icard.trend    .icard-icon { background: var(--bl2); }
.oview .icard.positive .icard-icon { background: var(--gr2); }
.oview .icard.negative .icard-icon { background: var(--rd2); }
.oview .icard.warning  .icard-icon { background: var(--am2); }
.oview .icard.neutral  .icard-icon { background: rgba(113,118,123,.12); }

.oview .icard-body { flex: 1; min-width: 0; }

.oview .icard-cat {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.oview .icard.trend    .icard-cat { color: var(--bl); }
.oview .icard.positive .icard-cat { color: var(--gr); }
.oview .icard.negative .icard-cat { color: var(--rd); }
.oview .icard.warning  .icard-cat { color: var(--am); }
.oview .icard.neutral  .icard-cat { color: var(--tx2); }

.oview .icard-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--tx);
  font-weight: 500;
}

.oview .icard-stat {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.oview .stat-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--bg3);
  color: var(--tx2);
}
.oview .stat-pill.up   { color: var(--gr); background: var(--gr2); }
.oview .stat-pill.down { color: var(--rd); background: var(--rd2); }
.oview .stat-pill.warn { color: var(--am); background: var(--am2); }
.oview .stat-pill.info { color: var(--bl); background: var(--bl2); }

/* empty / loading */
.oview .stat-pill.ozet-link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.empty-state { /* <--- You were missing this line! */
  text-align: center;
  padding: 48px 0;
  color: var(--tx2);
  font-size: 13px;
  line-height: 1.8;
}