/* Přehled času jako v Clockify (f2/time-overview.js): obrazovka Čas, mezi stopkami a výkazy */
.tov { margin-bottom: 16px; min-width: 0; }
.tov svg { flex: none; }
.tov-head { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.tov-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; flex: 1 1 auto; min-width: 0; }
.tov-title h3 { display: flex; align-items: center; gap: 8px; margin: 0; }
.tov-title h3 svg { width: 18px; height: 18px; color: var(--primary); }
.tov-ctl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.tov-ctl .chip { max-width: 220px; }
.tov-nav { display: flex; align-items: center; gap: 4px; }
.tov-empty { display: flex; align-items: center; gap: 10px; padding: 18px 16px; }
.tov-empty svg { width: 20px; height: 20px; }
.tov-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.tov-stats .pstat { min-width: 0; }
.tov-cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.tov-col { padding: 12px 16px 14px; min-width: 0; }
.tov-col + .tov-col { border-left: 1px solid var(--border); }
.tov-h4 { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.tov-h4 svg { width: 15px; height: 15px; }
.tov-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 6px 0; }
.tov-row--item { padding-left: 22px; }
.tov-col:last-child .tov-row--item { padding-left: 0; }
.tov-row--group { cursor: pointer; list-style: none; font-weight: 600; border-top: 1px solid var(--border); padding-top: 8px; }
.tov-group:first-of-type > .tov-row--group { border-top: 0; }
.tov-row--group::-webkit-details-marker { display: none; }
.tov-row--group:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.tov-name { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tov-name a { color: inherit; text-decoration: none; } .tov-name a:hover { text-decoration: underline; }
.tov-name .sq { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.tov-name .label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tov-caret { width: 16px; height: 16px; color: var(--muted); transition: transform .15s; }
.tov-group:not([open]) .tov-caret { transform: rotate(-90deg); }
.tov-val { display: inline-flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tov-val .muted { font-size: 12px; font-weight: 400; min-width: 36px; text-align: right; }
.tov-row--group .tov-val b { font-weight: 700; }
.tov-bar { grid-column: 1 / -1; height: 5px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.tov-bar i { display: block; height: 100%; border-radius: 99px; background: var(--primary); }
.tov-hint { margin: 10px 0 0; }
.tov-foot { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; padding: 8px 12px; border-top: 1px solid var(--border); }
.tov-foot:empty { display: none; }
@media (max-width: 768px) {
  .tov-cols { grid-template-columns: minmax(0, 1fr); }
  .tov-col + .tov-col { border-left: 0; border-top: 1px solid var(--border); }
  .tov-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px; }
  .tov-head, .tov-col { padding-left: 12px; padding-right: 12px; }
  .tov-ctl { width: 100%; }
  .tov-nav { width: 100%; justify-content: space-between; }
  .tov-nav [data-now] { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 420px) {
  .tov-amt { display: none; } /* on narrow phones only hours and share; the money stays in the tiles */
  .tov-row--item { padding-left: 12px; }
}

/* Split-entry editor (assets/js/tm/items-editor.js) */
.ie-rows { display: flex; flex-direction: column; gap: 6px; }
.ie-row { display: flex; align-items: center; gap: 6px; }
.ie-row .ie-pick { flex: 1; min-width: 0; justify-content: flex-start; }
.ie-row .ie-pick .ellipsis { flex: 1; text-align: left; }
.ie-row .ie-num { width: 72px; flex: none; }
.ie-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ie-foot + .hint { margin-top: 6px; }

/* currency inputs: typed value upper-case, placeholder text as written */
.cur-inp { text-transform: uppercase; } .cur-inp::placeholder { text-transform: none; }
.inp-suffix span { white-space: nowrap; }
