/* © 2026 1001 ГРУЗ — карта рынка: партнёры */
.kp-pin{background:none;border:0}
.kp-pin span{display:flex;align-items:center;justify-content:center;border-radius:9px;border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.35);font-size:16px;line-height:1;box-sizing:border-box}
.kp-cl{background:none;border:0}
.kp-cl span{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#3b4a63;color:#fff;font-weight:800;font-size:13px;border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.35);box-sizing:border-box}
.kp-side .kp-sh{display:flex;align-items:center;justify-content:space-between;gap:8px}
.kp-side .kp-sw{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px}
.kp-side .kp-sw input{margin:0;accent-color:var(--blue);width:16px;height:16px}
.kp-side #kpCnt{font-size:12px;color:var(--muted);white-space:nowrap}
.kp-cats{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:6px}
.kp-cats.off{opacity:.5}
.kp-ch{display:flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--muted);font:inherit;font-size:12.5px;font-weight:700;text-align:left;cursor:pointer;line-height:1.2;min-width:0}
.kp-ch i{font-style:normal;flex:none;width:22px;height:22px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:13px;background:var(--soft);filter:grayscale(1);opacity:.6}
.kp-ch small{margin-left:auto;font-weight:600;color:var(--muted)}
.kp-ch.on{color:var(--text);border-color:var(--kc)}
.kp-ch.on i{background:var(--kc);filter:none;opacity:1}
.kp-all{grid-column:1/-1;font-size:12px;color:var(--muted);text-align:right}
.kp-all a{cursor:pointer;font-weight:700}
.kp-acts{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}
.kp-acts .btn{flex:1 1 auto;height:34px;font-size:13px}
.kp-bdg{display:inline-flex;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--red);color:#fff;font-size:11px;align-items:center;justify-content:center;vertical-align:1px}
/* всплывающая карточка */
.kp-pop .leaflet-popup-content{margin:12px 14px;font-size:13px;line-height:1.45}
.kp-pop .leaflet-popup-content-wrapper,.kp-pop .leaflet-popup-tip{background:var(--card);color:var(--text)}
.kp-p-h{display:flex;gap:10px;align-items:center;margin-bottom:6px}
.kp-p-i{flex:none;width:34px;height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:18px}
.kp-p-h small{display:block;font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.3px}
.kp-p-h b{display:block;font-size:15px;line-height:1.25}
.kp-p-ok{font-size:12px;color:var(--green);font-weight:700;margin-bottom:6px}
.kp-old{color:var(--muted);font-weight:600}
.kp-p-l{margin:3px 0;word-break:break-word}
.kp-p-l a{font-weight:700}
.kp-p-f{margin:6px 0;padding:0 0 0 16px}
.kp-p-f li{margin:2px 0}
.kp-p-d{margin:6px 0;color:var(--text);white-space:pre-line}
.kp-p-s{font-size:11.5px;color:var(--muted);margin:6px 0}
.kp-p-b{display:flex;gap:6px;margin-top:8px}
.kp-p-b .btn{flex:1;height:34px;font-size:13px;color:#fff}
.kp-p-b .btn.ghost{color:var(--blue-d)}
.kp-p-a{display:flex;justify-content:space-between;margin-top:8px;font-size:12px}
.kp-p-a a{cursor:pointer;color:var(--muted);font-weight:700}
/* форма */
.kp-rp{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.kp-rp label{display:flex;flex-direction:column;gap:2px;padding:8px;border:2px solid var(--line);border-radius:12px;cursor:pointer;font-size:12.5px;line-height:1.25}
.kp-rp label i{font-style:normal;font-size:18px}
.kp-rp label small{color:var(--muted);font-size:11px}
.kp-rp input{display:none}
.kp-rp label:has(input:checked){border-color:var(--kc);background:var(--soft)}
.kp-addr{display:flex;gap:6px;margin-bottom:8px}
.kp-addr input{flex:1}
.kp-mini{height:260px;border-radius:12px;border:1px solid var(--line);overflow:hidden}
.kp-mdl textarea{height:auto!important;padding:8px 10px!important;resize:vertical}
.kp-mdl .chk{display:flex;align-items:center;gap:8px;font-size:13.5px;margin:6px 0;cursor:pointer}
/* мои точки */
.kp-my{display:flex;gap:10px;padding:10px 0;border-top:1px solid var(--line2)}
.kp-my-b{flex:1;min-width:0}
.kp-my-b small{display:block;color:var(--muted);font-size:12px}
.kp-my-b b{display:block;font-size:14.5px}
.kp-st{display:inline-block;margin-top:4px;padding:2px 8px;border-radius:7px;font-size:12px;font-weight:700}
.kp-st.ok{background:#e3f5ec;color:#16784a}
.kp-st.wait{background:#fff4dc;color:#8a5a00}
.kp-st.bad{background:#fde7ea;color:#b4182f}
.kp-my-a{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:6px;font-size:13px}
.kp-my-a a{cursor:pointer;font-weight:700}
.kp-my-a a.del{color:var(--red)}
/* модерация */
.kp-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}
.kp-tabs button{border:1px solid var(--line);background:var(--card);color:var(--text);border-radius:9px;padding:6px 10px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.kp-tabs button.on{background:var(--soft);border-color:#bfd3f0;color:var(--blue-d)}
.kp-mod{border:1px solid var(--line);border-radius:12px;padding:12px;margin-bottom:12px;background:var(--card2)}
.kp-mod-h{font-size:14px;margin-bottom:4px}
.kp-who{font-size:12.5px;color:var(--muted);margin-bottom:6px}
.kp-chk{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12.5px;margin:6px 0;font-weight:700}
.kp-tb{width:100%;border-collapse:collapse;font-size:13px;margin:6px 0}
.kp-tb th{text-align:left;color:var(--muted);font-weight:600;width:34%;padding:4px 8px 4px 0;vertical-align:top}
.kp-tb td{padding:4px 0;word-break:break-word}
.kp-tb tr{border-top:1px solid var(--line2)}
.kp-tb tr.ch td{background:#fff4dc;color:#5c3d00}
.kp-tb small{display:block;color:#8a5a00;text-decoration:line-through}
.kp-mod-a{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.kp-rej{margin-top:8px}
.kp-rej textarea{margin:8px 0;width:100%}
.kp-del{color:var(--red)!important}
.kp-mod details summary{cursor:pointer;font-size:13px;font-weight:700;margin:4px 0}
html[data-theme=dark] .kp-st.ok{background:#16352a;color:#7fd8a8}
html[data-theme=dark] .kp-st.wait,html[data-theme=dark] .kp-tb tr.ch td{background:#3a3016;color:#f3e2b0}
html[data-theme=dark] .kp-st.bad{background:#3d1a22;color:#f59aa8}
html[data-theme=dark] .kp-tb small{color:#d6b46a}
@media(max-width:560px){.kp-rp{grid-template-columns:1fr 1fr}.kp-cats{grid-template-columns:1fr}.kp-mini{height:220px}}
/* кнопка в шапке панели */
.kp-top{margin-top:8px}
.kp-cta{display:flex;align-items:center;gap:10px;width:100%;padding:9px 12px;border:1.5px dashed #9b7be0;border-radius:12px;background:linear-gradient(100deg,#f3eeff,#eaf6ff);color:var(--text);font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,transform .15s}
.kp-cta:hover{border-style:solid;border-color:#7B4FC9;transform:translateY(-1px)}
.kp-cta-i{flex:none;font-size:15px;letter-spacing:-2px}
.kp-cta-t{flex:1;min-width:0;line-height:1.25}
.kp-cta-t b{display:block;font-size:13.5px;color:#4b2a99}
.kp-cta-t small{display:block;font-size:11.5px;color:var(--muted);margin-top:2px}
.kp-cta-p{flex:none;width:28px;height:28px;border-radius:8px;background:#7B4FC9;color:#fff;font-size:18px;font-weight:800;display:flex;align-items:center;justify-content:center}
.kp-top-my{display:block;text-align:right;font-size:12.5px;font-weight:700;margin-top:4px;cursor:pointer}
html[data-theme=dark] .kp-cta{background:linear-gradient(100deg,#2a2145,#1a2c44);border-color:#6d55b0}
html[data-theme=dark] .kp-cta-t b{color:#c9b6ff}
