.top { flex-wrap:wrap; gap:16px; }
.top .modes { flex-shrink:0; }
.top .modes button { white-space:nowrap; padding:10px 13px; }
.top .top-count { margin-left:auto; }
.top-help { display:flex; gap:8px; margin-left:auto; align-items:center; }
.top-help button { font-family:inherit; font-size:10px; letter-spacing:.08em; text-transform:uppercase; padding:10px 12px; border:1px solid #666; background:transparent; color:#fff; cursor:pointer; }
.top-help button:hover { background:#fff; color:#111; }
.top-help button:disabled { opacity:.45; cursor:wait; }
.top-help[hidden],.top-help button[hidden],#topcount[hidden] { display:none; }
#widok-indywidualny { width:100%; }
#indywidualny-frame { display:block; width:100%; height:calc(100vh - var(--catalog-top-height,60px)); min-height:0; border:0; background:#fff; }
.analiza-layout { display:grid; grid-template-columns:258px minmax(0,1fr); min-height:calc(100vh - 60px); }
.analiza-side { width:auto; position:sticky; top:var(--catalog-top-height,60px); align-self:start; box-sizing:border-box; }
.analiza-side .ktab,.analiza-side .kbtn { width:100%; text-align:left; margin:0 0 8px; font-family:inherit; }
.analiza-side .ktab { display:block; padding:11px 12px; border:1px solid #d7d7d7; background:#fff; cursor:pointer; font-size:12px; }
.analiza-side .ktab.on { border-color:#bda061; background:#f5f0e5; color:#111; font-weight:600; }
.analiza-side .kbtn.primary { text-align:center; }
.analiza-main { min-width:0; padding:26px; }
.analiza-head { margin-bottom:22px; border-bottom:1px solid #e5e5e5; padding-bottom:16px; }
.analiza-head h2 { margin:0 0 8px; font-size:21px; font-weight:500; }
.analiza-head p,.analiza-note { font-size:12px; color:#68707b; line-height:1.7; margin:0; }
.analiza-main h3 { font-size:15px; font-weight:500; margin:0 0 16px; }
.analiza-main .wo-toolbar { display:none; }
.kumulacja-paper { box-sizing:border-box; width:210mm; max-width:100%; padding:14mm; margin:auto; background:#fff; border:1px solid #ddd; }
.kumulacja-paper .of h3 { font-size:9.5px; letter-spacing:.16em; text-transform:uppercase; color:#666; margin:18px 0 7px; font-weight:500; }
@media(max-width:720px) { .kumulacja-paper { padding:18px; overflow:auto; } .kumulacja-paper .of { min-width:510px; } }
.analiza-card { padding:20px; background:#fff; border:1px solid #e3e3e3; margin:0 0 18px; }
.analiza-scroll { overflow:auto; }
.analiza-table { width:100%; border-collapse:collapse; font-size:12px; }
.analiza-table th { background:#f2f2f2; font-weight:500; text-align:left; }
.analiza-table th,.analiza-table td { border-bottom:1px solid #e8e8e8; padding:11px 10px; vertical-align:middle; }
.analiza-table .num { text-align:right; white-space:nowrap; }
.analiza-table small { display:block; color:#6e7480; margin-top:4px; }
.analiza-summary { width:100%; max-width:none; box-sizing:border-box; }
.analiza-summary .analiza-total td { border-top:2px solid #bda061; background:#f6f3ed; font-size:17px; font-weight:600; }
.analiza-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.analiza-fields label { display:block; font-size:11px; color:#616873; }
.analiza-fields label select:disabled { background:#f2f2f2; color:#6b6b6b; cursor:not-allowed; }
.analiza-fields .kvat-stala { display:block; font-size:10px; font-style:normal; color:#8a8f99; margin-top:4px; }
.analiza-fields input,.analiza-fields select,.analiza-table input { font:inherit; display:block; width:100%; margin-top:7px; border:1px solid #d7d7d7; background:#fff; padding:10px; color:#111; box-sizing:border-box; }
.analiza-table input { width:85px; text-align:right; margin:0; }
.analiza-warning { background:#fff9e9; border:1px solid #d7ba73; padding:12px; font-size:12px; margin-bottom:16px; }
.analiza-empty { padding:25px; border:1px dashed #d6c7a7; line-height:1.8; font-size:13px; }
/* Okno pomocy ma ten sam kształt co okna Kalkulacji indywidualnej: szeroki
   panel wpuszczony w ekran, a nie wąska kolumna. Dzięki temu Instrukcja
   i Dystrybutorzy wyglądają tak samo w obu kalkulacjach.                    */
.katalog-pomoc {
  position: fixed; inset: 34px; margin: 0;
  width: auto; max-width: none; height: auto; max-height: none;
  padding: 0; border: 1px solid #ccc; color: #111; font-family: inherit;
  background: #fff; box-shadow: 0 30px 80px -30px rgba(0,0,0,.5);
  display: none; flex-direction: column;
}
.katalog-pomoc[open] { display: flex; }
.katalog-pomoc > header { flex: 0 0 auto; }
#pomoc-tresc { flex: 1 1 auto; overflow: auto; }
@media (max-width: 900px) { .katalog-pomoc { inset: 0; } }
.katalog-pomoc::backdrop { background:#0008; }
.katalog-pomoc header { display:flex; justify-content:space-between; align-items:center; padding:18px 24px; border-bottom:1px solid #ddd; position:sticky; top:0; background:#fff; }
.katalog-pomoc h2 { font-size:20px; font-weight:500; margin:0; }
.katalog-pomoc header button { font:inherit; font-size:26px; border:0; background:none; cursor:pointer; }
#pomoc-tresc { padding:24px; font-size:13px; line-height:1.8; }
#pomoc-tresc.dys { padding:24px 30px 44px; }
#pomoc-tresc h3 { font-size:16px; margin-top:24px; }
#pomoc-tresc li { margin-bottom:8px; }
@media(max-width:1350px) { .top .top-count { display:none; } }
@media(max-width:1250px) { .top .brand img { width:230px; height:auto; } .top .modes button { padding:10px 8px; font-size:9px; letter-spacing:.07em; } .top-help button { font-size:9px; padding:10px; } }
@media(max-width:1100px) { .top .brand { order:0; } .top-help { order:1; } .top .modes { order:2; width:100%; } .top .modes button { flex:1; } }
@media(max-width:1050px) { .top .brand { max-width:260px; } .top .modes button { padding:10px 9px; font-size:9px; } .analiza-main { padding:20px; } }
/* Pasek zakladek na waskim ekranie przewija sie w bok. Gradient przy prawej
   krawedzi pokazuje, ze dalej cos jest; znika po dojechaniu do konca. */
@media(max-width:720px) { .top .modes { width:100%; display:flex; overflow-x:auto; overflow-y:hidden; -webkit-overflow-scrolling:touch; scrollbar-width:none;
    background-image:linear-gradient(to left, rgba(0,0,0,0), rgba(0,0,0,0)), linear-gradient(to left, #000 35%, rgba(0,0,0,0));
    background-position:left center, right center; background-repeat:no-repeat; background-size:28px 100%, 28px 100%;
    background-attachment:local, scroll; }
  .top .modes::-webkit-scrollbar { display:none; } .top .modes button { flex:1; } .analiza-layout { grid-template-columns:1fr; } .analiza-side { position:static; border-right:0; } .analiza-side .fgroup { margin-bottom:14px; } .analiza-fields { grid-template-columns:1fr; } .analiza-main { padding:15px; } }

/* Przycisk przenoszacy wariant cenowy z katalogu do Kalkulacji ofertowej. */
.tbl .uzyj { border:1px solid var(--graphite); background:transparent; color:var(--graphite);
  font-family:inherit; font-size:9px; font-weight:500; letter-spacing:.12em; text-transform:uppercase;
  padding:7px 9px; cursor:pointer; white-space:nowrap; transition:background .12s, color .12s; }
.tbl .uzyj:hover { background:var(--graphite); color:#fff; }
.uzyj-info { margin:12px 0 0; font-size:12px; line-height:1.6; color:#a33; }

/* Instrukcja — ten sam krok typograficzny co instrukcja Kalkulacji indywidualnej. */
.pomoc-head { display:flex; flex-direction:column; gap:3px; }
.pomoc-podpis { font-size:11px; color:var(--muted); }
#pomoc-tresc.instr { max-width:980px; margin:0 auto; padding:24px 30px 44px; font-size:13.5px; }
.instr h3 { font-size:11px; font-weight:500; letter-spacing:.16em; text-transform:uppercase;
  color:var(--ink); margin:26px 0 8px; padding-bottom:7px; border-bottom:1px solid var(--line); }
.instr h3:first-of-type { margin-top:6px; }
.instr p { margin:0 0 11px; font-size:13.5px; line-height:1.7; max-width:78ch; }
.instr ul { margin:0 0 12px; padding-left:20px; max-width:78ch; }
.instr li { font-size:13.5px; line-height:1.65; margin-bottom:6px; }
.instr b { font-weight:500; }
.instr i { font-style:italic; color:var(--muted); }
.instr-lead { font-size:14.5px !important; border-left:3px solid var(--gold);
  padding-left:14px; margin-bottom:22px !important; }
.instr-uwaga { border-left:3px solid #a33; padding-left:14px; color:#7a2f22; }
.instr-wzor { border-left:3px solid var(--line); padding-left:14px; color:var(--muted); font-size:12.5px !important; }

/* Telefon: kalkulacja nie rozpycha strony. Kolumna zwezona do ekranu, a tabela
   elementow — jedyne, co naprawde potrzebuje szerokosci — przewija sie sama w swojej sekcji. */
@media (max-width:1260px) {
  #widok-kalkulator .shell, #widok-kalkulator .shell > * { min-width:0; }
  #widok-kalkulator main { min-width:0; overflow-x:hidden; }
  #widok-kalkulator .ksekcja { overflow-x:auto; -webkit-overflow-scrolling:touch; }
  #widok-kalkulator table.ktab-el { min-width:680px; }
  #widok-kalkulator .kslab { gap:18px; }
}

/* Filtr grubosci — te same chipy co przy kolorze, tylko bez kropki. */
.side .swatches.grubosci { display:flex; flex-wrap:wrap; gap:6px; }
.side .sw.gr { justify-content:center; min-width:56px; padding:7px 10px; font-variant-numeric:tabular-nums; }
/* Kolejnosc zjechala do lewej kolumny, wiec pasek nad wynikami zostaje sam z licznikiem. */
.bar .found { margin-right:auto; }

/* ------------------------------------------------------------------
   BRAMA LOGOWANIA I ZAPISANE WYCENY
   ------------------------------------------------------------------ */
#brama {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: #f4f4f2; padding: 24px;
}
body:not(.zalogowany) > header.top,
body:not(.zalogowany) > main,
body:not(.zalogowany) > .widok,
body:not(.zalogowany) > .scrim,
body:not(.zalogowany) > .panel { visibility: hidden; }
body:not(.zalogowany) { overflow: hidden; }

.brama-karta {
  background: #fff; border: 1px solid #dcdcdc; padding: 44px 40px 34px;
  width: 100%; max-width: 380px; box-shadow: 0 18px 50px rgba(0,0,0,.07);
}
.brama-marka {
  font-size: 15px; letter-spacing: .26em; font-weight: 500;
  text-align: center; margin-bottom: 18px;
}
.brama-wstep {
  font-size: 12.5px; line-height: 1.7; color: #6b6b6b;
  text-align: center; margin: 0 0 26px;
}
#brama-form label {
  display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: #8a8a8a; margin-bottom: 16px;
}
#brama-form input {
  display: block; width: 100%; margin-top: 6px; box-sizing: border-box;
  font: inherit; font-size: 14px; letter-spacing: 0; text-transform: none; color: #17191a;
  padding: 11px 12px; border: 1px solid #cfcfcf; background: #fff;
}
#brama-form input:focus { outline: none; border-color: #17191a; }
.brama-blad {
  font-size: 12px; color: #8a4227; background: #f9ece7;
  border: 1px solid #e6cfc4; padding: 9px 11px; margin: 0 0 14px;
}
.brama-wejdz {
  width: 100%; font: inherit; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  background: #17191a; color: #fff; border: 1px solid #17191a;
  padding: 13px 0; cursor: pointer; margin-top: 4px;
}
.brama-wejdz:hover { background: #000; }
.brama-stopka {
  font-size: 10.5px; line-height: 1.7; color: #9a9a9a; margin: 22px 0 0; text-align: center;
}

.top-konto { display: flex; align-items: center; gap: 10px; margin-left: 14px; }
#konto-otworz[aria-pressed="true"] { background: #fff; color: #17191a; border-color: #fff; }
.top-konto button {
  font: inherit; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid #3a3d3f; background: transparent; color: #f2f2f0;
  padding: 8px 13px; cursor: pointer; white-space: nowrap;
}
.top-konto button:hover { background: #fff; color: #17191a; border-color: #fff; }
.top-konto .konto-kto {
  font-size: 11px; color: #9aa1a8; letter-spacing: .04em; white-space: nowrap;
}

.wyc-zapisz { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 18px; }
.wyc-zapisz label {
  flex: 1 1 240px; font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: #8a8a8a;
}
.wyc-zapisz input {
  display: block; width: 100%; margin-top: 6px; box-sizing: border-box;
  font: inherit; font-size: 13.5px; letter-spacing: 0; text-transform: none; color: #17191a;
  padding: 10px 11px; border: 1px solid #cfcfcf;
}
.wyc-zapisz input:focus { outline: none; border-color: #17191a; }
#wyc-zapisz-btn {
  font: inherit; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  background: #17191a; color: #fff; border: 1px solid #17191a; padding: 12px 18px; cursor: pointer;
}
#wyc-zapisz-btn:hover { background: #000; }
.wyc-info { font-size: 12px; color: #4a7a55; margin: 0 0 14px; }
.wyc-info.alarm { color: #8a4227; }
.wyc-tabela { width: 100%; border-collapse: collapse; font-size: 13px; }
.wyc-tabela td { padding: 11px 8px; border-bottom: 1px solid #ededed; vertical-align: middle; }
.wyc-tabela td b { display: block; font-weight: 500; }
.wyc-tabela td span { display: block; font-size: 11px; color: #8a8a8a; margin-top: 2px; }
.wyc-data { white-space: nowrap; color: #8a8a8a; font-size: 11.5px; }
.wyc-akcje { text-align: right; white-space: nowrap; }
.wyc-akcje button {
  font: inherit; font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid #cfcfcf; background: #fff; color: #17191a;
  padding: 6px 11px; margin-left: 6px; cursor: pointer;
}
.wyc-akcje button:hover { background: #17191a; color: #fff; border-color: #17191a; }
.wyc-akcje .wyc-usun:hover { background: #8a4227; border-color: #8a4227; }
.wyc-pusto { color: #9a9a9a; text-align: center; padding: 26px 0; }
.wyc-stopka { font-size: 11px; line-height: 1.7; color: #9a9a9a; margin: 20px 0 0; }

@media (max-width: 760px) {
  .top-konto { margin-left: 0; width: 100%; justify-content: flex-end; }
  .wyc-akcje button { margin: 3px 0 0 6px; }
}

/* Rola przy loginie i wyceny cudzego autorstwa */
.top-konto .konto-rola {
  font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  color: #17191a; background: #d7c9a4; padding: 4px 8px; white-space: nowrap;
}
.wyc-tabela tr.wyc-cudza td:first-child b { font-weight: 400; }
.wyc-tabela tr.wyc-cudza td:first-child::before {
  content: ''; display: inline-block; width: 3px; height: 26px;
  background: #d7c9a4; margin-right: 9px; vertical-align: middle; float: left;
}


/* ------------------------------------------------------------------
   TYLKO NA KOMPUTERZE
   Ponizej 768 px chowamy cala strone i pokazujemy plansze. Warstwa jest
   w HTML zawsze, wiec nie da sie jej ominac wylaczajac JavaScript po starcie.
   ------------------------------------------------------------------ */
#tylko-komputer { display: none; }

@media (max-width: 767px) {
  #tylko-komputer {
    display: flex; position: fixed; inset: 0; z-index: 100000;
    align-items: center; justify-content: center;
    background: #f4f4f2; padding: 26px; box-sizing: border-box;
  }
  body > header.top, body > main, body > .widok,
  body > .scrim, body > .panel, body > dialog, body > #brama { display: none !important; }
  body { overflow: hidden; }
}

.tk-karta {
  background: #fff; border: 1px solid #dcdcdc; padding: 38px 30px 32px;
  width: 100%; max-width: 420px; text-align: center;
  box-shadow: 0 18px 50px rgba(0,0,0,.07);
}
.tk-marka {
  font-size: 13px; letter-spacing: .26em; font-weight: 500; color: #17191a; margin-bottom: 22px;
}
.tk-karta h2 { font-size: 19px; font-weight: 500; margin: 0 0 14px; color: #17191a; line-height: 1.4; }
.tk-karta p { font-size: 13px; line-height: 1.75; color: #6b6b6b; margin: 0 0 12px; }
.tk-co {
  font-size: 12px !important; letter-spacing: .06em; color: #17191a !important;
  border-top: 1px solid #ededed; padding-top: 14px; margin: 18px 0 0 !important;
}

/* ------------------------------------------------------------------
   PRÓBKI W SALONIE
   ------------------------------------------------------------------ */
.pr-shell { box-sizing: border-box; }
.pr-head { margin-bottom: 18px; }
.pr-head h3 { margin: 0 0 8px; font-size: 16px; font-weight: 500; color: #111; }
.pr-head p { margin: 0; font-size: 12.5px; line-height: 1.7; color: #68707b; max-width: 78ch; }

.pr-pasek { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 16px; }
.pr-pasek label { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #8a8a8a; }
.pr-pasek input, .pr-pasek select {
  display: block; width: 100%; margin-top: 6px; box-sizing: border-box; font: inherit; font-size: 13px;
  letter-spacing: 0; text-transform: none; color: #17191a; padding: 9px 10px; border: 1px solid #d7d7d7; background: #fff;
}
.pr-pasek input:focus, .pr-pasek select:focus { outline: none; border-color: #17191a; }
.pr-pasek select:disabled { background: #f2f2f2; color: #6b6b6b; }

.pr-licznik {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  padding: 12px 14px; background: #fafafa; border: 1px solid #ededed; margin-bottom: 16px; font-size: 12px; color: #68707b;
}
.pr-licznik b { color: #111; font-weight: 500; font-size: 14px; }
.pr-licznik .pr-data { font-size: 11px; color: #9a9a9a; }
.pr-btn {
  margin-left: auto; font: inherit; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid #17191a; background: transparent; color: #17191a; padding: 9px 14px; cursor: pointer;
}
.pr-btn:hover { background: #17191a; color: #fff; }

.pr-tabela-box { border: 1px solid #e3e3e3; background: #fff; max-height: 62vh; overflow: auto; }
.pr-tabela { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pr-tabela thead th {
  position: sticky; top: 0; z-index: 1; background: #f2f2f2; text-align: left; font-weight: 500;
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: #6b6b6b; padding: 10px;
}
.pr-tabela td { border-bottom: 1px solid #f0f0f0; padding: 8px 10px; vertical-align: middle; }
.pr-tabela .pr-nazwa { font-weight: 500; color: #111; width: 27%; }
.pr-tabela .pr-prod { color: #77808c; width: 27%; }
.pr-tabela .pr-pusto { color: #9a9a9a; text-align: center; padding: 26px 0; font-style: italic; }

.pr-chip {
  font: inherit; font-size: 11.5px; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid #d7d7d7; background: #fff; color: #6b6b6b; padding: 6px 10px; margin: 2px 6px 2px 0;
  cursor: pointer; white-space: nowrap;
}
.pr-chip i { font-style: normal; font-size: 9px; letter-spacing: .1em; border: 1px solid currentColor; padding: 1px 5px; }
.pr-chip:hover { border-color: #17191a; color: #17191a; }
.pr-chip.ma { border-color: #4a7a55; background: #f1f7f2; color: #2f5a39; font-weight: 500; }

.pr-dodatkowe { margin-top: 30px; }
.pr-dodatkowe h3 { font-size: 15px; font-weight: 500; margin: 0 0 6px; color: #111; }
.pr-dodatkowe p { margin: 0 0 14px; font-size: 12px; line-height: 1.7; color: #68707b; max-width: 78ch; }
.pr-tabela-dod { border: 1px solid #e3e3e3; background: #fff; }
.pr-tabela-dod input {
  font: inherit; font-size: 12.5px; width: 100%; box-sizing: border-box;
  padding: 7px 8px; border: 1px solid #e0e0e0; background: #fff; color: #17191a;
}
.pr-tabela-dod input:focus { outline: none; border-color: #17191a; }
.pr-usun { width: 40px; text-align: center; }
.pr-usun button {
  font: inherit; font-size: 17px; line-height: 1; border: 1px solid #e0e0e0; background: #fff;
  color: #8a8a8a; width: 27px; height: 27px; cursor: pointer;
}
.pr-usun button:hover { background: #8a4227; border-color: #8a4227; color: #fff; }
.pr-dodatkowe .pr-btn { margin: 14px 0 0; }
.pr-stopka { margin-top: 26px; font-size: 11px; line-height: 1.7; color: #9a9a9a; }

@media (max-width: 1100px) { .pr-pasek { grid-template-columns: repeat(2, minmax(0,1fr)); } }


/* ------------------------------------------------------------------
   MOJE KONTO — jeden widok z danymi konta, wycenami i próbkami
   ------------------------------------------------------------------ */
.kt-shell { max-width: 1240px; margin: 0 auto; padding: 26px 26px 70px; box-sizing: border-box; }
.kt-head {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  border-bottom: 1px solid #e5e5e5; padding-bottom: 16px; margin-bottom: 22px;
}
.kt-head h2 { margin: 0; font-size: 21px; font-weight: 500; color: #111; }
.kt-head button {
  font: inherit; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid #17191a; background: transparent; color: #17191a;
  padding: 10px 16px; cursor: pointer; white-space: nowrap;
}
.kt-head button:hover { background: #8a4227; border-color: #8a4227; color: #fff; }

.kt-karta { border: 1px solid #e3e3e3; background: #fff; padding: 22px 24px; margin-bottom: 30px; }
.kt-dane { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px 30px; margin: 0; }
.kt-dane > div { min-width: 0; }
.kt-dane dt {
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  color: #8a8a8a; margin-bottom: 5px;
}
.kt-dane dd { margin: 0; font-size: 14px; color: #111; line-height: 1.5; word-break: break-word; }
.kt-dane > div:nth-child(3) dd {
  display: inline-block; background: #d7c9a4; padding: 2px 9px;
  font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
}

/* --- trzy grupy w „Moim koncie”: próbki, pozostałości, kontakty --- */
.kt-grupa { margin: 0 0 44px; }
.kt-grupa-tytul {
  margin: 0 0 18px; padding-bottom: 9px; border-bottom: 2px solid var(--graphite);
  font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.kt-grupa .kt-sekcja { margin-bottom: 30px; }
.kt-grupa .kt-sekcja:last-child { margin-bottom: 0; }

/* --- Kontakty salony --- */
.kn-shell { max-width: 1240px; }
.kn-head h3 { margin: 0 0 6px; font-size: 19px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.kn-head p { margin: 0 0 18px; font-size: 12.5px; color: var(--muted); line-height: 1.6; max-width: 780px; }
.kn-licznik {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  padding: 11px 0 15px; border-bottom: 1px solid var(--line-soft); margin-bottom: 22px;
  font-size: 12px; color: var(--muted);
}
.kn-licznik b { color: var(--ink); font-weight: 500; font-size: 14px; margin-left: 5px; }
.kn-licznik button { margin-left: auto; }
.kn-regiony { border: 1px solid var(--line); background: var(--mist); padding: 15px 18px; margin-bottom: 26px; }
.kn-regiony h4 {
  margin: 0 0 9px; font-size: 9.5px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.kn-regiony ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.kn-regiony li { font-size: 12.5px; }
.kn-regiony li em { font-style: normal; color: var(--muted); margin-left: 7px; font-size: 11.5px; }
.kn-regiony a, .kn-tabela a { color: inherit; }
.kn-salon { margin-bottom: 26px; }
.kn-salon-head {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 8px;
}
.kn-salon-head h4 { margin: 0; font-size: 16px; font-weight: 500; }
.kn-salon-head h4 em { font-style: normal; font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-left: 7px; }
.kn-salon-head span { font-size: 12px; color: var(--muted); }
.kn-tabela { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.kn-tabela th {
  text-align: left; font-size: 9px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); padding: 0 8px 6px 0; border-bottom: 1px solid var(--line-soft);
}
.kn-tabela td { padding: 7px 8px 7px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.kn-kto b { display: block; font-weight: 500; }
.kn-kto span { display: block; font-size: 10.5px; color: var(--muted); margin-top: 1px; }
.kn-kto .kn-brak { color: #a8a8a8; font-style: italic; }
.kn-kto .kn-uwaga { color: #8A4227; }
.kn-tel, .kn-mail { white-space: nowrap; }
.kn-pusto { color: var(--muted); font-style: italic; }
.kn-uwagi { border-left: 3px solid var(--gold); background: #fdfaf3; padding: 13px 16px; margin: 22px 0 0; }
.kn-uwagi h4 { margin: 0 0 5px; font-size: 11.5px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.kn-uwagi p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.65; }
.kn-stopka { margin: 20px 0 0; font-size: 11.5px; color: var(--muted); }

/* --- pozostałości: przełącznik trybu ręcznego --- */
.pz-tryb { display: flex; flex-direction: column; gap: 4px; margin: 0 0 16px; }
.pz-przelacznik { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 12.5px; }
.pz-przelacznik input { width: 15px; height: 15px; accent-color: var(--graphite); cursor: pointer; }
.pz-tryb em { font-style: normal; font-size: 11.5px; color: var(--muted); padding-left: 24px; }
.pz-spoza { font-style: normal; color: #8A4227; }

.kt-sekcja { margin-bottom: 38px; }
.kt-sekcja > h3 {
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: #111; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 1px solid #e5e5e5;
}
.kt-sekcja .pr-head h3 {
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: #111; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid #e5e5e5;
}

@media (max-width: 900px) { .kt-dane { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ------------------------------------------------------------------
   POZOSTAŁOŚCI MATERIAŁU
   ------------------------------------------------------------------ */
#widok-pozostalosci .pz-shell { max-width: 1240px; margin: 0 auto; padding: 26px 26px 70px; }
.pz-shell { box-sizing: border-box; }
.pz-head { margin-bottom: 18px; }
.pz-head h3 {
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: #111; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid #e5e5e5;
}
#widok-pozostalosci .pz-head h3 { font-size: 21px; letter-spacing: 0; text-transform: none; }
.pz-head p { margin: 0; font-size: 12.5px; line-height: 1.7; color: #68707b; max-width: 78ch; }

.pz-formularz { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 14px; }
.pz-formularz label { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #8a8a8a; }
.pz-formularz .pz-uwaga { grid-column: 1 / -1; }
.pz-formularz input, .pz-formularz select {
  display: block; width: 100%; margin-top: 6px; box-sizing: border-box; font: inherit; font-size: 13px;
  letter-spacing: 0; text-transform: none; color: #17191a; padding: 9px 10px; border: 1px solid #d7d7d7; background: #fff;
}
.pz-formularz input:focus, .pz-formularz select:focus { outline: none; border-color: #17191a; }
.pz-formularz select:disabled { background: #f6f6f6; color: #b0b0b0; }

.pz-btn {
  font: inherit; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid #17191a; background: transparent; color: #17191a; padding: 10px 16px; cursor: pointer;
}
.pz-btn:hover { background: #17191a; color: #fff; }
#pz-dodaj { background: #17191a; color: #fff; }
#pz-dodaj:hover { background: #000; }
.pz-info { font-size: 12px; color: #4a7a55; margin: 0 0 10px; }
.pz-info.alarm { color: #8a4227; }

.pz-licznik {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 26px 0 14px;
  padding: 12px 14px; background: #fafafa; border: 1px solid #ededed; font-size: 12px; color: #68707b;
}
.pz-licznik b { color: #111; font-weight: 500; font-size: 14px; }
.pz-licznik .pz-btn { margin-left: auto; }

.pz-tabela-box { border: 1px solid #e3e3e3; background: #fff; max-height: 58vh; overflow: auto; }
.pz-tabela { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pz-tabela thead th {
  position: sticky; top: 0; z-index: 1; background: #f2f2f2; text-align: left; font-weight: 500;
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: #6b6b6b; padding: 10px;
}
.pz-tabela td { border-bottom: 1px solid #f0f0f0; padding: 8px 10px; vertical-align: middle; }
.pz-tabela .pz-l { text-align: right; white-space: nowrap; }
.pz-tabela .pz-mat b { display: block; font-weight: 500; color: #111; }
.pz-tabela .pz-mat span, .pz-tabela .pz-kto span { display: block; font-size: 11px; color: #8a8a8a; margin-top: 2px; }
.pz-tabela .pz-kto { white-space: nowrap; font-size: 11.5px; color: #68707b; }
.pz-tabela .pz-uw { color: #68707b; max-width: 26ch; }
.pz-tabela .pz-pusto { color: #9a9a9a; text-align: center; padding: 26px 0; font-style: italic; }
.pz-usun { width: 40px; text-align: center; }
.pz-usun button {
  font: inherit; font-size: 17px; line-height: 1; border: 1px solid #e0e0e0; background: #fff;
  color: #8a8a8a; width: 27px; height: 27px; cursor: pointer;
}
.pz-usun button:hover { background: #8a4227; border-color: #8a4227; color: #fff; }
.pz-stopka { margin-top: 20px; font-size: 11px; line-height: 1.7; color: #9a9a9a; }

@media (max-width: 1100px) { .pz-formularz { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* stan próbki: kafelek przełączany plus wielkość obok */
.pr-para { display: inline-flex; align-items: center; gap: 4px; margin: 2px 8px 2px 0; }
.pr-chip.chce { border-color: #8a6d27; background: #fdf8ec; color: #6b5215; font-weight: 500; }
.pr-rozmiar {
  font: inherit; font-size: 11px; padding: 4px 5px; border: 1px solid #d7d7d7;
  background: #fff; color: #6b6b6b; max-width: 88px;
}
.pr-rozmiar:focus { outline: none; border-color: #17191a; }
.pr-tabela-dod select {
  font: inherit; font-size: 12.5px; width: 100%; box-sizing: border-box;
  padding: 7px 8px; border: 1px solid #e0e0e0; background: #fff; color: #17191a;
}
.pr-tabela .pr-ile { width: 84px; text-align: right; }
.pr-tabela .pr-ile input { text-align: right; }

.kt-akcje { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.kt-akcje .kt-glowny { background: #17191a; color: #fff; border-color: #17191a; }
.kt-akcje .kt-glowny:hover { background: #000; border-color: #000; color: #fff; }

/* ------------------------------------------------------------------
   MOJE KONTO — zakladki (taby)
   ------------------------------------------------------------------ */
.kt-taby {
  display: flex; flex-wrap: wrap; gap: 0;
  border-bottom: 1px solid #e3e3e3; margin-bottom: 30px;
}
.kt-tab {
  font: inherit; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  background: transparent; border: 0; border-bottom: 2px solid transparent;
  color: #8a8a8a; padding: 12px 18px; margin-bottom: -1px; cursor: pointer; white-space: nowrap;
}
.kt-tab:hover { color: #17191a; }
.kt-tab.jest { color: #17191a; border-bottom-color: #8a4227; font-weight: 500; }
.kt-tab:focus-visible { outline: 1px solid #17191a; outline-offset: -2px; }
.kt-panel { margin: 0; }
.kt-panel[hidden] { display: none; }

@media (max-width: 900px) {
  .kt-taby { overflow-x: auto; flex-wrap: nowrap; }
  .kt-tab { padding: 12px 13px; }
}

/* ------------------------------------------------------------------
   PANELE ADMINISTRATORA — konta, materiały, parametry
   ------------------------------------------------------------------ */
.kn-head, .mt-head, .pm-head { margin-bottom: 18px; }
.kn-head h3, .mt-head h3, .pm-head h3,
.mt-wlasne h3 { margin: 0 0 8px; font-size: 16px; font-weight: 500; color: #111; }
.kn-head p, .mt-head p, .pm-head p, .mt-wlasne p {
  margin: 0; font-size: 12.5px; line-height: 1.7; color: #68707b; max-width: 82ch;
}
.kn-male, .mt-male, .pm-male { font-size: 11.5px; color: #77808c; }
.kn-info, .mt-info, .pm-info { font-size: 12px; color: #68707b; margin: 12px 0 0; }
.kn-blad, .mt-blad, .pm-blad { font-size: 12px; color: #8a4227; margin: 12px 0 0; }
.kn-ok, .mt-ok, .pm-ok { font-size: 12px; color: #2f5a39; margin: 12px 0 0; }

.kn-btn, .mt-btn, .pm-btn {
  font: inherit; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid #17191a; background: transparent; color: #17191a;
  padding: 9px 14px; cursor: pointer;
}
.kn-btn:hover, .mt-btn:hover, .pm-btn:hover { background: #17191a; color: #fff; }
.kn-glowny, .mt-glowny, .pm-glowny { background: #17191a; color: #fff; }
.kn-glowny:hover, .pm-glowny:hover { background: #000; }
.kn-mini, .mt-mini {
  font: inherit; font-size: 11px; border: 1px solid #d7d7d7; background: #fff; color: #17191a;
  padding: 5px 9px; cursor: pointer; margin-left: 4px; white-space: nowrap;
}
.kn-mini:hover, .mt-mini:hover { border-color: #17191a; background: #17191a; color: #fff; }
.kn-mini.mt-glowny, .mt-mini.mt-glowny { background: #17191a; color: #fff; border-color: #17191a; }
.kn-usun:hover, .mt-usun:hover { background: #8a4227; border-color: #8a4227; color: #fff; }
.kn-mini[disabled] { opacity: .35; cursor: default; }

.kn-licznik, .mt-licznik {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  padding: 12px 14px; background: #fafafa; border: 1px solid #ededed;
  margin-bottom: 16px; font-size: 12px; color: #68707b;
}
.kn-licznik b, .mt-licznik b { color: #111; font-weight: 500; font-size: 14px; }
.kn-licznik .kn-btn { margin-left: auto; }

.kn-tabela-box, .mt-tabela-box { border: 1px solid #e3e3e3; background: #fff; max-height: 64vh; overflow: auto; }
.kn-tabela, .mt-tabela, .pm-tabela { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.kn-tabela thead th, .mt-tabela thead th, .pm-tabela thead th {
  position: sticky; top: 0; z-index: 1; background: #f2f2f2; text-align: left; font-weight: 500;
  font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #6b6b6b; padding: 9px 8px;
}
.kn-tabela td, .mt-tabela td, .pm-tabela td {
  border-bottom: 1px solid #f0f0f0; padding: 7px 8px; vertical-align: middle;
}
.kn-nazwa, .mt-nazwa { font-weight: 500; color: #111; }
.kn-login i, .mt-znak {
  font-style: normal; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase;
  color: #8a4227; border: 1px solid #e0cfc6; padding: 1px 5px; margin-left: 4px;
}
.kn-akcje-td, .mt-akcje-td { text-align: right; white-space: nowrap; }
.mt-pusto { color: #9a9a9a; text-align: center; padding: 26px 0; font-style: italic; }
.mt-wynik { color: #17191a; text-align: right; font-variant-numeric: tabular-nums; }
.mt-in, .pm-in {
  font: inherit; font-size: 12.5px; width: 100px; box-sizing: border-box;
  padding: 6px 7px; border: 1px solid #e0e0e0; background: #fff; color: #17191a;
}
.mt-in:focus, .pm-in:focus { outline: none; border-color: #17191a; }
.mt-foto { display: block; width: 56px; height: 40px; object-fit: cover; border: 1px solid #ededed; }

.kn-form, .mt-form {
  border: 1px solid #17191a; background: #fbfbfa; padding: 18px 20px; margin-bottom: 18px;
}
.kn-form h4, .mt-form h4 { margin: 0 0 14px; font-size: 14px; font-weight: 500; color: #111; }
.kn-pola, .mt-pola, .pm-pola {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px 18px;
}
.kn-pola label, .mt-pola label, .pm-pola label {
  display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #8a8a8a;
}
.kn-pola input, .kn-pola select,
.mt-pola input, .mt-pola select,
.pm-pola input, .pm-pola select {
  display: block; width: 100%; margin-top: 6px; box-sizing: border-box; font: inherit; font-size: 13px;
  letter-spacing: 0; text-transform: none; color: #17191a; padding: 9px 10px;
  border: 1px solid #d7d7d7; background: #fff;
}
.kn-pola input:focus, .kn-pola select:focus,
.mt-pola input:focus, .mt-pola select:focus,
.pm-pola input:focus, .pm-pola select:focus { outline: none; border-color: #17191a; }
.pm-pola .pm-male { display: block; margin-top: 5px; text-transform: none; letter-spacing: 0; }
.kn-pola input:disabled { background: #f2f2f2; color: #6b6b6b; }
.mt-ptak, .kn-ptak {
  display: flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0;
  font-size: 12.5px; color: #17191a;
}
.mt-ptak input, .kn-ptak input { width: auto; margin: 0; display: inline-block; }

.kn-salony-wybor { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.kn-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px;
  border: 1px solid #d7d7d7; background: #fff; padding: 5px 9px; cursor: pointer;
}
.kn-form-akcje, .mt-form-akcje, .pm-akcje {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px;
}

.mt-pasek { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 16px; }
.mt-pasek label { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #8a8a8a; }
.mt-pasek input, .mt-pasek select {
  display: block; width: 100%; margin-top: 6px; box-sizing: border-box; font: inherit; font-size: 13px;
  letter-spacing: 0; text-transform: none; color: #17191a; padding: 9px 10px; border: 1px solid #d7d7d7; background: #fff;
}
.mt-wlasne { margin-top: 40px; padding-top: 26px; border-top: 1px solid #e3e3e3; }
.mt-wlasne .mt-btn { margin-top: 14px; }
.mt-tabela-wlasne { border: 1px solid #e3e3e3; background: #fff; margin-top: 12px; }
.mt-zdjecia { margin-top: 16px; }
.mt-zdjecia #mf-zdjecia { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.mt-zdj { position: relative; display: inline-block; }
.mt-zdj img { display: block; width: 96px; height: 72px; object-fit: cover; border: 1px solid #ededed; }
.mt-zdj button {
  position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; line-height: 1;
  font: inherit; font-size: 14px; border: 0; background: rgba(23,25,26,.8); color: #fff; cursor: pointer;
}

.pm-box { border: 1px solid #e3e3e3; background: #fff; padding: 18px 20px; margin-bottom: 20px; }
.pm-box h4 { margin: 0 0 14px; font-size: 14px; font-weight: 500; color: #111; }
.pm-box .pm-tabela { border-top: 1px solid #f0f0f0; }

@media (max-width: 1100px) {
  .kn-pola, .mt-pola, .pm-pola { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mt-pasek { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Drobiazgi panelu materiałów: ptaszek w pasku filtrów i wąska kolumna akcji,
   żeby przy szerokiej tabeli cennika „Zapisz” nie uciekał poza ekran. */
.mt-pasek label.mt-ptak {
  display: flex; align-items: center; gap: 8px; align-self: end; padding-bottom: 9px;
  text-transform: none; letter-spacing: 0; font-size: 12.5px; color: #17191a;
}
.mt-pasek label.mt-ptak input { width: auto; margin: 0; display: inline-block; }
.mt-tabela .mt-in { width: 88px; }
.mt-tabela .mt-akcje-td { text-align: right; }
.mt-tabela .mt-akcje-td .mt-mini { display: block; width: 100%; margin: 0 0 4px; text-align: center; }
.mt-tabela .mt-akcje-td .mt-mini:last-child { margin-bottom: 0; }

/* ---------- cennik jak arkusz (panel-materialow.js) ---------- */
.mt-producenci { border: 1px solid #e3e3e3; background: #fff; margin-bottom: 18px; }
.mt-producenci summary { cursor: pointer; padding: 12px 14px; font-size: 13px; color: #111; font-weight: 500; }
.mt-producenci[open] summary { border-bottom: 1px solid #ededed; }
.mt-producenci > div { padding: 12px 14px 14px; }
.mt-domyslna { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; font-size: 12.5px; }
.mt-domyslna .mt-in { width: 70px; margin-left: 6px; }
.mt-tabela-prod { border: 1px solid #ededed; margin-bottom: 8px; }
.mt-tabela-prod .mt-in { width: 80px; }

.mt-masowe { position: sticky; top: 0; z-index: 3; background: #f7f7f6; border: 1px solid #e3e3e3;
  padding: 10px 12px; margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 10px; font-size: 12.5px; color: #555; }
.mt-masowe.mt-aktywne { background: #fff; border-color: #17191a; }
.mt-masowe b { color: #111; font-weight: 500; }
.mt-zazn { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.mt-oper { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mt-oper select, .mt-oper .mt-in { height: 30px; border: 1px solid #d6d6d6; background: #fff; font-size: 12.5px; padding: 0 6px; }
.mt-oper .mt-in { width: 90px; }
.mt-masowe:not(.mt-aktywne) .mt-oper { opacity: .55; }
.mt-link { background: none; border: 0; padding: 0; color: #17191a; text-decoration: underline;
  text-underline-offset: 2px; cursor: pointer; font-size: 12.5px; }
.mt-link:hover { color: #000; }

.mt-arkusz th, .mt-arkusz td { white-space: nowrap; }
.mt-arkusz thead th { position: sticky; top: 0; z-index: 1; }
.mt-ptaszek { width: 28px; text-align: center; }
.mt-ptaszek input { margin: 0; cursor: pointer; }
.mt-arkusz tbody tr:hover { background: #fafaf8; }
.mt-arkusz tr.mt-zaznaczony { background: #f1f3ee; }
.mt-arkusz tr.mt-edytowany { box-shadow: inset 3px 0 0 #17191a; }
.mt-arkusz .mt-in { width: 82px; }
.mt-arkusz .mt-in.mt-waskie { width: 56px; }
.mt-arkusz .mt-in::placeholder { color: #9aa0a6; }
.mt-z-zrodlem { white-space: nowrap; }
.mt-zr { display: inline-block; margin-left: 4px; font-style: normal; font-size: 10px; letter-spacing: .04em;
  color: #77808c; vertical-align: middle; }
.mt-reczna { color: #8a5a00; background: #fbf3e2; border: 1px solid #ecd9ae; padding: 0 4px; font-size: 10px;
  font-style: normal; letter-spacing: .04em; }
.mt-wlasny-info { white-space: normal !important; font-style: italic; }
.mt-usun { border-color: #c9a597; color: #8a4227; }

.mt-okno-tlo { position: fixed; inset: 0; z-index: 1000; background: rgba(23,25,26,.38);
  display: flex; align-items: center; justify-content: center; padding: 16px; }
.mt-okno { background: #fff; width: min(1100px, 100%); max-height: calc(100vh - 32px); display: flex;
  flex-direction: column; padding: 20px 22px; box-shadow: 0 18px 48px rgba(0,0,0,.18); }
.mt-okno h3 { margin: 0 0 6px; font-size: 17px; font-weight: 500; color: #111; }
.mt-okno-box { margin-top: 12px; max-height: none; flex: 1 1 auto; min-height: 0; }
.mt-okno-akcje { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.mt-zmiana { color: #111; background: #f6f8f2; }
.mt-zmiana s { color: #9a9a9a; margin-right: 4px; }
.mt-btn-usun { background: #8a4227; border-color: #8a4227; color: #fff; }
.mt-btn-usun:hover { background: #6e3420; border-color: #6e3420; }
.mt-arkusz { font-size: 12px; }
.mt-arkusz td, .mt-arkusz thead th { padding-left: 6px; padding-right: 6px; }
.mt-arkusz .mt-in { width: 70px; }
.mt-arkusz .mt-in.mt-rabat, .mt-arkusz .mt-in.mt-waskie { width: 46px; }
.mt-uwaga { margin: 8px 0 0; padding: 8px 10px; background: #fbf3e2; border: 1px solid #ecd9ae; color: #5c4210; font-size: 12px; }
.mt-tabela .mt-akcje-td .mt-mini[hidden] { display: none; }

/* ---------- materiał: formularz w oknie, dziennik (etap 3) ---------- */
.mt-head .mt-dodaj { float: right; margin: 0 0 8px 16px; }
.mt-okno-form { width: min(820px, 100%); }
.mt-okno-przewijany { overflow: auto; flex: 1 1 auto; min-height: 0; padding-right: 4px; }
.mt-grupa { margin: 18px 0 10px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #555; }
.mt-grupa:first-child { margin-top: 6px; }
.mt-grupa .mt-male { text-transform: none; letter-spacing: 0; }
.mt-zdj .mt-zdj-pierwsze { left: 2px; right: auto; }
.mt-ikona { padding-left: 7px; padding-right: 7px; }
.mt-arkusz .mt-akcje-td .mt-mini { display: inline-block; width: auto; margin: 0 0 0 4px; }
.mt-arkusz .mt-akcje-td .mt-mini[hidden] { display: none; }
.mt-dziennik { margin-top: 26px; }
.mt-tabela-dziennik td { white-space: normal; }
