/* Wspólny arkusz stylów dla ilustracji (mockupów okien) instrukcji obsługi IntegratorKSeF */

body {
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 8px;
    background: transparent;
    color: #1c2430;
}

.win {
    border: 1px solid #c3cbd6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(19,32,58,0.10);
    font-size: 11.5px;
    background: #fff;
}
.win-title {
    background: #13203A;
    color: #fff;
    padding: 9px 16px;
    font-weight: 600;
    font-size: 12.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.win-title .x { opacity: 0.6; font-size: 12px; }
.win-sub {
    background: #1a2b4d;
    color: #b8c4d9;
    padding: 5px 16px;
    font-size: 10.5px;
    font-style: italic;
}
.win-body { padding: 16px 18px; background: #fbfcfd; }
.field-row { display: flex; align-items: center; margin-bottom: 9px; gap: 10px; }
.field-label { width: 160px; min-width: 160px; color: #334155; font-weight: 600; font-size: 11px; }
.field-input {
    flex: 1; border: 1px solid #cbd5e0; border-radius: 5px;
    padding: 5px 9px; background: #fff; color: #94a3b8; font-size: 11px;
}
.field-input.filled { color: #1c2430; }
.chk-row { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; font-size: 11px; color: #334155; }
.chk-box { width: 13px; height: 13px; border: 1.5px solid #94a3b8; border-radius: 3px; display: inline-block; }
.chk-box.on { background: #12B5D6; border-color: #12B5D6; }
.btn {
    display: inline-block; padding: 6px 14px; border-radius: 5px;
    font-size: 11px; font-weight: 700; color: #fff; margin-right: 8px; white-space: nowrap;
}
.btn-accent { background: #12B5D6; }
.btn-dark { background: #2A3A5C; }
.btn-green { background: #22c55e; }
.btn-gray { background: #94a3b8; }
.btn-lightgray { background: #cbd5e0; color: #334155; }
.win-footer {
    background: #f0f4f8; padding: 10px 16px; display: flex;
    justify-content: flex-end; gap: 6px; border-top: 1px solid #e2e8f0;
}
.win-footer.dark { background: #13203A; }
.win-footer-left { margin-right: auto; align-self: center; font-size: 10.5px; color: #64748b; }
.grid-mock { width: 100%; border-collapse: collapse; font-size: 10.5px; margin: 8px 0; }
.grid-mock th { background: #13203A; color: #cfe3ea; padding: 5px 8px; text-align: left; font-weight: 600; }
.grid-mock td { padding: 5px 8px; border-bottom: 1px solid #e2e8f0; color: #334155; }
.grid-mock tr:nth-child(even) td { background: #f7fafc; }
.badge { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 9.5px; font-weight: 700; }
.badge-green { background: #dcfce7; color: #166534; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-gray { background: #e2e8f0; color: #475569; }
.two-col { display: flex; gap: 14px; }
.two-col > div { flex: 1; }
.gbox {
    border: 1px solid #cbd5e0; border-radius: 6px; padding: 10px 12px; margin-bottom: 10px; background: #fff;
}
.gbox-title { font-weight: 700; color: #13203A; font-size: 10.5px; margin-bottom: 8px; }
.sidebar-mock {
    width: 190px; background: #13203A; color: #d7dee8; padding: 18px 16px; font-size: 10.5px;
}
.sidebar-mock .logo { color: #fff; font-weight: 700; font-size: 13px; margin-bottom: 18px; }
.sidebar-mock .ttl { font-weight: 600; font-size: 12px; margin: 10px 0; color: #d7dee8; }
.sidebar-mock .info { color: #8e9bb3; font-size: 10px; }
.wizard-sidebar { width: 168px; min-width: 168px; background: #13203A; padding: 16px 0 12px 0; }
.wizard-logo { color: #fff; font-weight: 700; text-align: center; margin-bottom: 14px; font-size: 12px; }
.wizard-sep { height: 1px; background: #2a3a5c; margin: 0 12px 8px 12px; }
.wizard-step { padding: 8px 14px; font-size: 10.5px; color: #b8c4d9; border-left: 3px solid transparent; opacity: 0.6; }
.wizard-step .dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:#8695ad; margin-right:8px; }
.wizard-step.active { color: #fff; border-left-color: #12B5D6; opacity: 1; font-weight: 700; }
.wizard-step.active .dot { background:#12B5D6; }
.wizard-step.done { opacity: 1; }
.wizard-step.done .dot { background:#7fd99a; }
.wizard-sticky-header { background: #13203A; color: #fff; text-align: center; padding: 11px; font-weight: 700; font-size: 13px; }


/* ============================================================
   OKNO SZCZEGÓŁÓW DOKUMENTU (Windows/InvoiceDetails.xaml)
   Granatowy pasek nawigacji po lewej, kafle treści po prawej,
   pasek akcji na dole. Kolory z App.xaml.
   ============================================================ */
.det { display: flex; min-height: 380px; }
.det-side { width: 176px; min-width: 176px; background: #13203A; padding: 12px 0 8px 0; }
.det-side-kod { padding: 0 14px 10px 14px; }
.det-side-kod .lbl { color: #AEBACE; font-size: 8.5px; font-weight: 700; }
.det-side-kod .val { color: #E7EDF6; font-size: 11.5px; font-weight: 700; }
.det-side-sep { height: 1px; background: #2A3A5C; margin: 0 0 6px 0; }
.det-nav { padding: 7px 12px; font-size: 10.5px; color: #AEBACE; border-left: 3px solid transparent; }
.det-nav .ico { display: inline-block; width: 16px; }
.det-nav.active { background: #24324E; border-left-color: #12B5D6; color: #E7EDF6; font-weight: 700; }
.det-main { flex: 1; background: #EDF1F7; padding: 10px; }

.det-cols { display: flex; gap: 10px; align-items: flex-start; }
.det-cols > div { flex: 1; min-width: 0; }

.det-card { background: #fff; border: 1px solid #CDD5E2; border-radius: 10px; padding: 11px 12px; margin-bottom: 9px; }
.det-card-head { display: flex; align-items: center; margin-bottom: 8px; }
.det-badge { width: 18px; height: 18px; border-radius: 5px; margin-right: 7px; color: #fff;
             font-size: 9px; display: flex; align-items: center; justify-content: center; }
.det-title { font-weight: 700; font-size: 11px; color: #13203A; }
.det-title .sub { font-weight: 400; color: #5C6B82; margin-left: 6px; }

.det-fields { display: grid; grid-template-columns: 116px 1fr; row-gap: 3px; column-gap: 8px; }
.det-fields.two { grid-template-columns: 116px 1fr 14px 116px 1fr; }
.det-label { font-size: 10px; color: #5C6B82; align-self: center; }
.det-value { font-size: 10.5px; color: #1E2A3C; align-self: center; }
.det-value.b { font-weight: 700; }
.det-value.mono { font-family: Consolas, "Courier New", monospace; font-size: 10px;
                  word-break: break-all; }
.det-value.num { text-align: right; }
.det-hint { font-size: 9.5px; color: #5C6B82; margin-top: 7px; line-height: 1.45; }

.det-tab { width: 100%; border-collapse: collapse; font-size: 9.5px; margin-top: 2px; }
.det-tab th { background: #F0F4F8; color: #13203A; font-weight: 700; text-align: left;
              padding: 5px 7px; border-bottom: 1px solid #CDD5E2; }
.det-tab td { padding: 4px 7px; border-bottom: 1px solid #E3E8F1; color: #1E2A3C; }
.det-tab tr:nth-child(even) td { background: #F7F9FC; }
.det-tab td.num, .det-tab th.num { text-align: right; }
.det-tab td.mid, .det-tab th.mid { text-align: center; }
.det-tab td.mono { font-family: Consolas, "Courier New", monospace; }

.det-banner { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 8px;
              border: 1px solid; font-size: 11px; font-weight: 700; margin-top: 10px; }
.det-banner .ico { font-size: 14px; }
.det-banner.ok { background: #E9F8EF; border-color: #8ED9A9; color: #116B33; }
.det-banner.no { background: #FDECEC; border-color: #E9A3A3; color: #991B1B; }

.det-btn-accent { display: inline-block; background: #12B5D6; color: #0E1626; font-weight: 700;
                  font-size: 10px; padding: 5px 10px; border-radius: 4px; }
.det-btn-plain { display: inline-block; background: #fff; border: 1px solid #CDD5E2; color: #1E2A3C;
                 font-size: 10px; padding: 5px 10px; border-radius: 4px; }

.det-foot { display: flex; align-items: center; background: #13203A; border-top: 1px solid #2A3A5C; padding: 8px 12px; }
.det-foot .info { color: #AEBACE; font-size: 9.5px; margin-left: 12px; flex: 1; }
.det-fbtn { background: #35496F; border: 1px solid #5A6E96; color: #E7EDF6; font-size: 10px;
            padding: 6px 11px; border-radius: 4px; }
.det-fbtn.strong { font-weight: 700; }
.det-licznik { color: #E7EDF6; font-size: 10px; font-weight: 700; margin: 0 9px; }

/* pasek operacji nad podglądem faktury */
.det-pvbar { display: flex; align-items: center; background: #13203A; padding: 5px 8px; }
.det-pvbar .t { color: #E7EDF6; font-size: 10px; flex: 1; }
.det-pvbar .z { color: #E7EDF6; font-size: 10px; margin: 0 6px; }
.det-pvbar .i { color: #E7EDF6; font-size: 11px; margin: 0 4px; }

/* podglad XML faktury: znaczniki wygaszone, dane wyraziste - jak w oknie */
.det-xml { font-family: Consolas, "Courier New", monospace; font-size: 9.5px; line-height: 1.5;
           background: #fff; border: 1px solid #CDD5E2; padding: 9px 10px; white-space: pre;
           overflow-x: auto; color: #1E2A3C; }
.det-xml .t { color: #8A94A6; }
.det-xml .v { color: #1E2A3C; }

/* kod QR - siatka modułów, ilustracyjna */
.det-qr { display: grid; width: 132px; height: 132px; background: #fff; padding: 6px; }
.det-qr span { display: block; }
.det-qr span.on { background: #13203A; }

/* ============================================================
   WERYFIKACJA KONTRAHENTA
   Obszar "Kontrahent" w oknie szczegolow dokumentu oraz okno
   "Szczegoly kontrahenta". Wynik weryfikacji program rysuje jako
   dokument HTML w przegladarce (WebView2), dlatego klasy .wer-*
   odwzorowuja tamten dokument, a nie kontrolki WPF.
   ============================================================ */

.wer-bar { display: flex; align-items: center; gap: 9px; margin: 2px 0 0 0; }
.wer-input {
    display: inline-block; min-width: 104px; padding: 3px 7px;
    background: #fff; border: 1px solid #CDD5E2; border-radius: 3px;
    font-size: 10.5px; color: #1E2A3C;
}

/* ramka przegladarki z wynikiem */
.wer-doc {
    background: #EDF1F7; border: 1px solid #CDD5E2; border-radius: 10px;
    padding: 10px 11px; overflow: hidden;
}

.wer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.wer-h1 { font-size: 13px; font-weight: 700; color: #1E2A3C; }
.wer-sub { font-size: 9.5px; color: #5C6B82; margin-top: 2px; }
.wer-stamp { background: #13203A; color: #E7EDF6; border-radius: 5px; padding: 4px 9px; font-size: 9.5px; white-space: nowrap; }

.wer-card { background: #fff; border: 1px solid #CDD5E2; border-radius: 8px; padding: 9px 11px; margin-bottom: 9px; }
.wer-card:last-child { margin-bottom: 0; }
.wer-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.wer-h2 { font-size: 11px; font-weight: 700; color: #1E2A3C; }
.wer-badge { background: #E9EEF5; color: #5C6B82; border-radius: 20px; padding: 2px 8px; font-size: 9px; white-space: nowrap; }

.wer-subhead {
    font-size: 9px; text-transform: uppercase; letter-spacing: .5px; color: #5C6B82;
    margin: 9px 0 5px; padding-bottom: 3px; border-bottom: 1px solid #E1E7F0;
}
.wer-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 16px; }
.wer-f-label { font-size: 9px; color: #5C6B82; }
.wer-f-value { font-size: 10px; font-weight: 600; color: #1E2A3C; word-break: break-word; }

.wer-status { display: flex; align-items: center; gap: 8px; border-radius: 7px; padding: 8px 10px; margin-bottom: 9px; }
.wer-status.ok { background: #EAF6EE; border: 1px solid #B7DFC4; }
.wer-status-text { font-weight: 700; font-size: 12px; color: #116B33; }
.wer-status-hint { color: #5C6B82; font-size: 9px; margin-left: auto; }
.wer-dot { width: 9px; height: 9px; border-radius: 50%; background: #2E8B57; }

.wer-accounts { display: flex; flex-direction: column; gap: 5px; }
.wer-acc {
    display: flex; align-items: center; gap: 9px; padding: 5px 9px;
    background: #F7F9FC; border: 1px solid #E1E7F0; border-radius: 5px; font-size: 10px;
}
.wer-acc.match { background: #EAF6EE; border-color: #B7DFC4; }

.wer-tag { border-radius: 20px; padding: 1px 8px; font-size: 9px; font-weight: 700; white-space: nowrap; }
.wer-tag.ok { background: #2E8B57; color: #fff; }
.wer-tag.accent { background: #12B5D6; color: #06222A; }

.wer-proof { margin-top: 9px; padding: 8px 10px; background: #F7F9FC; border: 1px solid #E1E7F0; border-radius: 5px; font-size: 9.5px; }
.wer-hint { color: #5C6B82; font-size: 9px; margin-top: 5px; line-height: 1.45; }
.wer-muted { color: #5C6B82; }
.wer-people { margin: 0; padding-left: 16px; font-size: 10px; }
.wer-people li { margin-bottom: 2px; }

.wer-pkd { display: flex; align-items: baseline; gap: 9px; padding: 4px 0; border-bottom: 1px solid #F0F3F8; font-size: 10px; }
.wer-pkd:last-child { border-bottom: none; }
.wer-code { font-family: Consolas, "Courier New", monospace; font-weight: 700; min-width: 48px; }
.wer-pkd-name { flex: 1; }
.wer-pkd.main { background: #F1FBFD; border: 1px solid #BEE7F0; border-radius: 5px; padding: 7px 9px; margin-bottom: 6px; }

.wer-quote { background: #F7F9FC; border-left: 3px solid #12B5D6; border-radius: 3px; padding: 6px 9px; font-size: 10px; margin-bottom: 6px; }
.wer-foot { color: #5C6B82; font-size: 9px; line-height: 1.5; margin-top: 8px; }

/* naglowek okna "Szczegoly kontrahenta" */
.wer-kh-head { display: flex; align-items: center; gap: 11px; background: #13203A; padding: 11px 14px; }
.wer-kh-badge {
    width: 28px; height: 28px; border-radius: 6px; background: #1A3050; color: #12B5D6;
    display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.wer-kh-id { flex: 1; min-width: 0; }
.wer-kh-id .nazwa { color: #E7EDF6; font-size: 12px; font-weight: 700; }
.wer-kh-id .opis { color: #7A91B0; font-size: 9.5px; margin-top: 2px; }
.wer-kh-poz { background: #1A3050; color: #D0DCF0; border-radius: 4px; padding: 4px 9px; font-size: 9.5px; white-space: nowrap; }

/* ============================================================
   LISTY OKRESU (karta Dokumenty)
   Rozwiniete listy roku i miesiaca: skroty, kreska, wykaz okresow
   obecnych w rejestrze.
   ============================================================ */

.okres-mock { display: flex; gap: 18px; align-items: flex-start; padding: 4px 0 8px 0; }
.okres-kol { flex: 0 0 auto; }
.okres-lbl { font-size: 9.5px; color: #64748b; margin-bottom: 3px; }
.okres-pole {
    border: 1px solid #12B5D6; border-radius: 5px; background: #fff;
    padding: 5px 9px; font-size: 11px; color: #1c2430;
    display: flex; align-items: center; justify-content: space-between;
}
.okres-strzalka { color: #64748b; font-size: 9px; }
.okres-lista {
    margin-top: 3px; border: 1px solid #cbd5e0; border-radius: 5px; background: #fff;
    padding: 3px 0; box-shadow: 0 2px 6px rgba(19, 32, 58, 0.08);
}
.okres-opt { padding: 4px 10px; font-size: 11px; color: #1c2430; }
.okres-sep { height: 1px; background: #CDD5E2; margin: 4px 8px; }
.okres-opis { font-size: 10px; color: #5C6B82; line-height: 1.8; align-self: center; }
.okres-nr {
    display: inline-block; width: 14px; height: 14px; border-radius: 50%;
    background: #13203A; color: #fff; font-size: 9px; font-weight: 700;
    text-align: center; line-height: 14px; margin-right: 6px;
}

/* ============================================================
   MENU "DOKUMENTY"
   Pasek menu programu z rozwinieta lista: Dashboard, kreska,
   Sprzedaz, Zakupy.
   ============================================================ */

.mnu-mock { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 22px; padding: 4px 0 8px 0; max-width: 560px; }
.mnu-bar {
    width: 340px; display: flex; background: #13203A; border-radius: 6px 6px 0 0;
    padding: 6px 8px 0 8px; box-sizing: border-box;
}
.mnu-top {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 6px 14px 7px 14px; color: #AEBACE; font-size: 10.5px;
}
.mnu-top.active { background: #24324E; border-radius: 5px 5px 0 0; color: #E7EDF6; }
.mnu-top-txt { line-height: 1; }
.mnu-ico-lg { width: 19px; height: 19px; }
.mnu-ico { width: 14px; height: 14px; flex: 0 0 auto; }

.mnu-drop {
    background: #13203A; border: 1px solid #2A3A5C; border-top: none;
    border-radius: 0 0 6px 6px; padding: 6px 0; min-width: 230px;
}
.mnu-item { display: flex; align-items: center; gap: 10px; padding: 6px 14px; color: #E7EDF6; font-size: 11.5px; }
.mnu-item:first-child { background: #24324E; }
.mnu-txt { line-height: 1; }
.mnu-sep { height: 1px; background: #2A3A5C; margin: 5px 12px; }

/* pineska przy pozycji menu - zloty gradient, tak jak w programie */
.mnu-pin {
    margin-left: auto; font-size: 9.5px; font-weight: 700; color: #3A2D00;
    background: linear-gradient(#F6D98A, #E3B23C); border: 1px solid #B8860B;
    border-radius: 9px; padding: 1px 8px; white-space: nowrap;
}

.mnu-opis { font-size: 10px; color: #5C6B82; line-height: 1.8; align-self: center; margin-top: 10px; }
.mnu-nr {
    display: inline-block; width: 14px; height: 14px; border-radius: 50%;
    background: #13203A; color: #fff; font-size: 9px; font-weight: 700;
    text-align: center; line-height: 14px; margin-right: 4px;
}

/* ============================================================
   OBSLUGA KAUCJI
   Zakladka ustawien kaucji oraz droga kaucji z faktury do dekretu.
   ============================================================ */

.kau-hint { font-size: 9.5px; color: #5C6B82; line-height: 1.5; margin-top: 7px; }
.kau-flow { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.kau-krok { background: #fff; border: 1px solid #CDD5E2; border-radius: 8px; padding: 10px 12px; }
.kau-krok-tyt { font-size: 11px; font-weight: 700; color: #13203A; margin-bottom: 6px; }
.kau-nr {
    display: inline-block; width: 15px; height: 15px; border-radius: 50%;
    background: #13203A; color: #fff; font-size: 9.5px; font-weight: 700;
    text-align: center; line-height: 15px; margin-right: 6px;
}
.kau-strzalka { text-align: center; color: #12B5D6; font-size: 16px; line-height: 1; }
.kau-wiersz td { background: #F1FBFD !important; }

/* ============================================================
   BOCZNY PASEK OKNA SZCZEGOLOW
   Numer dokumentu, pastylka statusu z AkceptujFaktury.pl i lista obszarow.
   ============================================================ */

.sb-mock { display: flex; gap: 18px; align-items: flex-start; padding: 4px 0 8px 0; }
.sb-panel { width: 196px; flex: 0 0 auto; background: #13203A; border-radius: 8px; padding: 12px 0 10px 0; }
.sb-kod { padding: 0 14px 4px 14px; }
.sb-kod .lbl { color: #AEBACE; font-size: 8.5px; font-weight: 700; }
.sb-kod .val { color: #E7EDF6; font-size: 11.5px; font-weight: 700; margin-bottom: 7px; }
.sb-sep { height: 1px; background: #2A3A5C; margin: 8px 0 6px 0; }
.sb-pill {
    display: inline-block; border-radius: 9px; padding: 2px 9px;
    font-size: 9.5px; font-weight: 700; white-space: nowrap;
}
.sb-obok { flex: 1; min-width: 0; }
.sb-tab td { vertical-align: middle; }

/* ============================================================
   DASHBOARD - PELNA ILUSTRACJA
   Odwzorowanie karty Dashboard ze wszystkimi sekcjami. Wykresy sa
   rysowane w SVG, bo ilustracja nie moze uruchamiac biblioteki
   wykresow, ktorej uzywa program.
   ============================================================ */

.dsh { background: #EDF1F7; border: 1px solid #CDD5E2; border-radius: 8px; padding: 12px 14px 14px; }
.dsh-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dsh-h1 { font-size: 17px; font-weight: 700; color: #1E2A3C; letter-spacing: -.3px; }
.dsh-sub { font-size: 9.5px; color: #5C6B82; margin-top: 3px; }
.dsh-year { background: #13203A; color: #E7EDF6; border-radius: 6px; padding: 6px 12px; font-weight: 700; font-size: 11px; }

.dsh-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.dsh-kpi { background: #fff; border: 1px solid #CDD5E2; border-top: 3px solid #12B5D6; border-radius: 8px;
           padding: 9px 11px; display: flex; gap: 9px; align-items: flex-start; }
.dsh-kpi-ico { font-size: 15px; background: #EDF1F7; border-radius: 7px; padding: 5px 7px; }
.dsh-kpi-body { flex: 1; min-width: 0; }
.dsh-kpi-val { font-size: 17px; font-weight: 700; color: #1E2A3C; letter-spacing: -.4px; }
.dsh-kpi-lbl { font-size: 10px; font-weight: 600; color: #1E2A3C; }
.dsh-kpi-hint { font-size: 9px; color: #5C6B82; margin-top: 1px; }
.dsh-spark { width: 100%; height: 34px; margin-top: 4px; display: block; }

.dsh-card { background: #fff; border: 1px solid #CDD5E2; border-radius: 8px; padding: 10px 12px 12px; margin-bottom: 12px; }
.dsh-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.dsh-card-t { font-size: 11.5px; font-weight: 700; color: #1E2A3C; }
.dsh-badge { background: #E9EEF5; color: #5C6B82; border-radius: 20px; padding: 2px 9px; font-size: 9px; white-space: nowrap; }
.dsh-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }

.dsh-chart { width: 100%; height: auto; display: block; }
.dsh-os { font-size: 7px; fill: #5C6B82; }

.dsh-donut-box { display: flex; align-items: center; gap: 14px; }
.dsh-donut { width: 132px; height: 132px; flex: 0 0 auto; }
.dsh-donut-val { font-size: 22px; font-weight: 700; fill: #1E2A3C; }
.dsh-donut-lbl { font-size: 8px; fill: #5C6B82; }
.dsh-legend { font-size: 10px; color: #1E2A3C; }
.dsh-legend div { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
.dsh-legend b { margin-left: auto; }
.dsh-legend.row { display: flex; gap: 16px; margin-top: 6px; }
.dsh-legend.row div { margin: 0; }
.dsh-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dsh-dash { width: 14px; border-top: 2px dashed; display: inline-block; }

.dsh-tabs { display: flex; gap: 5px; margin-bottom: 6px; }
.dsh-tabs span { font-size: 9px; padding: 2px 9px; border-radius: 20px; background: #EDF1F7; color: #5C6B82; }
.dsh-tabs span.on { background: #13203A; color: #E7EDF6; font-weight: 700; }

.dsh-tab { width: 100%; border-collapse: collapse; font-size: 9.5px; }
.dsh-tab th { background: #F0F4F8; color: #13203A; font-weight: 700; text-align: left; padding: 4px 7px; border-bottom: 1px solid #E3E8F1; }
.dsh-tab td { padding: 4px 7px; border-bottom: 1px solid #F0F3F8; color: #1E2A3C; }
.dsh-tab .num { text-align: right; }
.dsh-tab .mid { text-align: center; }
.dsh-tab .mono { font-family: Consolas, "Courier New", monospace; }

.dsh-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dsh-num { background: #F7F9FC; border: 1px solid #E1E7F0; border-radius: 6px; padding: 7px 9px; }
.dsh-num-v { font-size: 13px; font-weight: 700; color: #1E2A3C; }
.dsh-num-l { font-size: 9px; color: #1E2A3C; font-weight: 600; margin-top: 1px; }
.dsh-num-h { font-size: 8px; color: #5C6B82; }

.dsh-map-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.dsh-map-bar span { font-size: 9px; padding: 2px 9px; border-radius: 20px; background: #EDF1F7; color: #5C6B82; }
.dsh-map-bar span.on { background: #13203A; color: #E7EDF6; font-weight: 700; }
.dsh-map-hint { background: none !important; color: #5C6B82 !important; margin-left: auto; font-size: 8.5px !important; }
.dsh-map-box { display: flex; gap: 14px; align-items: center; }
.dsh-mapa { width: 300px; height: 255px; flex: 0 0 auto; }
.dsh-miasto { font-size: 8px; fill: #1E2A3C; font-weight: 600; }
.dsh-map-top { flex: 1; font-size: 10px; }
.dsh-map-top div { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px solid #F0F3F8; }
.dsh-map-tyt {
    display: block !important; font-size: 8.5px; text-transform: uppercase; letter-spacing: .4px;
    color: #5C6B82; margin: 7px 0 2px; border-bottom: none !important; padding: 0 !important;
}
.dsh-map-n { color: #1E2A3C; }
.dsh-map-bar { flex: 1; height: 4px; background: #EDF1F7; border-radius: 2px; margin: 0 8px; overflow: hidden; }
.dsh-map-bar span { display: block; height: 100%; background: #12B5D6; border-radius: 2px; }
.dsh-map-k { color: #5C6B82; }

.dsh-kontr-list { display: flex; flex-direction: column; gap: 7px; }
.dsh-kontr-top { display: flex; justify-content: space-between; font-size: 10px; }
.dsh-kontr-n { color: #1E2A3C; font-weight: 600; }
.dsh-kontr-k { color: #5C6B82; }
.dsh-kontr-bar { height: 5px; background: #EDF1F7; border-radius: 3px; margin: 3px 0 2px; overflow: hidden; }
.dsh-kontr-bar span { display: block; height: 100%; border-radius: 3px; }
.dsh-kontr-h { font-size: 8px; color: #5C6B82; }

.dsh-under { font-size: 9.5px; color: #5C6B82; margin-top: 6px; }
.dsh-foot { font-size: 9px; color: #5C6B82; line-height: 1.5; margin-top: 4px; }
