/* TagMate Grafy v1: CSS-only figures, no external chart libraries, no layout shifts. */
.tagmate-chart{--tagmate-chart-accent:#e11d2e;clear:both;max-width:100%;box-sizing:border-box;margin:1.7em 0;padding:18px 20px;border:1px solid #e5e7eb;background:#fff;color:#1f2937;font-family:inherit;font-size:14px;line-height:1.5}
.tagmate-chart *, .tagmate-chart *::before,.tagmate-chart *::after{box-sizing:border-box}
.tagmate-chart__title{font-size:1.13em;line-height:1.35;font-weight:750;color:inherit;margin-bottom:16px;border-left:4px solid var(--tagmate-chart-accent);padding-left:10px}
.tagmate-chart--paper{background:#faf8f3;border-color:#e2dacf}
.tagmate-chart--card{border-radius:9px;box-shadow:0 8px 25px rgba(15,23,42,.06)}
.tagmate-chart--stripe{border:0;border-left:5px solid var(--tagmate-chart-accent);background:#f8fafc}
.tagmate-chart--dark{background:#192230;color:#f8fafc;border-color:#334155;border-radius:5px}
.tagmate-chart--frameless{background:transparent;border:0;padding:10px 0}
.tagmate-chart__bars{display:grid;gap:10px}
.tagmate-chart__row{display:grid;grid-template-columns:minmax(100px,28%) minmax(0,1fr);align-items:center;gap:12px}
.tagmate-chart__label{font-size:13px;font-weight:650;overflow-wrap:anywhere}
.tagmate-chart__group{display:grid;gap:4px;min-width:0}
.tagmate-chart__barline{display:flex;align-items:center;gap:9px;min-width:0}
.tagmate-chart__track{position:relative;height:16px;flex:1;min-width:0;background:rgba(148,163,184,.15);border-radius:2px;overflow:hidden}
.tagmate-chart__fill{height:100%;min-width:0;border-radius:2px}
.tagmate-chart__value{font-size:12px;white-space:nowrap;min-width:50px;text-align:right;font-variant-numeric:tabular-nums;font-weight:700}
.tagmate-chart__donut-wrap{display:flex;align-items:center;gap:28px}
.tagmate-chart__donut{position:relative;flex:0 0 auto;width:min(42%,210px);aspect-ratio:1/1;border-radius:50%}
.tagmate-chart__donut::after{content:"";position:absolute;inset:27%;background:#fff;border-radius:50%}
.tagmate-chart--dark .tagmate-chart__donut::after{background:#192230}
.tagmate-chart__legend{list-style:none!important;padding:0!important;margin:0!important;min-width:0;flex:1}
.tagmate-chart__legend li{display:flex;align-items:center;gap:7px;margin:5px 0;overflow-wrap:anywhere}
.tagmate-chart__legend b{margin-left:auto;white-space:nowrap}
.tagmate-chart__key{width:11px;height:11px;display:inline-block;flex:0 0 11px;border-radius:2px}
.tagmate-chart__line-wrap{width:100%;min-height:190px}
.tagmate-chart__line-wrap svg{display:block;width:100%;height:230px;overflow:visible}
.tagmate-chart__grid{stroke:currentColor;opacity:.12;stroke-width:1}
.tagmate-chart__line-labels{display:flex;justify-content:space-between;margin-left:6%;font-size:12px;color:inherit;opacity:.8}
.tagmate-chart__series-legend{display:flex;flex-wrap:wrap;gap:8px 15px;margin-top:12px;font-size:12px}
.tagmate-chart__series-legend span{display:inline-flex;align-items:center;gap:6px}.tagmate-chart__series-legend i{display:inline-block;width:11px;height:11px}
.tagmate-chart__source{font-size:11px;line-height:1.5;margin-top:12px;color:inherit;opacity:.75;overflow-wrap:anywhere}
.tagmate-chart__source a{color:inherit;text-decoration:underline}
.tagmate-chart__details{margin-top:14px;font-size:12px}
.tagmate-chart__details summary{cursor:pointer;font-weight:600;color:inherit}
.tagmate-chart__table-scroll{overflow-x:auto;max-width:100%}
.tagmate-chart__table-scroll table{border-collapse:collapse;width:100%;margin-top:8px;font-size:12px;color:inherit}
.tagmate-chart__table-scroll td,.tagmate-chart__table-scroll th{text-align:left;padding:6px 8px;border-bottom:1px solid rgba(148,163,184,.35)}
@media(max-width:600px){.tagmate-chart{padding:14px;margin:1.2em 0}.tagmate-chart__row{grid-template-columns:1fr;gap:3px}.tagmate-chart__barline{gap:6px}.tagmate-chart__value{min-width:46px}.tagmate-chart__donut-wrap{flex-direction:column;gap:8px}.tagmate-chart__donut{width:min(65%,200px)}.tagmate-chart__legend{width:100%}.tagmate-chart__line-wrap svg{height:195px}}

.tagmate-chart__columns{display:flex;gap:10px;align-items:stretch;overflow-x:auto;padding:8px 2px 4px;max-width:100%;min-height:245px}
.tagmate-chart__column-set{display:flex;flex:1 0 42px;min-width:48px;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px}
.tagmate-chart__column-bars{display:flex;gap:3px;align-items:flex-end;justify-content:center;width:100%;height:188px;border-bottom:1px solid rgba(148,163,184,.45)}
.tagmate-chart__column-bar{min-width:5px;max-width:45px;flex:1;position:relative}
.tagmate-chart__column-label{text-align:center;font-size:11px;font-weight:600;line-height:1.25;overflow-wrap:anywhere;max-width:100%}

/* Backup for themes/auto-linkers: data inside charts must look like data, not links.
   The source citation below the chart remains a real link. */
.tagmate-chart :is(.tagmate-chart__title,.tagmate-chart__bars,.tagmate-chart__columns,.tagmate-chart__legend,.tagmate-chart__line-wrap,.tagmate-chart__series-legend,.tagmate-chart__details) a {
    color:inherit!important;
    font-weight:inherit!important;
    text-decoration:none!important;
    border-bottom:0!important;
    cursor:inherit!important;
    pointer-events:none!important;
}

/* Verzia 2.3.17: prehľadné rozdelenie všetkých 150 parlamentných kresiel.
   Flexibilná mriežka má pevné proporcie a žiadne externé JS či fonty. */
.tagmate-chart__seats-intro{font-size:12px;margin:0 0 12px!important;opacity:.85}
.tagmate-chart__seats-grid{display:grid;grid-template-columns:repeat(25,minmax(0,1fr));gap:4px;width:min(100%,540px);margin:0 auto 16px;min-height:56px}
.tagmate-chart__seat{display:block;width:100%;aspect-ratio:1/1;border-radius:3px;min-width:0}
.tagmate-chart__seats-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px;list-style:none!important}
.tagmate-chart__seats-legend li{min-width:0}
@media(max-width:600px){.tagmate-chart__seats-grid{grid-template-columns:repeat(15,minmax(0,1fr));max-width:390px;gap:3px;min-height:80px}.tagmate-chart__seats-legend{grid-template-columns:1fr}}
