/**
 * calculator.css — style kalkulatora osadzonego na mazurysafe.pl.
 *
 * Reguły z narzędzia instalatora są zamknięte w zasięgu `#calc-app`, żeby ciemny
 * motyw i zmienne (--line, --muted, --accent) nie nadpisały jasnego stylu strony.
 * GÓRNA CZĘŚĆ JEST GENEROWANA z cctv-kalkulator/css/style.css przez
 * tools/scope-css.py — nie edytuj jej ręcznie. Sekcja publiczna niżej jest pisana
 * ręcznie i przeżywa synchronizację.
 */

#calc-app{
  --bg:#161a1f; --panel:#1e242b; --panel2:#242c35; --line:#333d47;
  --txt:#e6ebf0; --muted:#93a1ad; --accent:#2f81f7; --danger:#e5484d;
}
#calc-app *{box-sizing:border-box}
#calc-app #topbar{
  display:flex;align-items:center;gap:8px;padding:8px 12px;
  background:var(--panel);border-bottom:1px solid var(--line);flex:0 0 auto;flex-wrap:wrap;
}
#calc-app #topbar h1{font-size:15px;margin:0 12px 0 0;font-weight:600;letter-spacing:.3px}
#calc-app .spacer{flex:1}
#calc-app button{
  background:var(--panel2);color:var(--txt);border:1px solid var(--line);
  border-radius:5px;padding:6px 10px;cursor:pointer;font-size:12px;
}
#calc-app button:hover{background:#2f3944}
#calc-app button.primary{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}
#calc-app button.primary:hover{filter:brightness(1.1)}
#calc-app button.danger{background:var(--danger);border-color:var(--danger);color:#fff}
#calc-app button.active{outline:2px solid var(--accent)}
#calc-app button.mini{padding:1px 6px;font-size:10px;margin-left:6px}
#calc-app button.mini.toggle.on{background:var(--accent);border-color:var(--accent);color:#fff}
#calc-app .chk{display:flex;align-items:center;gap:5px;color:var(--muted);cursor:pointer}
#calc-app main{flex:1;display:flex;min-height:0}
#calc-app #sidebar{
  width:330px;flex:0 0 330px;background:var(--panel);border-right:1px solid var(--line);
  overflow-y:auto;padding:10px;
}
#calc-app #map{flex:1;min-width:0;background:#0d1117}
#calc-app .box{background:var(--panel2);border:1px solid var(--line);border-radius:6px;padding:10px;margin-bottom:10px}
#calc-app .box h2{font-size:12px;text-transform:uppercase;letter-spacing:.8px;color:var(--muted);margin:0 0 8px}
#calc-app .badge{background:var(--line);border-radius:9px;padding:1px 7px;font-size:11px;color:var(--txt)}
#calc-app .row{display:flex;gap:6px;align-items:center;margin-bottom:6px}
#calc-app .row.buttons{margin-top:10px}
#calc-app .row.buttons button{flex:1}
#calc-app .row label{color:var(--muted);flex:0 0 60px}
#calc-app input[type=text], #calc-app input[type=number], #calc-app select{
  background:#12171c;border:1px solid var(--line);color:var(--txt);
  border-radius:4px;padding:5px 6px;font-size:12px;width:100%;min-width:0;
}
#calc-app input[readonly]{color:var(--muted)}
#calc-app input[type=range]{width:100%;accent-color:var(--accent)}
#calc-app .field{margin-bottom:10px}
#calc-app .field>label{display:block;color:var(--muted);margin-bottom:3px;font-size:11.5px}
#calc-app .field>label b{color:var(--txt);font-size:12px}
#calc-app .field.two{display:flex;gap:8px}
#calc-app .field.two>div{flex:1;min-width:0}
#calc-app .slider-row{display:flex;gap:6px;align-items:center}
#calc-app .slider-row input[type=number]{width:66px;flex:0 0 66px}
#calc-app .slider-row span{color:var(--muted);font-size:11px}
#calc-app .note{color:var(--muted);font-size:11px;margin:4px 0 0;line-height:1.3}
#calc-app .compass-row{display:flex;gap:3px;margin-top:5px}
#calc-app .compass-row button{flex:1;padding:3px 0;font-size:10px}
#calc-app .calc{background:#12171c;border:1px solid var(--line);border-radius:4px;padding:7px;font-size:11.5px;color:var(--muted)}
#calc-app .calc b{color:var(--txt)}
#calc-app .calc .dori{display:flex;gap:4px;margin-top:6px;flex-wrap:wrap}
#calc-app .calc .dori span{padding:1px 5px;border-radius:3px;color:#111;font-weight:600;font-size:10.5px}
#calc-app .cam-list{list-style:none;margin:0;padding:0}
#calc-app .cam-list li{
  display:flex;align-items:center;gap:7px;padding:6px;border-radius:4px;
  cursor:pointer;border:1px solid transparent;
}
#calc-app .cam-list li:hover{background:#2b333d}
#calc-app .cam-list li.sel{background:#2b3a4d;border-color:var(--accent)}
#calc-app .cam-list .dot{width:10px;height:10px;border-radius:50%;flex:0 0 10px}
#calc-app .cam-list .meta{flex:1;min-width:0}
#calc-app .cam-list .nm{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#calc-app .cam-list .sub{color:var(--muted);font-size:11px}
#calc-app .cam-list .eye{background:none;border:none;color:var(--muted);padding:2px 4px}
#calc-app .empty{color:var(--muted);font-size:11.5px;margin:4px 0 0}
#calc-app .results{max-height:160px;overflow:auto}
#calc-app .results div{padding:5px;border-bottom:1px solid var(--line);cursor:pointer;font-size:11.5px;color:var(--muted)}
#calc-app .results div:hover{background:#2b333d;color:var(--txt)}
#calc-app .est-mark{
  display:inline-block;color:#ffab00;font-weight:700;font-style:normal;
}
#calc-app .note.est{border-left:2px solid #ffab00;padding-left:7px;color:#e0b061}
#calc-app .legend{
  margin-top:8px;padding:7px 8px;border:1px dashed #ffab0080;border-radius:4px;
  background:#ffab000f;line-height:1.4;
}
#calc-app .legend b{color:var(--txt)}
#calc-app .legend-dash{
  display:inline-block;width:16px;border-top:2px dashed var(--muted);
  vertical-align:middle;margin-right:2px;
}
#calc-app .cam-est{
  position:absolute;right:-3px;bottom:-3px;width:13px;height:13px;border-radius:50%;
  background:#ffab00;color:#111;font-size:10px;font-weight:700;font-style:normal;
  line-height:13px;text-align:center;border:1px solid #0009;
}
#calc-app #p-model-filter{margin-bottom:4px}
#calc-app #p-model-note{font-size:10.5px}
#calc-app #p-model-note a{color:var(--accent)}
#calc-app #p-model-count{color:var(--muted);font-weight:400;font-size:10.5px}
#calc-app select optgroup{background:#12171c;color:var(--muted);font-size:11px}
#calc-app select option{background:#12171c;color:var(--txt)}
#calc-app .help-btn{
  width:18px;height:18px;padding:0;border-radius:50%;font-size:11px;font-weight:700;
  line-height:1;color:var(--muted);border:1px solid var(--line);background:var(--panel2);
}
#calc-app .help-btn:hover, #calc-app .help-btn[aria-expanded="true"]{color:#fff;border-color:var(--accent);background:var(--accent)}
#calc-app .popover{
  position:absolute;top:44px;left:12px;z-index:1200;width:min(430px,calc(100vw - 24px));
  background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:14px 16px;
  box-shadow:0 12px 32px #000a;
}
#calc-app .popover h3{margin:0 0 8px;font-size:13px}
#calc-app .popover p{margin:0 0 8px;color:var(--muted);line-height:1.5}
#calc-app .popover p.warn{border-left:2px solid var(--danger);padding-left:8px;margin-bottom:10px}
#calc-app .popover b{color:var(--txt)}
#calc-app .dori-legend{list-style:none;margin:0 0 10px;padding:0}
#calc-app .dori-legend li{display:flex;gap:8px;align-items:flex-start;margin-bottom:6px;color:var(--muted);line-height:1.45}
#calc-app .dori-legend span{
  flex:0 0 18px;text-align:center;border-radius:3px;color:#111;font-weight:700;font-size:11px;
}
#calc-app .popover-close{width:100%}
#calc-app #hint{
  position:absolute;top:52px;left:50%;transform:translateX(-50%);z-index:1000;
  background:var(--accent);color:#fff;padding:6px 14px;border-radius:0 0 6px 6px;font-size:12px;
}
#calc-app .cam-icon{background:none;border:none}
#calc-app .cam-body{
  width:26px;height:26px;border-radius:50%;background:#0009;border:2px solid var(--c);
  display:flex;align-items:center;justify-content:center;color:var(--c);font-size:13px;
  line-height:1;box-shadow:0 0 4px #000;
}
#calc-app .cam-icon.selected .cam-body{box-shadow:0 0 0 3px #fff,0 0 6px #000}
#calc-app .rot-handle div{
  width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid var(--accent);
  cursor:grab;margin:2px;
}
#calc-app .leaflet-container{background:#0d1117}
#calc-app .measure-label{
  background:#000c;color:#fff;border:1px solid #fff5;border-radius:3px;
  padding:1px 5px;font-size:11px;white-space:nowrap;
}
#calc-app #quote-mini .qline{display:flex;justify-content:space-between;gap:8px;padding:2px 0;color:var(--muted)}
#calc-app #quote-mini .qline b{color:var(--txt)}
#calc-app .qline.sum{border-top:1px solid var(--line);margin-top:4px;padding-top:5px;font-size:13px}
#calc-app .qline.sum b{color:var(--accent)}
#calc-app .cam-label{
  background:#000000cc;border:none;box-shadow:none;color:var(--txt);
  padding:0;font-size:11px;font-weight:600;white-space:nowrap;border-radius:3px;
}
#calc-app .cam-label::before{display:none}
#calc-app .cam-label-in{display:inline-block;padding:1px 5px;border-left:3px solid #fff;border-radius:2px}
#calc-app #print-head h1{font-size:16px;margin:8px 0 6px}
#calc-app .ph-top{display:flex;justify-content:space-between;gap:16px;font-size:11px;line-height:1.45;
  border-bottom:2px solid #333;padding-bottom:6px}
