/* =========================================================================
   krakow1.pl — styl A · Błękit
   Wszystkie kolory, odstępy i zaokrąglenia są w zmiennych poniżej.
   ========================================================================= */

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/manrope-cyrillic-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    /* Kolory */
    --blue: #1F6FB2;          /* синій Тернополя — акцент бренду */
    --blue-dark: #14548C;     /* hover, текст на світло-синьому */
    --blue-soft: #E7F1FA;     /* tła chipów, wyróżnień */
    --blue-light: #84B9E6;    /* akcent na ciemnym tle */
    --ink: #0E1A2B;           /* tekst główny */
    --ink-2: #1F2A3D;         /* tekst akapitów */
    --muted: #5A6B80;         /* tekst pomocniczy (kontrast 5.3:1 na białym) */
    --line: #E3E9F2;          /* obramowania */
    --line-soft: #EEF2F7;
    --bg: #F4F7FB;            /* tło strony */
    --surface: #FFFFFF;       /* karty */
    --field: #F1F5FA;         /* pola formularzy */
    --green: #11643A;
    --green-soft: #E4F6EC;
    --amber: #7A4B00;
    --amber-soft: #FDF1DC;

    /* Kształt */
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 20px;
    --container: 1180px;
    --gutter: 24px;

    /* Tekst: systemowy (Segoe UI / San Francisco / Roboto) — najczytelniejszy na każdym urządzeniu.
       Nagłówki, logo, przyciski: Manrope — charakter marki. */
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, .logo, .btn, .chip, .eyebrow, .stat strong, .main-nav, .site-footer h2 { font-family: var(--font-display); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--surface); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }

