/* Analýza (#267 C): stacked bar charts and channel table. Uses dashboard tokens. */
.analysis-card{display:flex;flex-direction:column;gap:10px;min-width:0}
.analysis-card-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px}
.analysis-card-head h3{margin:0}
.analysis-summary{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:13px;color:var(--muted)}
.analysis-summary b{color:var(--text);font-variant-numeric:tabular-nums}
.analysis-controls{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:6px}
.analysis-seg{display:inline-flex;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--panel)}
.analysis-seg button{border:0;background:transparent;color:var(--text);padding:6px 11px;font-size:13px;font-weight:650;min-height:36px}
.analysis-seg button+button{border-left:1px solid var(--line)}
.analysis-seg button[aria-pressed="true"]{background:var(--accent);color:#fff}
.analysis-legend{display:flex;flex-wrap:wrap;gap:6px}
.analysis-legend button{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:999px;padding:4px 10px;font-size:12.5px;font-weight:650;min-height:32px}
.analysis-legend button[aria-pressed="false"]{opacity:.5;text-decoration:line-through}
.analysis-swatch{display:inline-block;width:10px;height:10px;border-radius:3px;flex:none;margin-right:6px;vertical-align:-1px}
.analysis-legend .analysis-swatch{margin-right:0}
.analysis-chart{position:relative;margin-top:6px}
.analysis-chart svg{display:block;max-width:100%;height:auto}
.analysis-grid{stroke:#ece6e0;stroke-width:1}
.analysis-axis{fill:var(--muted);font:11px Inter,ui-sans-serif,system-ui,sans-serif}
.analysis-hit{fill:transparent;cursor:pointer}
.analysis-hit:hover{fill:rgba(31,41,55,.05)}
.analysis-partial{fill:none;stroke:var(--text);stroke-width:1;stroke-dasharray:3 2;opacity:.55}
.analysis-tooltip{position:absolute;top:0;z-index:5;pointer-events:none;background:#2b2230;color:#fff;border-radius:10px;padding:8px 10px;font-size:12.5px;line-height:1.5;min-width:190px;max-width:min(280px,100%);box-shadow:0 8px 24px rgba(0,0,0,.18)}
.analysis-tooltip b{display:block;margin-bottom:2px}
.analysis-tip-row{display:flex;justify-content:space-between;gap:12px;font-variant-numeric:tabular-nums}
.analysis-tip-row span:first-child{display:inline-flex;align-items:center}
.analysis-tip-total{border-top:1px solid rgba(255,255,255,.25);margin-top:3px;padding-top:3px;font-weight:700}
.analysis-tip-extra{color:#e6dcea}
.analysis-empty{margin:8px 0;color:var(--muted)}
.analysis-error{color:var(--bad)}
.analysis-note{margin:0;font-size:12.5px;color:var(--muted);line-height:1.5}
.analysis-values summary{cursor:pointer;font-size:13px;color:var(--muted);font-weight:650;min-height:32px;display:flex;align-items:center}
.analysis-table-scroll{overflow-x:auto;max-width:100%}
.analysis-table{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.analysis-table th,.analysis-table td{padding:7px 8px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.analysis-table thead th{font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.analysis-table .num{text-align:right;white-space:nowrap}
.analysis-table small{display:block;color:var(--muted);font-size:11.5px}
.analysis-share-table tbody th{font-weight:650}
.analysis-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:560px){
  .analysis-hide-narrow{display:none}
  .analysis-table th,.analysis-table td{padding:7px 5px}
  .analysis-seg button{padding:6px 9px}
}

/* Dnes / Analýza: some reports failed even after the automatic retry. */
.report-retry-notice{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  margin:0 0 12px;padding:10px 14px;
  border:1px solid #f0d2cc;border-radius:12px;background:#fff0ee;color:var(--bad);
}
.report-retry-notice p{margin:0;min-width:0;flex:1 1 240px;font-size:13.5px;line-height:1.45}
.report-retry-notice span{color:#7a3b32}
.report-retry-notice .btn{flex:0 0 auto;min-height:38px}
@media (max-width:560px){.report-retry-notice .btn{width:100%}}