#calc-app .ph-meta{text-align:right}
#calc-app #print-body h2{font-size:13px;margin:10px 0 5px}
#calc-app .cam-label-in{
  /* width:max-content jest tu kluczowe — bez niego dymek Leafletu kurczy się do
     najdłuższego słowa i łamie „Kamera 18” oraz oznaczenia modeli w połowie */
  display:block;width:max-content;max-width:230px;
  padding:2px 6px;border-left:3px solid #fff;border-radius:2px;
  text-align:left;line-height:1.3;white-space:normal;
}
#calc-app .cam-label-in .l-name{display:block;font-weight:700}
#calc-app .cam-label-in .l-brand{display:block;font-weight:600;opacity:.9;font-size:10px}
#calc-app .cam-label-in .l-model{display:block;font-weight:400;opacity:.85;font-size:10px}
#calc-app .cam-label-in .l-par{display:block;font-weight:400;opacity:.7;font-size:10px}
#calc-app #labels-mode.dimmed{border-color:#ffab00;color:#ffab00}
#calc-app .unit-lbl{opacity:.8}
#calc-app .sub-h2{font-size:12px;text-transform:uppercase;letter-spacing:.8px;color:var(--muted);margin:12px 0 6px}
#calc-app #parcel-list li{cursor:pointer}
#calc-app #parcel-list .eye{color:var(--danger);font-weight:700}

