/* Dodatki panelu Capability */
:root { --accent: #1f8a5b; --accent-dark: #19704a; --accent-soft: #e9f6ef; --red: #1f8a5b; --red-dark: #19704a; }
.eyebrow { color: var(--accent); }
.login-brand { text-align: center; margin-bottom: 20px; }
.login-brand b { font-size: 26px; letter-spacing: -.5px; }
.login-brand p { color: var(--muted); margin-top: 6px; font-size: 14px; }
.kpis { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.slupki { display: flex; align-items: flex-end; gap: 6px; height: 210px; padding-top: 20px; overflow-x: auto; }
.sl { flex: 1 0 30px; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; min-width: 30px; opacity: .45; }
.sl.on { opacity: 1; }
.sl-bar { width: 100%; max-width: 44px; background: #cfd8e3; border-radius: 6px 6px 0 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; min-height: 2px; }
.sl-p { background: var(--accent); width: 100%; }
.sl-n { font-size: 11px; font-weight: 700; color: var(--ink); margin-bottom: 3px; min-height: 14px; white-space: nowrap; }
.sl-d { font-size: 10.5px; color: var(--muted); margin-top: 5px; white-space: nowrap; }
.legenda { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 10px; }
.legenda .kw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: #cfd8e3; margin-right: 5px; vertical-align: -1px; }
.legenda .kw.p { background: var(--accent); }
.rozklad { display: flex; height: 34px; border-radius: 10px; overflow: hidden; margin: 6px 0 12px; }
.rozklad div { display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; min-width: 0; white-space: nowrap; overflow: hidden; }
.r-towar { background: #5b6b7d; } .r-prow { background: #c2703d; } .r-wys { background: #d9a441; } .r-zysk { background: var(--accent); }
.rozklad-opis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; font-size: 13px; }
.rozklad-opis i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.rozklad-opis b { display: block; font-size: 17px; margin-top: 2px; }
.note-info { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; line-height: 1.5; }
.poprawy { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.poprawy a { display: block; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--text); background: #fff; }
.poprawy a b { display: block; font-size: 22px; }
.poprawy a:hover { border-color: var(--accent); }
.filtry-form { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.filtry-form select, .filtry-form input, .st-form select, .st-form input, .stan-form input { font: inherit; font-size: 13px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.filtry-form input[type=search] { min-width: 230px; }
.zam-tab td { vertical-align: top; }
.st-form { display: flex; flex-direction: column; gap: 6px; min-width: 170px; }
.st-Dostarczone { background: #ecfdf3 !important; color: #166534; } .st-Zwrot, .st-Anulowane, .st-Reklamacja { background: #fdf0f0 !important; color: #b42318; }
.st-Wysłane { background: #fef9c3 !important; color: #854d0e; }
.stan-form { display: flex; gap: 6px; align-items: center; }
.stan-form input { width: 78px; }
.strony { display: flex; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 12px; font-size: 13px; }
.strony a { padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; color: var(--text); background: #fff; }
.minus { color: #b42318; font-weight: 700; }
.opis-zwrotu { color: var(--muted); max-width: 340px; white-space: pre-wrap; margin-top: 3px; }
@media (max-width: 860px) {
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .zam-tab thead { display: none; }
  .zam-tab, .zam-tab tbody, .zam-tab tr, .zam-tab td { display: block; width: 100%; }
  .zam-tab tr { border-bottom: 1px solid var(--border); padding: 12px 0; }
  .zam-tab td { padding: 3px 0 !important; border: 0 !important; text-align: left !important; }
  .st-form { min-width: 0; margin-top: 6px; }
  .filtry-form input[type=search] { min-width: 0; flex: 1 1 100%; }
}
.kpis .kpi .v { font-size: 23px; white-space: nowrap; }
.kpis .kpi { padding: 16px 16px; }
.filtry-form select, .filtry-form input, .stan-form input { width: auto; margin: 0; }
.stan-form input { width: 78px; }
.st-form select, .st-form input { margin: 0; }
