/* Přehled: zaoblený styl záložek Souhrn / Grafy a výkazy (mobil i počítač) a nový Souhrn na telefonu. */

/* přepínač Souhrn | Grafy a výkazy */
.overview-wrap .ov-tabs {
  margin: 12px 16px 4px;
  padding: 3px;
  border-radius: 14px;
  gap: 2px;
}
.overview-wrap .ov-tabs .segment { border-radius: 11px; min-height: 36px; }

/* karty a skupiny na Přehledu (včetně Grafů) mají stejné zaoblení */
.overview-wrap .card,
.overview-wrap .card-group,
.overview-wrap .stat-card,
.overview-wrap .rp-details,
.overview-wrap .active-job-card { border-radius: 16px; }
.overview-wrap .rp-chip { border-radius: 18px; }

/* ===== Souhrn na telefonu ===== */
.ov-shorts { display: flex; padding: 14px 12px 0; gap: 4px; }
.ov-short {
  flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: none; color: var(--text-secondary); font-size: 12px; cursor: pointer; padding: 0;
}
.ov-short-ico {
  width: 54px; height: 54px; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.ov-short-ico svg { width: 24px; height: 24px; }
.ov-short-ico.green { background: var(--green); }
.ov-short-ico.red { background: var(--red); }
.ov-short-ico.blue { background: var(--blue); }
.ov-short-ico.purple { background: var(--purple); }

.ov-label {
  padding: 18px 20px 6px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; color: var(--text-tertiary);
}
.ov-card {
  margin: 0 16px; padding: 14px 16px;
  background: var(--bg-secondary); border-radius: 16px;
}
.ov-att { padding: 0 16px; }
.ov-att-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 0.5px solid var(--separator); cursor: pointer; }
.ov-att-row:last-child { border-bottom: none; }
.ov-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ov-att-text { flex: 1; min-width: 0; font-size: 15px; }
.ov-att-text small { display: block; font-size: 12px; color: var(--text-tertiary); margin-top: 2px; }
.ov-att-sum { font-size: 14px; color: var(--text-tertiary); white-space: nowrap; }
.ov-chev { color: var(--text-quaternary); font-size: 20px; }

.ov-stats { display: flex; gap: 10px; }
.ov-stat { flex: 1; min-width: 0; }
.ov-stat[data-go] { cursor: pointer; }
.ov-stat-l { font-size: 12px; color: var(--text-tertiary); }
.ov-stat-v { font-size: 17px; font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ov-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 12px; border-top: 0.5px solid var(--separator);
}
.ov-foot small { font-size: 11px; color: var(--text-tertiary); margin-left: 6px; }
.ov-foot .ph-pill { margin-top: 0; }
.ov-unpaid { background: none; border: none; color: var(--text-secondary); font: inherit; font-size: 13px; cursor: pointer; padding: 0; }
.ov-unpaid b { color: var(--orange); }

/* na širokém displeji se Souhrn nerozlévá přes celou šířku */
.overview-wrap #ovBody { max-width: 760px; margin: 0 auto; }