/* =======================================================================
   SEKCJA PUBLICZNA — pisana ręcznie, nie pochodzi z narzędzia instalatora
   ======================================================================= */

/* --- nagłówek strony kalkulatora --- */
.calc-intro { padding: 2.5rem 0 1.25rem; background: var(--soft); border-bottom: 1px solid var(--line); }
.calc-intro .wrap { width: min(100% - 32px, var(--max)); margin: 0 auto; }
.calc-intro h1 { margin: .5rem 0 .75rem; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; }
.calc-intro .lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; margin: 0; }
.crumbs { font-size: .85rem; color: var(--muted); }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }

/* --- rama kalkulatora + panel wyceny --- */
.calc-section { padding: 1.5rem 0 2.5rem; background: var(--soft); }
.calc-shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.25rem;
  align-items: start;
}
#calc-app {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #161a1f;
  box-shadow: 0 12px 30px rgba(6, 36, 90, .10);
}
#calc-app #topbar { flex-wrap: wrap; }
#calc-app .calc-main { display: flex; min-height: 0; height: 620px; }
#calc-app #sidebar { width: 300px; flex: 0 0 300px; }
#calc-app #map { flex: 1; min-width: 0; }
#calc-app #hint { position: absolute; }
/* Własny kontekst nakładania: bez tego wewnętrzne warstwy Leafletu (panes 400,
   kontrolki 800, .leaflet-top 1000) wychodzą nad elementy strony i przykrywają
   modal formularza. z-index:0 zamyka je w obrębie kalkulatora. */
