.year-view-switch{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 28px}
.year-view-switch [aria-pressed=true]{background:var(--blue);color:white;border-color:var(--blue)}
.year-timeline{margin-bottom:42px}.year-timeline .section-head{margin-bottom:16px}
.timeline-legend{display:flex;gap:12px 24px;flex-wrap:wrap;margin-bottom:12px;font-size:14px}
.timeline-legend span{display:inline-flex;gap:9px;align-items:center}
.legend-line{display:inline-block;width:30px;height:10px;border-radius:3px}
.legend-line.concrete{background:var(--blue)}.legend-line.preview{background:#F5EBD8;border:1px dashed var(--ochre)}
.legend-occasion{display:inline-block;width:1px;height:17px;background:#A28C72}
.timeline-count{margin:15px 0 5px}.timeline-scroll-hint{margin-bottom:12px}
.timeline-page{max-width:1760px}
.timeline-scroll{max-height:820px;overflow:auto;border:1px solid var(--line);border-radius:6px;background:var(--paper);isolation:isolate;scroll-padding-top:120px;scroll-padding-left:320px}
.timeline-chart{min-width:1230px}.timeline-heading,.timeline-row{display:grid;grid-template-columns:320px minmax(0,1fr);width:100%;align-items:center}
.timeline-heading{position:sticky;top:0;z-index:3;background:var(--paper);border-bottom:2px solid var(--line);min-height:114px}
.timeline-heading>div{padding:12px 16px;position:sticky;left:0;background:var(--paper);height:100%;z-index:2;font-size:14px}
.timeline-heading span{display:block;font-size:12px;color:var(--muted)}
.timeline-axis{display:block;width:100%;height:114px}
.timeline-heading>.timeline-axis-wrap{position:relative;left:auto;padding:0;height:114px;z-index:1;background:transparent}
.timeline-heading .timeline-axis-label{position:absolute;transform:translateX(-50%);white-space:nowrap;line-height:1.2;pointer-events:none}
.timeline-heading .timeline-month-label{font:600 15px/1.2 'Source Sans 3',sans-serif;color:var(--ink)}
.timeline-heading .timeline-week-label{font:400 11px/1.2 'Source Sans 3',sans-serif;color:var(--muted)}
.timeline-heading .timeline-occasion-label{font:600 12px/1.2 'Source Sans 3',sans-serif;color:#805026;background:var(--paper);padding:0 3px}
.timeline-occasion-line{stroke:#A28C72;stroke-width:1.1;stroke-dasharray:3 4;opacity:.85;pointer-events:none;vector-effect:non-scaling-stroke}
.timeline-heading .timeline-heading-key{margin-top:12px;color:#805026}
.timeline-row{padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;text-align:left;color:var(--ink);background:var(--paper);min-height:92px;position:relative}
.timeline-row:hover{background:#EDF1F6}.timeline-row:hover .timeline-label{background:#EDF1F6}
.timeline-row:focus-visible{outline:2px solid var(--blue);outline-offset:-2px;box-shadow:none!important;z-index:2}
.timeline-label{position:sticky;left:0;padding:11px 12px;background:var(--paper);z-index:1;border-right:1px solid var(--line);align-self:stretch;display:flex;gap:12px;align-items:center}
.timeline-label-text{display:flex;flex-direction:column;min-width:0}
.timeline-thumb{width:60px;height:62px;flex:0 0 60px;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--muted)}
.timeline-thumb img{width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}
.timeline-label strong{font-size:15px;line-height:1.25}.timeline-label small{font-size:12px;color:var(--muted);line-height:1.35;margin-top:4px}.timeline-label .timeline-unit-warning{color:var(--error)}
.timeline-track{position:absolute;left:320px;top:0;width:calc(100% - 320px);height:100%;min-height:90px;display:block;overflow:visible}
.timeline-month-shade{fill:#F2EEE5;opacity:.5}.timeline-grid-line{stroke:#DDD5C8;stroke-width:1}
.timeline-bar{fill:var(--blue)}.timeline-bar-preview{fill:#F5EBD8;stroke:var(--ochre);stroke-width:1.2;stroke-dasharray:4 3}
.timeline-quarter-edge{stroke:var(--ochre);stroke-width:1.3;stroke-dasharray:2 3}
.timeline-no-result{padding:24px;margin:0}
@media(max-width:620px){.timeline-track{left:230px;width:calc(100% - 230px)}}
@media print{.timeline-track{left:180px;width:calc(100% - 180px)}}
#timelineDialog{width:min(1760px,calc(100vw - 24px));max-height:96dvh;padding:18px}
.timeline-window-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px}
.timeline-window-toolbar h2{margin:0;font-size:21px}
#timelineDialog .timeline-scroll{max-height:calc(96dvh - 100px)}
@media(max-width:620px){.timeline-chart{min-width:1140px}.timeline-heading,.timeline-row{grid-template-columns:230px minmax(0,1fr)}.timeline-label{padding:10px 8px;gap:8px}.timeline-thumb{width:44px;height:48px;flex-basis:44px}.timeline-label strong{font-size:13px}.timeline-label small{font-size:11px}.timeline-scroll{max-height:690px;scroll-padding-left:230px}.timeline-heading>div{padding:12px 10px}.timeline-legend{font-size:13px}.timeline-window-toolbar{align-items:flex-start}.timeline-window-toolbar h2{font-size:17px}#timelineDialog{padding:10px}}
@media print{.year-view-switch,.timeline-scroll-hint{display:none}.timeline-scroll{overflow:visible;max-height:none}.timeline-chart{min-width:0}.timeline-heading,.timeline-row{grid-template-columns:180px 1fr;break-inside:avoid}.timeline-row{display:grid!important}.timeline-label,.timeline-heading{position:static}.timeline-track{min-height:65px}}
/* Kopf des Lieferverlaufs: Trefferzahl, Oster-Hinweis und große Ansicht in einer Zeile */
.timeline-meta{display:flex;align-items:center;gap:4px 22px;flex-wrap:wrap;margin:14px 0 12px}
.timeline-meta p{margin:0}.timeline-meta .text-link{margin-left:auto;min-height:36px;padding:4px 0}
.timeline-scroll-hint{display:none}
@media(max-width:620px){.timeline-scroll-hint{display:block}.timeline-meta .text-link{margin-left:0}}
