/* Zakupowiec TGE live — style podstrony. Wspólne elementy (czcionka, nagłówek, przyciski, stopka) pochodzą ze styles.css. */
/* Paleta z projektu Figma „Zakupowiec TGE live”, wspólna dla desktopu i mobile. */
.tl-page{--tl-up:#b93d0c;--tl-up-bg:#fdede4;--tl-down:#0b7a5e;--tl-down-bg:#e1f4ec;--tl-ink:#111415;--tl-dark:#151515;--tl-bg:#fbfefe;--tl-white:#fff;--tl-pale:#eaf7f9;--tl-line:#d1e0e3;--tl-cyan:#24cbd8;--tl-teal:#198f9c;--tl-tealText:#087582;--tl-muted:#465155;--tl-green:#e7f5d9;--tl-demo:#ffe066;background:var(--tl-bg);color:var(--tl-ink)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Pas tytułowy: słonecznik mnożony z cyjanem jak na stronie głównej; przezroczysty nagłówek leży na nim. */
.tl-hero{background:#26d7e5 url('assets/hero-sunflower.webp') center 42%/cover;background-blend-mode:multiply;color:#fff;padding:150px 0 0;overflow:hidden}
.tl-hero h1{margin:0 0 20px;font-size:clamp(44px,6.2vw,84px);font-weight:500;letter-spacing:-.05em;line-height:1}
.tl-lead{max-width:680px;margin:0 0 30px;font-size:clamp(16px,1.4vw,19px);line-height:1.6}
.tl-status{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;padding-bottom:34px;font-size:14px}
.tl-status em{font-style:normal;color:#ffe2d3}
.tl-sources{display:flex;flex-wrap:wrap;gap:8px}
.tl-source{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;background:#0000002e;font-size:12.5px}
.tl-source i{width:8px;height:8px;border-radius:50%;background:#bfc8c9}
.tl-source.is-ok i{background:#9ff0b8}.tl-source.is-stale i{background:#ffd27a}.tl-source.is-error i{background:#ff8f7a}.tl-source.is-demo i{background:#ffe066}

.tl-ticker{border-top:1px solid #ffffff4d;background:#0000001f;overflow:hidden;padding:14px 0}
.tl-ticker-track{display:flex;width:max-content;animation:tl-scroll var(--tl-duration,40s) linear infinite}
.tl-ticker-group{display:flex;gap:14px;padding-right:14px}
.tl-pill{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;background:#fbfefe;color:#151515;border:1px solid #151515;box-shadow:5px 5px 0 #0000002e;font-size:15px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.tl-pill b{font-size:12px;letter-spacing:.06em;color:#198f9c}
.tl-pill small{font-size:11px;color:#465155;font-weight:500}
@keyframes tl-scroll{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.tl-ticker-track{animation:none}.tl-ticker-group+.tl-ticker-group{display:none}.tl-ticker{overflow-x:auto}}

.tl-demo-banner{position:sticky;top:0;z-index:40;background:#ffe066;color:#151515;padding:12px 0;font-size:14px;border-bottom:1px solid #151515}
.tl-demo-banner a{text-decoration:underline;font-weight:600;margin-left:6px}
.tl-error{padding:60px 0}
.tl-error-card{padding:36px}
.tl-error-card h2{font-size:28px;margin-bottom:12px}
.tl-error-actions{display:flex;flex-wrap:wrap;align-items:center;gap:22px 30px;margin-top:26px}
.tl-button.button-light{margin-top:0;border-color:#151515}
.tl-link{font-weight:600;border-bottom:2px solid var(--cyan);padding-bottom:3px}

/* Sekcje */
.tl-section{padding:84px 0}
.tl-section-pale{background:#eaf7f9}
.tl-section-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:18px 30px;margin-bottom:30px}
.tl-section-head h2{margin:0;font-size:clamp(28px,3.4vw,46px);font-weight:500}
.tl-eyebrow{display:block;margin-bottom:12px;font-size:12px;font-weight:600;letter-spacing:.12em;color:#198f9c}
.tl-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin:0;font-size:13px;color:#465155}
.tl-legend .tl-change{padding:2px 6px}
.tl-legend>span{display:inline-flex;align-items:center;gap:8px}
.tl-card{background:#fff;border:1px solid #151515;box-shadow:8px 8px 0 #1515151a}
.tl-card+.tl-card{margin-top:28px}
.tl-card-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:14px}
.tl-card-head h3{margin:0;font-size:19px;font-weight:600}
.tl-card-head h3 small{font-size:13px;font-weight:500;color:#465155;margin-left:6px}
.tl-card-head-pad{padding:22px 24px 0}
.tl-key{display:flex;align-items:center;gap:8px;font-size:13px;color:#465155}
.tl-key i{display:inline-block;width:18px;height:0;border-top:3px solid #198f9c}
.tl-key i.k-peak{border-top:3px dashed #151515;margin-left:10px}
.tl-key i.k-work{border-top:3px solid #151515;margin-left:10px}
.tl-key i.k-free{border-top:3px dashed #e08a3c;margin-left:10px}
.tl-empty{margin:0;padding:26px 0;color:#465155;font-size:15px}
.tl-muted{color:#7a8689}
.tl-note{margin:16px 0 0;font-size:14px;color:#465155;max-width:900px}

.tl-change{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;font-size:13px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.tl-change.is-up{color:var(--tl-up);background:var(--tl-up-bg)}
.tl-change.is-down{color:var(--tl-down);background:var(--tl-down-bg)}
.tl-change.is-flat{color:#465155;background:#eef3f4;font-weight:500}

/* Karty „Rynek w pigułce” */
.tl-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.tl-kpi{display:flex;flex-direction:column;padding:22px 22px 20px;min-height:250px}
.tl-kpis .tl-card+.tl-card{margin-top:0}
.tl-kpi.is-loading{background:linear-gradient(100deg,#fff 30%,#eaf7f9 50%,#fff 70%) 0 0/300% 100%;animation:tl-shimmer 1.4s linear infinite;border-color:#d1e0e3}
@keyframes tl-shimmer{to{background-position:-150% 0}}
.tl-kpi-top{display:flex;justify-content:space-between;gap:10px;font-size:12.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#465155}
.tl-kpi-date{color:#198f9c}
.tl-kpi-value{margin:16px 0 10px;font-size:clamp(30px,2.6vw,38px);font-weight:600;letter-spacing:-.03em;line-height:1;font-variant-numeric:tabular-nums}
.tl-kpi-value small{font-size:13px;font-weight:500;letter-spacing:0;color:#465155}
.tl-kpi-change{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12.5px;color:#465155}
.tl-kpi-spark{height:44px;margin:16px 0 14px}
.tl-kpi-help{margin:auto 0 0;padding-top:12px;border-top:1px solid #d1e0e3;font-size:13.5px;line-height:1.5;color:#465155}
.tl-spark{display:block;width:100%;height:100%;overflow:visible}
.tl-spark polyline{fill:none;stroke-width:2;vector-effect:non-scaling-stroke}
.tl-spark.is-up polyline{stroke:var(--tl-up)}.tl-spark.is-up polygon{fill:#b93d0c14}
.tl-spark.is-down polyline{stroke:var(--tl-down)}.tl-spark.is-down polygon{fill:#0b7a5e14}
.tl-spark-empty{font-size:12px;color:#7a8689}


/* Przełączniki */
.tl-controls{display:flex;flex-wrap:wrap;gap:12px}
.tl-segmented{display:inline-flex;border:1px solid #151515;background:#fff}
.tl-segmented button{border:0;background:transparent;padding:10px 16px;font-size:14px;font-weight:600;color:#151515}
.tl-segmented button+button{border-left:1px solid #151515}
.tl-segmented button[aria-pressed="true"]{background:#151515;color:#fff}
.tl-segmented button:disabled{color:#9aa5a7;cursor:not-allowed}
.tl-segmented button:not([aria-pressed="true"]):not(:disabled):hover{background:#eaf7f9}

/* Wykresy */
.tl-chart-card{padding:24px}
.tl-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;margin:-24px -24px 20px;border-bottom:1px solid #d1e0e3}
.tl-stat{display:flex;flex-direction:column;gap:5px;padding:18px 20px;border-right:1px solid #d1e0e3}
.tl-stat:last-child{border-right:0}
.tl-stat>span:first-child{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#465155}
.tl-stat strong{font-size:24px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.tl-stat .tl-change{align-self:flex-start}
.tl-stat-sub{font-size:12.5px;color:#465155}
.tl-stat-date strong{font-size:16px;line-height:1.3}
.tl-chart{position:relative;width:100%;min-height:200px;touch-action:pan-y}
.tl-chart svg{display:block;max-width:100%;height:auto;font-family:Geist,Arial,sans-serif}
.tl-grid{stroke:#e2ecee;stroke-width:1}
.tl-grid.is-zero{stroke:#9aa5a7}
.tl-axis{font-size:11px;fill:#5b676a;font-variant-numeric:tabular-nums}
.tl-line{fill:none;stroke-width:2.2;stroke-linejoin:round}
.tl-area{opacity:.12}
.tl-band{fill:#24cbd8;opacity:.08}
.tl-band-label{font-size:11px;fill:#198f9c;font-weight:600}
.tl-ref{stroke:#151515;stroke-width:1;stroke-dasharray:4 4}
.tl-ref-label{font-size:11px;font-weight:600;fill:#151515;paint-order:stroke;stroke:#fff;stroke-width:4px}
.tl-marker{stroke:#fff;stroke-width:2}
.tl-marker.is-min{fill:var(--tl-down)}.tl-marker.is-max{fill:var(--tl-up)}
.tl-marker-label{font-size:11.5px;font-weight:600;fill:#151515;paint-order:stroke;stroke:#fff;stroke-width:4px}
.tl-cursor{stroke:#151515;stroke-width:1;opacity:.35}
.tl-dots circle{stroke:#fff;stroke-width:2}
.tl-tip{position:absolute;top:0;transform:translateX(-50%);display:grid;gap:3px;padding:9px 12px;background:#151515;color:#fff;font-size:12.5px;pointer-events:none;white-space:nowrap;box-shadow:4px 4px 0 #1515152e}
.tl-tip[hidden]{display:none}
.tl-tip span{display:flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums}
.tl-tip i{width:8px;height:8px;display:inline-block}

/* Tabele kontraktów */
.tl-table-card{padding:0}
.tl-table-wrap{overflow-x:auto}
.tl-table{width:100%;border-collapse:collapse;font-size:14.5px;font-variant-numeric:tabular-nums}
.tl-table thead th{padding:14px 18px;text-align:right;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#465155;border-bottom:1px solid #151515;vertical-align:bottom;line-height:1.3}
.tl-table thead th small{font-weight:500;text-transform:none;letter-spacing:0}
.tl-table thead th:first-child{text-align:left}
.tl-table tbody th,.tl-table td{padding:14px 18px;border-bottom:1px solid #e2ecee;text-align:right;vertical-align:middle}
.tl-table tbody tr:last-child>*{border-bottom:0}
.tl-table tbody tr:hover{background:#f3fafb}
.tl-table tbody th{text-align:left;font-weight:500}
.tl-contract{display:block;font-weight:600}
.tl-code,.tl-cell-sub{display:block;font-size:12px;color:#5b676a;font-weight:500}
.tl-table td strong{font-size:16px}
.tl-trend{width:120px}
.tl-trend .tl-spark{width:96px;height:28px;margin-left:auto}

.tl-gas-grid{display:grid;grid-template-columns:1fr;gap:28px}
.tl-gas-grid>*{min-width:0}
.tl-gas-grid .tl-card+.tl-card{margin-top:0}
.tl-gas-value{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:6px}
.tl-gas-value strong{font-size:40px;font-weight:600;letter-spacing:-.03em;line-height:1.05}
.tl-gas-value small{font-size:13px;color:#465155}
.tl-gas-grid .tl-chart{margin-top:16px}

/* Słownik */
.tl-glossary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;border-top:1px solid #151515;border-left:1px solid #151515}
.tl-glossary div{padding:26px 26px 28px;border-right:1px solid #151515;border-bottom:1px solid #151515}
.tl-glossary dt{margin-bottom:10px;font-size:17px;font-weight:600}
.tl-glossary dd{margin:0;font-size:14.5px;line-height:1.6;color:#465155}

.tl-cta{padding:80px 0}
.tl-cta-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:30px}
.tl-cta h2{margin:0 0 14px;font-size:clamp(28px,3.2vw,42px);font-weight:500}
.tl-cta p{margin:0;max-width:620px;color:#d6dfe0}
.tl-cta .button-light{margin-top:0}
.tl-disclaimer{margin:0;padding:28px 0;font-size:12.5px;line-height:1.6;color:#5b676a;border-bottom:1px solid var(--line)}

/* Tablet */
@media(max-width:1100px){
  .tl-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tl-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tl-stat:nth-child(3n){border-right:0}
  .tl-stat:nth-child(-n+3){border-bottom:1px solid #d1e0e3}
  .tl-glossary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Telefon: tabela zamienia się w karty z podpisami kolumn. */
@media(max-width:767px){
  .tl-hero{padding-top:120px}
  .tl-section{padding:60px 0}
  .tl-kpis{grid-template-columns:1fr;gap:18px}
  .tl-kpi{min-height:0}
  .tl-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tl-stat{padding:14px 16px;border-bottom:1px solid #d1e0e3}
  .tl-stat:nth-child(3n){border-right:1px solid #d1e0e3}
  .tl-stat:nth-child(2n){border-right:0}
  .tl-stat strong{font-size:20px}
  .tl-chart-card{padding:18px}
  .tl-stats{margin:-18px -18px 16px}
  .tl-controls,.tl-segmented{width:100%}
  .tl-segmented button{flex:1;padding:10px 8px}
  .tl-table thead{display:none}
  .tl-table,.tl-table tbody,.tl-table tr,.tl-table tbody th,.tl-table td{display:block}
  .tl-table tr{display:grid;grid-template-columns:1fr 1fr;column-gap:16px;padding:16px 18px;border-bottom:1px solid #d1e0e3}
  .tl-table tbody tr:last-child{border-bottom:0}
  .tl-table tbody th{grid-column:1/-1;padding:0 0 10px;border:0}
  .tl-table td{display:flex;flex-direction:column;align-items:flex-start;padding:6px 0;border:0;text-align:left}
  .tl-table td::before{content:attr(data-label);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#5b676a;margin-bottom:2px}
  .tl-trend{width:auto}
  .tl-trend .tl-spark{margin-left:0}
  .tl-glossary{grid-template-columns:1fr}
  .tl-cta .button-light{width:100%;justify-content:center}
}
.tl-table-card .tl-empty{padding:22px 24px 26px}

/* Zakres czasu, heatmapa, porównanie, sposoby zakupu */
.tl-subhead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 24px;margin:52px 0 20px}
.tl-subhead h3{margin:0;font-size:clamp(22px,2.2vw,28px);font-weight:500}
.tl-range{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.tl-dates{display:flex;flex-wrap:wrap;gap:10px}
.tl-dates label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600}
.tl-dates input{border:1px solid #151515;padding:8px 10px;background:#fff;font-size:14px}
.tl-stats-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.tl-stats-3{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:0}
.tl-bar{fill:#151515;opacity:.13}
.tl-bar-label{font-size:10.5px;fill:#5b676a}
.tl-tip i.tl-tip-bar{background:#15151566}
.tl-heat-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12.5px;color:#465155}
.tl-heat-legend i{display:inline-block;width:120px;height:10px;border:1px solid #1515151a}
.tl-heat-legend small{font-size:12px;margin-left:6px}
.tl-heat-cursor{fill:none;stroke:#151515;stroke-width:1.5}
.tl-compare-selects{display:flex;flex-wrap:wrap;gap:12px 24px;margin:-24px -24px 0;padding:18px 24px;border-bottom:1px solid #d1e0e3}
.tl-compare-selects label{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:13px;font-weight:600}
.tl-compare-selects i{display:inline-block;width:18px;border-top:3px solid #198f9c}
.tl-compare-selects i.k-b{border-color:#e08a3c}
.tl-compare-selects select{border:1px solid #151515;background:#fff;padding:8px 10px;font-size:14px;max-width:100%}
.tl-compare-selects+.tl-stats{margin:0 -24px 20px}
.tl-methods{margin-top:44px}
.tl-methods h3{margin:0 0 20px;font-size:clamp(22px,2.2vw,28px);font-weight:500}
.tl-methods-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.tl-methods-grid article{background:#fff;border:1px solid #151515;padding:24px;box-shadow:8px 8px 0 #1515151a}
.tl-methods-grid h4{margin:0 0 10px;font-size:19px;font-weight:600}
.tl-methods-grid p{margin:0;font-size:14.5px;color:#465155}
.tl-methods-foot{margin:22px 0 0;font-size:13.5px;color:#465155}
.tl-methods-foot .tl-link{color:#151515;margin-left:6px;white-space:nowrap}
@media(max-width:1100px){
  .tl-stats-5{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tl-methods-grid{grid-template-columns:1fr}
}
@media(max-width:767px){
  .tl-stats-5,.tl-stats-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tl-compare-selects{margin:-18px -18px 0;padding:14px 18px}
  .tl-compare-selects label{width:100%}
  .tl-compare-selects select{width:100%}
  .tl-compare-selects+.tl-stats{margin:0 -18px 16px}
  .tl-range .tl-segmented button{padding:10px 4px;font-size:13px}
}

/* Oprawa TGE live — nadpisania ograniczone do tej podstrony. */
.tl-page .container{width:min(1296px,calc(100% - 96px))}
.tl-page h1,.tl-page h2,.tl-page h3{letter-spacing:-.04em;text-wrap:balance}
.tl-hero{padding-top:160px;background-image:linear-gradient(90deg,#043f4ac9,#064b5599),url('assets/hero-sunflower.webp');background-color:var(--tl-cyan);background-blend-mode:normal,multiply}
.tl-hero h1{font-size:clamp(40px,5vw,72px);font-weight:600;line-height:1.06;margin-bottom:24px}
.tl-lead{max-width:720px;font-size:18px;line-height:1.6;margin-bottom:32px}
.tl-status{display:block;padding-bottom:32px;font-size:14px;line-height:22px}
.tl-sources{margin-top:12px;gap:8px}
.tl-source{font-size:12px;line-height:18px;padding:6px 10px;background:#002b3599;border:1px solid #ffffff40}
.tl-ticker{padding:16px 0;background:#003e4b66}
.tl-pill{box-shadow:4px 4px 0 #0000001a;padding:10px 16px;min-height:48px}
.tl-pill b,.tl-eyebrow,.tl-kpi-date{color:var(--tl-tealText)}
/* Pasek notowań przesuwa się bez przerwy i nie reaguje na kursor ani dotyk. */
@media(prefers-reduced-motion:no-preference){.tl-ticker{pointer-events:none;user-select:none}}
.tl-demo-banner{position:relative;font-size:14px;line-height:22px;padding:16px 0}
.tl-section{padding:80px 0}
.tl-section-head{gap:24px 32px;margin-bottom:32px;align-items:flex-end}
.tl-section-head h2{font-size:clamp(28px,3vw,40px);font-weight:600;line-height:1.1;max-width:780px}
.tl-eyebrow{font-size:12px;line-height:18px;letter-spacing:.08em;margin-bottom:12px}
.tl-card{box-shadow:8px 8px 0 #0000001a}
.tl-card-head{margin-bottom:24px}
.tl-card-head h3{font-size:20px;line-height:26px}
.tl-kpis{gap:24px}
.tl-kpi{padding:24px;min-height:288px}
.tl-kpi-top{font-size:12px;line-height:18px;letter-spacing:.03em}
.tl-kpi-label{max-width:calc(100% - 42px)}
.tl-kpi-value{margin:20px 0 12px;font-size:40px;line-height:44px;letter-spacing:-.04em;white-space:nowrap}
.tl-kpi-value small{font-size:12px;white-space:nowrap}
.tl-kpi-change{font-size:12px;gap:8px;line-height:20px}
.tl-change{padding:4px 8px;font-size:13px;line-height:20px}
.tl-kpi-spark{height:48px;margin:20px 0 16px}
.tl-kpi-help{font-size:14px;line-height:22px;padding-top:16px}
.tl-segmented button{min-height:44px;padding:11px 20px;line-height:20px;transition:background-color .15s ease}
.tl-segmented button:disabled{color:#626e71;background:#eef3f4}
.tl-page :focus-visible{outline:3px solid var(--tl-tealText);outline-offset:4px}
.tl-hero :focus-visible,.tl-page .site-header :focus-visible,.tl-cta :focus-visible{outline-color:#fff}
.tl-chart-card{padding:24px}
.tl-stats{background:#f7fbfc;margin-bottom:24px}
.tl-stat{padding:20px;gap:8px;min-width:0}
.tl-stat strong{font-size:26px;line-height:30px}
.tl-stat-date strong{font-size:16px;line-height:24px}
.tl-note{max-width:none;font-size:14px;line-height:22px;margin-top:20px}
.tl-chart-card>.tl-note{padding:16px 20px;background:var(--tl-pale);border-left:3px solid var(--tl-teal);margin-top:24px}
.tl-axis,.tl-band-label,.tl-ref-label{font-size:12px}
.tl-band-label{fill:var(--tl-tealText)}
.tl-grid{stroke:var(--tl-line)}
.tl-tip{padding:12px 16px;gap:6px;font-size:13px;line-height:20px;border:1px solid #fff;box-shadow:8px 8px 0 #0000001a;max-width:calc(100% - 16px);white-space:normal}
.tl-tip span{white-space:nowrap}
.tl-subhead{margin:48px 0 24px}
.tl-subhead h3,.tl-methods h3{font-weight:600;line-height:1.2}
.tl-table thead{background:var(--tl-pale)}
.tl-table thead th{padding:16px 20px;font-size:11px;line-height:17px;letter-spacing:.04em}
.tl-table tbody th,.tl-table td{padding:20px;font-size:14px;line-height:22px;border-bottom-color:var(--tl-line)}
.tl-contract{font-size:16px;line-height:24px}
.tl-code,.tl-cell-sub{font-size:12px;line-height:20px;color:var(--tl-muted)}
.tl-table td strong{font-size:18px}
.tl-trend .tl-spark{height:32px}
.tl-muted,.tl-spark-empty{color:#59676a}
.tl-glossary{gap:24px;border:0}
.tl-glossary div{background:var(--tl-pale);border:1px solid var(--tl-line);padding:24px}
.tl-glossary dt{font-size:18px;line-height:24px;letter-spacing:-.02em;margin-bottom:12px}
.tl-glossary dd{font-size:15px;line-height:24px}
.tl-cta{padding:72px 0;background:var(--tl-dark)}
.tl-cta h2{max-width:720px;font-size:40px;line-height:44px;font-weight:600}
.tl-cta p{font-size:16px;line-height:26px;max-width:720px}
.tl-cta .button-light{min-height:52px;border:1px solid #111415;box-shadow:9px 9px 0 #ffffff26;padding:16px 24px;font-size:14px}
.tl-empty{padding:32px 24px;font-size:15px;line-height:24px;background:var(--tl-pale);border-left:3px solid var(--tl-tealText)}
.tl-kpi.is-empty{min-height:288px}
.tl-kpi .tl-empty{padding:16px;margin:20px 0}
.tl-error-card{padding:40px;border-left:4px solid var(--tl-tealText)}
.tl-kpi.is-loading{position:relative;overflow:hidden;background:var(--tl-white);border-color:var(--tl-line);animation:none}
.tl-kpi.is-loading::before{content:"";position:absolute;inset:24px;background:linear-gradient(var(--tl-line),var(--tl-line)) 0 0/65% 14px no-repeat,linear-gradient(var(--tl-line),var(--tl-line)) 0 42px/75% 40px no-repeat,linear-gradient(var(--tl-pale),var(--tl-pale)) 0 100px/42% 24px no-repeat,linear-gradient(var(--tl-pale),var(--tl-pale)) 0 150px/100% 48px no-repeat}
.tl-kpi.is-loading::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,#ffffffb3 50%,transparent 80%);transform:translateX(-100%);animation:tl-skeleton 1.8s ease-in-out infinite}
@keyframes tl-skeleton{to{transform:translateX(100%)}}
.tl-methods-foot .tl-link{white-space:normal}
@media(max-width:1199px){
  .tl-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:991px){
  .tl-page .container{width:calc(100% - 48px)}
}
@media(max-width:767px){
  .tl-page .container{width:calc(100% - 40px)}
  .tl-hero{padding-top:120px;background-position:center,60% center}
  .tl-hero h1{font-size:40px;line-height:44px;max-width:350px;margin-bottom:20px}
  .tl-lead{font-size:16px;line-height:26px;margin-bottom:24px}
  .tl-status{font-size:13px;line-height:21px;padding-bottom:24px}
  .tl-sources{display:grid;gap:8px}.tl-source{font-size:11px;line-height:18px}
  .tl-demo-banner{font-size:13px;line-height:21px;padding:16px 0}
  .tl-demo-banner a{display:inline-block;margin:8px 0 0}
  .tl-section{padding:56px 0}.tl-section-head{gap:20px;margin-bottom:24px}
  .tl-section-head h2{font-size:28px;line-height:32px}
  .tl-legend{font-size:12px;line-height:20px;gap:8px}
  .tl-kpis{grid-template-columns:1fr;gap:24px}
  .tl-kpi{padding:24px;min-height:0}
  .tl-kpi.is-loading{min-height:288px}
  .tl-kpi-value{font-size:40px}.tl-kpi-spark{height:48px}
  .tl-chart-card{padding:16px}
  .tl-stats{margin:-16px -16px 24px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .tl-stat{padding:16px;gap:6px}.tl-stat strong{font-size:22px;line-height:28px}
  .tl-stat-date strong{font-size:15px;line-height:22px}
  .tl-stat>span:first-child{font-size:11px}
  .tl-chart-card>.tl-note{padding:12px;font-size:13px;line-height:21px;margin-top:16px}
  .tl-card-head h3{font-size:18px;line-height:24px}
  .tl-key{flex-wrap:wrap;font-size:12px}
  .tl-table tr{padding:24px 20px;gap:12px 16px}
  .tl-table tbody th{padding:0 0 12px;border-bottom:1px solid var(--tl-line)}
  .tl-table td{padding:0;font-size:14px;line-height:22px}
  .tl-table td::before{font-size:10px;line-height:16px;letter-spacing:.02em;color:var(--tl-muted)}
  .tl-table td strong{font-size:22px;line-height:28px}
  .tl-table td .tl-cell-sub{font-size:11px}
  .tl-table-wrap{overflow:visible}
  .tl-controls{gap:12px}.tl-segmented button{padding:11px 8px}
  .tl-glossary{gap:16px}.tl-glossary div{padding:24px}
  .tl-cta{padding:56px 0}.tl-cta h2{font-size:28px;line-height:32px}
  .tl-cta .button-light{width:calc(100% - 9px)}
  .tl-error-card{padding:24px}.tl-error-card h2{font-size:24px}
  .tl-error-actions{gap:24px}.tl-error-actions .tl-button{max-width:calc(100% - 9px)}
  .tl-compare-selects{margin:-16px -16px 0;padding:16px}
  .tl-compare-selects+.tl-stats{margin:0 -16px 24px}
  .tl-range{width:100%}.tl-range .tl-segmented button{padding:11px 4px;font-size:12px}
  .tl-dates input{max-width:100%;min-height:44px}
}
@media(prefers-reduced-motion:reduce){
  .tl-kpi.is-loading::after{animation:none;display:none}
  .tl-segmented button{transition:none}
}

/* Pierwszy ekran na komputerze: zwarty pas tytułowy, żeby cztery kafelki „Rynek w pigułce”
   mieściły się w całości już po otwarciu strony (sprawdzone od 1280×720 do 1920×1080). */
@media(min-width:992px){
  .tl-hero{padding-top:118px}
  .tl-hero .container{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);column-gap:56px;align-items:end}
  .tl-hero h1{margin:0;font-size:clamp(44px,4.2vw,60px);line-height:1.04}
  .tl-lead{max-width:none;margin:0;font-size:16px;line-height:1.55}
  .tl-status{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;padding:16px 0 14px}
  .tl-sources{margin-top:0}
  .tl-ticker{padding:10px 0}
  .tl-pill{min-height:40px;padding:8px 14px}
  #pigulka{padding-top:28px}
  #pigulka .tl-section-head h2{font-size:32px;line-height:36px}
  #pigulka .tl-section-head{margin-bottom:16px}
  .tl-kpi{min-height:0;padding:20px}
  .tl-kpi-value{margin:10px 0 6px;font-size:36px;line-height:40px}
  .tl-kpi-spark{height:34px;margin:8px 0 8px}
  .tl-kpi-help{padding-top:10px;font-size:13.5px;line-height:20px}
}
/* Pierwszy ekran rośnie razem z wysokością okna: przy 720 px wysokości zostaje zwarty układ,
   a każdy dodatkowy piksel wysokości rozkłada się na odstępy, tytuł i kafelki, żeby hero
   i „Rynek w pigułce” wypełniały okno bez ucinania kafelków. */
@media(min-width:1200px){
  .tl-page{--tl-extra:clamp(0px,100vh - 720px,720px)}
  .tl-hero{padding-top:calc(112px + var(--tl-extra) * .18)}
  .tl-hero h1{font-size:calc(min(4.2vw,60px) + var(--tl-extra) * .04)}
  .tl-status{padding:calc(12px + var(--tl-extra) * .08) 0 calc(12px + var(--tl-extra) * .05)}
  .tl-ticker{padding:calc(10px + var(--tl-extra) * .02) 0}
  #pigulka{padding-top:calc(22px + var(--tl-extra) * .1)}
  #pigulka .tl-section-head{margin-bottom:calc(16px + var(--tl-extra) * .04)}
  #pigulka .tl-section-head h2{font-size:calc(32px + var(--tl-extra) * .025);line-height:1.1}
  .tl-kpi{padding:calc(20px + var(--tl-extra) * .025)}
  .tl-kpi-value{margin:calc(10px + var(--tl-extra) * .025) 0 calc(6px + var(--tl-extra) * .015);font-size:calc(36px + var(--tl-extra) * .02);line-height:1.1}
  .tl-kpi-spark{height:calc(30px + var(--tl-extra) * .12);margin:calc(6px + var(--tl-extra) * .015) 0}
}
/* Opis stoi pod tytułem (nie obok), a tytuł mieści się w jednym wierszu. */
@media(min-width:992px){
  .tl-hero .container{display:block}
  .tl-hero h1{margin-bottom:clamp(10px,1.4vh,18px)}
  .tl-lead{max-width:760px}
}
@media(min-width:1200px){
  .tl-hero h1{font-size:calc(min(4vw,56px) + var(--tl-extra) * .035)}
}
/* Hero rośnie razem z oknem, aż kafelki „Rynek w pigułce” kończą się tuż nad dolną krawędzią ekranu:
   dodatkowa wysokość dzieli się po równo nad tytułem i nad paskiem notowań. */
@media(min-width:1200px){
  .tl-hero{padding-top:calc(116px + var(--tl-extra) * .27)}
  .tl-status{padding-bottom:calc(17px + var(--tl-extra) * .14)}
}
