/* 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-okresu { display: flex; gap: 8px; flex-wrap: wrap; }
.wybor-okresu select { padding: 9px 12px; border: 1px solid #e3e3e3; border-radius: 10px; font: inherit; background: #fff; min-width: 190px; max-width: 100%; }
.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-okresu { flex: 1 1 100%; } .wybor-okresu 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; } }
.zmiana { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0; white-space: nowrap; vertical-align: middle; }
.kpi .v .zmiana { font-size: 13px; margin-left: 6px; }
.zmiana.up { color: #15803d; } .zmiana.down { color: #c2410c; }
.porownanie-info { margin: -10px 0 16px; color: var(--muted); font-size: 14px; }
.kanaly-tab td .zmiana { font-size: 11.5px; font-weight: 600; }
@media (min-width: 861px) {
  .page-header:has(.wybor-okresu) { flex-direction: column; align-items: flex-start; gap: 14px; }
  .wybor-okresu { flex-wrap: nowrap; }
  .wybor-okresu select { width: auto !important; }
}
/* Ultracoat */
.main-inner-szeroka { max-width: none; }
.w-toku-row td { color: #8a8a8a; }
.btn-danger { color: #b3261e; border-color: #f0c5c0; }
.kpis-sd { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .kpis-sd { grid-template-columns: 1fr; } }
.dni-tab td, .dni-tab th { padding: 8px 10px; }
#v-ads table { min-width: 1250px; }
#v-ads .mt { min-width: 0; }

/* kolory Ultracoat */
:root { --accent: #01df82; --accent-dark: #02ad64; --accent-soft: #e6fbf2; --red: #d93025; --red-dark: #b3261e; }
.box h2 a:hover, .list a:hover, .data-table a:hover { color: var(--accent-dark); }
.zmiana.down { color: #c0392b; }
.pill.red { background: #fde8e6; color: #b3261e; }
.zad-form label.check input { width: auto; margin-right: 6px; }
.btn-danger { color: #b3261e; }
.btn-primary { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-primary:hover { background: #078f55; }
.eyebrow { color: var(--accent-dark); }
.sidebar .logo.logo-img { background: #000; padding: 0; overflow: hidden; }
.sidebar .logo.logo-img img, .login-logo .logo.logo-img img { width: 100%; height: 100%; display: block; }
.login-logo .logo.logo-img { background: #000; overflow: hidden; }
.sidebar nav a.active::before, .sidebar nav a.active svg { color: var(--accent); background-color: var(--accent); }
.sidebar nav a.active svg { background: none; }
.zmiana.up, .good { color: #0a8f55; }
.siatka-tab .wyb, .siatka-tab th.wyb { background: var(--accent-soft); }
.siatka-tab th.wyb small, .w-toku { color: var(--accent-dark); background: var(--accent-soft); border-color: #b9f0d6; }
.btn-on { background: var(--accent-soft); border-color: var(--accent-dark); color: var(--accent-dark); }
/* przegląd */
.pods { white-space: normal; line-height: 1.55; font-size: 15px; }
.kreacje { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.kreacja { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.kreacja img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: #eee; }
.kreacja-brak { aspect-ratio: 4 / 5; display: grid; place-items: center; color: #999; background: #f3f3f3; }
.kreacja-txt { padding: 10px 12px; }
.kreacja-liczby { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; margin: 6px 0; font-weight: 600; }
.kreacja-body { color: #555; margin-top: 4px; }
.historia { list-style: none; padding: 0; margin: 10px 0 0; }
.historia li { display: flex; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.historia .h-data { flex: 0 0 96px; font-size: 13px; color: var(--muted); }
.historia .h-tresc { flex: 1; }
.historia .h-tresc .small { color: #555; margin-top: 3px; line-height: 1.45; }
.link-btn { background: none; border: 0; color: #999; cursor: pointer; font: inherit; font-size: 12px; padding: 0; }
.link-btn:hover { color: #b3261e; }
.inline { display: inline; }
.dodaj-dzialanie summary { display: inline-block; cursor: pointer; list-style: none; }
.dimr td { opacity: .6; }
/* zadania */
.zad-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.zad-form label { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 140px; font-size: 13px; }
.zad-form label.check { flex-direction: row; align-items: center; min-width: 0; flex: 0; white-space: nowrap; }
.zad { padding: 14px 18px; }
.zad-nag { display: flex; gap: 12px; align-items: flex-start; }
.zad-tytul { flex: 1; }
.zad-opis { color: #555; margin-top: 4px; }
.odhacz { width: 26px; height: 26px; border-radius: 8px; border: 2px solid #c9c9c9; background: #fff; cursor: pointer; color: #fff; font-weight: 800; flex: none; margin-top: 2px; }
.odhacz.on { background: var(--accent-dark); border-color: var(--accent-dark); }
.zad-done .zad-tytul b { text-decoration: line-through; color: #888; }
.zad-status select { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; }
.uwagi { list-style: none; padding: 0; margin: 12px 0 0 38px; }
.uwagi li { padding: 8px 12px; background: #f7f7f7; border-radius: 10px; margin-bottom: 6px; font-size: 14px; }
.uwaga-form { display: flex; gap: 8px; margin: 10px 0 0 38px; }
.uwaga-form input { flex: 1; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
@media (max-width: 700px) { .zad-nag { flex-wrap: wrap; } .uwagi, .uwaga-form { margin-left: 0; } .historia li { flex-direction: column; gap: 4px; } }
