/* public/assets/css/ux-enhancements.css — style Etapu 1 i 2 (UX/UI, Conversion Boosters).
   Lekki arkusz zamiast rozbudowy inline CSS (na serwerze nie ma node_modules / przebudowy Tailwinda).
   Ładowany z ?v=filemtime (layout.php, city_simple.php, panel). */

/* ── Etap 1: strona miasta, nagłówek, home ───────────────────────────── */
.pc-hero-compact{padding-top:1.25rem!important;padding-bottom:1.25rem!important}
@media (min-width:640px){.pc-hero-compact{padding-top:1.75rem!important;padding-bottom:1.75rem!important}}
.pc-nav-link{display:none;align-items:center;padding:.5rem .75rem;border-radius:.75rem;font-size:.875rem;font-weight:700;color:#334155;white-space:nowrap}
.pc-nav-link:hover{color:#ea580c;background:#fff7ed}
@media (min-width:640px){.pc-nav-link{display:inline-flex}}
.pc-search-tight{padding-top:1rem!important;padding-bottom:1rem!important}
.pc-home-hero{padding-top:1.5rem;padding-bottom:1.75rem}
@media (min-width:640px){.pc-home-hero{padding-top:2.25rem;padding-bottom:2.5rem}}

/* ── Etap 1: kreator — przyklejony koszyk i akordeon tagów ──────────── */
#wizard-sticky-cart{position:fixed;left:0;right:0;bottom:var(--pc-consent-h,0px);z-index:44;background:#fff;border-top:2px solid #fdba74;box-shadow:0 -4px 16px rgba(15,23,42,.10);padding:.5rem .75rem}
#wizard-sticky-cart[hidden]{display:none}
#wizard-sticky-cart .ws-in{max-width:56rem;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4rem .75rem}
#wizard-sticky-cart .ws-info{font-size:.8125rem;color:#334155;line-height:1.25;min-width:0}
#wizard-sticky-cart .ws-info strong{color:#0f172a}
#wizard-sticky-cart .ws-link{margin-left:.5rem;color:#c2410c;font-weight:700;text-decoration:underline;white-space:nowrap}
#wizard-sticky-cart .ws-btn{background:#ea580c;color:#fff;font-weight:800;font-size:.875rem;padding:.6rem 1rem;border-radius:.75rem;border:0;cursor:pointer;white-space:nowrap}
#wizard-sticky-cart .ws-btn:hover{background:#c2410c}
@media (max-width:639px){#wizard-sticky-cart .ws-btn{flex:1 1 100%}}
#step-panel-1.pc-has-sticky{padding-bottom:5.5rem}
.pc-tags-details>summary{cursor:pointer;list-style:none;font-size:.75rem;font-weight:700;color:#475569;display:flex;flex-wrap:wrap;gap:.25rem .5rem;align-items:center}
.pc-tags-details>summary::-webkit-details-marker{display:none}
.pc-tags-details[open]>summary .pc-caret{transform:rotate(180deg)}
.pc-tags-details .pc-caret{display:inline-block;transition:transform .15s}

/* ── Etap 2: sprawdzacz dostępności ──────────────────────────────────── */
.ac-box{max-width:52rem;margin:1.25rem auto 0;text-align:left;background:#fff;border:1px solid #e2e8f0;border-radius:1.25rem;padding:1rem;box-shadow:0 10px 30px rgba(234,88,12,.08)}
.ac-fields{display:grid;gap:.75rem;grid-template-columns:1fr}
@media (min-width:768px){.ac-fields{grid-template-columns:1fr 1fr auto;align-items:end}}
.ac-field{position:relative}
.ac-label{display:block;font-size:.6875rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#334155;margin-bottom:.3rem}
.ac-input{width:100%;box-sizing:border-box;border:2px solid #cbd5e1;border-radius:.75rem;padding:.7rem .9rem;font-size:1rem;font-weight:600;color:#0f172a;background:#f8fafc;outline:none}
.ac-input:focus{border-color:#f97316;background:#fff;box-shadow:0 0 0 4px rgba(249,115,22,.15)}
.ac-list{position:absolute;z-index:30;left:0;right:0;top:100%;margin:.25rem 0 0;padding:.25rem 0;list-style:none;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;box-shadow:0 10px 25px rgba(15,23,42,.12);max-height:15rem;overflow-y:auto}
.ac-list[hidden]{display:none}
.ac-opt{padding:.55rem .9rem;font-size:.9375rem;font-weight:600;color:#0f172a;cursor:pointer}
.ac-opt:hover{background:#fff7ed;color:#c2410c}
.ac-submit{background:#ea580c;color:#fff;font-weight:800;font-size:1rem;border:0;border-radius:.75rem;padding:.8rem 1.25rem;cursor:pointer;white-space:nowrap}
.ac-submit:hover{background:#c2410c}
.ac-result{margin-top:.75rem}
.ac-result:empty{display:none}
.ac-msg{margin:0;font-size:.875rem;font-weight:700;color:#475569}
.ac-warn{color:#b45309}.ac-ok{color:#047857}
.ac-card{border-radius:1rem;padding:1rem 1.1rem;border:2px solid #e2e8f0;background:#fff}
.ac-free{border-color:#6ee7b7;background:#ecfdf5}
.ac-taken{border-color:#fdba74;background:#fff7ed}
.ac-locked{border-color:#cbd5e1;background:#f1f5f9}
.ac-card-title{margin:0;font-size:1.125rem;font-weight:900;color:#0f172a}
.ac-card-sub{margin:.15rem 0 .5rem;font-size:.8125rem;font-weight:700;color:#64748b}
.ac-card-text{margin:0 0 .75rem;font-size:.9375rem;line-height:1.5;color:#334155}
.ac-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.ac-btn{display:inline-block;border-radius:.75rem;padding:.7rem 1.1rem;font-size:.9375rem;font-weight:800;text-align:center;text-decoration:none;cursor:pointer;border:2px solid transparent}
.ac-btn-primary{background:#ea580c;color:#fff}
.ac-btn-primary:hover{background:#c2410c}
.ac-btn-alt{background:#fff;color:#334155;border-color:#cbd5e1}
.ac-btn-alt:hover{border-color:#64748b}
.ac-wait{display:grid;gap:.6rem;max-width:30rem}
.ac-consent{display:flex;gap:.4rem;align-items:flex-start;font-size:.8125rem;color:#334155;line-height:1.35}
.ac-consent input{margin-top:.2rem;accent-color:#ea580c}
.ac-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}

/* ── Etap 2: /dodaj-firme/ i sekcja „Dla firm” na home ───────────────── */
.df-hero{background:linear-gradient(180deg,#fff7ed,#fff);padding:2rem 0 2.5rem;border-bottom:1px solid #e2e8f0}
.df-kicker{display:inline-block;margin:0 0 .5rem;background:#ffedd5;color:#9a3412;font-size:.75rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em;padding:.25rem .7rem;border-radius:999px}
.df-title{margin:0;font-size:1.75rem;line-height:1.15;font-weight:900;color:#020617;letter-spacing:-.02em}
@media (min-width:640px){.df-title{font-size:2.5rem}}
.df-lead{margin:.9rem auto 0;max-width:40rem;font-size:1rem;color:#475569;line-height:1.55}
.df-section{padding:2rem 0 2.5rem}
.df-h2{margin:0 0 1rem;font-size:1.5rem;font-weight:900;color:#0f172a;text-align:center}
.df-note{margin:1rem 0 0;text-align:center;font-size:.8125rem;color:#64748b}
.df-note a{color:#c2410c;text-decoration:underline}
.hiw-grid{display:grid;gap:.9rem;grid-template-columns:1fr}
@media (min-width:768px){.hiw-grid{grid-template-columns:repeat(3,1fr)}}
.hiw-card{position:relative;background:#fff;border:1px solid #e2e8f0;border-radius:1rem;padding:1.1rem 1.1rem 1.2rem;text-align:left}
.hiw-card h3{margin:.3rem 0 .4rem;font-size:1.0625rem;font-weight:900;color:#0f172a}
.hiw-card p{margin:0;font-size:.9rem;line-height:1.5;color:#475569}
.hiw-num{display:inline-flex;align-items:center;justify-content:center;width:1.9rem;height:1.9rem;border-radius:999px;background:#ea580c;color:#fff;font-weight:900;font-size:.9rem}
.hiw-more{margin:.9rem 0 0;text-align:center;font-weight:800}
.hiw-more a{color:#c2410c;text-decoration:underline}
.home-biz{background:#fff7ed;border-bottom:1px solid #fed7aa;padding:1.75rem 0 2rem}
.home-biz h2{margin:0;font-size:1.5rem;line-height:1.2;font-weight:900;color:#0f172a;text-align:center}
.home-biz .home-biz-lead{margin:.4rem auto 0;max-width:38rem;text-align:center;font-size:.9375rem;color:#475569}

/* ── Etap 2: kreator — live preview, przycisk NIP ────────────────────── */
.wz-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}
@media (min-width:1024px){
  .wz-layout.wz-has-preview{grid-template-columns:minmax(0,1fr) 21rem;align-items:start}
  .wz-layout.wz-has-preview .wz-panels{grid-column:1;grid-row:1}
  .wz-layout.wz-has-preview .wz-preview{grid-column:2;grid-row:1;position:sticky;top:5rem}
}
.wz-preview{display:none;background:#fff;border:1px solid #e2e8f0;border-radius:1.25rem;padding:.75rem;box-shadow:0 6px 20px rgba(15,23,42,.06)}
.wz-layout.wz-has-preview .wz-preview{display:block}
@media (max-width:1023px){.wz-layout.wz-has-preview .wz-preview{order:-1}}
.wz-preview>summary{cursor:pointer;font-size:.8125rem;font-weight:800;color:#c2410c;list-style:none}
.wz-preview>summary::-webkit-details-marker{display:none}
@media (min-width:1024px){.wz-preview>summary{display:none}}
.wz-pv-card{margin-top:.6rem;border:1px solid #e2e8f0;border-radius:1rem;padding:.8rem;background:#fff}
.wz-pv-label{display:block;margin-bottom:.4rem;font-size:.6875rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#64748b}
.wz-pv-head{display:flex;gap:.7rem;align-items:flex-start}
.wz-pv-logo{flex:none;width:3.25rem;height:3.25rem;border-radius:.75rem;border:1px solid #e2e8f0;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;font-weight:900;color:#fff}
.wz-pv-logo img{width:100%;height:100%;object-fit:contain}
.wz-pv-logo .wz-pv-initial{width:100%;height:100%;background:#ea580c;display:flex;align-items:center;justify-content:center;font-size:1.25rem}
.wz-pv-name{margin:.1rem 0 0;font-size:1rem;font-weight:900;color:#020617;word-break:break-word}
.wz-pv-cat{display:inline-block;font-size:.625rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;border-radius:.4rem;padding:.1rem .4rem}
.wz-pv-badge{display:inline-block;margin-left:.25rem;font-size:.6875rem;font-weight:800;border-radius:.4rem;padding:.1rem .4rem}
.wz-pv-badge.paid{background:#fffbeb;color:#92400e;border:1px solid #fde68a}
.wz-pv-badge.free{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.wz-pv-meta{margin:.35rem 0 0;font-size:.8125rem;color:#475569;word-break:break-word}
.wz-pv-desc{margin:.4rem 0 0;font-size:.8125rem;color:#475569;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.wz-pv-q{margin:.2rem 0 .5rem;background:#f1f5f9;border-radius:.75rem;padding:.5rem .7rem;font-size:.8125rem;font-weight:700;color:#334155}
.wz-pv-a{margin:0;background:#fff7ed;border:1px solid #fed7aa;border-radius:.75rem;padding:.55rem .7rem;font-size:.8125rem;line-height:1.45;color:#431407}
.wz-pv-note{margin:.5rem 0 0;font-size:.6875rem;color:#64748b;line-height:1.35}
.wz-nip-row{display:flex;gap:.5rem;align-items:stretch}
.wz-nip-row input{flex:1 1 auto;min-width:0}
.wz-nip-btn{flex:none;border:1px solid #cbd5e1;background:#fff;color:#334155;font-weight:800;font-size:.8125rem;border-radius:1rem;padding:0 .9rem;cursor:pointer;white-space:nowrap}
.wz-nip-btn:hover{border-color:#ea580c;color:#c2410c}
.wz-nip-btn:disabled{opacity:.6;cursor:wait}
.wz-nip-msg{margin:.35rem 0 0;font-size:.75rem;font-weight:700}
.wz-nip-msg.ok{color:#047857}.wz-nip-msg.err{color:#64748b}


/* ── Etap 3: nagłówek serwisu — pełne menu desktop, na telefonie Logo + „Dodaj firmę” + ☰ ───────────── */
.hdr-desk{display:none}
.hdr-mob{display:flex}
@media (min-width:1024px){.hdr-desk{display:flex}.hdr-mob{display:none}}
.hdr-add:hover{background-color:#c2410c!important}
.hdr-burger{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border:1px solid #e2e8f0;border-radius:.75rem;background:#fff;color:#334155;cursor:pointer}
.hdr-burger:hover{border-color:#cbd5e1;background:#f8fafc}
.hdr-burger:focus-visible{outline:3px solid rgba(249,115,22,.5);outline-offset:1px}
.hdr-menu{position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 12px 24px rgba(15,23,42,.12);padding:.35rem .75rem .6rem;max-height:calc(100vh - 4rem - var(--pc-consent-h,0px) - var(--pc-sticky-h,0px));max-height:calc(100dvh - 4rem - var(--pc-consent-h,0px) - var(--pc-sticky-h,0px));overflow-y:auto}
.hdr-menu[hidden]{display:none}
.hdr-menu a{display:flex;align-items:center;gap:.5rem;padding:.8rem .5rem;border-bottom:1px solid #f1f5f9;font-size:1rem;font-weight:700;color:#334155;text-decoration:none}
.hdr-menu a:last-child{border-bottom:0}
.hdr-menu a:hover{color:#ea580c}
@media (min-width:768px){.hdr-menu{display:none!important}}

/* Pakiet A: ikona „ukryj hasło” domyślnie ukryta; wyróżnienie pola wyboru miasta po wejściu z linku */
.pc-eye-off{display:none}
#wybierz-miasto,#city-search{scroll-margin-top:96px}
.pc-flash{box-shadow:0 0 0 4px rgba(249,115,22,.35)!important;transition:box-shadow .3s}

/* ── Modal komunikatów PGE (wcześniej inline w partials/pge_modal.php) ─────────────────────────── */
.pge-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.pge-modal__backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); animation: pgeFadeIn .2s ease; }
.pge-modal__dialog { position: relative; width: 100%; max-width: 720px; height: 85vh; max-height: 85vh; background: #fff; border-radius: 20px; box-shadow: 0 25px 50px -12px rgba(0,0,0,.35); display: flex; flex-direction: column; overflow: hidden; z-index: 10; animation: pgeZoomIn .2s ease; border: 1px solid rgba(229,231,235,.9); margin: auto; }
@keyframes pgeFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pgeZoomIn { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.pge-modal__header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #f1f5f9; background: linear-gradient(to right, #fff7ed, #fff); flex-shrink: 0; }
.pge-modal__header-content { display: flex; align-items: center; gap: 12px; }
.pge-modal__icon { width: 38px; height: 38px; border-radius: 12px; background: #ffedd5; color: #ea580c; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.pge-modal__title { font-size: 16px; font-weight: 700; color: #0f172a; margin: 0; line-height: 1.3; }
.pge-modal__subtitle { font-size: 12px; color: #64748b; margin: 2px 0 0; }
.pge-modal__close { width: 32px; height: 32px; border-radius: 50%; background: #f1f5f9; border: none; color: #64748b; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.pge-modal__close:hover { background: #e2e8f0; color: #0f172a; }

.pge-modal__search-wrap { padding: 10px 20px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; flex-shrink: 0; }
.pge-modal__search-row { display: flex; align-items: center; gap: 10px; }
.pge-modal__search-box { position: relative; display: flex; align-items: center; flex: 1; }
.pge-modal__search-icon { position: absolute; left: 12px; color: #94a3b8; pointer-events: none; }
.pge-modal__search-box input { width: 100%; height: 38px; padding: 0 34px 0 36px; border: 1px solid #cbd5e1; border-radius: 10px; font-size: 13px; color: #1e293b; background: #fff; transition: border-color .15s, box-shadow .15s; outline: none; }
.pge-modal__search-box input:focus { border-color: #ea580c; box-shadow: 0 0 0 3px rgba(234,88,12,.15); }
.pge-modal__clear-btn { position: absolute; right: 10px; width: 20px; height: 20px; border-radius: 50%; background: #cbd5e1; color: #475569; border: none; font-size: 11px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pge-modal__clear-btn:hover { background: #94a3b8; color: #fff; }
.pge-modal__toggle-all-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; height: 38px; border-radius: 10px; border: 1px solid #cbd5e1; background: #fff; color: #475569; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all .15s; flex-shrink: 0; }
.pge-modal__toggle-all-btn:hover { background: #f1f5f9; border-color: #94a3b8; color: #0f172a; }

.pge-modal__body { padding: 16px 20px; overflow-y: auto; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 14px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #cbd5e1 #f8fafc; }

.pge-outage-card { flex-shrink: 0; border-radius: 16px; border: 1.5px solid #e2e8f0; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.04); overflow: hidden; transition: all .2s ease; }
.pge-outage-card:hover { border-color: #cbd5e1; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.pge-outage-card--emergency { border-left: 5px solid #dc2626; }
.pge-outage-card--planned { border-left: 5px solid #f59e0b; }
.pge-outage-card--mass { border-left: 5px solid #991b1b; }
.pge-outage-card__header { padding: 16px 18px; background: #fff; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; user-select: none; transition: background .15s ease; }
.pge-outage-card__header:hover { background: #f8fafc; }
.pge-outage-card.is-collapsed .pge-outage-card__header { border-bottom: none; }
.pge-outage-card.is-collapsed .pge-outage-card__content { display: none; }
.pge-outage-card__header-info { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.pge-outage-card__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pge-outage-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 3px 8px; border-radius: 6px; }
.pge-outage-badge--emergency { background: #fee2e2; color: #b91c1c; }
.pge-outage-badge--planned { background: #fef3c7; color: #b45309; }
.pge-outage-badge--mass { background: #7f1d1d; color: #fecaca; }
.pge-outage-loc-badge { font-size: 11px; font-weight: 600; color: #475569; background: #f1f5f9; border: 1px solid #e2e8f0; padding: 2px 8px; border-radius: 6px; }
.pge-outage-time { font-size: 13px; font-weight: 700; color: #0f172a; display: inline-flex; align-items: center; gap: 6px; }
.pge-outage-preview { font-size: 12px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 95%; line-height: 1.4; }
.pge-outage-click-hint { font-size: 11px; font-weight: 600; color: #ea580c; display: flex; align-items: center; gap: 4px; margin-top: 1px; }
.pge-outage-card:not(.is-collapsed) .pge-outage-click-hint { display: none; }
.pge-outage-card__toggle-action { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 8px 16px; border-radius: 9999px; flex-shrink: 0; transition: all .15s ease; border: 1px solid transparent; }
.pge-outage-card.is-collapsed .pge-outage-card__toggle-action { background: #ea580c; color: #fff; box-shadow: 0 2px 6px rgba(234,88,12,.25); border-color: #ea580c; }
.pge-outage-card.is-collapsed:hover .pge-outage-card__toggle-action { background: #c2410c; }
.pge-outage-card:not(.is-collapsed) .pge-outage-card__toggle-action { background: #f1f5f9; color: #334155; border-color: #cbd5e1; }
.pge-outage-chevron { transition: transform .2s ease; }
.pge-outage-card.is-collapsed .pge-outage-chevron { transform: rotate(-90deg); }
.pge-outage-card__content { padding: 14px 16px; font-size: 13px; color: #334155; line-height: 1.5; background: #fafafa; border-top: 1px solid #f1f5f9; }
.pge-outage-locations-scroll { max-height: 380px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding-right: 6px; scrollbar-width: thin; scrollbar-color: #cbd5e1 #f1f5f9; }
.pge-outage-locations { display: flex; flex-direction: column; gap: 10px; }
.pge-outage-loc-group { background: #fff; border-radius: 12px; padding: 12px 14px; border: 1px solid #e2e8f0; }
.pge-outage-loc-city { font-weight: 700; color: #0f172a; margin-bottom: 6px; display: flex; align-items: center; gap: 5px; font-size: 13px; }
.pge-outage-loc-city--highlight { background: #fff7ed; border: 1.5px solid #fed7aa; padding: 6px 10px; border-radius: 8px; color: #9a3412; }
.pge-city-current-badge { background: #ea580c; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 9999px; text-transform: uppercase; margin-left: 6px; }
.pge-outage-streets-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pge-outage-street-item { font-size: 12px; color: #334155; padding-left: 14px; position: relative; }
.pge-outage-street-item::before { content: '•'; position: absolute; left: 4px; color: #ea580c; font-weight: bold; }
.pge-outage-street-name { font-weight: 600; color: #0f172a; }
.pge-outage-numbers-wrap { margin-top: 3px; padding: 4px 8px; background: #f1f5f9; border-radius: 6px; font-size: 11px; color: #475569; line-height: 1.4; word-break: break-word; }
.pge-outage-numbers-label { font-weight: 600; color: #334155; margin-right: 4px; }

.pge-modal__footer { padding: 12px 20px; background: #f8fafc; border-top: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; color: #64748b; flex-shrink: 0; }
.pge-modal__btn-close { padding: 7px 18px; background: #0f172a; color: #fff; border: none; border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .15s; }
.pge-modal__btn-close:hover { background: #334155; }
.pge-modal-no-results { text-align: center; padding: 30px 10px; color: #64748b; font-size: 13px; }

@media (max-width: 640px) {
    .pge-modal { padding: 8px; }
    .pge-modal__dialog { height: 92vh; max-height: 92vh; border-radius: 16px; }
    .pge-modal__header { padding: 12px 14px; }
    .pge-modal__search-wrap { padding: 8px 14px; }
    .pge-modal__body { padding: 12px 14px; }
    .pge-modal__footer { padding: 10px 14px; }
    .pge-outage-card__header { padding: 12px 14px; flex-direction: column; align-items: flex-start; gap: 10px; }
    .pge-outage-card__toggle-action { width: 100%; justify-content: center; }
    .pge-outage-preview { max-width: 100%; white-space: normal; }
    .pge-outage-locations-scroll { max-height: 280px; }
    .pge-modal__toggle-all-btn { font-size: 11px; padding: 0 8px; }
}

/* ── Stopka z falą i hasłem „Polecamy!” (makieta strony głównej; wspólna dla serwisu) ───────────────── */
footer.pc-footer{position:relative;margin-top:3.2rem;padding-top:3.2rem;background:linear-gradient(180deg,#111d3d,#0d1731);color:#cbd5e1}
footer.pc-footer::before{content:"";position:absolute;left:0;right:0;top:-2.4rem;height:2.5rem;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23111d3d' d='M0 80V40C160 8 330 2 520 24c210 24 330 42 560 18 150-16 260-34 360-52v90H0z'/%3E%3C/svg%3E") center bottom/100% 100% no-repeat}
footer.pc-footer .text-white{color:#fff}
footer.pc-footer a:hover,footer.pc-footer button:hover{color:#fff}
.pc-footer-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem}
.pc-signature{display:inline-flex;align-items:center;gap:.5rem;font-family:"Segoe Script","Brush Script MT","Lucida Handwriting",cursive;font-style:italic;font-weight:700;font-size:1.5rem;color:#fff;transform:rotate(-3deg)}
.pc-signature svg{width:1.6rem;height:1.6rem}

/* ── Nagłówek: przyciski-pigułki jak w makiecie ───────────────────────────────────────────────── */
#site-header{border-bottom:0;box-shadow:0 8px 26px rgba(15,27,61,.06)}
#site-header #nav-asystent-ai,#site-header #nav-dodaj-firme,#site-header #nav-konto,#site-header #nav-dodaj-firme-mobile{border-radius:999px;font-weight:800}
#site-header #nav-asystent-ai{background:#fff7f0;border-color:#f8b98a}
#site-header #nav-asystent-ai span:first-child{display:inline-flex;align-items:center;justify-content:center;width:1.35rem;height:1.35rem;padding:0;border-radius:999px;font-size:.55rem}
#site-header #nav-dodaj-firme,#site-header #nav-dodaj-firme-mobile{box-shadow:0 6px 14px rgba(242,106,27,.3)}
#site-header #nav-konto{box-shadow:0 2px 6px rgba(15,27,61,.06)}

/* ── Stopka: dolny odstęp (klasa pb-10 nie istnieje w zbudowanym Tailwindzie), bez białej szczeliny pod stopką ───── */
footer.pc-footer{padding-bottom:calc(2rem + var(--pc-consent-h,0px) + env(safe-area-inset-bottom,0px))}
footer.pc-footer .pc-footer-bottom{padding-bottom:.4rem;line-height:1.5;overflow:visible}
.pc-signature{line-height:1.35;padding:.1rem .4rem .25rem;overflow:visible}
/* tło dołu dokumentu (overscroll/„gumka”, bardzo wysokie okna): góra biała, dół granat stopki; treść zasłania body z własnym tłem */
html:has(footer.pc-footer){background:linear-gradient(180deg,#fff 0,#fff 50%,#0d1731 50%,#0d1731 100%)}
html:has(footer.pc-footer) body{min-height:100vh;min-height:100dvh}

/* Kredyt wykonawcy w dolnym pasku stopki (linki dofollow, brandowe anchory) */
.pc-footer-bottom{flex-wrap:wrap}
.pc-credit{flex:0 0 100%;order:3;margin-top:.1rem;color:#94a3b8}
.pc-credit a{color:#cbd5e1;text-decoration:none;border-radius:.2rem}
.pc-credit a:hover{color:#fff;text-decoration:underline}
.pc-credit a:focus-visible{outline:2px solid #f8b98a;outline-offset:2px;text-decoration:underline}

/* „Podstrony SEO” na wizytówce (zapowiedź dla wpisów bez wyłączności): wyszarzone przyciski + dymek */
.seo-hint{position:relative;margin-top:.9rem}
.seo-hint-title{margin:0;font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#64748b}
.seo-hint-row{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.4rem}
.seo-hint-btn{display:inline-flex;align-items:center;max-width:100%;min-height:2rem;padding:.35rem .8rem;border-radius:999px;border:1px solid #e2e8f0;background:#f1f5f9;color:#94a3b8;font-size:.8125rem;line-height:1.25rem;font-family:inherit;cursor:help}
.seo-hint-btn span{display:block;max-width:34rem;overflow-wrap:anywhere;white-space:normal;text-align:left}
.seo-hint-btn:hover{background:#f1f5f9;color:#94a3b8}
.seo-hint-btn:focus-visible{outline:3px solid rgba(15,27,61,.45);outline-offset:2px}
.seo-hint-tip{position:absolute;z-index:30;max-width:17.5rem;padding:.55rem .75rem;border-radius:.75rem;background:#0f1b3d;color:#fff;font-size:.8125rem;line-height:1.3;box-shadow:0 10px 24px rgba(15,27,61,.3)}
.seo-hint-tip[hidden]{display:none}
.seo-hint-tip::before{content:"";position:absolute;top:-.3rem;left:var(--ax,1rem);margin-left:-.3rem;width:.6rem;height:.6rem;background:#0f1b3d;transform:rotate(45deg)}
.seo-hint-tip.is-above::before{top:auto;bottom:-.3rem}
@media (max-width:639px){.seo-hint-btn span{max-width:100%}}

/* aktywna pozycja menu głównego (aria-current=page) */
.hdr-desk a[aria-current="page"]:not(.hdr-add){color:#c2410c;background:#fff4ea}
.hdr-menu a[aria-current="page"]{color:#c2410c;font-weight:800}

/* Stopka: dane rejestrowe i osoba zarządzająca portalem; awatar na /kontakt/ */
.kt-avatar{display:block;width:144px;height:144px;border-radius:9999px;object-fit:cover;border:1px solid #e2e8f0}
@media (min-width:640px){.kt-avatar{width:160px;height:160px}}
.kt-addr{display:block;font-style:normal;color:#4b5563}

/* Podstrony SEO: aktywne przyciski (firma z opublikowanymi podstronami) */
.seo-link-btn{display:inline-flex;align-items:center;max-width:100%;min-height:2rem;padding:.35rem .85rem;border-radius:999px;border:1px solid #fdba74;background:#fff7ed;color:#9a3412;font-size:.8125rem;font-weight:700;line-height:1.25rem;text-decoration:none;transition:background .15s,border-color .15s,color .15s}
.seo-link-btn span{display:block;max-width:34rem;overflow-wrap:anywhere;white-space:normal;text-align:left}
.seo-link-btn:hover{background:#0f1b3d;border-color:#0f1b3d;color:#fff}
.seo-link-btn:focus-visible{outline:3px solid rgba(15,27,61,.45);outline-offset:2px}
