/* Análise · Calendário */
.ca-kpis .ta-kpis { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.ca-note p { font-size: 13px; color: var(--text-sec); line-height: 1.55; max-width: 90ch; }
.ca-note .ca-note-2 { margin-top: 8px; }
.ca-note { border-left: 3px solid var(--rose); }

.ca-heatwrap { overflow-x: auto; }
/* Schraffur auch bei Zellen mit Wert 0 (charts.heat setzt dort inline background:transparent) */
.ca-heatwrap .ta-heat-cell.is-closed { background-image: repeating-linear-gradient(135deg, transparent 0 4px, rgba(255, 255, 255, .10) 4px 5px) !important; }
.ca-heat-axis { font-size: 11px; color: var(--text-muted); padding: 0 0 2px 2px; }
.ca-heat-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; font-size: 12px; color: var(--text-muted); }
.ca-heat-ramp { width: 96px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, color-mix(in srgb, var(--rose) 6%, var(--bg-panel)), color-mix(in srgb, var(--rose) 88%, var(--bg-panel))); }
.ca-heat-hatch-wrap { display: inline-flex; align-items: center; gap: 6px; }
.ca-heat-hatch { width: 14px; height: 14px; border-radius: 3px; background-color: var(--bg-raised); background-image: repeating-linear-gradient(135deg, transparent 0 4px, rgba(255, 255, 255, .10) 4px 5px); border: 1px solid var(--border); }

.ca-sub-title { font-size: 12px; font-weight: 600; color: var(--text-sec); margin: 18px 0 6px; }
.ca-bycal { margin-top: 16px; max-width: 760px; }
.ca-st-note { font-size: 12px; color: var(--text-muted); margin-top: 14px; max-width: 90ch; }

.ca-sync { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ca-sync-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ca-sync-confirm { background: var(--bg-raised); border: 1px solid var(--rose-line); border-radius: 8px; padding: 12px 14px; font-size: 13px; color: var(--text-sec); max-width: 70ch; display: flex; flex-direction: column; gap: 10px; }
.ca-sync-confirm[hidden] { display: none; }
.ca-sync-msg { font-size: 13px; color: var(--text-sec); }
.ca-sync-msg.is-ok { color: var(--ok); }
.ca-sync-msg.is-err { color: var(--err); }