#calc-app { position: relative; z-index: 0; }

/* --- panel wyceny orientacyjnej --- */
.estimate-panel {
  position: sticky;
  top: 96px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 12px 30px rgba(6, 36, 90, .08);
}
.estimate-panel h2 { margin: 0; font-size: 1.05rem; letter-spacing: .01em; }
.pe-head { display: flex; flex-direction: column; gap: .15rem; margin-bottom: .9rem; }
.pe-region { font-size: .8rem; color: var(--muted); }
.pe-empty h2 { margin-bottom: .5rem; }
.pe-empty p { color: var(--muted); font-size: .95rem; margin: 0; }
.pe-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem .75rem; margin: 0 0 1rem; }
.pe-facts div { background: var(--soft); border-radius: 9px; padding: .5rem .65rem; }
.pe-facts dt { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pe-facts dd { margin: .1rem 0 0; font-size: 1.05rem; font-weight: 700; }
.pe-price {
  border: 1px solid var(--accent-soft);
  background: var(--accent-soft);
  border-radius: 11px;
  padding: .85rem .9rem;
  display: flex; flex-direction: column; gap: .1rem;
  margin-bottom: 1rem;
}
.pe-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); }
.pe-price strong { font-size: clamp(1.25rem, 2.6vw, 1.6rem); color: var(--navy); line-height: 1.2; }
.pe-sub { font-size: .8rem; color: var(--muted); }
.pe-cta { width: 100%; justify-content: center; }
.pe-cta-note { font-size: .82rem; color: var(--muted); margin: .5rem 0 0; }
.pe-disclaimer {
  font-size: .78rem; color: var(--muted); line-height: 1.45;
  margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid var(--line);
}
.pe-unlocked { border-top: 1px solid var(--line); padding-top: .9rem; margin-top: .25rem; }
.pe-unlocked h3 { margin: 0 0 .7rem; font-size: .95rem; }
.pe-price.unlocked { background: #eaf7ee; border-color: #bfe6cb; }
.pe-price.unlocked strong { color: #12692f; }
.pe-ok { font-size: .82rem; color: var(--muted); }
.pe-ok code { background: var(--soft); padding: .1rem .35rem; border-radius: 5px; font-size: .78rem; }
.pe-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.pe-actions .button { flex: 1 1 auto; text-align: center; font-size: .9rem; }

/* --- formularz leada --- */
.lead-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(6, 36, 90, .55); display: flex; padding: 1rem; overflow: auto; }
.lead-modal[hidden] { display: none; }
.lead-box {
  margin: auto; background: var(--white); border-radius: 16px; padding: 1.5rem;
  width: min(560px, 100%); box-shadow: 0 24px 60px rgba(6, 36, 90, .35);
}
.lead-head { display: flex; align-items: flex-start; gap: 1rem; }
.lead-head h2 { margin: 0 0 .25rem; font-size: 1.25rem; }
.lead-head button { background: none; border: none; font-size: 1.1rem; color: var(--muted); cursor: pointer; padding: .2rem .4rem; }
.lead-intro { color: var(--muted); font-size: .92rem; margin: .35rem 0 1rem; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.lead-field { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; }
.lead-field.wide { grid-column: 1 / -1; }
.lead-field span { color: var(--muted); }
.lead-field b { color: var(--accent); }
.lead-field input, .lead-field textarea {
  font: inherit; font-size: .95rem; padding: .6rem .7rem;
  border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--ink);
}
.lead-field input:focus, .lead-field textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.lead-field .invalid, .lead-consent input.invalid { border-color: #c0392b; outline-color: #c0392b; }
.field-error { color: #c0392b; font-size: .78rem; font-style: normal; min-height: 1em; }
.lead-required { font-size: .82rem; color: var(--muted); margin: .75rem 0 .5rem; }
.lead-consent { display: grid; grid-template-columns: auto 1fr; gap: .5rem .6rem; font-size: .82rem; color: var(--muted); align-items: start; }
.lead-consent .field-error { grid-column: 2; }
.lead-consent a { text-decoration: underline; }
.lead-actions { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; flex-wrap: wrap; }
.lead-status { font-size: .85rem; color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.lead-open { overflow: hidden; }

/* --- treść SEO --- */
.prose { max-width: 74ch; }
.prose h2 { margin: 2rem 0 .6rem; font-size: 1.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; color: var(--ink); }
.prose li { margin-bottom: .3rem; }
.data-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .92rem; }
.data-table caption { text-align: left; color: var(--muted); font-size: .82rem; padding-bottom: .4rem; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: .5rem .65rem; text-align: left; }
.data-table th { background: var(--soft); font-weight: 600; }

/* --- tablet i telefon --- */
@media (max-width: 1040px) {
  .calc-shell { grid-template-columns: 1fr; }
  .estimate-panel { position: static; }
}
@media (max-width: 780px) {
  #calc-app .calc-main { flex-direction: column-reverse; height: auto; }
  /* flex:1 z układu desktopowego wygrywa z `height` w kolumnie — stąd jawne wyłączenie */
  #calc-app #map { flex: 0 0 auto; height: 58vh; min-height: 320px; }
  #calc-app #sidebar { width: 100%; flex: 0 0 auto; max-height: 46vh; }
  /* pasek w jednym rzędzie z przewijaniem — trzy rzędy zjadały pół ekranu */
  #calc-app #topbar {
    gap: 6px; padding: 8px; flex-wrap: nowrap; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  #calc-app #topbar::-webkit-scrollbar { display: none; }
  #calc-app #topbar > * { flex: 0 0 auto; }
  #calc-app #topbar .spacer { display: none; }
  #calc-app #topbar button, #calc-app #topbar .chk { font-size: 12px; }
  .lead-grid { grid-template-columns: 1fr; }
  .lead-box { padding: 1.1rem; border-radius: 14px; }
  .pe-facts { grid-template-columns: 1fr 1fr; }
  .calc-section { padding: 1rem 0 2rem; }
  .calc-shell { width: min(100% - 20px, var(--max)); gap: 1rem; }
}
@media (max-width: 480px) {
  #calc-app #map { height: 52vh; }
  .pe-facts dd { font-size: .98rem; }
}

/* --- oferta do pobrania (PDF przez wydruk przeglądarki) ---
   Klient dostaje kartkę: nagłówek, mapa z rozmieszczeniem, tabele, zastrzeżenia.
   Wszystko, co należy do strony (menu, treść SEO, panel wyceny), znika. */
.print-only { display: none; }
body.printing { background: #e9ecef; }
body.printing .site-header,
body.printing .site-footer,
body.printing .calc-intro,
body.printing .section,
body.printing .band,
body.printing .estimate-panel,
body.printing #calc-app #topbar,
body.printing #calc-app #sidebar,
body.printing #calc-app #hint,
body.printing #calc-app #dori-help,
body.printing .lead-modal { display: none !important; }

body.printing .print-only { display: block; width: 210mm; max-width: 100%; margin: 0 auto;
  padding: 0 10mm; background: #fff; box-sizing: border-box; color: #111; }
body.printing #print-head { padding-top: 10mm; }
body.printing #print-body { padding-bottom: 10mm; }
body.printing .calc-section { padding: 0; background: #e9ecef; }
body.printing .calc-shell { display: block; width: 210mm; max-width: 100%; margin: 0 auto;
  padding: 0 10mm; background: #fff; box-sizing: border-box; }
body.printing #calc-app { border: none; border-radius: 0; box-shadow: none; background: #fff; }
body.printing #calc-app .calc-main { display: block; height: auto; }
body.printing #calc-app #map { width: 190mm; max-width: 100%; height: 105mm;
  border: 1px solid #999; flex: 0 0 auto; }
body.printing #calc-app .cam-label { background: #fffffff0; color: #111; border: 1px solid #999; }

#print-head h1 { font-size: 17px; margin: 10px 0 6px; }
#print-body h2 { font-size: 13px; margin: 12px 0 5px; }
.ph-top { display: flex; justify-content: space-between; gap: 16px; font-size: 11px;
  line-height: 1.45; border-bottom: 2px solid #333; padding-bottom: 6px; }
.ph-meta { text-align: right; }
.print-disclaimer { font-size: 10px; border: 1px solid #333; background: #f4f4f4;
  padding: 6px 8px; margin: 6px 0 0; line-height: 1.4; }
.print-table { border-collapse: collapse; width: 100%; font-size: 10.5px; }
.print-table th, .print-table td { border: 1px solid #bbb; padding: 4px 6px; text-align: left; }
.print-table th { background: #eee; }
.print-sums { margin: 8px 0 0 auto; width: 90mm; font-size: 12px; }
.print-sums div { display: flex; justify-content: space-between; padding: 4px 0; }
.print-sums .sum { border-top: 2px solid #333; font-weight: 700; font-size: 14px; padding-top: 5px; }
.print-note { font-size: 9.5px; color: #333; line-height: 1.45; margin-top: 6px; }

@media print {
  @page { size: A4; margin: 10mm; }
  .site-header, .site-footer, .calc-intro, .section, .band, .estimate-panel,
  #calc-app #topbar, #calc-app #sidebar, #calc-app #hint, #calc-app #dori-help,
  .lead-modal, .leaflet-control-container { display: none !important; }
  body { background: #fff; }
  .print-only { display: block; width: auto; margin: 0; padding: 0; }
  .calc-shell, .calc-section { width: auto; margin: 0; padding: 0; background: #fff; }
  #calc-app { border: none; box-shadow: none; }
  #calc-app .calc-main { display: block; height: auto; }
  #calc-app #map { width: 100%; height: 105mm; page-break-inside: avoid; }
  .print-table { page-break-inside: auto; }
  .print-table tr { page-break-inside: avoid; }
}

/* --- gotowe bloki kamer (wersja publiczna) --- */
#calc-app .preset-title {
  font-size: 11.5px; color: var(--muted); margin-bottom: 6px;
}
#calc-app .preset-list { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
#calc-app button.preset {
  display: block; width: 100%; text-align: left; padding: 7px 9px;
  background: #12171c; border: 1px solid var(--line); border-radius: 6px; cursor: pointer;
}
#calc-app button.preset:hover { background: #1c2530; border-color: #46596d; }
#calc-app button.preset.active { border-color: var(--accent); background: #16283f; }
#calc-app button.preset b { display: block; font-size: 12.5px; color: var(--txt); }
#calc-app button.preset span { display: block; font-size: 11px; color: var(--muted); line-height: 1.35; }
#calc-app button.preset em {
  display: block; font-style: normal; font-size: 10.5px; color: #7db1f7; margin-top: 2px;
}
#calc-app .preset-hint { font-size: 11px; color: var(--muted); margin: -6px 0 10px; line-height: 1.35; }

/* --- zestawienie sprzętu w panelu klienta --- */
.pe-h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); margin: 1rem 0 .4rem; }
.pe-gear { list-style: none; margin: 0 0 .8rem; padding: 0; }
.pe-gear li { padding: .5rem .6rem; background: var(--soft); border-radius: 9px; margin-bottom: .35rem; }
.pe-gear .g-grupa { display: block; font-size: .7rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); }
.pe-gear b { display: block; font-size: .92rem; line-height: 1.25; }
.pe-gear .g-opis { display: block; font-size: .78rem; color: var(--muted); }
.pe-labor { font-size: .85rem; color: var(--muted); margin: 0 0 .8rem;
  padding-left: .6rem; border-left: 2px solid var(--line); }
.pe-labor b { color: var(--ink); }
