/* FJN System — block 12: E1-60 „Pulpit obsługi i kierownika” (ModPulpitE1 „obsluga”, „kierownik”). */

.fjn-dash { gap: 16px; }
.fjn-dash__head { display: flex; flex-direction: column; gap: 4px; }
.fjn-dash__title { margin: 0; font-size: 28px; line-height: 36px; }
.fjn-dash__date { margin: 0; font-size: 15px; color: var(--fjn-text-2); }
.fjn-dash__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fjn-dash__tile { display: flex; flex-direction: column; gap: 6px; min-height: 116px; padding: 14px 16px; background: var(--fjn-surface); border: 1px solid var(--fjn-border); border-left: 4px solid var(--fjn-border); border-radius: var(--fjn-r-lg); color: var(--fjn-text); text-decoration: none; }
a.fjn-dash__tile { font-weight: 400; }
a.fjn-dash__tile:hover { box-shadow: var(--fjn-shadow-sm, 0 1px 3px rgba(0, 0, 0, .08)); }
.fjn-dash__label { font-size: 14px; color: var(--fjn-text-2); }
.fjn-dash__value { font-size: 32px; line-height: 38px; }
.fjn-dash__sub { font-size: 13px; color: var(--fjn-text-2); }
.fjn-dash__tile--late { border-color: #F1B7B2; border-left-color: var(--fjn-danger-700); }
.fjn-dash__tile--late .fjn-dash__value, .fjn-dash__tile--late .fjn-dash__sub { color: var(--fjn-danger-700); }
.fjn-dash__tile--warn { border-left-color: #8A5300; }
.fjn-dash__tile--warn .fjn-dash__value, .fjn-dash__tile--warn .fjn-dash__sub { color: #8A5300; }
.fjn-dash__tile--info { border-left-color: var(--fjn-brand-600); }
.fjn-dash__panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.fjn-dash__panel { background: var(--fjn-surface); border: 1px solid var(--fjn-border); border-radius: var(--fjn-r-lg); overflow: hidden; }
.fjn-dash__phead { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--fjn-border); }
.fjn-dash__phead a, .fjn-dash__act { color: var(--fjn-brand-600); font-weight: 700; text-decoration: none; white-space: nowrap; }
.fjn-dash__ptitle { margin: 0; font-size: 16px; }
.fjn-dash__rows { margin: 0; padding: 0; list-style: none; }
.fjn-dash__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 72px; padding: 10px 16px; border-top: 1px solid var(--fjn-surface-2); }
.fjn-dash__row:first-child { border-top: 0; }
.fjn-dash__row.is-late { background: #FFF7F6; }
.fjn-dash__rtext { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 14px; }
.fjn-dash__rline { font-size: 13px; color: var(--fjn-text-2); }
.fjn-dash__row.is-late .fjn-dash__rline { color: var(--fjn-danger-700); }
.fjn-dash__none { padding: 16px; font-size: 14px; color: var(--fjn-text-2); }
@media (min-width: 1280px) {
  .fjn-dash__tiles--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .fjn-dash__title { font-size: 22px; line-height: 28px; }
  .fjn-dash__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fjn-dash__tile { min-height: 104px; }
  .fjn-dash__value { font-size: 26px; line-height: 32px; }
  .fjn-dash__panels { grid-template-columns: minmax(0, 1fr); }
}

/* E1-62 „Historia” of the customer and the vehicle */
.fjn-hist { display: flex; flex-direction: column; gap: 14px; max-width: 960px; }
.fjn-hist__section { background: var(--fjn-surface); border: 1px solid var(--fjn-border); border-radius: var(--fjn-r-lg); overflow: hidden; }
.fjn-hist__title { display: flex; align-items: center; gap: 8px; margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--fjn-border); font-size: 16px; }
.fjn-hist__rows { margin: 0; padding: 0; list-style: none; }
.fjn-hist__row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 200px; gap: 12px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--fjn-surface-2); }
.fjn-hist__row:first-child { border-top: 0; }
.fjn-hist__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; }
.fjn-hist__nr { font-weight: 700; color: var(--fjn-brand-600); text-decoration: none; }
.fjn-hist__date { font-size: 13px; color: var(--fjn-text-2); }
.fjn-hist__end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.fjn-hist__none { padding: 14px 16px; font-size: 14px; color: var(--fjn-text-2); }
.fjn-hist__info { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; background: #DFF1F5; border-radius: 8px; font-size: 14px; }
.fjn-hist__info svg { flex: none; color: #0B6477; }
@media (max-width: 767px) {
  .fjn-hist__row { grid-template-columns: minmax(0, 1fr) auto; }
  .fjn-hist__end { min-width: 0; }
}
