/* Nowości w katalogu i „Mój rok z VISEE” (2.0.66) — ekrany klienta i kafelki pulpitu. */

/* ----- kafelki pulpitu ----- */
.nw-kafel { display: flex; align-items: center; gap: 14px; padding: 12px 16px; margin-bottom: 14px; text-decoration: none; color: inherit; border-left: 4px solid var(--cyan); }
.nw-kafel:hover { box-shadow: var(--sh-md); }
.nw-kafel-ico { flex: 0 0 auto; width: 38px; height: 38px; border-radius: var(--r-8); display: grid; place-items: center; background: var(--navy-title); color: var(--cyan-light); }
.nw-kafel-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nw-kafel-txt strong { color: var(--navy-title); }
.nw-kafel .btn { flex: 0 0 auto; }
.nw-kafel-rok { border-left-color: var(--blue-700); }

/* ----- ekran „Nowości” ----- */
.nw-info { margin: 0 0 12px; }
.nw-seg { max-width: 100%; flex-wrap: wrap; }
.nw-seg button { flex: 1 1 auto; }
.nw-table .pt-dl { white-space: nowrap; }
.nw-row-nowe td:first-child { box-shadow: inset 3px 0 0 var(--cyan); }
.nw-nowe { vertical-align: middle; }
.nw-dop { display: flex; flex-direction: column; }
.nw-karta { display: flex; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--border); }
.nw-karta:first-child { border-top: 0; }
.nw-karta-nowe { box-shadow: inset 3px 0 0 var(--cyan); }
.nw-karta-main { flex: 1; min-width: 0; }
.nw-karta-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-weight: 500; color: var(--navy-title); }
.nw-karta-buy { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-width: 190px; }
.nw-pojazdy { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.nw-pojazdy li { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; padding: 3px 8px; border: 1px solid var(--border); border-radius: 999px; background: #fff; }
.nw-pojazdy li.nowe { border-color: var(--cyan); background: var(--bg-info); }
.nw-pojazdy li.muted { border-style: dashed; }
.nw-poza-card { opacity: .78; }
.nw-poza-card:hover, .nw-poza-card:focus-within { opacity: 1; }
.nw-poza-grupa { padding: 10px 16px; border-top: 1px solid var(--border); }
.nw-poza-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.nw-poza-head .btn { margin-left: auto; }
.nw-poza-lista { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--muted); }
.nw-poza-lista li { margin: 2px 0; }
@media (max-width: 700px) {
  .nw-karta { flex-direction: column; }
  .nw-karta-buy { align-items: flex-start; min-width: 0; }
}

/* ----- „Mój rok z VISEE” ----- */
.rok-kpi { margin-bottom: 14px; }
.rok-wykres { margin-bottom: 14px; }
.rok-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 14px; }
.rok-svg { width: 100%; height: auto; display: block; }
.rok-svg text { font-size: 11px; fill: var(--muted); }
.rok-svg .gridl { stroke: var(--border); stroke-width: 1; }
.rok-svg .axis { stroke: var(--border-2); stroke-width: 1; }
.rok-svg .rok-b { fill: var(--blue-700); }
.rok-svg .rok-b-p { fill: #B6C3D9; }
.rok-dane { margin-top: 8px; }
.rok-tab td { vertical-align: middle; }
.rok-ln { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.rok-bar { display: block; height: 4px; margin-top: 4px; background: var(--bg-info); border-radius: 2px; overflow: hidden; }
.rok-bar span { display: block; height: 100%; background: var(--blue-600); }
.rok-stopka { margin: 4px 0 0; }
.print-only { display: none; }
@media (max-width: 900px) {
  .rok-grid { grid-template-columns: 1fr; }
}
@media print {
  .print-only { display: block; }
  .rok-akcje, .tour-btn, .btn-wroc, .rok-dane { display: none !important; }
  .rok-kpi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rok-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rok-head .sub { margin-bottom: 0; }
  .card { break-inside: avoid; box-shadow: none; }
}
