/* Panel raportowy Speed-Dates.pl, dodatki na motywie Double Digital */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.naglowek-akcje { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.wybor-miesiaca select { padding: 9px 12px; border: 1px solid #e3e3e3; border-radius: 10px; font: inherit; background: #fff; min-width: 190px; }
.w-toku { font-size: 13px; font-weight: 700; color: var(--amber); background: #fff8e6; border: 1px solid #fbe3a8; border-radius: 7px; padding: 3px 8px; vertical-align: middle; letter-spacing: 0; }
.uwaga-box { background: #fff8e6; border: 1px solid #fbe3a8; color: #6b4a00; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: 14px; }
.kpis-sd { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpis-sd .kpi-duze .v { font-size: 34px; }
.cel-pasek { height: 8px; background: #f1f1f1; border-radius: 6px; overflow: hidden; margin: 10px 0 8px; }
.cel-pasek i { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.brak { color: #b5b5b5; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tabela-przewin { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kanaly-tab td, .kanaly-tab th { padding: 11px 12px; }
.kanaly-tab tfoot td { font-weight: 700; border-top: 2px solid var(--line); padding: 12px; }
.udzial { display: flex; align-items: center; gap: 10px; min-width: 150px; }
.udzial-pasek { flex: 1; height: 8px; background: #f1f1f1; border-radius: 6px; overflow: hidden; }
.udzial-pasek i { display: block; height: 100%; background: var(--ink); border-radius: 6px; }
.udzial-l { width: 46px; text-align: right; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
/* wykres */
.wykres-przychod { width: 100%; height: auto; display: block; }
.wykres-przychod .siatka { stroke: #efefef; stroke-width: 1; }
.wykres-przychod .os { fill: #8a8a8a; font-size: 11px; font-family: inherit; }
.wykres-przychod .os-wyb { fill: var(--ink); font-weight: 700; }
.wykres-przychod .tlo { fill: transparent; }
.wykres-przychod .slupek:hover .tlo { fill: #f7f7f7; }
.wykres-przychod .slupek.wybrany .tlo { fill: #fff4ef; }
.wykres-przychod .bar { fill: var(--accent); }
.wykres-przychod .slupek.toku .bar { fill: var(--accent); fill-opacity: .4; }
.wykres-przychod .cel-linia { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 4 3; }
.legenda { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; font-size: 13px; color: var(--ink); }
.legenda i { display: inline-block; vertical-align: middle; margin-right: 6px; }
.lg-bar { width: 12px; height: 12px; border-radius: 3px; background: var(--accent); }
.lg-toku { width: 12px; height: 12px; border-radius: 3px; background: var(--accent); opacity: .4; }
.lg-cel { width: 16px; height: 0; border-top: 2px dashed var(--ink); }
/* siatka 12 miesięcy */
.siatka-tab { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 13px; }
.siatka-tab th, .siatka-tab td { padding: 8px 6px; border-bottom: 1px solid #f2f2f2; }
.siatka-tab thead th { font-size: 11.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); background: #fff; vertical-align: bottom; }
.siatka-tab thead th a { color: inherit; text-decoration: none; }
.siatka-tab thead th small { display: block; font-size: 10px; letter-spacing: 0; text-transform: none; color: var(--amber); font-weight: 600; }
.siatka-tab .przyklej { position: sticky; left: 0; background: #fff; text-align: left; font-weight: 500; min-width: 172px; white-space: nowrap; z-index: 1; box-shadow: 1px 0 0 #f0f0f0; }
.siatka-tab .sekcja-nag th { font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--ink); padding-top: 18px; border-bottom: 2px solid var(--ink); }
.siatka-tab .sekcja-nag td { border-bottom: 2px solid var(--ink); padding-top: 18px; }
.siatka-tab .sekcja.razem .sekcja-nag th, .siatka-tab .sekcja.razem .sekcja-nag td { border-bottom-color: var(--accent); }
.siatka-tab .sekcja.razem tr:nth-child(2) td, .siatka-tab .sekcja.razem tr:nth-child(2) th { font-weight: 700; }
.siatka-tab td.wyb, .siatka-tab th.wyb { background: #fff4ef; }
.siatka-tab .suma { background: #fafafa; font-weight: 700; border-left: 1px solid var(--line); }
.siatka-tab tbody tr:hover td, .siatka-tab tbody tr:hover th.przyklej { background: #fafafa; }
.siatka-tab .pill { padding: 2px 7px; font-weight: 700; }
.info { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; border: 1px solid #cfcfcf; color: #8a8a8a; font-size: 10px; font-weight: 700; cursor: help; margin-left: 4px; vertical-align: 1px; }
.przypis { margin-top: 12px; }
.cel-form .row-form { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.cel-form .row-form label { display: flex; flex-direction: column; gap: 6px; }
.cel-form .row-form label.check { flex-direction: row; align-items: center; gap: 8px; padding-bottom: 10px; color: var(--ink); font-weight: 500; }
.cel-form input[type=text] { padding: 9px 12px; width: 160px; }
@media (max-width: 1100px) { .kpis-sd { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .kpis-sd { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpis-sd .kpi-duze { grid-column: 1 / -1; }
  .kpis-sd .kpi-duze .v { font-size: 28px; }
  .naglowek-akcje { width: 100%; }
  .wybor-miesiaca { flex: 1 1 100%; } .wybor-miesiaca select { width: 100%; min-width: 0; } .naglowek-akcje .btn { flex: 1 1 100%; text-align: center; }
  .siatka-tab .przyklej { min-width: 140px; max-width: 150px; white-space: normal; }
  .page-header h1 { font-size: 24px; }
}

.jedn { color: #9a9a9a; font-size: 11px; font-weight: 600; }
@media (min-width: 861px) { .main:has(.siatka-wrap) { padding-left: 36px; padding-right: 36px; } }
.kanaly-tab td.small { min-width: 230px; }
.kanaly-tab td:first-child { white-space: nowrap; }
@media (max-width: 860px) { .wykres-przychod { min-width: 640px; } }