.env-banner { background: #FFF3C4; color: #5C4700; text-align: center; font-size: 14px; padding: 6px 16px; border-bottom: 1px solid #ECD98A; }

/* ---------- Logo ---------- */
.logo {
    display: inline-flex; align-items: center; gap: 1px;
    font-weight: 800; font-size: 24px; letter-spacing: -0.03em;
    color: var(--ink); text-decoration: none; white-space: nowrap;
}
.logo:hover { color: var(--ink); }
.logo__one {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; margin: 0 1px; border-radius: 9px;
    background: var(--blue); color: #fff; font-size: 19px;
}
.logo__tld { color: #7A8AA0; font-weight: 600; }
.logo--light, .logo--light:hover { color: #fff; }
.logo--light .logo__tld { color: var(--blue-light); }
/* Логотип-картинка: білий напис зі старого логотипа на синій плашці (колір кнопок --blue) */
.logo--img, .logo--img:hover { padding: 9px 14px; border-radius: 8px; background: var(--blue); line-height: 0; }
.logo--img:hover { background: var(--blue-dark); }
/* У підвалі — лише білий напис, без плашки */
.logo--light.logo--img, .logo--light.logo--img:hover { padding: 0; background: none; }
.logo--img img { display: block; height: 22px; width: auto; }
@media (max-width: 480px) { .logo--img { padding: 8px 11px; } .logo--img img { height: 18px; } }

/* ---------- Przyciski i chipy ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 20px; border: 0; border-radius: 12px; cursor: pointer;
    background: var(--blue); color: #fff; font: inherit; font-family: var(--font-display); font-weight: 700; font-size: 16px;
    text-decoration: none; white-space: nowrap;
}
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn--soft { background: var(--blue-soft); color: var(--blue-dark); }
.btn--soft:hover { background: #D6E4F7; color: var(--blue-dark); }
.btn--small { min-height: 42px; padding: 0 16px; font-size: 15px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 999px;
    font-size: 13px; font-weight: 700; line-height: 1.4;
    background: var(--field); color: #3D4B5E; text-decoration: none;
}
a.chip:hover { color: var(--blue-dark); background: var(--blue-soft); }
.chip--blue { background: var(--blue-soft); color: var(--blue-dark); }
.chip--green { background: var(--green-soft); color: var(--green); }
.chip--amber { background: var(--amber-soft); color: var(--amber); }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.card--pad { padding: 24px; }
.card__title { font-size: 18px; margin: 0 0 12px; }
.eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }

/* ---------- Nagłówek ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.header-search {
    flex: 1 1 320px; max-width: 520px; display: flex; align-items: center; gap: 10px;
    height: 46px; padding: 0 14px; background: var(--field); border: 1px solid var(--line); border-radius: 12px;
    color: var(--muted);
}
.header-search:focus-within { border-color: var(--blue); background: var(--surface); }
.header-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.main-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:not(.btn):hover { color: var(--blue); }
.main-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.menu-button { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 20px; cursor: pointer; align-items: center; justify-content: center; }

/* ---------- Treść ---------- */
.site-main { padding: 28px 0 64px; min-height: 60vh; }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: 14px; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #A9B6C6; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }

.section-title { font-size: 24px; margin: 0 0 14px; }
.section-title__more { margin-left: 10px; font-size: 15px; font-weight: 700; text-decoration: none; }

/* ---------- Strona główna ---------- */
.hero { padding: 6px 0 8px; }
.hero__eyebrow { margin: 0 0 8px; font-family: var(--font-display); font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.hero__title { font-family: var(--font-display); font-size: clamp(32px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.035em; margin: 0 0 12px; font-weight: 800; color: var(--ink); }
.hero__lead { color: var(--ink-2); font-size: 19px; margin: 0 0 26px; }
.hero-search { display: flex; gap: 10px; max-width: 680px; }
.hero-search input {
    flex: 1; min-width: 0; height: 56px; padding: 0 18px; font: inherit; font-size: 17px;
    border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink);
}
.hero-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.hero-search .btn { min-height: 56px; padding: 0 26px; border-radius: 14px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 14px; }
.stat { padding: 18px 20px; }
.stat strong { display: block; font-size: 30px; font-weight: 800; color: var(--blue); line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); }

.error-page { text-align: center; padding: 48px 0; }
.error-page h1 { font-size: 36px; margin: 0 0 8px; }

/* ---------- Karta firmy ---------- */
.firm-hero { padding: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.firm-hero__logo {
    width: 200px; height: 144px; flex: none; border-radius: 18px; background: var(--blue-soft);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    color: var(--blue); font-weight: 800; font-size: 32px; letter-spacing: -0.02em;
}
.firm-hero__logo--image { background: #fff; border: 1px solid var(--line); }
.firm-hero__logo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.firm-hero__text { flex: 1 1 380px; min-width: 0; }
.firm-hero h1 { margin: 10px 0 0; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; overflow-wrap: anywhere; }
.firm-hero__address { margin: 10px 0 0; font-size: 17px; color: #3D4B5E; }
.firm-hero__tag { margin: 8px 0 0; font-size: 15px; font-weight: 600; }
.firm-hero__tag a { color: var(--blue, #1A56B8); text-decoration: none; }
.firm-hero__tag a:hover { text-decoration: underline; }
.firm-hero__official { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.firm-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.firm-layout { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; align-items: flex-start; }
.firm-layout__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.firm-layout__side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

.contact-grid { padding: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.contact-grid__value { font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.contact-grid__value--big { font-size: 19px; font-weight: 700; color: var(--ink); text-decoration: none; }
.contact-grid__value--big:hover { color: var(--blue); }
.contact-grid__links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font-weight: 600; }
.contact-grid__note { display: block; font-size: 14px; color: var(--muted); font-weight: 500; }

.prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); overflow-wrap: anywhere; }
.prose p { margin: 0 0 14px; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin: 24px 0 10px; font-size: 19px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 14px; }
.prose > :last-child { margin-bottom: 0; }
.lead-text { font-size: 17px; line-height: 1.7; color: var(--ink-2); margin: 0 0 14px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery a:hover img { transform: scale(1.05); }

.tile-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tile { display: block; height: 100%; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.tile:hover { color: var(--ink); border-color: #BFD2EE; box-shadow: 0 6px 18px rgba(20, 80, 163, .08); }
.tile strong { display: block; font-size: 16px; line-height: 1.35; }
.tile span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

.map-card { overflow: hidden; }
.map { height: 240px; background: #DCE7F5; }
.map-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font-size: 15px; font-weight: 600; }
.map-card__footer a { font-size: 14px; white-space: nowrap; }

.hours { padding: 22px; }
.hours__row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.hours__row:last-child { border-bottom: 0; }
.hours__row span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours__row.is-closed span:last-child { color: var(--muted); }
.hours__row.is-today { margin: 2px -12px; padding: 9px 12px; border-radius: var(--radius-sm); border-bottom: 0; background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; }
.hours__note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- Nagłówek strony listy ---------- */
.page-head { margin-bottom: 20px; }
.page-head h1 { margin: 0; font-size: clamp(28px, 4.2vw, 40px); letter-spacing: -0.03em; font-weight: 800; }
.page-head__count { margin: 6px 0 0; color: var(--muted); font-weight: 600; }
.page-head__intro { margin-top: 14px; }
.page-head .hero-search { margin-top: 20px; }
.page-section { margin-top: 48px; }
.page-section .section-title a { text-decoration: none; }
.page-outro { margin-top: 40px; }

.filter-row { margin: 0 0 20px; }
.chip--active { background: var(--blue); color: #fff; }
a.chip--active:hover { background: var(--blue-dark); color: #fff; }
.chips--small .chip { font-size: 12px; padding: 3px 10px; }

/* ---------- Lista firm + mapa ---------- */
.listing { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.listing__main { flex: 999 1 560px; min-width: 0; }
.listing__map { flex: 1 1 360px; min-width: 0; position: sticky; top: 16px; }
.map--tall { height: min(70vh, 620px); }

.district-filter { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-weight: 600; font-size: 15px; }
.district-filter select { font: inherit; font-size: 15px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); max-width: 100%; }

.firm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.firm-card { display: grid; grid-template-columns: 112px minmax(0, 1fr) 200px; gap: 16px 18px; align-items: start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.firm-card[hidden] { display: none; }
.firm-card:hover { border-color: #BFD2EE; }
.firm-card__logo { width: 112px; height: 80px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; overflow: hidden; font-family: var(--font-display); font-weight: 800; font-size: 20px; text-decoration: none; }
.firm-card__logo--image { background: #fff; border: 1px solid var(--line); }
.firm-card__logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.firm-card__name { margin: 0 0 8px; font-size: 19px; line-height: 1.25; letter-spacing: -0.015em; }
.firm-card__name a { color: var(--ink); text-decoration: none; }
.firm-card__name a:hover { color: var(--blue); text-decoration: underline; }
.firm-card__line { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font-size: 15px; color: var(--ink-2); }
.firm-card__line .icon { color: var(--blue); margin-top: 3px; }
.firm-card__intro { grid-column: 2 / -1; grid-row: 2; margin: -6px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.firm-card__actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }

.empty-note { margin: 16px 0; color: var(--muted); }
.empty-state h2 { margin: 0 0 6px; font-size: 22px; }
.empty-state p { margin: 0 0 16px; color: var(--ink-2); }
.link-button { border: 0; background: none; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; cursor: pointer; }

/* Pinezka mapy w kolorze marki */
.map-pin span { display: block; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: var(--blue); transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(14, 26, 43, .35); }
.map-popup__name { font-weight: 700; font-size: 15px; color: var(--blue); }
.map-popup__address { margin-top: 2px; font-size: 13px; color: var(--muted); }

/* ---------- Katalog: rozdziały ---------- */
.section-grid { columns: 3 300px; column-gap: 16px; }
.section-card { break-inside: avoid; margin-bottom: 16px; padding: 22px; }
.section-card h2 { margin: 0 0 10px; font-size: 19px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.section-card h2 a { color: var(--ink); text-decoration: none; }
.section-card h2 a:hover { color: var(--blue); }
.section-card h2 span, .section-card li span { font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--muted); }
.section-card ul { list-style: none; margin: 0; padding: 0; }
.section-card li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line-soft); font-size: 15px; }
.section-card li a { color: var(--ink-2); text-decoration: none; }
.section-card li a:hover { color: var(--blue); text-decoration: underline; }
.tile--category strong { font-size: 17px; }
.tile-grid--compact { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }

/* ---------- Artykuły: karty i listy ---------- */
.page-head__page { color: var(--muted); font-weight: 600; font-size: .6em; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.article-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.article-card:hover { border-color: #BFD2EE; box-shadow: 0 8px 24px rgba(20, 80, 163, .08); }
.article-card__image { display: block; aspect-ratio: 16 / 10; background: var(--blue-soft); overflow: hidden; }
.article-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.article-card:hover .article-card__image img { transform: scale(1.03); }
.article-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #9FB8DE; font-size: 40px; }
.article-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.article-card__category { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.article-card__title { margin: 0; font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; }
.article-card__title a { color: var(--ink); text-decoration: none; }
.article-card__title a:hover { color: var(--blue); }
.article-card__excerpt { margin: 0; color: var(--ink-2); font-size: 16px; }
.article-card__date { margin: auto 0 0; padding-top: 4px; font-size: 14px; color: var(--muted); }

.article-card--featured { flex-direction: row; margin-bottom: 20px; }
.article-card--featured .article-card__image { flex: 1 1 55%; aspect-ratio: auto; min-height: 320px; }
.article-card--featured .article-card__body { flex: 1 1 45%; padding: 28px; justify-content: center; gap: 12px; }
.article-card--featured .article-card__title { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.025em; }
.article-card--featured .article-card__date { margin-top: 4px; }

.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 36px; }
.pagination ol { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.pagination li a, .pagination li span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; font-family: var(--font-display); font-weight: 700; text-decoration: none; }
.pagination li a { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.pagination li a:hover { border-color: var(--blue); color: var(--blue); }
.pagination li span[aria-current] { background: var(--blue); color: #fff; }
.pagination__gap { display: inline-flex; align-items: center; color: var(--muted); padding: 0 2px; }
.pagination__step { font-family: var(--font-display); font-weight: 700; text-decoration: none; padding: 10px 4px; }

/* ---------- Artykuł ---------- */
.article-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.article { flex: 999 1 600px; min-width: 0; max-width: 760px; }
.article-side { flex: 1 1 280px; min-width: 0; position: sticky; top: 16px; display: flex; flex-direction: column; gap: 20px; }
.article__head h1 { margin: 14px 0 12px; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 800; }
.article__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 15px; }
.article__image { margin: 24px 0 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--blue-soft); }
.article__image img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; }
.article__lead { margin: 24px 0 0; font-size: 20px; line-height: 1.6; color: var(--ink); font-weight: 500; }
.article__body { margin-top: 24px; font-size: 18px; line-height: 1.75; }
.article__body h2 { font-size: 27px; margin: 40px 0 14px; scroll-margin-top: 20px; }
.article__body h3 { font-size: 21px; margin: 30px 0 10px; }
.article__body h4 { font-size: 18px; margin: 24px 0 8px; }
.article__body img { display: block; max-width: 100%; height: auto; margin: 24px auto 8px; border-radius: var(--radius); }
.article__body .image-caption { margin: 0 0 24px; text-align: center; font-size: 14px; color: var(--muted); }
.article__body iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); margin: 24px 0; }
.article__body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; line-height: 1.5; display: block; overflow-x: auto; }
.article__body th, .article__body td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: normal; } /* .prose łamie „anywhere” — w tabeli „10” rozpadało się na „1 / 0” */
.article__body th { background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; white-space: nowrap; }
.article__body blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--blue); color: var(--ink); font-size: 19px; }
.article__body li { margin-bottom: 6px; }

.toc ol { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.45; }
.toc li { margin: 0 0 8px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--blue); text-decoration: underline; }
.toc--side { padding: 22px; max-height: calc(100vh - 32px); overflow: auto; }
.toc--inline { display: none; margin-top: 24px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.toc--inline summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; }
.toc--inline ol { margin-top: 12px; }

.side-list { padding: 22px; }
.side-list ul { list-style: none; margin: 0; padding: 0; }
.side-list li { padding: 10px 0; border-top: 1px solid var(--line-soft); }
.side-list li:first-child { border-top: 0; padding-top: 0; }
.side-list a { display: block; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.4; }
.side-list a:hover { color: var(--blue); }
.side-list span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

/* ---------- Strony statyczne ---------- */
.static-head__lead { margin: 12px 0 0; font-size: 19px; color: var(--ink-2); }
.static-head__intro { margin-top: 14px; }
.static-head .btn { margin-top: 6px; }
.static-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.static-page { flex: 999 1 560px; min-width: 0; }
.static-page.prose h2 { font-size: 23px; margin: 32px 0 10px; }
.static-page.prose h2:first-child { margin-top: 0; }
.static-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.static-side__line { margin: 0 0 10px; overflow-wrap: anywhere; }
.static-side__line:last-child { margin-bottom: 0; }
.static-side__muted { font-size: 14px; color: var(--muted); }
.section-lead { margin: -4px 0 18px; max-width: 820px; color: var(--ink-2); }

/* ---------- Formularze ---------- */
.form-card { padding: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15px; }
.form-optional { font-weight: 400; color: var(--muted); }
.form-field input, .form-field textarea, .district-filter, .district-search__box input {
    width: 100%; font: inherit; font-size: 16px; color: var(--ink);
    padding: 12px 14px; border: 1px solid #CDD7E5; border-radius: 12px; background: var(--surface);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field textarea:focus, .district-filter:focus, .district-search__box input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.form-field [aria-invalid="true"] { border-color: #B42318; }
.form-error { margin: 6px 0 0; font-size: 14px; color: #B42318; }
.form-alert { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: #FDECEA; color: #8A1C12; font-weight: 600; }
.form-note { margin: 18px 0; font-size: 14px; color: var(--muted); }
.form-success h2 { margin: 0 0 8px; font-size: 24px; color: var(--green); }
.form-success p { margin: 0 0 10px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pakiety / cennik ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; }
.plan--featured { border: 2px solid var(--blue); box-shadow: 0 12px 32px rgba(20, 80, 163, .12); }
.plan__badge { position: absolute; top: -13px; left: 24px; margin: 0; padding: 3px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-family: var(--font-display); font-size: 12px; font-weight: 700; }
.plan__name { margin: 0; font-size: 22px; }
.plan__price { margin: 10px 0 2px; font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--blue); }
.plan__price span { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan__price--text { font-size: 22px; }
.plan__year { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.plan__note { margin: 0 0 18px; color: var(--muted); }
.plan__features { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.plan__features li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line-soft); font-size: 15px; }
.plan__features li.is-no { color: #8795A8; }
.icon--check { color: var(--green); stroke-width: 2.6; margin-top: 2px; }
.icon--cross { color: #A9B6C6; stroke-width: 2.2; margin-top: 2px; }
.plans--compact .plan { padding: 22px; }
.plans--compact .plan__note { margin-bottom: 0; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.step { counter-increment: step; padding: 20px 22px; }
.step h3 { margin: 0 0 6px; font-size: 18px; display: flex; gap: 10px; align-items: baseline; }
.step h3::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); font-size: 15px; flex: none; }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ---------- Konto: logowanie / rejestracja ---------- */
.auth { max-width: 460px; margin: 8px auto 0; }
.auth__card { padding: 32px; }
.auth__card h1 { margin: 0 0 6px; font-size: 30px; letter-spacing: -0.03em; }
.auth__lead { margin: 0 0 22px; color: var(--ink-2); }
.auth .form-field { margin-bottom: 14px; }
.auth__submit { width: 100%; margin-top: 6px; }
.auth__aside-link { float: right; font-weight: 500; font-size: 14px; }
.auth__or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 14px; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth__switch { text-align: center; margin: 18px 0 0; color: var(--ink-2); }
.auth__resend { margin-top: 14px; text-align: center; }
.btn--google { width: 100%; background: #fff; color: var(--ink); border: 1px solid #CDD7E5; }
.btn--google:hover { background: var(--field); color: var(--ink); }
.btn--danger { background: #B42318; }
.btn--danger:hover { background: #8A1C12; }

.flash { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; font-weight: 600; overflow-wrap: anywhere; }
.flash--success { background: var(--green-soft); color: var(--green); }
.flash--error { background: #FDECEA; color: #8A1C12; }
.flash--info { background: var(--blue-soft); color: var(--blue-dark); }
.flash--dev { background: #FFF3C4; color: #5C4700; font-weight: 500; font-size: 14px; }

.form-check { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 4px; font-size: 15px; }
.form-check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--blue); }
.form-hint { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.form-counter { margin: 4px 0 0; font-size: 13px; color: var(--muted); text-align: right; }
.form-counter.is-over { color: #B42318; font-weight: 700; }
.form-field select { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #CDD7E5; border-radius: 12px; background: var(--surface); color: var(--ink); }
.form-field input[type="file"] { padding: 10px; background: var(--field); }
.form-field input:disabled { background: var(--field); color: var(--muted); }
.form-actions, .inline-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.narrow-form { max-width: 520px; }
.narrow-form .form-field { margin-bottom: 14px; }

/* ---------- Konto: panel ---------- */
.panel { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.panel__nav { flex: 0 0 240px; position: sticky; top: 16px; }
.panel__user { margin: 0 0 14px; font-family: var(--font-display); font-weight: 700; overflow-wrap: anywhere; }
.panel__user span { display: block; font-family: var(--font); font-weight: 400; font-size: 14px; color: var(--muted); }
.panel__nav nav { display: flex; flex-direction: column; gap: 2px; }
.panel__nav nav a { padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.panel__nav nav a:hover { background: var(--surface); color: var(--blue); }
.panel__nav nav a[aria-current="page"] { background: var(--blue-soft); color: var(--blue-dark); }
.panel__main { flex: 999 1 560px; min-width: 0; }
.panel__title { margin: 0 0 18px; font-size: clamp(26px, 3.6vw, 34px); letter-spacing: -0.03em; overflow-wrap: anywhere; }
.panel__lead { margin: -6px 0 20px; color: var(--ink-2); }
.panel__toolbar { display: flex; justify-content: flex-end; margin-bottom: 14px; }

.my-firms { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.my-firm { padding: 20px 22px; }
.my-firm__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 16px; }
.my-firm__name { margin: 0; font-size: 20px; }
.my-firm__meta { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.my-firm__note { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--field); font-size: 15px; }
.my-firm__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.my-firm__delete { margin-left: auto; font-size: 14px; color: #B42318; }
.chip--red { background: #FDECEA; color: #8A1C12; }

.firm-form { display: flex; flex-direction: column; gap: 18px; }
.form-section { margin: 0; padding: 22px 24px 24px; min-width: 0; }
.form-section legend { float: left; width: 100%; margin: 0 0 14px; padding: 0; font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.form-section legend + * { clear: both; }
.form-grid--3 { grid-template-columns: 2fr 1fr 1fr; }
.hours-form { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 16px; }
.hours-form__row { display: grid; grid-template-columns: 130px minmax(0, 260px) auto; gap: 12px; align-items: center; }
.hours-form__row label { font-weight: 600; font-size: 15px; }
.hours-form__row input { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #CDD7E5; border-radius: 10px; }
.logo-field { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.logo-field__preview { width: 144px; height: 104px; object-fit: contain; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.logo-field .form-field { flex: 1 1 280px; }

.photo-upload { display: grid; gap: 14px; max-width: 640px; margin-bottom: 20px; }
.photo-grid { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.photo-grid__item { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--line); }
.photo-grid__item img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid__item form { position: absolute; right: 8px; bottom: 8px; }
.photo-grid__delete { border: 0; border-radius: 8px; padding: 6px 10px; background: rgba(14, 26, 43, .8); color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.photo-grid__delete:hover { background: #B42318; }
.upsell h2 { margin: 0 0 8px; font-size: 21px; }
.upsell p { margin: 0 0 16px; color: var(--ink-2); max-width: 640px; }

.plan-choice { border: 0; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.plan-choice__option { position: relative; display: grid; gap: 4px; padding: 20px 20px 20px 52px; cursor: pointer; }
.plan-choice__option input { position: absolute; left: 20px; top: 24px; width: 20px; height: 20px; accent-color: var(--blue); }
.plan-choice__option:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.plan-choice__name { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.plan-choice__price { font-family: var(--font-display); font-weight: 700; color: var(--blue); }
.plan-choice__price small { font-size: 13px; font-weight: 600; color: var(--muted); }
.plan-choice__year { font-size: 13px; color: var(--muted); margin-top: -2px; }
.form-consent { margin: 18px 0 4px; font-size: 14px; line-height: 1.5; }
.form-consent .form-check { align-items: flex-start; }
.form-consent input { margin-top: 3px; }
.plan-choice__desc { font-size: 15px; color: var(--ink-2); }

/* ---------- Panel administratora ---------- */
.panel--admin .panel__nav { flex-basis: 220px; }
.admin-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: #B42318; color: #fff; font-size: 12px; font-weight: 800; }
.admin-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 14px; }
.admin-tile { display: block; padding: 18px 20px; text-decoration: none; color: var(--ink); }
.admin-tile strong { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1.1; color: var(--ink); }
.admin-tile span { font-size: 14px; color: var(--muted); }
a.admin-tile:hover { border-color: #BFD2EE; }
.admin-tile--hot { border-color: #F2C3BF; background: #FFF7F6; }
.admin-tile--hot strong { color: #B42318; }
.admin-tiles--muted strong { font-size: 24px; color: var(--blue); }
.admin-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-top: 8px; }
.admin-list { list-style: none; margin: 0; padding: 0; }
.admin-list li { padding: 9px 0; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; }
.admin-list li:first-child { border-top: 0; }
.admin-list a { font-weight: 600; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.admin-list a:hover { color: var(--blue); }
.admin-list span { font-size: 13px; color: var(--muted); }
.admin-subtitle { margin-top: 22px; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.admin-filters__form, form.admin-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
form.admin-filters { justify-content: flex-start; }
.admin-filters input[type="search"], .admin-filters select { font: inherit; font-size: 15px; height: 42px; padding: 0 12px; border: 1px solid #CDD7E5; border-radius: 10px; background: var(--surface); color: var(--ink); max-width: 100%; }
.admin-filters input[type="search"] { min-width: 260px; flex: 1 1 260px; }
.admin-count { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.admin-link { font-size: 14px; font-weight: 600; }
.admin-table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.admin-table th { text-align: left; padding: 12px 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: #FAFBFD; }
.admin-table td span:not(.chip) { display: block; font-size: 13px; color: var(--muted); }
.admin-table__name { font-weight: 700; color: var(--ink); text-decoration: none; }
.admin-table__name:hover { color: var(--blue); text-decoration: underline; }
.admin-table__actions { white-space: nowrap; text-align: right; }
.admin-table__actions form { display: inline; }
.admin-table__actions > * { margin-left: 4px; vertical-align: middle; }
.admin-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; margin-bottom: 16px; }
.admin-bar__info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: var(--muted); }
.admin-bar__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-bar__actions form { display: inline; }
.admin-reject { margin-bottom: 16px; }
.admin-reject summary { cursor: pointer; font-weight: 700; color: #8A1C12; }
.admin-reject form { margin-top: 14px; }
.btn--ghost-danger { background: transparent; color: #B42318; box-shadow: inset 0 0 0 1.5px #E7B5B0; }
.btn--ghost-danger:hover { background: #FDECEA; color: #8A1C12; }
.form-actions--sticky { position: sticky; bottom: 0; z-index: 3; padding: 12px 0; background: linear-gradient(to top, var(--bg) 70%, transparent); }
.firm-form .form-section > .form-field { margin-bottom: 14px; }
.admin-dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 12px; margin: 0; font-size: 15px; }
.admin-dl dt { color: var(--muted); }
.admin-dl dd { margin: 0; overflow-wrap: anywhere; }
.logo-field__preview--wide { width: 240px; height: 150px; object-fit: cover; padding: 0; }
.inbox { display: flex; flex-direction: column; gap: 12px; }
.inbox__item { padding: 18px 20px; }
.inbox__item.is-done { opacity: .65; }
.inbox__head { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; font-size: 15px; }
.inbox__head span { color: var(--muted); font-size: 14px; margin-left: auto; }
.inbox__text { margin: 10px 0 12px; white-space: normal; overflow-wrap: anywhere; color: var(--ink-2); }
.inbox__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.inbox__actions form { display: inline; }
.tox-tinymce { border-radius: 12px !important; border-color: #CDD7E5 !important; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--ink); color: #B9C6D8; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; padding-top: 44px; padding-bottom: 32px; }
.site-footer__brand p { margin: 12px 0 0; max-width: 280px; }
.site-footer h2 { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer nav a { color: #B9C6D8; text-decoration: none; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { padding-top: 18px; padding-bottom: 24px; border-top: 1px solid #22314A; font-size: 14px; }

/* ---------- Telefon / tablet ---------- */
@media (max-width: 900px) {
    .site-header__inner { flex-wrap: wrap; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
    .menu-button { display: inline-flex; }
    .header-search { order: 3; flex-basis: 100%; max-width: none; }
    .main-nav { display: none; order: 4; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding-top: 4px; }
    .is-menu-open .main-nav { display: flex; }
    .main-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 17px; }
    .main-nav a[aria-current="page"] { border-bottom-color: var(--line-soft); }
    .main-nav .btn { margin-top: 12px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
    .listing__map { position: static; order: -1; flex-basis: 100%; }
    .map--tall { height: 220px; }
    .panel__nav { position: static; flex-basis: 100%; }
    .panel__nav nav { flex-direction: row; flex-wrap: wrap; }
    .panel__nav nav a { padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); }
    .article-side { position: static; flex-basis: 100%; }
    .toc--side { display: none; }
    .toc--inline { display: block; }
    .article-card--featured { flex-direction: column; }
    .article-card--featured .article-card__image { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
    :root { --gutter: 16px; }
    body { font-size: 16px; }
    .site-main { padding-top: 18px; }
    .firm-hero { padding: 20px; gap: 16px; }
    .firm-hero__logo { width: 160px; height: 116px; font-size: 28px; border-radius: 16px; }
    .firm-hero__actions { width: 100%; }
    .firm-hero__actions .btn { flex: 1 1 0; }
    .contact-grid { grid-template-columns: 1fr; padding: 20px; }
    .firm-card { grid-template-columns: 76px minmax(0, 1fr); padding: 16px; gap: 12px 14px; }
    .firm-card__logo { width: 76px; height: 56px; font-size: 16px; border-radius: 12px; }
    .firm-card__logo img { padding: 5px; }
    .firm-card__actions { grid-column: 1 / -1; grid-row: 3; flex-direction: row; }
    .firm-card__intro { grid-column: 1 / -1; grid-row: 2; margin: 0; }
    .firm-card__actions .btn { flex: 1 1 0; }
    .firm-card__name { font-size: 17px; }
    .hero-search { flex-direction: column; }
    .prose, .lead-text { font-size: 16px; }
    .article__body { font-size: 17px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid--3 { grid-template-columns: 1fr; }
    .hours-form__row { grid-template-columns: 1fr; gap: 4px; }
    .auth__card { padding: 22px; }
    .form-section { padding: 18px; }
    .my-firm__delete { margin-left: 0; }
    .form-card { padding: 20px; }
    .article__lead { font-size: 18px; }
    .article__body h2 { font-size: 23px; }
    .article-card--featured .article-card__body { padding: 18px; }
}

/* /korki/ — mapa korków */
.btn--large { min-height: 56px; padding: 0 28px; font-size: 18px; }
.btn--large .icon { width: 22px; height: 22px; }
.traffic { margin: 0 0 32px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #DCE6F2; }
.traffic__placeholder {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    height: clamp(320px, 55vh, 520px); background-size: cover; background-position: center;
}
.traffic__placeholder[hidden], .traffic__map[hidden] { display: none; }
.traffic__note { color: #fff; font-size: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(10,25,50,.6); }
.traffic__map { height: clamp(360px, 65vh, 620px); }

/* Reklamy AdSense */
.ad-slot { margin: 24px 0; text-align: center; min-height: 100px; }
.ad-slot--rect { min-height: 250px; margin: 0; }
.ad-slot--preview {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    min-height: 120px; border: 2px dashed #B9C7DA; border-radius: var(--radius); color: var(--muted); font-size: 14px; font-weight: 700;
}
.ad-slot--preview.ad-slot--rect { width: 300px; max-width: 100%; height: 250px; margin: 0 auto; }
.ad-slot--preview small { font-weight: 400; }

/* ---------- Strona główna: katalog + ostatnio dodane ---------- */
.home-catalog { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; margin-top: 24px; }
.home-catalog__main { flex: 999 1 560px; min-width: 0; }
.home-catalog__side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.home-catalog .section-title a { text-decoration: none; }
.home-sections { columns: 2 300px; column-gap: 32px; }
.home-section { break-inside: avoid; padding: 18px 0 16px; border-top: 1px solid var(--line); }
.home-section h3 { margin: 0 0 8px; font-size: 17px; }
.home-section h3 a { color: var(--ink); text-decoration: none; }
.home-section h3 a:hover { color: var(--blue); }
.home-section ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.home-section li { font-size: 15px; line-height: 1.6; }
.home-section li a { color: var(--blue); text-decoration: none; }
.home-section li a:hover { text-decoration: underline; }
.home-section li span { margin-left: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.home-add p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }

/* ---------- Podpowiedzi wyszukiwarki ---------- */
.has-suggest { position: relative; }
.suggest {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
    max-height: min(70vh, 460px); overflow: auto; padding: 6px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 16px 40px rgba(10, 25, 50, .16); text-align: left;
}
.suggest[hidden] { display: none; }
.suggest__group { padding: 8px 12px 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.suggest__item { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15px; }
.suggest__item:hover, .suggest__item.is-active { background: var(--blue-soft); color: var(--blue-dark); }
.suggest__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.suggest__name mark { background: none; color: var(--blue); font-weight: 800; }
.suggest__meta { flex: none; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--muted); }
.suggest__all {
    display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 0; border-top: 1px solid var(--line-soft);
    background: none; color: var(--blue); font: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; border-radius: 0 0 10px 10px;
}
.suggest__all:hover { background: var(--field); }
.hero-search.has-suggest .suggest { right: auto; width: 100%; }
@media (max-width: 560px) {
    .hero-search input { flex: none; }
    .suggest__meta { display: none; }
}
.home-catalog__main.card { padding: 24px 28px 8px; }
.home-catalog__main .section-title { margin-bottom: 4px; }
.home-catalog__main .home-section:first-child { border-top: 0; }
@media (max-width: 560px) { .home-catalog__main.card { padding: 18px 18px 4px; } }
.home-catalog__main .home-section { border-top: 0; padding: 14px 0 12px; }
.home-catalog__main .section-title { margin-bottom: 0; }
@media (max-width: 560px) {
    .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
    .stat { padding: 12px; }
    .stat strong { font-size: 22px; }
    .stat span { font-size: 12px; line-height: 1.3; display: block; }
}
.hero-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hero-popular > span { font-size: 14px; font-weight: 700; color: var(--muted); margin-right: 2px; }
.hero-popular .chip { padding: 7px 14px; font-size: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.hero-popular .chip:hover { border-color: #BFD2EE; background: var(--blue-soft); color: var(--blue-dark); }
.archive-link { margin: 28px 0 0; font-size: 15px; color: var(--muted); }

/* Media społecznościowe w stopce */
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social-links a {
    display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
    border: 1px solid #2A3B57; border-radius: 50%; color: #DCE5F2; text-decoration: none;
}
.social-links a:hover { background: #1C2A42; border-color: #3A5075; color: #fff; }
.social-links svg { width: 20px; height: 20px; }
.contact-grid__phones { display: flex; flex-direction: column; gap: 4px; }
.firm-about .section-title { margin-bottom: 10px; }
.firm-about .lead-text { margin: 0; }
.firm-about .lead-text + .prose { margin-top: 14px; }
.firm-others { margin-top: 32px; }
.contact-grid__col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* ---------- Galeria firmy + podgląd zdjęć ---------- */
.firm-photos .section-title { margin-bottom: 14px; }
.section-title__count { margin-left: 6px; font-size: 15px; font-weight: 700; color: var(--muted); }
.gallery a { cursor: zoom-in; }
.lightbox-open, .lightbox-open body { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(8, 14, 26, .94); color: #fff; }
.lightbox[hidden] { display: none; }
.lightbox__bar { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 10px 18px; z-index: 2; }
.lightbox__counter { font-size: 15px; font-weight: 600; color: #C9D4E5; font-variant-numeric: tabular-nums; }
.lightbox__tools { display: flex; gap: 4px; }
.lightbox button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: #fff; cursor: pointer; }
.lightbox button:hover, .lightbox button.is-active { background: rgba(255,255,255,.12); }
.lightbox button svg { width: 24px; height: 24px; }
.lightbox__stage { margin: 0; max-width: calc(100vw - 150px); max-height: calc(100vh - 120px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); transition: opacity .2s; user-select: none; }
.lightbox.is-loading .lightbox__stage img { opacity: .35; }
.lightbox__stage figcaption { font-size: 15px; color: #DCE5F2; text-align: center; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px !important; height: 52px !important; background: rgba(255,255,255,.08) !important; border-radius: 50% !important; }
.lightbox__nav:hover { background: rgba(255,255,255,.2) !important; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox.is-single .lightbox__nav, .lightbox.is-single [data-lb="play"] { display: none; }
@media (max-width: 560px) {
    .lightbox__stage { max-width: 100vw; }
    .lightbox__stage img { border-radius: 0; max-height: calc(100vh - 160px); }
    .lightbox__nav { top: auto; bottom: 18px; transform: none; }
    .lightbox [data-lb="full"] { display: none; }
}
.hours__note { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; }

/* Strony statyczne: główny tekst w białej karcie */
.prose.static-page { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 32px; }
.prose.static-page > :first-child { margin-top: 0; }
.prose.static-page > :last-child { margin-bottom: 0; }
@media (max-width: 560px) { .prose.static-page { padding: 20px 18px; } }
/* Zdjęcie zamiast logo: wypełnia ramkę, bez obramowania, lekko zaokrąglone rogi */
.firm-hero__logo.is-photo, .firm-card__logo.is-photo { border: 0; background: var(--line); border-radius: 6px; }
.firm-hero__logo.is-photo img, .firm-card__logo.is-photo img { object-fit: cover; padding: 0; }

/* Wybór pakietu w „Dodaj firmę” + weryfikacja bez kolejki */
.form-section--plain { border: 0; padding: 0; margin: 0 0 18px; }
.form-section--plain > legend { font-family: var(--font-display); font-weight: 800; font-size: 19px; margin-bottom: 12px; padding: 0; }
.plan-choice--3 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 10px; }
.plan-choice__speed { font-size: 14px; font-weight: 700; color: var(--muted); }
.plan-choice__speed.is-fast { color: var(--green); }
.form-section--plain .form-hint { margin: 0; font-size: 14px; color: var(--muted); }
.plan__features li.plan__speed { display: block; color: var(--ink-2); }
.plan__features li.plan__speed strong { color: var(--muted); }
.plan__features li.plan__speed.is-fast strong { color: var(--green); }

/* /artykul-sponsorowany/ — korzyści bez numerów, karty w węższej kolumnie */
.static-page .steps { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.steps--four { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.step--plain h3::before { display: none; }
.static-side .plan .btn { margin-top: 4px; }
.form-field label + .form-hint { margin: -2px 0 8px; }

/* Mapa z pinezką w formularzu firmy */
.pin-map { margin-top: 16px; }
.pin-map__map { height: 320px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; z-index: 0; }
.pin-map__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.pin-map__bar .form-hint { margin: 0; flex: 1 1 260px; }
.pin-map__map .map-pin { cursor: grab; }
@media (max-width: 560px) { .pin-map__map { height: 260px; } }
/* Opis pod nagłówkiem sekcji formularza — odstęp od pól */
.form-section > .form-hint:not(:last-child) { margin: 0 0 18px; }
.form-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 6px; }
.form-meta .form-hint, .form-meta .form-counter { margin: 0; }
.form-meta .form-counter { flex: none; }
.panel__toolbar { gap: 12px; align-items: center; }
.firm-filter { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.firm-filter input { flex: 1 1 auto; max-width: 420px; min-width: 0; height: 42px; padding: 0 14px; font: inherit; font-size: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.firm-filter input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.firm-filter__count { flex: none; font-size: 14px; color: var(--muted); }
.my-firm[hidden] { display: none; }
.order-steps { margin: 0 0 20px; padding: 18px 22px 18px 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); }
.order-steps strong { color: var(--ink); }
/* Tabela firm w panelu: status, pakiet i data w jednej kolumnie; przyciski jeden pod drugim */
.admin-table__state { min-width: 170px; }
.admin-table__state .chips { margin-bottom: 6px; }
.admin-table__state strong { color: var(--ink-2); font-weight: 600; }
.admin-table td.admin-table__actions { width: 1%; }
.admin-table td.admin-table__actions > * { display: block; width: 100%; margin: 0 0 6px; text-align: center; }
.admin-table td.admin-table__actions form .btn { width: 100%; }
.admin-table td.admin-table__actions .admin-link { margin: 2px 0 0; font-size: 13px; }
.panel__nav nav a:has(.admin-badge) { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* Admin: pole „Lokalizacja” z wyszukiwarką */
.location-field__search { position: relative; }
.location-field__search .suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; }
.location-field__search .suggest__item { width: 100%; text-align: left; background: none; border: 0; font: inherit; cursor: pointer; }
.location-field__picked { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line, #CDD7E5); border-radius: 12px; background: var(--blue-soft); font-weight: 600; }
.location-field__picked small { font-weight: 400; color: var(--muted); }
.location-field .chip { border: 0; cursor: pointer; font: inherit; font-size: 13px; margin: 4px 4px 0 0; }
.location-field__picked[hidden], .location-field__search[hidden] { display: none; }
.location-field__picked .admin-link { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--red, #B42318); cursor: pointer; text-decoration: underline; }
.hours__remark { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.hours__remark .icon { flex: none; width: 16px; height: 16px; margin-top: 2px; stroke: var(--muted); stroke-width: 2; fill: none; }
.hours__trade-next { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

/* /niedziele-handlowe/ */
.ts-next { margin: 0 0 28px; padding: 26px 28px; background: var(--blue); color: #fff; border: 0; }
.ts-next__eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.ts-next__date { margin: 6px 0 0; font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.ts-next__note { margin: 6px 0 0; font-size: 17px; opacity: .9; }
.prose .ts-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.ts-list__item { display: flex; flex-direction: column; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.ts-list__item time { font-weight: 700; color: var(--ink); }
.ts-list__item span { font-size: 14px; color: var(--muted); }
.ts-list__item.is-past { opacity: .5; }
.ts-list__item.is-next { background: var(--blue-soft); border-color: var(--blue); }
.ts-list__item.is-next time { color: var(--blue-dark); }
.prose .ts-places { list-style: none; padding: 0; margin: 0 0 14px; }
.ts-places li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.ts-places li:last-child { border-bottom: 0; }
.ts-places a { font-weight: 600; }
.ts-places__addr { grid-column: 1; font-size: 14px; color: var(--muted); }
.ts-places__hours { grid-column: 2; grid-row: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ts-places--compact li { padding: 6px 0; }

/* /info/ — hub przydatnych informacji */
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.info-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.info-card:hover { border-color: var(--blue); box-shadow: 0 8px 24px rgba(10, 25, 50, .08); }
.info-card__title { margin: 0; font-size: 20px; color: var(--blue-dark); }
.info-card__text { margin: 0; color: var(--ink-2); }

/* /info/dzielnice/ */
.district-search { margin: 0 0 16px; }
.district-search__label { display: block; margin: 0 0 8px; font-weight: 700; font-size: 18px; }
.district-search__box { position: relative; }
.district-search__box input { width: 100%; }
.district-hit { display: flex; justify-content: space-between; gap: 12px; cursor: default; }
.district-hit__where { flex: none; font-size: 14px; }
.district-hit__where a { font-weight: 600; }
.district-map { height: 460px; margin: 0 0 28px; overflow: hidden; padding: 0; }
.district-map--single { height: 380px; }
@media (max-width: 560px) { .district-map { height: 340px; } }
.district-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.district-table th, .district-table td { padding: 9px 8px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.district-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.district-table td:nth-child(n+3) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.prose .district-places { columns: 2 240px; padding-left: 0; list-style: none; }
.district-places li { break-inside: avoid; margin: 0 0 6px; }
.district-source { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.district-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 10px 0 0; color: var(--ink-2); }
.district-facts strong { color: var(--ink); }
.district-filter { width: 100%; max-width: 360px; margin: 0 0 12px; }
.district-letters { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 16px; }
.district-letters a { min-width: 30px; padding: 4px 8px; border-radius: 8px; background: var(--blue-soft); text-align: center; font-weight: 700; font-size: 14px; text-decoration: none; }
.district-streets__group h3 { margin: 18px 0 6px; font-size: 18px; }
.prose .district-streets ul { columns: 3 180px; padding-left: 0; list-style: none; margin: 0; }
.district-streets li { break-inside: avoid; padding: 2px 0; font-size: 15px; }
.district-cats { list-style: none; padding: 0; margin: 0; }
.district-cats li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.district-cats li:last-child { border-bottom: 0; }
.district-cats span { color: var(--muted); font-variant-numeric: tabular-nums; }
.district-nav { display: flex; flex-direction: column; gap: 8px; }

/* Panel: edytory modułów (usługi, cennik, zespół, przyciski) */
.module-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.module-tabs a { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14px; }
.module-tabs a.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.repeater { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 12px; }
.repeater__row { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg, 16px); }
.repeater__row--compact { padding: 12px 14px; }
.repeater__fields { flex: 1; min-width: 0; display: grid; gap: 10px; }
.repeater__fields .form-field { margin: 0; }
.repeater__fields--2 { grid-template-columns: 1fr 1.6fr; }
.repeater__fields--price { grid-template-columns: 1.1fr 1.6fr .8fr .8fr; }
.repeater__row--compact label { font-size: 12px; }
.repeater__tools { display: flex; flex-direction: column; gap: 6px; padding-top: 22px; }
.repeater__tools button { min-width: 34px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; font: inherit; font-size: 13px; }
.repeater__tools .repeater__remove { color: #B42318; border-color: #F3C9C5; }
.repeater + template + [data-add] { margin-bottom: 18px; }
.team-row { grid-template-columns: 120px 1fr; }
.team-row__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.team-row__photo { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; }
.team-row__photo img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.team-row__upload { cursor: pointer; color: var(--blue); font-weight: 600; text-align: center; }
.team-row__upload input { display: block; width: 110px; font-size: 11px; margin-top: 4px; }
.team-consent { margin: 4px 0 8px; }
.price-paste { margin: 8px 0 16px; }
.price-paste summary { cursor: pointer; font-weight: 700; }
.price-paste textarea { width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid #CDD7E5; border-radius: 12px; }
@media (max-width: 720px) {
    .repeater__row { flex-direction: column; }
    .repeater__tools { flex-direction: row; padding-top: 0; }
    .repeater__fields--2, .repeater__fields--price, .team-row, .team-row__fields { grid-template-columns: 1fr; }
}

/* Strona firmy: spis sekcji i moduły pakietów (usługi, cennik, zespół) */
.firm-sections { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.firm-sections a { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: 14px; text-decoration: none; }
.firm-sections a:hover { border-color: var(--blue); color: var(--blue-dark); }
.firm-layout__main > section[id] { scroll-margin-top: 16px; }
.service-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.service-list li { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.service-list h3 { margin: 0; font-size: 16px; }
.service-list p { margin: 6px 0 0; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.price-table__group { margin: 18px 0 6px; font-size: 17px; }
.price-table__group:first-of-type { margin-top: 4px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.price-table td { padding: 9px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table__price { text-align: right; white-space: nowrap; padding-left: 16px !important; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-table__note { color: var(--muted); font-size: 13px; }
.price-table__info { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.team-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.team-card { text-align: center; padding: 18px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.team-card img, .team-card__initials { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; display: block; }
.team-card__initials { display: flex; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue-dark); font-size: 40px; font-weight: 800; }
.team-card h3 { margin: 0; font-size: 16px; }
.team-card__role { margin: 4px 0 0; color: var(--blue-dark); font-size: 14px; font-weight: 600; }
.team-card__bio { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; text-align: left; }
.team-card a { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; }
.repeater__row--compact .repeater__tools { flex-direction: row; align-items: center; padding-top: 24px; }
.repeater__row--compact .repeater__tools button { padding: 9px 9px; }
.plan-extras h3 { margin: 0 0 6px; font-size: 17px; }
.plan-extras p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.plan-extras { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

/* /info/kody-pocztowe/ */
.postcode-search { margin: 0 0 18px; }
.postcode-search__box { display: flex; gap: 10px; }
.postcode-search__box input { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 13px 16px; border: 1px solid #CDD7E5; border-radius: 12px; }
.postcode-search__box input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.postcode-search__city { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; }
.postcode-street { margin: 0 0 14px; }
.postcode-street h2 { margin: 0; font-size: 21px; }
.postcode-street__district { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.postcode-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.postcode-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); }
.postcode-table td { padding: 9px 8px 9px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.postcode-table tr:last-child td { border-bottom: 0; }
.postcode-table__code { white-space: nowrap; font-weight: 800; font-variant-numeric: tabular-nums; width: 120px; }
.postcode-answer { margin: 0 0 14px; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--blue); color: #fff; }
.postcode-answer__address { margin: 0; font-size: 17px; opacity: .9; }
.postcode-answer__code { margin: 4px 0 0; font-size: clamp(36px, 6vw, 52px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.postcode-miss { margin: 0 0 14px; }
.postcode-miss p { margin: 0; }
/* Mapa Leaflet ma własne z-index (do 1000) — zamykamy ją w osobnym kontekście, żeby podpowiedzi były nad mapą */
.district-map { position: relative; z-index: 0; isolation: isolate; }
.district-search { position: relative; z-index: 5; }

/* Moje firmy: moduły wizytówki i zachęta do pakietu */
.my-firm__actions .btn .icon { width: 16px; height: 16px; margin-right: 6px; }
.my-firm__modules { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.my-firm__modules-label { margin-right: 4px; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.my-firm__modules a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.my-firm__modules a:hover { border-color: var(--blue); color: var(--blue-dark); background: var(--blue-soft); }
.my-firm__modules .icon { width: 16px; height: 16px; }
.my-firm__upsell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: #FFF6E5; border: 1px solid #F5D9A6; }
.my-firm__upsell p { margin: 0; font-size: 15px; color: #5C4515; flex: 1 1 320px; }
.btn--accent { background: #F2A516; color: #2A1E05; border-color: #F2A516; }
.btn--accent:hover { background: #E39507; border-color: #E39507; color: #2A1E05; }
.btn--accent .icon { width: 16px; height: 16px; margin-right: 6px; }
/* „Wyróżnij firmę” — delikatnie wyróżniony, nie krzykliwy */
.btn--highlight { background: #FFF4DC; color: #7A5300; border: 1px solid #F3D9A0; }
.btn--highlight:hover { background: #FFEBC2; color: #6A4700; border-color: #EBC777; }
.btn--highlight .icon { width: 16px; height: 16px; margin-right: 6px; color: #D99A0B; }
.my-firm__modules.is-locked .my-firm__modules-label { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink-2); }
.my-firm__modules.is-locked a { color: var(--muted); background: var(--surface); }
.order-how { margin: 0 0 18px; }
.order-how h2 { margin: 0 0 8px; font-size: 19px; }
.order-how .order-steps { margin: 0; }
.plan-choice__compare { margin: -4px 0 18px; font-size: 15px; font-weight: 600; }
.order-how .order-steps { padding: 0 0 0 20px; background: none; border: 0; border-radius: 0; }
.plan-rules ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; color: var(--ink-2); line-height: 1.55; }
.plan-rules strong { color: var(--ink); }

/* =========================================================================
   /pogoda/ — pogoda w Krakowie (układ: teraz → kafelki dni + tabela godzinowa → 10 dni)
   ========================================================================= */
.wx { width: 40px; height: 40px; flex: none; display: block; }
.wx-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.wx-head__updated { margin: 0; font-size: 14px; color: var(--muted); }
.wx-section { margin-top: 32px; }
.wx-note { margin: 10px 2px 0; font-size: 14px; color: var(--muted); }
.wx-empty { margin-bottom: 24px; }
.wx-empty p { margin: 0; }
.wind-arrow { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Ostrzeżenia IMGW */
.wx-alert { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 16px; padding: 16px 20px; border-radius: var(--radius-lg); border: 1px solid #F0D27A; background: #FFF7DB; color: #4D3B00; }
.wx-alert--2 { border-color: #F2B27A; background: #FFEEDD; color: #5A2E00; }
.wx-alert--3 { border-color: #EE9A92; background: #FDE8E6; color: #6E150D; }
.wx-alert__icon { width: 26px; height: 26px; margin-top: 2px; }
.wx-alert p { margin: 0; }
.wx-alert__title { font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.wx-alert__when { font-size: 14px; font-weight: 600; margin-top: 2px !important; }
.wx-alert__text { margin-top: 6px !important; font-size: 15px; }

/* Teraz */
.wx-now { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 20px 24px; }
.wx-now__main { display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; }
.wx-now__main > .wx { width: 76px; height: 76px; }
.wx-now__eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.wx-now__temp { margin: 0; font-family: var(--font-display); font-size: 56px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.wx-now__unit { font-size: 24px; font-weight: 700; letter-spacing: 0; vertical-align: top; margin-left: 1px; color: var(--muted); position: relative; top: 6px; }
.wx-now__desc { padding-left: 18px; border-left: 1px solid var(--line); }
.wx-now__text { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.wx-now__sub { margin: 2px 0 0; color: var(--ink-2); font-size: 15px; }
.wx-now__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.wx-now__facts li { display: flex; flex-direction: column; }
.wx-now__facts span { font-size: 13px; color: var(--muted); }
.wx-now__facts strong { display: inline-flex; align-items: center; gap: 4px; font-size: 17px; font-variant-numeric: tabular-nums; }

/* Kafelki dni */
.wx-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(92px, 1fr); gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.wx-tab { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 6px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; scroll-snap-align: start; transition: border-color .15s, background .15s; }
.wx-tab:hover { border-color: #BFD2EE; color: var(--ink); }
.wx-tab.is-active { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.wx-tab__name { font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.wx-tab.is-weekend .wx-tab__name { color: var(--blue-dark); }
.wx-tab__date { font-size: 12px; color: var(--muted); }
.wx-tab .wx { width: 44px; height: 44px; margin: 2px 0; }
.wx-tab__temps { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wx-tab__temps strong { font-size: 17px; color: var(--ink); margin-right: 2px; }
.wx-tab__rain { min-height: 18px; font-size: 12px; font-weight: 700; color: #1F5FB8; }

/* Panel wybranego dnia */
.wx-panel { margin-top: 10px; overflow: hidden; }
.wx-panel[hidden] { display: none; }
.wx-panel__head { padding: 16px 20px 12px; }
.wx-panel__title { margin: 0; font-size: 19px; }
.wx-panel__summary { margin: 4px 0 0; color: var(--ink-2); font-size: 16px; }
.wx-panel__foot { margin: 0; padding: 10px 20px 14px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line-soft); }

.wx-table, .wx-long__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.wx-table th, .wx-table td, .wx-long__table th, .wx-long__table td { padding: 6px 10px; border-top: 1px solid var(--line-soft); text-align: left; vertical-align: middle; }
.wx-table thead th, .wx-long__table thead th { padding-top: 8px; padding-bottom: 8px; background: #F7F9FC; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.wx-table thead th small { text-transform: none; letter-spacing: 0; font-weight: 600; }
.wx-table th:first-child, .wx-table td:first-child, .wx-long__table th:first-child { padding-left: 20px; }
.wx-table th:last-child, .wx-table td:last-child, .wx-long__table th:last-child, .wx-long__table td:last-child { padding-right: 20px; }
.wx-table tbody th { width: 90px; font-weight: 700; font-size: 15px; }
.wx-table tbody th small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.wx-table tbody tr:hover { background: #FAFBFD; }
.wx-table__sky { min-width: 0; }
.wx-sky { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.wx-sky .wx { width: 34px; height: 34px; }
.wx-table__temp { font-family: var(--font-display); font-weight: 800; font-size: 17px; white-space: nowrap; }
.wx-table__temp small { margin-left: 6px; font-family: var(--font); font-weight: 600; font-size: 14px; color: var(--muted); }
.wx-table__temp.is-frost { color: #1F5FB8; }
.wx-table__feels { color: var(--muted); white-space: nowrap; }
.wx-table__rain { white-space: nowrap; font-weight: 700; color: #1F5FB8; }
.wx-table__rain small { margin-left: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.wx-table__rain.is-dry { color: #A3AFBF; font-weight: 400; }
.wx-table__wind { white-space: nowrap; }
.wx-table__wind .wind-arrow { margin-right: 4px; vertical-align: -2px; }
.wx-table__wind small { margin-left: 4px; font-size: 13px; color: var(--muted); }

/* Tabela na 10 dni */
.wx-long { overflow: hidden; }
.wx-long__table thead th:first-child { padding-left: 20px; }
.wx-long__table tbody th { font-weight: 700; white-space: nowrap; }
.wx-long__table tbody th a { color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 16px; }
.wx-long__table tbody th a:hover { color: var(--blue); text-decoration: underline; }
.wx-long__table tbody th small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.wx-long__table tr.is-weekend th a { color: var(--blue-dark); }
.wx-long__table tbody tr:hover { background: #FAFBFD; }
.wx-long__p { width: 56px; text-align: center !important; padding-left: 4px !important; padding-right: 4px !important; }
.wx-long__p .wx { width: 36px; height: 36px; margin: 0 auto; }
.wx-long__temps { white-space: nowrap; }
.wx-long__temps strong { font-family: var(--font-display); font-size: 17px; }
.wx-long__temps span { margin-left: 4px; color: var(--muted); font-weight: 600; }
.wx-long__wind { white-space: nowrap; color: var(--ink-2); }
.wx-s { display: none; }

/* Słońce i Księżyc */
.wx-astro { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wx-astro__item { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border-left: 1px solid var(--line-soft); }
.wx-astro__item:first-child { border-left: 0; }
.wx-astro__item span { font-size: 13px; color: var(--muted); font-weight: 600; }
.wx-astro__item strong { font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.wx-astro__item small { font-size: 13px; color: var(--muted); }
.wx-astro__moon { flex-direction: row; align-items: center; gap: 12px; }
.wx-astro__moon > div { display: flex; flex-direction: column; gap: 2px; }
.wx-astro__moon strong { font-size: 18px; }
.wx-moon { width: 48px; height: 48px; flex: none; }

.wx-related { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; font-size: 14px; color: var(--muted); font-weight: 600; }
.wx-related .chip { background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.wx-sources { margin: 18px 0 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.wx-sources a { color: var(--muted); }

/* Widżet na stronie głównej */
.wx-widget { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 15px; }
.hero .wx-widget { margin: -8px 0 22px; }
.wx-widget:hover { border-color: #BFD2EE; background: var(--blue-soft); color: var(--ink); }
.wx-widget .wx { width: 34px; height: 34px; }
.wx-widget__temp { font-family: var(--font-display); font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; }
.wx-widget__text { color: var(--ink-2); }
.wx-widget__more { color: var(--blue); font-weight: 700; white-space: nowrap; }

@media (max-width: 900px) {
    .wx-astro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wx-astro__item:nth-child(3) { border-left: 0; }
    .wx-astro__item:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
    .wx-long__wind { display: none; }
}
@media (max-width: 640px) {
    .wx-now { padding: 16px; gap: 14px; }
    .wx-now__main { gap: 10px 14px; }
    .wx-now__main > .wx { width: 60px; height: 60px; }
    .wx-now__temp { font-size: 46px; }
    .wx-now__desc { padding-left: 0; border-left: 0; flex-basis: 100%; }
    .wx-now__facts { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
    .wx-now__facts strong { font-size: 16px; }
    .wx-tabs { grid-auto-columns: 78px; gap: 6px; }
    .wx-tab { padding: 8px 4px 6px; }
    .wx-tab .wx { width: 38px; height: 38px; }
    .wx-panel__head { padding: 14px 14px 10px; }
    .wx-panel__foot { padding: 10px 14px 12px; }
    .wx-table th, .wx-table td { padding: 6px 6px; }
    .wx-table th:first-child, .wx-table td:first-child { padding-left: 14px; }
    .wx-table th:last-child, .wx-table td:last-child { padding-right: 14px; }
    .wx-table tbody th { width: auto; font-size: 14px; }
    .wx-table__feels, .wx-sky > span { display: none; }
    th.wx-table__sky { font-size: 0; }
    .wx-table__rain small { display: block; margin: 0; font-size: 11px; }
    .wx-table__wind small { display: block; margin: 0 0 0 19px; font-size: 11px; }
    .wx-l { display: none; }
    .wx-s { display: inline; }
    .wx-long__table th, .wx-long__table td { padding: 6px 3px; }
    .wx-long__table th:first-child { padding-left: 12px; }
    .wx-long__table th:last-child, .wx-long__table td:last-child { padding-right: 12px; }
    .wx-long__table thead th { font-size: 10px; letter-spacing: 0; }
    .wx-long__p { width: 32px; padding-left: 1px !important; padding-right: 1px !important; }
    .wx-long__p .wx { width: 28px; height: 28px; }
    .wx-long__table tbody th a { font-size: 14px; }
    .wx-long__temps strong { font-size: 15px; }
    .wx-long__temps span { display: block; margin: 0; font-size: 13px; }
    .wx-long__table .wx-table__rain { font-size: 13px; }
    .wx-long__table .wx-table__rain small { display: none; }
    .wx-astro__item { padding: 14px 16px; }
    .wx-astro__item strong { font-size: 20px; }
    .wx-widget__text { display: none; }
}

/* Informacja o VAT pod cenami */
.price-vat { margin: 10px 0 18px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.plans + .price-vat { margin: 14px 0 0; text-align: center; }
.plan .price-vat { margin: 0 0 16px; }

/* Pogoda w nagłówku (każda strona) */
.header-weather { display: inline-flex; align-items: center; gap: 4px; flex: none; height: 40px; padding: 0 12px 0 6px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px; white-space: nowrap; }
.header-weather:hover, .header-weather.is-current { border-color: #BFD2EE; background: var(--blue-soft); color: var(--ink); }
.header-weather .wx { width: 30px; height: 30px; }
.header-weather__temp { font-family: var(--font-display); font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.header-weather__city { color: var(--muted); font-weight: 600; }
@media (max-width: 1100px) { .header-weather__city { display: none; } }
@media (max-width: 900px) {
    .header-weather { margin-left: auto; height: 46px; padding-right: 14px; border-radius: 12px; }
    .header-weather ~ .menu-button { margin-left: 0; }
}
.main-nav a { white-space: nowrap; }
/* Limit pozycji w pakiecie (edytory modułów) */
.module-limit { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.module-limit p { margin: 0; }
.module-limit a { font-weight: 600; white-space: nowrap; }
.module-limit.is-full { background: #FFF6E5; border-color: #F5D9A6; color: #5C4515; }
.module-limit__over { margin-top: 6px !important; font-size: 14px; }
.admin-modules { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; background: var(--blue-soft); font-size: 15px; } .admin-modules a { font-weight: 600; }

/* Kolejność zdjęć w panelu */
.photo-sort-hint { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.photo-sort-status { margin-left: 6px; font-weight: 600; color: var(--green); }
.photo-sort-status.is-error { color: #B42318; }
.photo-grid__item[draggable="true"] { cursor: grab; }
.photo-grid__item.is-dragging { opacity: .45; outline: 2px dashed var(--blue); }
.photo-grid__main { display: none; position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 6px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; }
.photo-grid__item:first-child .photo-grid__main { display: block; }
.photo-grid__move { position: absolute; left: 8px; bottom: 8px; display: flex; gap: 4px; }
.photo-grid__move button { width: 30px; height: 30px; border: 0; border-radius: 8px; background: rgba(14, 26, 43, .8); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.photo-grid__move button:hover { background: var(--blue); }
.photo-grid__item:first-child [data-move="-1"], .photo-grid__item:last-child [data-move="1"] { visibility: hidden; }

/* Usługi: grupy i krótsze pole opisu */
.form-field textarea.textarea--short { min-height: 50px; height: 50px; }
.repeater__fields--service { grid-template-columns: 1fr 2fr; }
.repeater__fields--service .form-field:last-child { grid-column: 1 / -1; }
@media (max-width: 640px) { .repeater__fields--service { grid-template-columns: 1fr; } }
.service-list__group { margin: 18px 0 10px; font-size: 17px; }
.firm-services .section-title + .service-list__group { margin-top: 0; }
.service-list + .service-list__group { margin-top: 22px; }
.service-list h4 { margin: 0; font-size: 16px; }
.service-list__group { font-weight: 700; color: var(--ink); }
/* /pogoda/: przycisk „Wszystkie godziny” pod tabelą dnia */
.wx-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 11px 16px; border: 0; border-top: 1px solid var(--line-soft); background: #F9FBFD; color: var(--blue); font: inherit; font-family: var(--font-display); font-size: 15px; font-weight: 700; cursor: pointer; }
.wx-more:hover { background: var(--blue-soft); color: var(--blue-dark); }
.wx-more .icon { width: 18px; height: 18px; transition: transform .15s; }
.wx-more[aria-expanded="true"] .icon { transform: rotate(180deg); }
.wx-more[hidden] { display: none; }
.wx-table tbody[hidden] { display: none; }

/* Panel: wysłane e-maile */
.admin-table__nowrap { white-space: nowrap; }
.mail-view__meta { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; margin: 0 0 18px; }
.mail-view__meta dt { color: var(--muted); font-weight: 600; }
.mail-view__meta dd { margin: 0; }
.mail-view__body { margin: 0; padding: 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); white-space: pre-wrap; word-break: break-word; font: inherit; font-size: 15px; line-height: 1.55; }
@media (max-width: 640px) { .mail-view__meta { grid-template-columns: 1fr; } }

/* Panel: weryfikacja danych firm */
.verify-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.verify-grid .card p { margin: 0 0 10px; }
.verify-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.verify-input { width: 120px; padding: 8px 10px; border: 1px solid #CDD7E5; border-radius: 10px; font: inherit; }
.verify-stats { list-style: none; margin: 0; padding: 0; }
.verify-stats li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.verify-stats li:last-child { border-bottom: 0; }

/* Strona firmy: dane potwierdzone przez firmę */
.firm-trust { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.firm-trust__item { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); font-size: 13px; font-weight: 600; }
.firm-trust__item .icon { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }
.firm-trust__item--ok { background: var(--green-soft); color: var(--green); }
.admin-table .chip { white-space: nowrap; }

/* Strona 404: wyszukiwarka, kategorie */
.error-page { padding-bottom: 24px; }
.error-page p a { font-weight: 600; }
.error-page__search { display: flex; gap: 10px; max-width: 560px; margin: 18px auto 0; }
.error-page__search input { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid #CDD7E5; border-radius: 12px; font: inherit; }
.error-page__more { text-align: center; margin: 18px 0 0; }
.error-page__cats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.error-page__cats a { display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.error-page__cats a:hover { border-color: var(--blue); color: var(--blue); }
.error-page__cats span { color: var(--muted); font-weight: 500; font-size: 13px; }

/* Panel: wyszukiwania */
.admin-check { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--ink-2); }
.admin-results { color: var(--ink-2); font-size: 14px; }

/* ---------- Zdjęcia krakow1.pl (/zdjecia/, blok w karcie firmy) ---------- */
.foto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.foto-grid--compact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.photo-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); }
.photo-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; background: var(--line); }
.photo-card__body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; }
.photo-card__body strong { font-size: 15px; line-height: 1.3; }
.photo-card__body span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.photo-card:hover strong { color: var(--blue); }
.foto-grid--compact .photo-card { border: 0; background: transparent; }
.foto-grid--compact .photo-card img { border-radius: var(--radius-sm); aspect-ratio: 4 / 3; }
.foto-grid--compact .photo-card__body { padding: 6px 2px 0; }
.foto-grid--compact .photo-card__body strong { font-size: 14px; font-weight: 600; }
.photo-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.photo-firm { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.photo-firm div { display: flex; flex-direction: column; gap: 2px; }
.photo-firm span { color: var(--muted); font-size: 14px; }

.photo-hero { margin: 0 0 20px; background: #0E1A2B; border-radius: var(--radius-lg); overflow: hidden; }
.photo-hero [data-gallery] a { display: block; cursor: zoom-in; }
.photo-hero img { display: block; width: 100%; height: auto; max-height: 82vh; object-fit: contain; margin: 0 auto; }
.photo-hero { position: relative; }
.photo-hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(14, 26, 43, .55); color: #fff; transition: background .15s; z-index: 2; }
.photo-hero__arrow:hover, .photo-hero__arrow:focus-visible { background: var(--blue); }
.photo-hero__arrow svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.photo-hero__arrow--prev { left: 16px; }
.photo-hero__arrow--next { right: 16px; }
.photo-hero__count { position: absolute; right: 14px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(14, 26, 43, .65); color: #fff; font-size: 13px; font-weight: 600; z-index: 2; }
@media (max-width: 560px) { .photo-hero__arrow { width: 42px; height: 42px; } .photo-hero__arrow--prev { left: 8px; } .photo-hero__arrow--next { right: 8px; } }
.photo-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.photo-layout__main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.photo-title { margin: 0; font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -0.02em; }
.photo-layout .lead-text { margin: 0; }
.photo-facts { flex: 1 1 300px; }
.photo-facts dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 14px; font-size: 14px; }
.photo-facts dt { color: var(--muted); }
.photo-facts dd { margin: 0; font-weight: 600; }
.photo-embed p { margin: 0 0 12px; line-height: 1.6; }
.photo-json { width: 100%; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--field); color: var(--ink); resize: vertical; margin-bottom: 10px; }

/* Panel: zdjęcia */
.photo-bulk-upload { display: block; width: 100%; }
.photo-admin-thumb { width: 84px; min-width: 84px; max-width: none; height: 60px; object-fit: cover; border-radius: 8px; display: block; background: var(--line); }
.photo-admin-desc { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2); max-width: 520px; }
.photo-bulk-upload__drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 28px 16px; border: 2px dashed #B8C7DB; border-radius: var(--radius); background: var(--field); text-align: center; cursor: pointer; font-weight: 600; color: var(--blue-dark); }
.photo-bulk-upload__drop.is-over { border-color: var(--blue); background: var(--blue-soft); }
.photo-bulk-upload__log { margin: 12px 0 0; padding-left: 22px; font-size: 14px; line-height: 1.7; }
.photo-bulk-upload__log .is-ok { color: var(--green); }
.photo-bulk-upload__log .is-error { color: #8A1C12; font-weight: 600; }
.photo-bulk-upload__log .is-skip { color: var(--muted); }
.photo-edit { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; align-items: start; }
.photo-edit__preview img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.photo-edit__delete { margin-top: 16px; }
@media (max-width: 900px) { .photo-edit { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .foto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .photo-card__body { padding: 8px 10px 10px; } .photo-firm .btn { width: 100%; } }
.photo-grid--admin { width: 100%; box-sizing: border-box; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.photo-grid--admin .photo-grid__move button { width: 28px; height: 28px; font-size: 14px; }
.photo-grid__item:first-child .photo-grid__first { display: none; }

/* ---------- Zdjęcia z biblioteki w artykułach ---------- */
.article__body .article-photo { margin: 28px 0; }
.article__body .article-photo img { margin: 0; width: 100%; }
.article__body .article-photo figcaption { margin-top: 8px; text-align: center; font-size: 14px; line-height: 1.5; color: var(--muted); }
.article__body .article-photo--half { float: right; width: 46%; margin: 6px 0 16px 24px; }
.article__body h2, .article__body h3 { clear: both; }
@media (max-width: 640px) { .article__body .article-photo--half { float: none; width: 100%; margin: 24px 0; } }

/* Panel: biblioteka zdjęć */
.library-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 20px; }
.library-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); }
.library-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; background: var(--line); }
.library-card__body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; font-size: 13px; color: var(--ink-2); }
.library-card__body strong { font-size: 14px; color: var(--ink); }
.library-card__meta { color: var(--muted); }
.library-card:hover strong { color: var(--blue); }
.photo-usage { margin-top: 14px; }
.photo-usage ul { margin: 0; padding-left: 18px; }
[data-describe-status] { margin-left: 8px; font-weight: 600; color: var(--muted); }

/* Okno „Zdjęcie z biblioteki” w edytorze */
.photo-picker { position: fixed; inset: 0; z-index: 1300; background: rgba(14, 26, 43, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.photo-picker[hidden] { display: none; }
.photo-picker__panel { background: var(--surface); border-radius: var(--radius-lg); width: min(1100px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 18px 20px 20px; }
.photo-picker__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 18px; }
.photo-picker__close { border: 0; background: var(--field); width: 40px; height: 40px; border-radius: 10px; font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); }
.photo-picker__search { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-picker__search input, .photo-picker__search select { font: inherit; height: 42px; padding: 0 12px; border: 1px solid #CDD7E5; border-radius: 10px; background: var(--surface); }
.photo-picker__search input { flex: 1 1 280px; min-width: 0; }
.photo-picker__count { margin: 10px 0; font-size: 14px; color: var(--muted); }
.photo-picker__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.photo-picker__grid[hidden], .photo-picker__more[hidden] { display: none; }
.photo-picker__item { display: flex; flex-direction: column; gap: 4px; padding: 0 0 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); text-align: left; cursor: pointer; overflow: hidden; font: inherit; color: var(--ink); }
.photo-picker__item:hover, .photo-picker__item:focus-visible { border-color: var(--blue); outline: 2px solid var(--blue); }
.photo-picker__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.photo-picker__item span { padding: 0 8px; font-size: 13px; font-weight: 600; line-height: 1.3; }
.photo-picker__item small { padding: 0 8px; font-size: 12px; color: var(--muted); }
.photo-picker__more { margin-top: 12px; text-align: center; }
.photo-picker__options { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 18px; align-items: start; }
.photo-picker__options[hidden] { display: none; }
.photo-picker__options img { width: 100%; border-radius: var(--radius-sm); }
.photo-picker__fields label { display: block; font-weight: 600; margin-bottom: 8px; }
.photo-picker__fields input[type="text"] { display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; height: 44px; padding: 0 12px; border: 1px solid #CDD7E5; border-radius: 10px; }
.photo-picker__sizes { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 16px; }
.photo-picker__sizes label { font-weight: 500; }
@media (max-width: 700px) { .photo-picker__options { grid-template-columns: 1fr; } }

/* „Najbliżej mnie” na liście firm */
.listing-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-bottom: 14px; }
.listing-tools .district-filter { width: auto; margin-bottom: 0; }
.nearby-btn { gap: 8px; align-self: stretch; padding-left: 18px; padding-right: 18px; }
.nearby-btn .icon { width: 18px; height: 18px; }
.nearby-btn[hidden] { display: none; }
.nearby-status { margin: -4px 0 14px; font-size: 14px; color: var(--ink-2); }
.nearby-status.is-error { color: #B42318; }
.nearby-status .link-button { font-size: 14px; }
.firm-card__distance { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 8px 0 0; font-size: 14px; font-weight: 700; color: var(--green); }
.firm-card__distance a { font-weight: 600; color: var(--blue); }
.map-me span { display: block; width: 20px; height: 20px; border-radius: 50%; background: #2F80ED; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(47, 128, 237, .25), 0 1px 4px rgba(0, 0, 0, .3); }
@media (max-width: 640px) { .listing-tools .district-filter, .nearby-btn { flex: 1 1 100%; justify-content: center; } }

/* Artykuły: akapity wyrównane do obu krawędzi (z dzieleniem wyrazów, żeby nie było dużych przerw) */
.article__body p, .article__body li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 480px) { .article__body p, .article__body li { text-align: left; } }

/* Panel: link do edycji danych firmy */
.admin-access { margin-bottom: 16px; }
.admin-access summary { cursor: pointer; font-weight: 700; }
.admin-access textarea[readonly] { background: #F7FAFE; font-size: 14px; }
.admin-access [data-copy] { margin-top: 8px; }
.form-hint--warn { color: #8A5A00; }
.admin-access__list { margin: 14px 0 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.admin-access__list li { margin: 4px 0; }

/* Zgłoszenie nieaktualnych danych firmy */
.report-page { max-width: 720px; margin: 0 auto; padding: 8px 0 32px; }
.report-page__back { margin: 0 0 8px; font-size: 15px; }
.report-page h1 { margin: 0 0 12px; }
.report-page__lead { margin: 0 0 18px; color: var(--ink-2); }
.report-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.report-choice__item { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: border-color .15s; }
.report-choice__item:hover { border-color: var(--blue); }
.report-choice__item strong { font-size: 17px; color: var(--blue); }
.report-choice__item span { font-size: 15px; color: var(--ink-2); }
@media (max-width: 640px) { .report-choice { grid-template-columns: 1fr; } }
.report-fields { border: 0; padding: 0; margin: 0 0 16px; }
.report-fields legend { font-weight: 600; margin-bottom: 8px; }
.report-fields__item { display: inline-flex; align-items: center; gap: 8px; margin: 0 18px 8px 0; font-size: 15px; }
.report-fields__item input { width: 18px; height: 18px; accent-color: var(--blue); }
.report-page__switch { margin: 14px 0 0; font-size: 14px; }
.report-done { text-align: center; }
.report-done__icon { margin: 0 0 6px; font-size: 34px; color: var(--green); font-weight: 800; }
.firm-report-link { margin: 4px 0 0; text-align: right; font-size: 14px; }
.firm-layout__side .firm-report-link { margin: -8px 0 0; }
/* Реклама в картці фірми: відступ як між блоками (gap колонки), без власних полів */
.firm-layout__main .ad-slot { margin: 0; }

/* Panel: płatne firmy i notatki administratora */
.admin-note-cell { font-size: 14px; color: var(--ink-2); max-width: 320px; }
.admin-note-cell__date { color: var(--muted); font-size: 13px; }
.admin-notes { margin-bottom: 16px; }
/* Zamówienie w edycji firmy */
.admin-order { margin-bottom: 16px; border-left: 4px solid var(--line); }
.admin-order--new { border-left-color: #E0A100; }
.admin-order--sent { border-left-color: var(--blue); }
.admin-order--paid { border-left-color: #1E8E4E; }
.admin-order__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.admin-order__head .card__title { margin: 0; }
.admin-order__what { margin: 6px 0 10px; font-weight: 600; }
.admin-order__data { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 24px; margin: 0 0 10px; font-size: 14px; }
.admin-order__data dt { color: var(--muted); font-size: 13px; }
.admin-order__data dd { margin: 2px 0 0; }
.admin-order__comment { font-size: 14px; margin: 0 0 10px; }
.admin-order__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.admin-order__actions form { margin: 0; }
.admin-order__todo { margin: 0; font-size: 15px; }
.admin-order__link { font-size: 13px; }
.admin-order__older { margin-top: 12px; font-size: 13px; color: var(--muted); }
.admin-notes__form { display: flex; gap: 10px; align-items: flex-start; }
.admin-notes__form textarea { flex: 1; min-height: 52px; padding: 10px 12px; border: 1px solid #CDD7E5; border-radius: 10px; font: inherit; font-size: 15px; }
.admin-notes__list { list-style: none; margin: 14px 0 0; padding: 0; }
.admin-notes__list li { padding: 10px 0; border-top: 1px solid var(--line); }
.admin-notes__list p { margin: 4px 0 0; font-size: 15px; white-space: normal; }
.admin-notes__meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.admin-notes__meta form { margin: 0; }
.admin-notes__meta .link-button { font-size: 13px; color: #B42318; }
@media (max-width: 640px) { .admin-notes__form { flex-direction: column; align-items: stretch; } }

/* Święta: ostrzeżenie o godzinach otwarcia */
.holiday-note { display: block; flex-basis: 100%; margin-top: 2px; font-size: 13px; line-height: 1.35; color: #9A5B00; }
.hours__holiday { margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: #FFF6E5; border: 1px solid #F5D9A6; color: #6B4A06; font-size: 14px; line-height: 1.4; }
.hours__row-holiday { display: block; font-size: 12px; font-weight: 500; color: #9A5B00; }

/* Ikonka „i” z podpowiedzią (np. święto przy statusie otwarcia) */
.info-tip { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; border: 1.5px solid #C98A1B; border-radius: 50%; background: #FFF6E5; color: #9A5B00; font: 700 12px/1 Georgia, serif; font-style: italic; cursor: help; vertical-align: middle; }
.info-tip::after { content: attr(data-tip); position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); z-index: 20; width: max-content; max-width: 260px; padding: 8px 11px; border-radius: 10px; background: #0E1A2B; color: #fff; font-family: var(--font); font-size: 13px; font-weight: 500; line-height: 1.4; font-style: normal; text-align: left; box-shadow: 0 6px 20px rgba(14, 26, 43, .25); opacity: 0; visibility: hidden; transition: opacity .15s; pointer-events: none; }
.info-tip:hover::after, .info-tip:focus::after, .info-tip:focus-visible::after { opacity: 1; visibility: visible; }
@media (max-width: 640px) { .info-tip::after { left: auto; right: -40px; transform: none; } }

/* Strona założyciela */
.founder { max-width: 820px; }
.founder__head { display: flex; gap: 24px; align-items: center; margin-bottom: 24px; }
.founder__head h1 { margin: 0 0 4px; }
.founder__photo { flex: 0 0 auto; width: 140px; height: 140px; border-radius: 50%; object-fit: cover; }
.founder__photo--initials { display: flex; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue); font: 800 44px/1 var(--font-display); }
.founder__role { margin: 0 0 8px; font-weight: 700; color: var(--blue); }
.founder__lead { margin: 0; color: var(--ink-2); }
@media (max-width: 640px) { .founder__head { flex-direction: column; text-align: center; } .founder__photo { width: 120px; height: 120px; } }

/* ---------- Jakość powietrza (/jakosc-powietrza/) ---------- */
.map-dot span { display: block; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(14, 26, 43, .35); }
.aq-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.aq-head__updated { margin: 0; font-size: 14px; color: var(--muted); }
.aq-now { display: grid; grid-template-columns: minmax(240px, auto) 1fr; overflow: hidden; margin-bottom: 18px; }
.aq-now__badge { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 24px; background: var(--aq); color: var(--aq-fg); }
.aq-now__eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; opacity: .9; margin: 0; }
.aq-now__level { font-family: var(--font-display); font-size: 32px; line-height: 1.1; }
.aq-now__sub { font-size: 14px; opacity: .9; }
.aq-now__body { padding: 20px 24px; }
.aq-now__advice { margin: 0 0 14px; font-size: 17px; line-height: 1.5; }
.aq-now__values { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 10px; }
.aq-now__values dt { font-size: 13px; color: var(--muted); }
.aq-now__values dd { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.aq-now__values small { font-size: 13px; font-weight: 600; color: var(--muted); }
.aq-now__note { margin: 0; font-size: 13px; color: var(--muted); }
.aq-free { margin-bottom: 18px; border-left: 4px solid var(--line); }
.aq-free.is-alert { border-left-color: #E50000; }
.aq-free__status { margin: 0 0 12px; }
.aq-free__days { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 12px; }
.aq-free__days dt { font-size: 13px; color: var(--muted); }
.aq-free__days dd { margin: 0; font-weight: 700; font-size: 18px; }
.aq-free__rule { margin: 0; font-size: 14px; color: var(--muted); }
.aq-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.aq-chip--none { background: var(--line); color: var(--muted); font-weight: 600; }
.aq-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.aq-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.aq-table th, .aq-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.aq-table thead th { font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.aq-table tbody tr:last-child th, .aq-table tbody tr:last-child td { border-bottom: 0; }
.aq-table tbody th { font-weight: 600; min-width: 150px; }
.aq-table tbody th small { display: block; font-weight: 400; font-size: 13px; }
.aq-table__num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.aq-table__none, .aq-table__time { color: var(--muted); }
.aq-table tbody th small.aq-table__other { color: var(--muted); }
.aq-table tr:target { background: var(--blue-soft); }
.aq-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.aq-note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.aq-chart-card, .aq-map-card, .aq-stats, .aq-scale, .aq-faq { margin: 18px 0; }
.aq-chart { width: 100%; height: auto; margin-top: 10px; }
.aq-chart__axis { font-size: 11px; fill: var(--muted); paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.aq-chart__grid { stroke: var(--line); stroke-width: 1; }
.aq-chart__limit { stroke: var(--ink-2); stroke-width: 1.2; stroke-dasharray: 5 4; }
.aq-map-card { overflow: hidden; }
.aq-map-card__title { padding: 18px 20px 0; }
.aq-map { height: 380px; margin-top: 12px; }
.aq-stats__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 24px; margin: 0; }
.aq-stats__list dt { font-size: 13px; color: var(--muted); }
.aq-stats__list dd { margin: 0; font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.aq-scale__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.aq-scale__list li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: start; font-size: 14px; }
.aq-scale__list .aq-chip { text-align: center; }
.aq-source { font-size: 13px; color: var(--muted); }
/* Pasek „smog” na wszystkich stronach */
.smog-bar { display: block; padding: 8px 16px; text-align: center; font-size: 14px; font-weight: 600; text-decoration: none; }
.smog-bar:hover { text-decoration: underline; }
@media (max-width: 640px) {
    .aq-now { grid-template-columns: 1fr; }
    .aq-now__badge { padding: 18px 20px; }
    .aq-now__level { font-size: 28px; }
    .aq-scale__list li { grid-template-columns: 1fr; gap: 4px; }
    .aq-map { height: 300px; }
}
.aq-now__worst { margin: 8px 0 0; font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.aq-now__worst .aq-chip { font-size: 12px; padding: 2px 9px; }
.aq-stale { border-left: 4px solid #9aa7b8; margin-bottom: 20px; }
.aq-stale p { margin: 0; }
.wx-now__air a { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.wx-now__air a:hover strong { color: var(--blue); }
.wx-now__air-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; margin-right: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.wx-now__air .icon { width: 15px; height: 15px; color: var(--muted); }
.verify-sub span, .verify-sub strong { font-size: 13px; color: var(--muted, #5A6B80); font-weight: 500; }
.verify-cats__toggle { cursor: pointer; font-weight: 600; color: var(--blue); margin: 4px 0 12px; }
.verify-cats { columns: 3 220px; column-gap: 24px; margin: 4px 0 16px; }
.verify-cats__group { break-after: avoid; margin: 10px 0 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.verify-cats__item { display: block; break-inside: avoid; padding: 2px 0; font-size: 14px; }
.verify-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.verify-filter .chip { text-decoration: none; }
.verify-filter .chip.is-active { outline: 2px solid var(--blue); }
.chip--icon { padding-left: 7px; padding-right: 7px; cursor: help; }
.chip--icon .icon { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; }
.redirect-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.redirect-form label { flex: 1 1 260px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.redirect-form input, .redirect-search input { width: 100%; padding: 10px 12px; border: 1px solid #CDD7E5; border-radius: 10px; font: inherit; font-weight: 400; background: #fff; }
.redirect-form input:focus, .redirect-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.redirect-form .btn { padding-top: 11px; padding-bottom: 11px; }
.redirect-form__arrow { padding-bottom: 9px; color: var(--muted); font-size: 20px; }
.redirect-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 28px 0 12px; }
.redirect-head .section-title { margin: 0; }
.redirect-search { display: flex; gap: 8px; align-items: center; }
.redirect-search input { width: 220px; padding: 8px 12px; }

/* Wybór zdjęć do galerii w edytorze */
.photo-picker__bar { display: none; position: sticky; bottom: -20px; margin: 14px -20px -20px; padding: 12px 20px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 16px rgba(15, 30, 60, .06); }
.photo-picker.is-gallery .photo-picker__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.photo-picker__chosen { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-picker__chip { position: relative; display: inline-flex; align-items: center; gap: 2px; }
.photo-picker__chip img { width: 64px; height: 46px; object-fit: cover; border-radius: 6px; display: block; }
.photo-picker__chip b { position: absolute; left: 4px; top: 3px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.photo-picker__chip button { border: 0; background: var(--field); width: 22px; height: 22px; border-radius: 6px; cursor: pointer; font-size: 15px; line-height: 1; color: var(--ink); }
.photo-picker__bar-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.photo-picker__bar-actions .btn[disabled] { opacity: .45; cursor: not-allowed; }
.photo-picker__item { position: relative; }
.photo-picker__item.is-picked { border-color: var(--blue); outline: 3px solid var(--blue); }
.photo-picker__item.is-picked::after { content: attr(data-pick); position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; line-height: 28px; text-align: center; box-shadow: 0 0 0 3px #fff; }

/* Galeria w artykule: przewijane zdjęcia ze strzałkami */
.article__body .article-gallery { position: relative; margin: 28px 0; }
.article-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: var(--radius-lg); background: #E9EEF5; }
.article-gallery__track::-webkit-scrollbar { display: none; }
.article__body .article-gallery .article-gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; position: relative; overflow: hidden; }
.article__body .article-gallery .article-gallery__slide img { position: relative; z-index: 1; width: 100%; aspect-ratio: var(--ratio, 3 / 2); object-fit: cover; border-radius: 0; cursor: zoom-in; background: transparent; }
.article__body .article-gallery .article-gallery__slide--fit img { object-fit: contain; }
.article-gallery__slide--fit::before { content: ""; position: absolute; inset: -30px; background: var(--bg) center / cover no-repeat; filter: blur(24px) brightness(.85); }
.article__body .article-gallery .article-gallery__slide figcaption { display: none; }
.article__body .article-gallery__caption { margin: 8px 0 0; text-align: center; font-size: 14px; line-height: 1.5; color: var(--muted); min-height: 1.5em; }
.article-gallery__nav { position: absolute; z-index: 2; top: calc(50% - 30px); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.article-gallery__nav svg { width: 22px; height: 22px; }
.article-gallery__nav:hover { background: #fff; }
.article-gallery__nav[disabled] { opacity: 0; pointer-events: none; }
.article-gallery__nav--prev { left: 12px; }
.article-gallery__nav--next { right: 12px; }
.article-gallery__counter { position: absolute; z-index: 2; top: 12px; right: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(8, 14, 26, .7); color: #fff; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .article-gallery__nav { width: 36px; height: 36px; } .article-gallery__track { border-radius: var(--radius-sm); } }
.purge { max-width: 720px; }
.purge__warn { font-size: 17px; }
.purge__list { margin: 10px 0 16px 20px; }
.purge__form { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.purge__sure { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 14px; }
.purge__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.backups__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.backups__actions { display: flex; gap: 8px; align-items: center; }
.featured-box { margin-bottom: 18px; }
.featured-list { margin: 6px 0 10px 20px; display: grid; gap: 6px; }
.featured-list li { display: list-item; }
.featured-list li > * { vertical-align: middle; }
.featured-list__name { margin-right: 8px; font-weight: 600; }
.inline-form { display: inline-block; margin: 0 4px 0 0; }
.plan__nosub { color: #11643A; }
.chips--compact { align-items: flex-start; }
.chips-more { flex-basis: 100%; }
.chips-more > summary { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; list-style: none; }
.chips-more > summary::-webkit-details-marker { display: none; }
.chips-more > summary::after { content: "▾"; font-size: 11px; }
.chips-more[open] > summary::after { content: "▴"; }
.chips-more > .chips { margin-top: 10px; }
.chips--compact > .chip, .chips--compact > .chips-more { flex-basis: auto; }
.admin-count-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.admin-count-row .admin-count { margin: 0; }

/* ---------- Головна: корисна інформація + сайти інших міст ---------- */
.home-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.home-links .card__title { margin-bottom: 10px; }
.home-links__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.home-links__list a { font-weight: 600; }

/* ---------- Поштові індекси /postindex/ ---------- */
.postindex { display: flex; flex-direction: column; gap: 20px; }
.postindex__top { display: flex; flex-direction: column; gap: 12px; }
.postindex__city { margin: 0; font-size: 18px; }
.postindex__search input { width: 100%; max-width: 520px; height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 17px; background: #fff; }
.postindex__search input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.postindex__empty { margin: 0; color: var(--muted); }
.postindex__table-wrap { overflow-x: auto; padding: 0; }
.postindex__table { width: 100%; border-collapse: collapse; font-size: 16px; }
.postindex__table th, .postindex__table td { padding: 10px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.postindex__table th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--blue-soft, #EAF1FB); }
.postindex__table tbody tr:last-child td { border-bottom: 0; }
.postindex__code { font-weight: 700; white-space: nowrap; }
.postindex__buildings { color: var(--ink-2); font-size: 15px; }
