/* Tagesueberblick nach dem Claude-Design-Entwurf (Tagesueberblick.dc.html). Werte 1:1 aus dem Entwurf. */
.ov-page { display: flex; flex-direction: column; gap: 24px; }
.ov-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.ov-head h1 { margin: 0; font: 400 clamp(34px, 4vw, 52px)/1 var(--serif); letter-spacing: -.015em; }
.ov-ctl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ov-daynav { display: flex; align-items: center; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.ov-daynav .nb { width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.ov-daynav .nb .ic { font-size: 18px; }
.ov-daynav .nb:disabled { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .ov-daynav .nb:hover:not(:disabled) { background: var(--surface-2); } }
.ov-daynav .lbl { position: relative; min-width: 90px; height: 34px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; text-align: center; font-weight: 700; border-radius: 9px; cursor: pointer; font-variant-numeric: tabular-nums; }
.ov-daynav .lbl input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; border: 0; padding: 0; }
@media (hover: hover) and (pointer: fine) { .ov-daynav .lbl:hover { background: var(--surface-2); } }
.ov-locs { display: flex; gap: 2px; background: var(--surface-2); border-radius: 12px; padding: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.ov-locs button { height: 34px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; font: 600 14px/1 var(--sans); color: var(--ink); cursor: pointer; white-space: nowrap; }
.ov-locs button.on { background: var(--surface); box-shadow: 0 1px 3px rgba(46, 44, 41, .12); }

.ov-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.ov-kpi { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.ov-kpi.bad { background: #F8E9E4; color: var(--bad); border-color: #EFCFC5; }
.ov-kpi .l { font: 600 12px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.ov-kpi .vv { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.ov-kpi .vv b { font: 400 40px/1 var(--serif); font-variant-numeric: tabular-nums; }
.ov-kpi .vv span { font-size: 13px; opacity: .75; }

.ov-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 1180px) { .ov-cols { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.ov-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ov-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; min-width: 0; }
.ov-card.pad { padding: 18px 20px; }
.ov-sec { display: flex; align-items: center; gap: 8px; font: 600 12px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.ov-sec .ic { font-size: 14px; }
.ov-card > .ov-sec { padding: 18px 20px 12px; }
.ov-sec-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ov-count { font-size: 13px; color: var(--text-2); }

/* Wer war da */
.ov-row { padding: 14px 20px; border-top: 1px solid #EAE3D6; display: flex; flex-direction: column; gap: 10px; }
.ov-row .top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ov-row .av { width: 38px; height: 38px; font-size: 12px; font-weight: 700; }
.ov-row .nm { flex: 1; min-width: 140px; }
.ov-row .nm b { display: block; font-weight: 600; }
.ov-row .nm span { display: block; font-size: 13px; color: var(--text-3); }
.ov-row .nums { display: flex; gap: 18px; font-size: 14px; font-variant-numeric: tabular-nums; }
.ov-row .nums small { display: block; font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.ov-row .pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); font: 700 13px/1.2 var(--sans); white-space: nowrap; }
.ov-row .pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.ov-row .pill.ok { background: #EEF3E8; color: #4A6630; }
.ov-row .pill.bad { background: #F8E9E4; color: var(--bad); }
.ov-row .pill.wait { background: #FAF0E3; color: #8A5A24; }
.ov-row .pills { display: flex; flex-wrap: wrap; gap: 6px; }
.ov-track { position: relative; height: 14px; border-radius: 7px; background: #F2EDE4; }
.ov-track .plan { position: absolute; top: 0; bottom: 0; border-radius: 7px; border: 1.5px dashed #C9BBA5; }
.ov-track .ist { position: absolute; top: 3px; bottom: 3px; border-radius: 5px; background: #5F7F40; }
.ov-track .ist.run { background: #9CC27A; }
.ov-row.open .nm b { color: var(--text-3); }
.ov-axis { display: flex; justify-content: space-between; padding: 8px 20px 14px; font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.ov-empty { padding: 4px 20px 20px; font-size: 14px; color: var(--text-3); }

/* Uebergabe-Notizen */
.ov-note { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: #FDF3EA; font-size: 15px; text-wrap: pretty; white-space: pre-line; overflow-wrap: anywhere; }
.ov-note span { display: block; font-size: 13px; color: var(--text-3); margin-top: 6px; white-space: normal; }
.ov-quiet { margin-top: 12px; font-size: 14px; color: var(--text-3); }

/* Fehlt-Meldungen */
.ov-f { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #EAE3D6; }
.ov-f .ckc { width: 24px; height: 24px; border-radius: 50%; flex: none; border: 1.5px solid #C9BBA5; background: transparent; color: var(--surface); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: background-color 150ms ease, border-color 150ms ease; }
.ov-f .ckc .ic { font-size: 12px; stroke-width: 3; }
.ov-f.done .ckc { background: #5F7F40; border-color: #5F7F40; }
.ov-f .what { flex: 1; min-width: 0; }
.ov-f .what b { font-weight: 600; }
.ov-f.done .what { text-decoration: line-through; color: var(--text-3); }
.ov-f .when { font-size: 12px; color: var(--text-3); white-space: nowrap; }
.ov-f .tag { margin-left: 6px; }

@media (max-width: 767px) {
  .ov-ctl { width: 100%; }
  .ov-locs { flex: 1 1 100%; }
  .ov-row { padding: 14px 16px; }
  .ov-card > .ov-sec { padding: 18px 16px 12px; }
  .ov-axis { padding: 8px 16px 14px; }
}
