:root {
  --font-ui: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  --ink: #17221d;
  --muted: #647168;
  --green: #0b6847;
  --green-dark: #064a34;
  --lime: #d9f36a;
  --cream: #f6f5ed;
  --paper: #fff;
  --line: #dfe4dc;
  --shadow: 0 18px 55px rgba(17, 46, 33, .10);
  --radius: 20px;
}

/* Mapa wykonawców na stronie głównej — układ zgodny z katalogiem NIPmapa. */
body:not(.admin-page) .home-map-section.home-map-section {
  padding: 50px 0 0;
  width: min(1200px,calc(100% - 40px));
  max-width: 1200px;
  font-family: "Segoe UI Variable Text","Segoe UI",Arial,sans-serif;
  color: #233856;
}
.home-map-layout {
  display: grid;
  grid-template-columns: minmax(250px,.7fr) minmax(0,1.65fr);
  overflow: hidden;
  background: #eef4fc;
  border: 1px solid #dce3ec;
  border-radius: 24px;
}
.home-map-copy { align-self: center; padding: clamp(28px,3vw,44px); }
.home-map-copy .kicker {
  display: inline;
  margin: 0;
  padding: 0;
  color: #245fc5;
  background: none;
  font: 500 12px/1.6 "Segoe UI Variable Text","Segoe UI",Arial,sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-map-copy h2 {
  margin: 20px 0;
  color: #233856;
  font: 500 24px/1.15 "Segoe UI Variable Text","Segoe UI",Arial,sans-serif;
  letter-spacing: -.035em;
}
.home-map-copy > p { margin: 16px 0; color: #62738a; font-size: 16px; line-height: 1.65; }
.home-map-copy > .home-map-note { margin: 14px 0 24px; font-size: 12px; }
.home-map-count {
  display: inline-flex;
  margin-top: 12px;
  padding: 6px 12px;
  color: #245fc5;
  background: #fff;
  border: 1px solid #dce3ec;
  border-radius: 30px;
  font-size: 12px;
}
.home-map-copy .primary-button {
  padding: 12px 19px;
  color: #fff;
  background: #245fc5;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  font: 500 14px/1.4 "Segoe UI Variable Text","Segoe UI",Arial,sans-serif;
}
.home-map-copy .primary-button:hover { background: #1d4fa4; }
.home-map-panel { position: relative; display: flex; flex-direction: column; min-width: 0; background: #e6ebe4; }
.home-company-map { flex: 1; min-height: 490px; z-index: 0; font-family: inherit; }
.home-map-reset {
  position: absolute;
  z-index: 1;
  top: 16px;
  right: 16px;
  padding: 10px 14px;
  color: #24322b;
  background: #fff;
  border: 1px solid #d8ddda;
  border-radius: 10px;
  box-shadow: 0 3px 14px rgba(20,40,32,.08);
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
  cursor: pointer;
}
.home-map-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  color: #62738a;
  background: #fff;
  font-size: 11px;
}
.home-map-footer a { color: #245fc5; }
.home-map-status {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 68px;
  left: 16px;
  margin: 0;
  padding: 12px 16px;
  color: #24322b;
  background: #fff;
  border-radius: 10px;
  font-size: 13px;
}
.home-map-status[hidden],.home-map-reset[hidden] { display: none; }
.home-map-marker { background: none; border: 0; }
.home-map-marker > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: #245fc5;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 8px;
  box-shadow: 0 3px 10px rgba(20,40,32,.21);
  transform: rotate(-45deg);
  font-weight: 700;
}
.home-map-marker b { transform: rotate(45deg); font-size: 13px; }
.home-map-popup { min-width: 180px; max-height: 260px; overflow-y: auto; padding-right: 8px; }
.home-map-popup article + article { margin-top: 10px; padding-top: 10px; border-top: 1px solid #ddd; }
.home-map-popup strong { display: block; color: #24322b; font-size: 15px; }
.home-map-popup p { margin: 6px 0; color: #58675f; font-size: 12px; }
.home-map-popup a { color: #245fc5; font-weight: 600; }
.home-company-map .leaflet-control-attribution { color: #333; background: rgba(255,255,255,.95); font-size: 10px; }
.home-company-map .leaflet-control-attribution a { color: #176089; }
.home-company-map .leaflet-popup-content-wrapper { border-radius: 14px; }
.template-4:not(.admin-page) .home-map-section + .microtask-categories-section { padding-top: 50px; }

/* Prawa kolumna wizytówki — lekkie, modułowe karty jak w NIPmapa. */
body:not(.admin-page) .profile-sidebar.provider-profile-sidebar { gap: 16px; }
body:not(.admin-page) .provider-profile-sidebar .provider-company-panel,
body:not(.admin-page) .provider-profile-sidebar > .hours-card,
body:not(.admin-page) .provider-profile-sidebar .provider-service-summary,
body:not(.admin-page) .provider-profile-sidebar .provider-hours-empty {
  margin: 0;
  padding: 22px;
  color: #233856;
  background: #fff;
  border: 1px solid #dce3ec;
  border-radius: 14px;
  box-shadow: none;
  font-family: "Segoe UI Variable Text","Segoe UI",Arial,sans-serif;
}
.provider-company-panel > header { display: flex; align-items: center; gap: 14px; padding-bottom: 19px; border-bottom: 1px solid #e4e9ef; }
.provider-side-initials {
  display: grid;
  flex: 0 0 50px;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #fff;
  background: #245fc5;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 600;
}
.provider-company-panel > header h2 { margin: 0 0 2px !important; color: #233856 !important; font-size: 15px !important; font-weight: 500 !important; line-height: 1.35 !important; }
.provider-company-panel > header small { color: #62738a; font-size: 12px; font-weight: 400; }
.provider-contact-stack { display: grid; gap: 8px; margin: 0; padding: 18px 0; border-bottom: 1px solid #e4e9ef; }
body:not(.admin-page) .provider-contact-stack .contact-reveal,
body:not(.admin-page) .provider-contact-stack .provider-whatsapp-link,
body:not(.admin-page) .provider-contact-stack .provider-share-button,
body:not(.admin-page) .provider-contact-stack .contact-revealed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  color: #233856;
  background: #fff;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  font: 400 13px/1.65 "Segoe UI Variable Text","Segoe UI",Arial,sans-serif;
  text-align: left;
}
body:not(.admin-page) .provider-contact-stack .contact-reveal small,
body:not(.admin-page) .provider-contact-stack .provider-whatsapp-link small { color: #245fc5; font-size: 11px; font-weight: 400; text-transform: none; }
body:not(.admin-page) .provider-contact-stack .provider-share-button { justify-content: center; cursor: pointer; }
.provider-contact-stack > :hover { color: #245fc5; border-color: #b9cce9; }
.provider-company-panel > h3 { margin: 0 0 12px !important; padding-top: 17px !important; border: 0 !important; color: #233856; font-size: 15px !important; font-weight: 500; }
.provider-company-data { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 9px 12px; margin: 0; }
.provider-company-data dt { color: #62738a; font-size: 10px; font-weight: 400; line-height: 1.65; text-transform: uppercase; }
.provider-company-data dd { min-width: 0; margin: 0; color: #233856; font-size: 13px; font-weight: 400; line-height: 1.65; overflow-wrap: anywhere; }
.provider-company-data .provider-copy-address { margin-left: 5px; padding: 3px 7px; color: #245fc5; background: #eef4fc; border: 1px solid #dce3ec; border-radius: 7px; font-size: 10px; cursor: pointer; }
.provider-company-data .provider-company-website { color: #245fc5; }
.provider-social-grid { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 5px; margin-top: 18px; padding-top: 17px; border-top: 1px solid #e4e9ef; }
.provider-social-icon {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-width: 0;
  color: #245fc5;
  background: #eef4fc;
  border: 1px solid #dce3ec;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
}
.provider-social-icon:hover { color: #fff; background: #245fc5; }
.provider-profile-sidebar > .hours-card h2,
.provider-profile-sidebar .provider-service-summary h2,
.provider-profile-sidebar .provider-hours-empty h2 { margin: 0 0 14px; color: #233856; font-size: 16px; font-weight: 500; }
.provider-profile-sidebar > .hours-card .hours-current { margin-bottom: 10px; padding: 14px; background: #f3f7fd; border: 1px solid #bfd0e7; border-radius: 10px; }
.provider-profile-sidebar > .hours-card .hours-current span { color: #62738a; font-size: 12px; font-weight: 400; }
.provider-profile-sidebar > .hours-card .hours-current strong { padding: 4px 9px; border-radius: 20px; font-size: 11px; font-weight: 500; }
.provider-profile-sidebar > .hours-card .hours-list { display: grid; gap: 0; margin: 0; }
.provider-profile-sidebar > .hours-card .hours-row { min-height: 28px; padding: 4px 10px; border: 0; border-radius: 7px; color: #233856; font-size: 12px; font-weight: 400; }
.provider-profile-sidebar > .hours-card .hours-row:nth-child(even) { background: #f7f9fc; }
.provider-profile-sidebar > .hours-card .hours-row dt,
.provider-profile-sidebar > .hours-card .hours-row dd { font-weight: 400; }
.provider-service-summary { padding: 10px 20px !important; }
.provider-service-summary h2 { padding: 11px 0; border-bottom: 1px solid #e4e9ef; }
.provider-service-summary .additional-list { gap: 0; padding: 0; list-style: none; }
.provider-service-summary .additional-list li { padding: 9px 0; color: #62738a; border-top: 1px solid #edf0f4; font-size: 12px; }
.provider-service-summary .additional-list li:first-child { border-top: 0; }
.provider-service-summary .additional-list li::before { content: "✓"; margin-right: 9px; color: #245fc5; }

@media (min-width: 801px) {
  body.template-4:not(.admin-page) .profile-layout { grid-template-columns: minmax(0,1fr) 360px; gap: 36px; }
}
@media (max-width: 800px) {
  .home-map-layout { grid-template-columns: minmax(0,1fr); }
  .home-map-copy { padding: 28px; }
  .home-map-copy h2 br { display: none; }
  .home-company-map { flex: none; min-height: 390px; height: 390px; }
  .provider-social-grid { grid-template-columns: repeat(8,34px); }
}
@media (max-width: 520px) {
  .home-map-section { width: min(100% - 24px,1200px); }
  .home-map-layout { border-radius: 16px; }
  .home-company-map { min-height: 340px; height: 340px; }
  .home-map-footer { align-items: flex-start; flex-direction: column; }
  .provider-company-data { grid-template-columns: 62px minmax(0,1fr); }
}

/* Final project-specific override: the homepage headline is intentionally smaller. */
.template-3:not(.admin-page) .hero.microtask-hero h1 {
  font-size: clamp(34px, 4.4vw, 62px);
}

/* ================================================================
   MIKROZLECENIA LOKALNE — porównywarka usług i panel siteSpace
   ================================================================ */
.microtask-hero-search {
  display: grid; grid-template-columns: minmax(0,1.6fr) minmax(180px,.8fr) auto;
  gap: 10px; align-items: end; margin-top: 30px; padding: 12px;
  border: 1px solid rgba(12,73,52,.13); border-radius: 8px; background: #fff;
  box-shadow: 0 16px 40px rgba(45,62,51,.1);
}
.microtask-hero-search label { display: grid; gap: 6px; color: #525b54; font-size: 12px; font-weight: 700; }
.microtask-hero-search input { min-height: 48px; padding: 0 14px; border: 1px solid #dfe4dd; border-radius: 5px; background: #fbfcfa; }
.template-3:not(.admin-page) input::placeholder,
.template-3:not(.admin-page) textarea::placeholder { font-weight: 400; }
.microtask-hero-search button { min-height: 48px; padding: 0 20px; border: 0; border-radius: 5px; color: #fff; background: var(--green); font-weight: 400; cursor: pointer; }
.microtask-promise { border-block: 1px solid #e7e4da; background: #fff; }
.microtask-promise .shell { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 64px; padding-block: 17px; color: #64665f; font-size: 14px; }
.microtask-promise strong { color: #20251f; font-weight: 400; }
.microtask-promise .promise-primary { display: grid; gap: 4px; }
.microtask-promise .promise-primary,
.microtask-promise .promise-secondary { min-width: 0; }
.microtask-promise .promise-primary strong { white-space: nowrap; }
@media (max-width: 900px) {
  .microtask-promise .promise-primary strong { white-space: normal; }
}
.popular-service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.popular-service-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding: 17px 20px; border: 1px solid #e4e5df; border-radius: 6px; background: #fff; transition: .18s ease; }
.popular-service-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(32,55,42,.08); }
.popular-service-card span { color: #252b26; font-weight: 400; }
.popular-service-card strong { color: var(--green); font-size: 14px; font-weight: 400; white-space: nowrap; }

.microtask-directory-hero .breadcrumbs,
.service-page-hero .breadcrumbs,
.profile-hero .breadcrumbs { margin-bottom: 24px; }
.service-group-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.service-group-card { display: block; min-height: 170px; padding: 25px; border: 1px solid #e4e5df; border-radius: 6px; background: #fff; }
.service-group-card:hover { border-color: var(--green); box-shadow: 0 12px 28px rgba(34,57,43,.08); }
.service-group-icon { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 26px; border-radius: 50%; color: var(--green); background: #e8f2ed; }
.service-group-card h2 { margin: 0 0 8px; font-size: 19px; font-weight: 400; }
.service-group-card p { margin: 0; color: #737a74; font-size: 13px; }
.service-directory-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.service-directory-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 19px; border: 1px solid #e3e5df; border-radius: 5px; background: #fff; }
.service-directory-link:hover { border-color: var(--green); }
.service-directory-link span { font-weight: 400; }
.service-directory-link strong { color: var(--green); font-size: 12px; white-space: nowrap; }

.service-page-hero { padding: 44px 0 34px; border-bottom: 1px solid #e7e4da; background: #dee8ef; }
.service-hero-copy { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.service-hero-copy h1 { max-width: 850px; margin: 8px 0 12px; color: #20251f; font-size: 26px; line-height: 1.15; letter-spacing: -.025em; }
.service-hero-copy p { max-width: 720px; margin: 0; color: #6a706b; }
.service-result-count { display: grid; min-width: 150px; padding: 18px; border: 1px solid #e4e1d8; border-radius: 6px; background: #fff; text-align: center; }
.service-result-count strong { color: var(--green); font-size: 30px; }
.service-result-count span { color: #747a75; font-size: 12px; }
.service-filters { margin-top: 30px; padding: 20px; border: 1px solid #e2e1da; border-radius: 7px; background: #fff; box-shadow: 0 8px 24px rgba(35,44,38,.04); }
.service-filter-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
.service-filter-grid label { display: grid; gap: 7px; color: #59615b; font-size: 12px; font-weight: 700; }
.service-filter-grid input:not([type=checkbox]), .service-filter-grid select { min-height: 42px; padding: 8px 10px; border: 1px solid #dfe3dc; border-radius: 5px; background: #fbfcfa; font-weight: 400; }
.service-filter-grid input::placeholder { font-weight: 400; }
.service-filter-grid .filter-check { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 7px 10px; border-radius: 5px; background: #f5f7f3; font-weight: 600; }
.service-filter-grid .filter-check input { width: auto; margin: 0; }
.service-filter-actions { display: flex; gap: 9px; margin-top: 16px; }
.service-filter-actions .ghost-button { font-weight: 400; }
.service-results { background: #fff; }
.comparison-list { display: grid; gap: 14px; max-width: 1080px; margin: 0 auto; }
.comparison-card { position: relative; display: grid; grid-template-columns: minmax(0,1fr) max-content; gap: 18px; padding: 24px; border: 1px solid #e0e4de; border-radius: 7px; background: #fff; box-shadow: 0 6px 18px rgba(32,45,37,.035); }
.comparison-main { display: grid; grid-template-columns: minmax(220px,.95fr) minmax(220px,1.05fr); gap: 24px; }
.comparison-name h2 { margin: 5px 0 5px; color: #20251f; font-size: 22px; }
.comparison-name > p { margin: 0; color: #727a73; font-size: 13px; }
.provider-type { color: var(--green); font-size: 11px; font-weight: 750; letter-spacing: .7px; text-transform: uppercase; }
.comparison-price { display: grid; align-content: center; gap: 7px; padding-left: 24px; border-left: 1px solid #eceee9; }
.comparison-price strong { color: #17231d; font-size: 16px; }
.comparison-price span { color: #6c746d; font-size: 13px; }
.compare-badges { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.compare-trust-badges { display: grid; align-items: start; gap: 6px; }
.compare-trust-badges .compare-badge { box-sizing: border-box; width: 100%; }
.compare-badge { display: inline-flex; align-items: center; width: fit-content; padding: 4px 9px; border-radius: 4px; color: #52605a; background: #f0f2ef; font-size: 10px; font-weight: 700; }
.compare-badge.verified { color: #24684f; background: #e8f5ef; }
.compare-badge.premium { color: #69520a; background: #fff6cf; }
.compare-badge.emergency { color: #a04a43; background: #fff0ee; }
.credential-note { display: block; margin-top: 8px; color: #2b7257; font-size: 11px; }
.comparison-facts { grid-column: 1; display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin: 0; border-top: 1px solid #eceee9; }
.comparison-facts div { padding: 15px 14px 0 0; }
.comparison-facts dt { color: #89908a; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.comparison-facts dd { margin: 4px 0 0; color: #313933; font-size: 13px; font-weight: 650; }
.compare-cta { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: end; width: fit-content; text-align: center; }

.profile-hero { padding: 42px 0; border-bottom: 1px solid #e5e4dc; background: #fffaf3; }
.profile-hero-grid { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.profile-hero-grid.profile-hero-with-screen { display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,520px); gap:44px; }
.provider-profile-identity { min-width:0; }
.provider-website-screen { margin:0; padding:8px; border:1px solid #e7e2d7; border-radius:7px; background:#fff; box-shadow:0 18px 44px rgba(35,40,36,.12); }
.provider-website-screen img { display:block; width:100%; height:auto; aspect-ratio:16/10; border-radius:3px; object-fit:cover; object-position:top; }
.profile-hero h1 { margin: 10px 0 24px; color: #20251f; font-family: var(--font-ui); font-size: clamp(30px,3vw,42px); font-weight: 500; line-height: 1.13; letter-spacing: -.035em; }
.profile-hero p { margin: 0; color: #687069; }
.profile-trust-badges { display:grid; justify-items:start; gap:7px; margin-top:13px; }
.verification-badge { display:inline-flex; align-items:center; gap:7px; padding:6px 10px; border-radius:5px; font-size:12px; font-weight:700; }
.profile-verified { color:#23684e; background:#e7f4ee; }
.profile-premium { color:#69520a; background:#fff6cf; }
.verification-shield { position:relative; display:inline-grid; place-items:center; flex:0 0 auto; width:17px; height:19px; color:#fff; background:#4f965f; clip-path:polygon(50% 0,92% 17%,86% 67%,50% 100%,14% 67%,8% 17%); }
.verification-shield::after { content:'✓'; font-size:10px; line-height:1; font-weight:900; }
.verification-shield.premium { color:#24374d; background:#f2c94c; }
.verification-badge-icon { display:block; flex:0 0 auto; width:15px; height:15px; }
.compare-badge .verification-shield { width:14px; height:16px; }
.admin-verified-badge { display:inline-flex; align-items:center; gap:5px; width:fit-content; margin:5px 0; padding:4px 7px; border-radius:5px; color:#23684e; background:#e7f4ee; font-size:10px; font-weight:650; }
.admin-verified-badge .verification-shield { width:13px; height:15px; }
.provider-service-categories { display:block; max-width:820px; }
.provider-verification-meta { margin:-12px 0 20px; }
.provider-visit-company { display:inline-flex; }
.profile-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 26px; align-items: start; }
.profile-main { display: grid; gap: 22px; min-width: 0; }
.profile-section, .sidebar-card { border: 1px solid #e2e4df; border-radius: 7px; background: #fff; }
.profile-section { padding: 26px; }
.profile-section h2, .sidebar-card h2 { margin: 0 0 18px; color: #242a25; font-size: 21px; }
.profile-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.profile-section-head h2 { margin: 4px 0 0; }
.profile-section-head > span { color: #858b86; font-size: 11px; }
.profile-price-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: center; padding: 18px 0; border-top: 1px solid #eceeea; }
.profile-price-row a { color: #27302a; font-weight: 750; }
.profile-price-row a:hover { color: var(--green); }
.profile-price-row p { margin: 5px 0; color: #69716a; font-size: 13px; }
.profile-price-row small { color: #8a908b; }
.profile-price-row > strong { color: var(--green); font-size: 19px; white-space: nowrap; }
.profile-description { color: #656d66; }
.profile-sidebar { position: sticky; top: 20px; display: grid; gap: 14px; }
.sidebar-card { padding: 22px; }
.sidebar-card h3 { margin: 22px 0 10px; font-size: 14px; }
.contact-actions, .social-actions { display: grid; gap: 8px; }
.contact-actions a, .social-actions a { padding: 11px 12px; border: 1px solid #e0e4df; border-radius: 5px; color: #354039; background: #fbfcfa; font-size: 13px; }
.contact-actions a:hover, .social-actions a:hover { border-color: var(--green); color: var(--green); }
.contact-actions .contact-reveal { justify-content:space-between; width:100%; padding:11px 12px; border:1px solid #e0e4df; border-radius:5px; color:#354039; background:#fbfcfa; font-size:13px; font-weight:400; }
.contact-actions .contact-reveal:hover { border-color:var(--green); color:var(--green); }
.additional-list { display: grid; gap: 10px; margin: 0; padding-left: 18px; color: #5d675f; font-size: 13px; }
.company-legal dl { display: grid; gap: 6px; margin: 0; }
.company-legal dt { margin-top: 9px; color: #8a908a; font-size: 10px; font-weight: 750; letter-spacing: .5px; text-transform: uppercase; }
.company-legal dd { margin: 0; color: #343d36; font-size: 13px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.portfolio-grid figure { margin: 0; }
.portfolio-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 5px; }
.portfolio-grid figcaption { margin-top: 5px; color: #7b827c; font-size: 11px; }

.service-submission-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 10px; padding: 16px; margin-top: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fafbf9; }
.service-submission-row .wide { grid-column: 1 / -1; }
.form-grid > .contact-compact-field { align-self: start; }
.availability-switches { display: grid; align-self: start; gap: 10px; padding: 4px 0; }
.availability-switches .switch { min-height: 0; margin: 0; }
.account-registration-layout { align-items: start; }
.account-password-fields { display: grid; gap: 18px; }
.account-password-fields label { display: grid; gap: 7px; }
.add-service-row-button { margin-top: 14px; }
.service-row-remove { grid-column: 1 / -1; justify-self: end; }
.taxonomy-short-description { max-width: 780px; margin-top: 18px; font-size: 16px; line-height: 1.7; }
.taxonomy-long-description { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.taxonomy-editors { display: grid; gap: 22px; margin-top: 28px; }
.taxonomy-editor { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.taxonomy-editor-title { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.taxonomy-description-form { display: grid; gap: 14px; }
.taxonomy-description-form label { display: grid; gap: 7px; font-weight: 700; }
.taxonomy-description-form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 7px; font: inherit; font-weight: 400; }
.taxonomy-description-form .primary-button { justify-self: start; }
.taxonomy-editor details { margin-top: 22px; }
.taxonomy-editor summary { cursor: pointer; font-weight: 800; }
.taxonomy-group-editors { display: grid; gap: 18px; margin-top: 18px; }
.taxonomy-group-form { padding: 18px; border-radius: 8px; background: #f7f8f6; }

.template-3:not(.admin-page) .microtask-hero h1 { font-size: clamp(34px, 4.4vw, 62px); }
.admin-pricing-shortcut { margin: 18px 0; padding: 22px; border: 1px solid #dce4ef; border-radius: 7px; background: #f4f7fc; }
.admin-pricing-shortcut h2 { margin: 0 0 6px; font-size: 18px; }
.admin-pricing-shortcut p { margin: 0 0 14px; color: #667085; }
.admin-description-generator-form { display:none; }
.admin-generate-description-button { margin-left:auto; white-space:nowrap; }
.credibility-oc-switch { min-height:48px; padding:12px 14px; border:1px solid var(--line); border-radius:7px; background:#f7faf8; font-weight:400; }
.admin-existing-offer-overview { margin:18px 0; padding:22px; border:1px solid #dce4ef; border-radius:7px; background:#fff; }
.admin-existing-offer-overview > .section-head { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:0 0 16px; }
.admin-existing-offer-overview .section-head h2 { margin:0; font-size:18px; }
.admin-existing-offer-overview .section-head p { margin:4px 0 0; color:#667085; }
.admin-offer-overview-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.admin-offer-overview-card { display:grid; gap:10px; padding:16px; border:1px solid #e3e7ef; border-radius:7px; background:#fafbfc; }
.admin-offer-overview-card h3 { margin:3px 0 0; font-size:16px; }
.admin-offer-overview-price { color:#176045; font-size:17px; }
.admin-offer-overview-facts { display:flex; flex-wrap:wrap; gap:5px 8px; color:#667085; }
.admin-offer-overview-facts small { font-size:12px; }
.admin-offer-overview-card p { margin:0; color:#4f5b70; }
.admin-offer-images-head { margin-top:24px !important; padding-top:20px; border-top:1px solid #e3e7ef; }
.admin-edit-portfolio-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.admin-edit-portfolio-grid figure { margin:0; }
.admin-edit-portfolio-grid img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:6px; }
.admin-edit-portfolio-grid figcaption { padding-top:6px; color:#667085; font-size:12px; }
.admin-edit-portfolio-grid .empty, .admin-offer-overview-grid .empty { grid-column:1 / -1; }

/* Panel administracyjny — układ i paleta zgodne z rodziną siteSpace. */
.admin-page { --ss-navy:#18223a; --ss-navy2:#26334e; --ss-bg:#f4f6fa; --ss-text:#172033; --ss-muted:#667085; --ss-line:#e3e7ef; --ss-blue:#4e75c9; --ss-sidebar:228px; margin:0; color:var(--ss-text); background:var(--ss-bg); font:14px/1.5 "Segoe UI Variable Text","Segoe UI",Arial,sans-serif; }
.admin-page .site-header, .admin-page > footer { display:none; }
.ss-sidebar { position:fixed; z-index:20; inset:0 auto 0 0; display:flex; flex-direction:column; width:var(--ss-sidebar); padding:26px 15px 17px; color:#fff; background:var(--ss-navy); }
.ss-brand { display:flex; align-items:center; gap:10px; color:#fff; font-size:18px; }
.ss-brand span { display:grid; place-items:center; width:34px; height:34px; border:2px solid #6f8bd1; border-radius:50%; font-size:10px; }
.ss-menu-label { margin:34px 10px 11px; color:#9ba8c4; font-size:11px; font-weight:700; letter-spacing:1.1px; }
.ss-sidebar nav { display:grid; gap:4px; }
.ss-sidebar nav a, .ss-sidebar-bottom a, .ss-sidebar-bottom button { display:flex; align-items:center; gap:10px; width:100%; padding:11px; border:0; border-radius:6px; color:#bac4d8; background:transparent; text-align:left; cursor:pointer; }
.ss-sidebar nav a:hover, .ss-sidebar nav a.active, .ss-sidebar-bottom a:hover, .ss-sidebar-bottom button:hover { color:#fff; background:var(--ss-navy2); }
.ss-nav-icon { display:inline-grid; place-items:center; width:18px; color:#9bb0dd; }
.ss-sidebar-bottom { display:grid; gap:4px; margin-top:auto; padding-top:14px; border-top:1px solid rgba(255,255,255,.09); }
.ss-sidebar-bottom form { margin:0; }
.ss-shell { min-height:100vh; margin-left:var(--ss-sidebar); }
.ss-shell > header { display:flex; align-items:center; justify-content:space-between; height:63px; padding:0 32px; border-bottom:1px solid var(--ss-line); color:var(--ss-muted); background:#fff; font-size:12px; }
.ss-shell > header i { display:inline-block; width:8px; height:8px; margin-right:10px; border-radius:50%; background:#43bd94; box-shadow:0 0 0 4px #e8f8f2; }
.ss-shell > main { padding-bottom:55px; }
.admin-page .admin-head { padding:30px 33px 0; color:var(--ss-text); background:transparent; }
.admin-page .admin-head .shell, .admin-page .section.shell, .admin-page .form-shell { width:auto; max-width:1700px; margin:0; }
.admin-page .admin-head h1 { margin:7px 0 6px; font-size:29px; font-weight:700; letter-spacing:-.025em; }
.admin-page .admin-head p, .admin-page .breadcrumbs { color:var(--ss-muted); }
.admin-page .admin-head .kicker { color:var(--ss-blue); }
.admin-page .section { padding:24px 33px; }
.admin-page .section-head { align-items:end; margin:0; padding:0; }
.admin-page .admin-head .section-head { align-items:end; }
.admin-page .admin-buttons { gap:8px; }
.admin-page .primary-button { border-radius:5px; background:var(--ss-blue); box-shadow:none; }
.admin-page .primary-button:hover { background:#3e64b6; }
.admin-page .ghost-button, .admin-page button, .admin-page .actions a { border-radius:5px; }
.admin-page .ghost-button { border-color:#d5dbe6; color:var(--ss-text); background:#fff; }
.admin-page .admin-head .ghost-button { color:var(--ss-text); border-color:#d5dbe6; }
.admin-page .admin-filter-form, .admin-page .table-wrap, .admin-page fieldset, .admin-pricing-card { border-color:var(--ss-line); border-radius:7px; background:#fff; box-shadow:0 4px 14px rgba(36,49,79,.025); }
.admin-page .admin-filter-form { padding:15px 18px; margin-top:20px; }
.admin-page table th { color:var(--ss-muted); background:#fafbfc; font-size:10px; text-transform:uppercase; letter-spacing:.45px; }
.admin-page table td, .admin-page table th { border-color:var(--ss-line); }
.admin-page .status { border-radius:8px; }
.service-admin-summary { grid-template-columns:repeat(3,1fr); }
.admin-pricing-card { margin-top:18px; padding:20px; border:1px solid var(--ss-line); }
.admin-pricing-card > .section-head { display:flex; align-items:center; justify-content:space-between; padding-bottom:18px; border-bottom:1px solid var(--ss-line); }
.admin-pricing-card .section-head h2 { margin:0; font-size:17px; }
.admin-pricing-card .section-head p, .admin-pricing-card .section-head span { margin:4px 0 0; color:var(--ss-muted); }
.admin-add-service { display:grid; grid-template-columns:2.5fr 1fr 1fr 1fr .8fr auto; gap:8px; padding:18px 0; }
.admin-price-list { display:grid; gap:10px; }
.admin-price-row { display:grid; grid-template-columns:1.5fr repeat(4,.65fr) repeat(5,.7fr) 1.2fr; gap:7px; align-items:start; padding:14px; border:1px solid var(--ss-line); border-radius:6px; background:#fafbfc; }
.admin-price-row > div:first-child { grid-row:span 2; }
.admin-price-row small { display:block; margin-top:4px; color:var(--ss-muted); }
.admin-price-row textarea { grid-column:2 / span 5; }
.compact-check { display:flex; align-items:center; gap:5px; min-height:36px; font-size:11px; font-weight:400; }
.compact-check input { width:auto; }
.admin-price-actions { display:flex; gap:6px; }
.account-offer-pricing { margin-top:50px; }
.account-offer-pricing .section-head { margin-bottom:0; }
.account-offer-pricing .admin-price-list { gap:18px; }
.account-offer-pricing .account-add-service { grid-template-columns:2fr repeat(4,minmax(0,1fr)) auto; align-items:end; }
.account-offer-pricing .account-add-service label,
.account-offer-pricing .account-price-row > label { display:grid; gap:6px; color:var(--ink); font-size:12px; font-weight:600; }
.account-offer-pricing .account-price-row { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; padding:20px; }
.account-offer-pricing .account-price-heading { grid-column:1 / -1; grid-row:auto; padding-bottom:12px; border-bottom:1px solid var(--ss-line); }
.account-offer-pricing .account-price-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.account-offer-pricing .account-price-heading strong { font-size:16px; }
.account-offer-pricing .account-price-description { grid-column:1 / -1; }
.account-offer-pricing .account-price-description textarea { grid-column:auto; width:100%; }
.account-offer-pricing .account-price-actions { grid-column:1 / -1; align-items:center; }
.pricing-moderation-note { max-width:760px; color:#66551c !important; }
.map-visibility-switch { margin-top:8px; }
.price-moderation-list { display:grid; gap:16px; }
.price-moderation-card { padding:22px; border:1px solid var(--ss-line); border-radius:8px; background:#fff; box-shadow:0 12px 28px rgba(25,38,50,.06); }
.price-moderation-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.price-moderation-head h2 { margin:5px 0 0; font-size:19px; }
.price-moderation-head > strong { font-size:20px; color:var(--green); }
.price-moderation-card > p { margin:15px 0; }
.price-moderation-card dl { display:flex; flex-wrap:wrap; gap:12px 28px; margin:15px 0; }
.price-moderation-card dl div { display:grid; gap:2px; }
.price-moderation-card dt { color:var(--ss-muted); font-size:10px; text-transform:uppercase; letter-spacing:.4px; }
.price-moderation-card dd { margin:0; font-weight:600; }
.price-moderation-actions { display:grid; grid-template-columns:minmax(220px,1fr) auto auto auto; align-items:end; gap:8px; padding-top:15px; border-top:1px solid var(--ss-line); }
.price-moderation-actions label { display:grid; gap:5px; font-size:11px; }
.admin-portfolio-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; padding-top:18px; }
.admin-portfolio-grid figure { position:relative; margin:0; }
.admin-portfolio-grid img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:5px; }
.admin-portfolio-grid form { position:absolute; right:5px; bottom:5px; margin:0; }
.admin-portfolio-grid button { padding:5px 7px; border:0; background:#fff; }

@media (max-width:1200px) {
  .service-filter-grid { grid-template-columns:repeat(3,1fr); }
  .service-group-grid { grid-template-columns:repeat(2,1fr); }
  .admin-price-row { grid-template-columns:repeat(4,1fr); }
  .admin-price-row > div:first-child { grid-column:1 / -1; grid-row:auto; }
  .admin-price-row textarea { grid-column:1 / -1; }
  .admin-add-service { grid-template-columns:2fr repeat(2,1fr); }
  .account-offer-pricing .account-add-service { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:900px) {
  .microtask-hero-search { grid-template-columns:1fr; }
  .microtask-promise .shell { grid-template-columns:1fr; row-gap:18px; }
  .profile-hero-grid.profile-hero-with-screen { grid-template-columns:1fr; gap:28px; }
  .provider-website-screen { width:100%; max-width:640px; }
  .popular-service-grid, .service-directory-list { grid-template-columns:1fr; }
  .comparison-card { grid-template-columns:1fr; }
  .comparison-main { grid-template-columns:1fr; }
  .comparison-price { padding:15px 0 0; border-top:1px solid #eceee9; border-left:0; }
  .compare-cta { grid-column:1; grid-row:auto; }
  .profile-layout { grid-template-columns:1fr; }
  .profile-sidebar { position:static; }
  .service-submission-row { grid-template-columns:1fr 1fr; }
  .service-submission-row .wide { grid-column:1 / -1; }
  .ss-sidebar { position:static; width:100%; }
  .ss-sidebar nav { grid-template-columns:repeat(3,1fr); }
  .ss-sidebar-bottom { display:none; }
  .ss-shell { margin-left:0; }
  .ss-shell > header { display:none; }
  .admin-page .admin-head, .admin-page .section { padding-inline:20px; }
  .admin-offer-overview-grid { grid-template-columns:1fr; }
  .admin-edit-portfolio-grid { grid-template-columns:repeat(3,1fr); }
  .account-offer-pricing .account-price-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .price-moderation-actions { grid-template-columns:1fr 1fr; }
  .price-moderation-actions label { grid-column:1 / -1; }
}
@media (max-width:620px) {
  .service-group-grid, .service-filter-grid, .portfolio-grid { grid-template-columns:1fr; }
  .service-hero-copy, .profile-hero-grid, .profile-section-head { align-items:flex-start; flex-direction:column; }
  .profile-hero-grid.profile-hero-with-screen { grid-template-columns:1fr; gap:28px; }
  .provider-website-screen { width:100%; }
  .comparison-main { gap:14px; }
  .comparison-facts { grid-template-columns:1fr 1fr; }
  .comparison-card { padding:18px; }
  .profile-section, .sidebar-card { padding:19px; }
  .profile-price-row { grid-template-columns:1fr; }
  .profile-price-row > strong { justify-self:start; }
  .service-submission-row, .admin-price-row, .admin-add-service { grid-template-columns:1fr; }
  .service-submission-row .wide, .admin-price-row textarea { grid-column:auto; }
  .ss-sidebar nav { grid-template-columns:1fr 1fr; }
  .admin-portfolio-grid { grid-template-columns:repeat(2,1fr); }
  .admin-existing-offer-overview > .section-head { align-items:flex-start; flex-direction:column; }
  .admin-edit-portfolio-grid { grid-template-columns:repeat(2,1fr); }
  .account-offer-pricing .account-add-service,
  .account-offer-pricing .account-price-row { grid-template-columns:1fr; }
  .account-offer-pricing .account-price-heading,
  .account-offer-pricing .account-price-description,
  .account-offer-pricing .account-price-actions { grid-column:auto; }
  .price-moderation-head { flex-direction:column; }
  .price-moderation-actions { grid-template-columns:1fr; }
  .price-moderation-actions label { grid-column:auto; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 var(--font-ui); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 19px var(--font-ui); }
.brand span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: var(--lime); background: var(--green); font-size: 21px; }
.brand-logo { width: auto; max-width: 180px; height: 46px; object-fit: contain; }
.brand-name { font: inherit; }
.brand.centered { justify-content: center; margin-bottom: 28px; }
.nav nav { display: flex; gap: 28px; font-weight: 600; font-size: 14px; }
.nav nav a:hover { color: var(--green); }
.hero { overflow: hidden; color: #fff; background: linear-gradient(180deg, var(--green), var(--green-dark)); padding: 92px 0 86px; position: relative; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -210px; top: -300px; border-radius: 50%; border: 90px solid rgba(217,243,106,.10); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .7fr); gap: 76px; align-items: center; position: relative; z-index: 1; }
.kicker, .eyebrow { color: var(--lime); text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 800; }
.kicker.dark, .eyebrow { color: var(--green); }
h1, h2, h3 { font-family: var(--font-ui); line-height: 1.13; }
.hero h1 { max-width: 760px; margin: 16px 0 20px; font-size: clamp(42px, 6vw, 72px); letter-spacing: -.055em; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero > .shell > div > p, .hero-grid > div > p { max-width: 620px; margin: 0 0 32px; color: #d2e0d8; font-size: 19px; }
.search { display: flex; max-width: 660px; background: #fff; border-radius: 15px; padding: 6px; box-shadow: var(--shadow); }
.search input { min-width: 0; flex: 1; padding: 13px 17px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search button, .primary-button { border: 0; border-radius: 11px; color: white; background: var(--green); padding: 13px 22px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.hero .search button { color: var(--green-dark); background: var(--lime); }
.stats { display: flex; gap: 30px; margin-top: 34px; color: #b9cabf; font-size: 13px; }
.stats span { display: flex; align-items: baseline; gap: 5px; }
.stats b { color: #fff; font: 700 22px var(--font-ui); }
.hero-panel { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); padding: 34px; border-radius: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.18); transform: rotate(1.5deg); }
.pulse { display: grid; place-items: center; width: 65px; height: 65px; border-radius: 20px; background: var(--lime); color: var(--green-dark); font: 800 20px var(--font-ui); box-shadow: 0 0 0 12px rgba(217,243,106,.09); }
.hero-panel h2 { margin: 25px 0 18px; font-size: 25px; }
.hero-panel ul { list-style: none; margin: 0; padding: 0; color: #dbe6df; }
.hero-panel li { padding: 13px 0 13px 27px; border-top: 1px solid rgba(255,255,255,.1); position: relative; }
.hero-panel li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 800; }
.offer-hero { overflow: hidden; position: relative; padding: 78px 0 74px; color: #fff; background: linear-gradient(180deg, var(--green), var(--green-dark)); }
.offer-hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -220px; top: -320px; border: 96px solid rgba(217,243,106,.10); border-radius: 50%; }
.offer-hero-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); align-items: center; gap: 76px; position: relative; z-index: 1; }
.offer-hero-copy h1 { max-width: 760px; margin: 16px 0 22px; font-size: clamp(42px,5.6vw,68px); letter-spacing: -.055em; }
.offer-hero-copy h1 em { display: block; color: var(--lime); font-size: .754em; font-style: normal; line-height: 1.12; }
.offer-hero-copy > p { max-width: 690px; margin: 0; color: #d2e0d8; font-size: 19px; line-height: 1.7; }
.offer-hero-copy > p a { color: #fff; font-weight: 700; text-decoration: none; }
.offer-hero-copy > p a:hover { color: var(--lime); }
.offer-hero-card { padding: 34px; border: 1px solid rgba(255,255,255,.16); border-radius: 28px; background: rgba(255,255,255,.09); box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.offer-badge { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 20px; color: var(--green-dark); background: var(--lime); font: 800 16px var(--font-ui); letter-spacing: .08em; box-shadow: 0 0 0 12px rgba(217,243,106,.09); }
.offer-hero-card h2 { margin: 26px 0 16px; font-size: 22px; }
.offer-panel-text { color: #dbe6df; font-size: 14px; line-height: 1.7; }
.offer-panel-text strong { color: #fff; }
.offer-section { max-width: 1000px; }
.offer-content { padding: 48px 54px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.offer-content p { color: var(--muted); font-size: 17px; line-height: 1.8; }
.offer-content strong { color: var(--ink); }
.offer-banner { margin: 38px 0 0; padding-top: 30px; border-top: 1px solid var(--line); text-align: center; overflow: hidden; }
.offer-banner a { display: inline-block; max-width: 100%; }
.offer-banner img { width: auto; max-width: 100%; height: auto; margin: 0 auto; border-radius: 14px; }
.section { padding: 84px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-head h2 { font-size: 36px; letter-spacing: -.035em; margin: 8px 0 0; }
.text-link { color: var(--green); font-weight: 700; font-size: 14px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.category-card { min-height: 210px; display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s, transform .2s; }
.category-card:nth-child(3n) { border-right: 0; }
.category-card:nth-last-child(-n+3) { border-bottom: 0; }
.category-card:hover { background: var(--cream); }
.category-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: var(--green); background: #e5f2e9; font-size: 21px; font-weight: 800; }
.category-card h3 { margin: 3px 0 4px; font-size: 18px; }
.category-card p { margin: 0 0 15px; color: var(--muted); font-size: 13px; }
.mini-links { display: flex; flex-wrap: wrap; gap: 5px 13px; }
.mini-links a { color: var(--muted); font-size: 12px; }
.mini-links a:hover { color: var(--green); }
.latest { padding-top: 74px; background: var(--cream); }
.company-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.company-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s; }
.company-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.screen { height: auto; aspect-ratio: 16/10; background: #e8ede8; overflow: hidden; display: block; border-bottom: 1px solid var(--line); }
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screen-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #e5eee8, #f5f6ef); }
.screen-placeholder span { color: #8da397; font: 800 26px var(--font-ui); letter-spacing: .1em; }
.company-body { padding: 25px; }
.company-body h3 { margin: 7px 0 10px; font-size: 20px; }
.company-body > p { height: 72px; overflow: hidden; color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.nap { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 14px 0 4px; margin-bottom: 4px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.empty { grid-column: 1/-1; text-align: center; padding: 60px 25px; border: 1px dashed #bdc7bf; border-radius: var(--radius); color: var(--muted); }
.empty strong { display: block; color: var(--ink); font: 700 20px var(--font-ui); }
.empty .empty-message { display: block; color: #4f575f; font-family: "Open Sans",Arial,sans-serif; font-size: 14px; font-weight: 400; line-height: 1.78; }
.page-hero, .admin-head { color: #fff; background: linear-gradient(180deg, var(--green), var(--green-dark)); }
.page-hero { padding: 54px 0 64px; }
.admin-head { padding: 64px 0; }
.page-hero h1, .admin-head h1 { margin: 12px 0 8px; font-size: clamp(36px,5vw,54px); letter-spacing: -.045em; }
.page-hero p { color: #c5d4cb; }
.search.compact { margin-top: 26px; max-width: 580px; }
.pagination { display: flex; justify-content: center; gap: 7px; margin-top: 36px; }
.pagination a { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 10px; }
.pagination a.active { color: white; border-color: var(--green); background: var(--green); }
.breadcrumbs { color: #bdcdc4; font-size: 13px; margin-bottom: 10px; }
.breadcrumbs a { color: var(--lime); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 38px; }
.chip { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.chip span { color: var(--muted); margin-left: 5px; }
.chip:hover, .chip.selected { color: #fff; border-color: var(--green); background: var(--green); }
.chip.selected span { color: #cfe4d8; }
.detail-top { background: var(--cream); padding: 50px 0 70px; }
.detail-top .breadcrumbs { color: var(--muted); }
.detail-top .breadcrumbs a { color: var(--green); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin-top: 19px; }
.detail-grid h1 { font-size: clamp(30px,3vw,42px); letter-spacing: -.035em; margin: 10px 0 24px; }
.lead { color: var(--muted); font-size: 18px; margin-bottom: 28px; }
.detail-screen { width: calc(100% - 18px); height: auto; aspect-ratio: 16/10; overflow: hidden; border: 9px solid #fff; border-radius: 22px; box-shadow: var(--shadow); background: #e4eae5; box-sizing: content-box; }
.detail-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screen-placeholder.large { min-height: 100%; }
.info-layout { display: grid; grid-template-columns: 1fr 360px; gap: 80px; align-items: start; }
.prose { max-width: 740px; }
.prose h2 { margin: 0 0 14px; font-size: 29px; }
.prose h2:not(:first-child) { margin-top: 42px; }
.prose p { color: var(--muted); font-size: 15px; white-space: normal; }
.prose strong { color: var(--ink); font-weight: 700; }
.company-description h3 { margin: 30px 0 10px; font-size: 23px; line-height: 1.3; }
.company-description h4 { margin: 24px 0 9px; font-size: 18px; line-height: 1.35; }
.company-description { font-size: 15px; }
.company-description p { margin: 0 0 17px; font-size: 15px; line-height: 1.75; }
.company-description > :first-child { margin-top: 0; }
.company-sidebar { position: sticky; top: 100px; display: grid; gap: 18px; }
.contact-card { padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card h2 { margin: 0 0 22px; font-size: 22px; }
.contact-card dl { margin: 0; }
.contact-card dt { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 800; margin-top: 17px; }
.contact-card dd { margin: 4px 0 0; overflow-wrap: anywhere; font-size: 15px; }
.contact-card a { color: var(--green); font-weight: 600; }
.contact-reveal { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; padding: 0; border: 0; background: transparent; color: var(--green); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.contact-reveal:hover span, .contact-reveal:focus-visible span { text-decoration: underline; }
.contact-reveal:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 3px; }
.contact-reveal small { display: inline-flex; flex: 0 0 auto; padding: 3px 7px; border-radius: 999px; background: #e9f3ec; color: var(--green-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.contact-revealed { overflow-wrap: anywhere; }
.additional-info-card { background: #f7faf7; }
.opening-hours { white-space: pre-line; }
.hours-card { background: #fff; }
.hours-current { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: -4px 0 14px; padding: 11px 0 14px; border-bottom: 1px solid var(--line); font-size: 12px; }
.hours-current span { color: var(--muted); text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 400; }
.hours-current strong { padding: 5px 9px; border-radius: 999px; font-size: 11px; }
.hours-current strong.open { color: #24734c; background: #e2f3e8; }
.hours-current strong.closed { color: #9b4940; background: #fbe7e3; }
.hours-list { display: grid; margin: 0; }
.hours-row { display: grid; grid-template-columns: minmax(112px,1fr) auto; align-items: baseline; gap: 18px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours-row:last-child { border-bottom: 0; }
.contact-card .hours-row dt { margin: 0; color: var(--muted); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; }
.contact-card .hours-row dd { margin: 0; color: var(--ink); text-align: right; white-space: nowrap; font-size: 13px; font-weight: 700; }
.hours-note { padding: 8px 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.social-links { margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); }
.social-links h3 { margin: 0 0 12px; font-size: 14px; }
.social-links a { display: inline-flex; margin: 0 7px 7px 0; padding: 7px 10px; border-radius: 999px; background: #e9f3ec; font-size: 12px; }
.reviews-card { background: #fff; }
.review-profiles { display: grid; gap: 4px; }
.review-profile-row { display: grid; gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.review-profile-row:first-child { padding-top: 0; }
.review-profile-row:last-child { padding-bottom: 0; border-bottom: 0; }
.review-profile-row > strong { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 800; }
.contact-card .review-profile-link { display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px; width: fit-content; padding: 8px 12px 8px 9px; border: 1px solid var(--line); border-radius: 999px; background: #f8faf8; text-decoration: none; font-size: 12px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.contact-card .review-profile-link:hover { border-color: var(--green); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(22,58,40,.09); }
.review-service-icon { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; font-size: 14px; font-weight: 900; line-height: 1; }
.review-service-google { background: #fff; border: 1px solid #e3e7ed; box-shadow: 0 1px 3px rgba(60,64,67,.14); }
.review-service-google svg { display: block; width: 17px; height: 17px; }
.review-service-trustpilot { color: #fff; background: #00b67a; font-size: 17px; }
.login-page { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 50px 20px; background: var(--cream); }
.login-card { width: min(460px,100%); padding: 42px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.login-card h1 { margin: 10px 0 8px; font-size: 32px; }
.login-card > p { color: var(--muted); margin-bottom: 25px; }
label { display: grid; gap: 7px; font-weight: 700; font-size: 13px; }
input, textarea, select { width: 100%; border: 1px solid #ccd5cd; border-radius: 11px; background: #fff; padding: 12px 13px; color: var(--ink); outline: none; }
.company-form input[data-travel-radius]:disabled { color: #6d7771; background: #edf0ed; border-color: #d6dcd7; cursor: not-allowed; opacity: 1; }
input:focus, textarea:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(11,104,71,.1); }
.login-card label + label { margin-top: 16px; }
.full { width: 100%; margin-top: 24px; }
.alert { padding: 12px 14px; border-radius: 10px; margin: 18px 0; font-size: 14px; }
.alert.error { color: #862e25; background: #fff0ed; border: 1px solid #ffd2ca; }
.alert.success { color: var(--green); background: #e7f5eb; border: 1px solid #bfe2c9; }
.alert.info { color: #294f69; background: #edf6fb; border: 1px solid #c8dfec; }
.admin-head .section-head { margin-bottom: 0; }
.admin-buttons { display: flex; align-items: center; gap: 12px; }
.admin-buttons form { margin: 0; }
.admin-head .section-head h1 { font-size: clamp(28px,3vw,38px); font-weight: 400; letter-spacing: -.025em; }
.admin-page button, .admin-page .primary-button, .admin-page .ghost-button,
.admin-page .actions a, .admin-page .admin-buttons a { font-weight: 400; }
.admin-search-row { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.search.compact.admin-search { width: min(580px,100%); margin-top: 0; }
.ghost-button { display: inline-flex; justify-content: center; border: 1px solid #bfcac1; border-radius: 11px; padding: 12px 19px; color: var(--ink); background: transparent; font-weight: 700; }
.admin-head .ghost-button { color: white; border-color: rgba(255,255,255,.35); }
.admin-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 30px; }
.admin-summary div { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 16px; }
.admin-summary b { font: 800 32px var(--font-ui); color: var(--green); }
.admin-summary span { color: var(--muted); font-size: 13px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 17px 19px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--muted); background: #f8f9f5; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
td small { display: block; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
.status { display: inline-block; padding: 5px 9px; color: #755d19; background: #fff6ce; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status.live { color: var(--green); background: #e2f3e8; }
.premium-status { display: block; width: fit-content; margin-top: 5px; padding: 4px 8px; border-radius: 999px; font-size: 10px; line-height: 1; font-weight: 600; }
.premium-status.premium { color: #974700; background: #ffe4c7; }
.premium-status.marketing { color: #245aa8; background: #e3efff; }
.premium-status.regular { color: #687078; background: #edf0f2; }
.actions { display: flex; align-items: center; gap: 13px; font-size: 12px; }
.actions a { color: var(--green); font-weight: 700; }
.actions form { display: inline; }
.actions button { border: 0; color: #a13a2f; background: transparent; padding: 0; font-weight: 700; }
.permalink-cell { min-width: 260px; max-width: 360px; overflow-wrap: anywhere; font-size: 11px; }
.permalink-cell a { color: var(--green); }
.date-cell { min-width: 118px; white-space: nowrap; font-size: 12px; }
.empty-cell { text-align: center; color: var(--muted); padding: 35px; }
.form-shell { max-width: 900px; }
.company-form fieldset { padding: 26px; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 16px; }
.company-form legend { padding: 0 9px; font: 700 18px var(--font-ui); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wide { grid-column: 1/-1; }
textarea { resize: vertical; min-height: 120px; }
.code-field { font-family: var(--font-ui); font-size: 12px; line-height: 1.6; }
label small { color: var(--muted); font-weight: 400; }
.form-preview { width: 210px; height: 125px; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 10px; margin: 8px 0; }
.switch { display: flex; grid-template-columns: 22px 1fr; align-items: center; }
.switch input { width: 18px; height: 18px; accent-color: var(--green); }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; }
.settings-logo { width: auto; max-width: 260px; max-height: 90px; object-fit: contain; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.hero-choice-help { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.template-choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.template-option { position: relative; display: grid; gap: 7px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.template-option:hover { border-color: var(--green); }
.template-option:has(input:checked) { border-color: var(--green); background: #f3f8f5; box-shadow: 0 0 0 2px color-mix(in srgb, var(--green) 15%, transparent); }
.template-option input { position: absolute; top: 18px; right: 18px; width: 18px; height: 18px; accent-color: var(--green); }
.template-option strong { padding-right: 30px; font-size: 15px; }
.template-option small { max-width: 520px; color: var(--muted); font-weight: 400; line-height: 1.55; }
.hero-choice-groups { display: grid; gap: 24px; }
.hero-choice-group { display: grid; gap: 12px; }
.hero-choice-group h3 { margin: 0; font-size: 15px; }
.hero-choice-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.hero-option { position: relative; display: grid; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.hero-option:hover { border-color: var(--green); box-shadow: 0 8px 20px rgba(22,58,40,.08); }
.hero-option:has(input:checked) { border-color: var(--green); background: #f3f8f5; box-shadow: 0 0 0 2px color-mix(in srgb, var(--green) 15%, transparent); }
.hero-option input { position: absolute; top: 9px; right: 9px; z-index: 2; width: 18px; height: 18px; accent-color: var(--green); }
.hero-option-preview { display: block; overflow: hidden; aspect-ratio: 3/2; border-radius: 10px; background: #f8f6f1; }
.hero-option-preview img { width: 100%; height: 100%; object-fit: cover; }
.hero-option strong { font-size: 12px; line-height: 1.35; }
.catalog-description { max-width: none; margin: 84px 0 0; color: var(--muted); text-align: left; font-size: 17px; }
.catalog-description strong { color: var(--ink); font-weight: 700; }
.rich-field { display: grid; gap: 7px; }
.format-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.format-toolbar small { flex-basis: 100%; color: var(--muted); }
.format-button { border: 1px solid #ccd5cd; border-radius: 8px; padding: 7px 11px; color: var(--ink); background: #f8faf8; font-size: 12px; font-weight: 700; }
.format-button:hover { border-color: var(--green); color: var(--green); }
.legal-page { padding: 48px 0 90px; }
.legal-breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 25px; color: var(--muted); font-size: 13px; }
.legal-breadcrumbs a { color: var(--green); }
.legal-page > article { max-width: 920px; margin: 28px auto 0; padding: 48px 58px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 16px 44px rgba(36,54,86,.07); }
.legal-page h1 { margin: 10px 0 30px; font-size: 42px; line-height: 1.15; }
.legal-content { max-width: none; color: #30394a; font-size: 16px; line-height: 1.75; }
.legal-content h2 { margin: 34px 0 10px; color: var(--ink); font-size: 22px; line-height: 1.35; }
.legal-content p { margin: 0 0 14px; color: #30394a; font-size: inherit; line-height: inherit; white-space: normal; }
.legal-content ul { margin: 0 0 18px; padding-left: 24px; }
.legal-content li { margin: 5px 0; }
.legal-content a { color: var(--green); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.legal-content a:hover { text-decoration: underline; }
.legal-content strong { color: var(--ink); }
.legal-content .legal-updated { color: var(--muted); font-size: 14px; }
.category-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.tool-card { display: grid; gap: 16px; padding: 25px; border: 1px solid var(--line); border-radius: 16px; }
.tool-card h2 { margin: 0; font-size: 21px; }
.category-admin-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.category-admin-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.category-admin-head { margin-bottom: 15px; }
.category-item-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; }
.category-admin-head h3 { margin: 3px 0 12px; }
.category-admin-card ul { list-style: none; padding: 0; margin: 0; }
.category-admin-card li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.category-admin-card form { margin: 0; }
.inline-delete-form { display: inline; }
.delete-inline { border: 0; color: #a13a2f; background: transparent; padding: 0; font-size: 10px; font-weight: 700; cursor: pointer; }
.description-editor { display: grid; gap: 8px; margin: 8px 0 2px; }
.description-editor textarea { min-height: 74px; padding: 10px; font-size: 12px; }
.description-editor button { justify-self: start; padding: 8px 12px; font-size: 11px; }
.subcategory-description { margin-top: 7px; color: var(--muted); }
.subcategory-description summary { cursor: pointer; font-size: 11px; }
.subcategory-inline { margin-top: 11px; font-size: 12px; line-height: 1.75; color: #c5d4cb; }
.subcategory-inline a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.category-page-description { max-width: 850px; margin: 15px 0 0; color: #d8e3dc !important; font-size: 15px; line-height: 1.7; }
.location-filter { max-width: 850px; margin-top: 26px; padding: 18px; color: var(--ink); background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
.location-filter-grid { display: grid; grid-template-columns: minmax(220px,1.5fr) minmax(190px,1fr) auto; align-items: end; gap: 13px; }
.location-filter-actions { display: flex; align-items: center; gap: 8px; }
.location-filter-actions .primary-button, .location-filter-actions .ghost-button { min-height: 43px; white-space: nowrap; }
.filter-error { margin-top: 12px; padding: 9px 11px; color: #862e25; background: #fff0ed; border-radius: 9px; font-size: 13px; }
.map-attribution { display: block; margin-top: 11px; color: var(--muted); font-size: 10px; }
.map-attribution a { color: var(--green); text-decoration: underline; }
.location-admin-help { padding: 13px 15px; color: var(--muted); background: #f6f8f6; border-radius: 11px; font-size: 12px; }
.location-admin-help p { margin: 0 0 10px; }
.success-card { max-width: 720px; }
.success-mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px; color: #fff; background: var(--green); border-radius: 50%; font-size: 30px; font-weight: 800; }
.permalink-box { display: block; padding: 14px; margin-top: 10px; color: var(--green); background: #f3f8f5; border: 1px solid var(--line); border-radius: 10px; overflow-wrap: anywhere; font-size: 13px; font-weight: 700; }
.centered-actions { justify-content: center; }
.center { text-align: center; }
.error-code { color: var(--green); font: 800 72px var(--font-ui); }
footer { color: #e3ebe6; background: var(--green-dark); padding: 55px 0 22px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; }
.footer-grid > div:first-child { width: 100%; max-width: 620px; }
.footer-grid strong { color: white; font: 700 20px var(--font-ui); }
.footer-grid p { color: #95aa9f; font-size: 13px; }
.footer-grid > div:last-child { display: grid; gap: 8px; font-size: 13px; }
.fine { border-top: 1px solid rgba(255,255,255,.1); margin-top: 35px; padding-top: 20px; color: #758e81; font-size: 11px; }

@media (max-width: 900px) {
  .hero-grid, .offer-hero-grid, .detail-grid, .info-layout { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .category-grid, .company-grid { grid-template-columns: repeat(2,1fr); }
  .category-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .category-card:nth-child(2n) { border-right: 0; }
  .category-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .category-card:nth-last-child(-n+2) { border-bottom: 0; }
  .company-sidebar { position: static; }
  .category-admin-grid { grid-template-columns: 1fr; }
  .location-filter-grid { grid-template-columns: 1fr 1fr; }
  .location-filter-actions { grid-column: 1/-1; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav { height: 66px; }
  .nav nav a { display: none; }
  .nav nav .nav-add-company, .nav nav a:last-child { display: inline-flex; }
  .nav nav { gap: 12px; }
  .hero { padding: 65px 0 60px; }
  .offer-hero { padding: 65px 0 60px; }
  .hero h1 { font-size: 43px; }
  .offer-hero-copy h1 { font-size: 41px; }
  .offer-hero-copy h1 em { display: inline; font-size: 1em; line-height: inherit; }
  .offer-hero-card { padding: 28px 24px; }
  .offer-content { padding: 32px 24px; }
  .stats { gap: 13px; flex-wrap: wrap; }
  .search { flex-direction: column; background: transparent; box-shadow: none; padding: 0; gap: 8px; }
  .search input { background: white; border-radius: 11px; padding: 15px; }
  .category-grid, .company-grid { grid-template-columns: 1fr; }
  .category-card { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .category-card:last-child { border-bottom: 0 !important; }
  .section { padding: 60px 0; }
  .section-head { align-items: start; }
  .company-body > p { height: auto; }
  .detail-screen { height: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .wide { grid-column: auto; }
  .login-card { padding: 30px 23px; }
  .admin-head .section-head, .admin-buttons, .admin-search-row, .footer-grid { align-items: start; flex-direction: column; }
  .admin-summary { grid-template-columns: 1fr; }
  .category-tools { grid-template-columns: 1fr; }
  .location-filter-grid { grid-template-columns: 1fr; }
  .location-filter-actions { grid-column: auto; flex-wrap: wrap; }
  .brand-name { display: none; }
}

/* ==========================================================================
   Nowoczesna warstwa pastelowa
   Kolory pochodne są wyliczane z barwy ustawionej w panelu administratora.
   ========================================================================== */

:root {
  --page-bg: #f7f9fb;
  --surface-soft: #f2f7f4;
  --surface-soft: color-mix(in srgb, var(--green) 7%, #fff);
  --surface-accent: #e8f1eb;
  --surface-accent: color-mix(in srgb, var(--green) 12%, #fff);
  --surface-highlight: #f5f8e8;
  --surface-highlight: color-mix(in srgb, var(--lime) 17%, #fff);
  --line-soft: #e6ebe7;
  --line-soft: color-mix(in srgb, var(--green) 13%, #fff);
  --shadow-soft: 0 12px 34px rgba(25, 44, 35, .07);
  --shadow-lift: 0 22px 54px rgba(25, 44, 35, .12);
}

body {
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  overflow: clip;
}

a,
button,
.company-card,
.category-card,
.contact-card {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease,
              box-shadow .24s ease, transform .24s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--green) 32%, transparent);
  outline-offset: 3px;
}

.site-header {
  background: rgba(255, 255, 255, .88);
  border-bottom-color: rgba(24, 44, 34, .08);
  box-shadow: 0 8px 30px rgba(21, 38, 30, .045);
}

.nav {
  height: 82px;
}

.brand {
  letter-spacing: -.025em;
}

.brand span {
  border-radius: 13px;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--green) 20%, transparent);
}

.nav nav {
  align-items: center;
  gap: 8px;
}

.nav nav a {
  padding: 10px 13px;
  border-radius: 999px;
}

.nav nav a:hover {
  background: var(--surface-soft);
}

.nav nav .nav-add-company {
  margin-left: 5px;
  padding: 11px 17px;
  color: #fff;
  background: var(--add-company-button, #dc6970);
  box-shadow: 0 9px 24px color-mix(in srgb, var(--add-company-button, #dc6970) 20%, transparent);
}

.nav nav .nav-add-company:hover {
  color: #fff;
  background: var(--add-company-button-dark, #c6535c);
  transform: translateY(-1px);
}

.hero {
  min-height: 570px;
  display: grid;
  align-items: center;
  padding: 84px 0 82px;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 24%, color-mix(in srgb, var(--lime) 22%, transparent) 0 9%, transparent 28%),
    linear-gradient(125deg, var(--surface-soft) 0%, #fff 54%, var(--surface-highlight) 100%);
  border-bottom: 1px solid var(--line-soft);
}

.hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: 8%;
  bottom: -150px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--green) 8%, transparent);
  filter: blur(2px);
}

.hero::after {
  width: 460px;
  height: 460px;
  right: -120px;
  top: -180px;
  border: 76px solid color-mix(in srgb, var(--green) 7%, transparent);
}

.hero-grid {
  grid-template-columns: minmax(0, 650px) minmax(380px, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-visual {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 30px;
  background: #fffaf2;
  box-shadow: 0 24px 64px rgba(39, 59, 49, .12);
  transform: rotate(1deg);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}

#kategorie {
  position: relative;
  isolation: isolate;
}

.hero .kicker {
  color: var(--green);
}

.hero h1 {
  max-width: 720px;
  margin: 18px 0 22px;
  color: #15221c;
  font-size: clamp(42px, 5.2vw, 62px);
  letter-spacing: -.05em;
}

.hero h1 em {
  color: var(--green);
}

.hero > .shell > div > p,
.hero-grid > div > p {
  max-width: 590px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.search {
  padding: 7px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(30, 50, 40, .10);
}

.search input {
  padding: 14px 18px;
}

.search button,
.primary-button {
  border-radius: 13px;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--green) 16%, transparent);
}

.search button:hover,
.primary-button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.hero .search button {
  color: #fff;
  background: var(--green);
}

.hero .search button:hover {
  background: var(--green-dark);
}

.stats {
  gap: 10px;
  margin-top: 25px;
  color: var(--muted);
}

.stats span {
  min-height: 39px;
  padding: 7px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
}

.stats b {
  color: var(--green-dark);
  font-size: 18px;
}

.section {
  padding: 92px 0;
}

.section-head {
  margin-bottom: 40px;
}

.section-head h2 {
  color: #16231d;
  font-size: clamp(30px, 3.2vw, 41px);
}

.kicker.dark,
.eyebrow {
  color: var(--green);
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
  border: 0;
  border-radius: 0;
}

.category-card,
.category-card:nth-child(3n),
.category-card:nth-last-child(-n+3) {
  min-height: 224px;
  padding: 27px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(24, 43, 34, .045);
}

.category-card:hover {
  z-index: 1;
  border-color: color-mix(in srgb, var(--green) 24%, #fff);
  background: #fff;
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

.category-icon {
  width: 46px;
  height: 46px;
  border: 1px solid color-mix(in srgb, var(--green) 11%, #fff);
  border-radius: 15px;
  background: linear-gradient(145deg, var(--surface-accent), var(--surface-highlight));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

.category-card h3 {
  margin: 2px 0 7px;
  color: #1b2822;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -.02em;
}

.category-card h3 a:hover,
.mini-links a:hover,
.text-link:hover {
  color: var(--green-dark);
}

.mini-links {
  gap: 6px 12px;
}

.mini-links a {
  line-height: 1.45;
}

.catalog-description {
  padding: 28px 32px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--surface-soft);
}

.latest {
  padding-top: 74px;
  background:
    linear-gradient(180deg, var(--surface-soft) 0%, color-mix(in srgb, var(--surface-soft) 48%, #fff) 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.company-grid {
  gap: 24px;
}

.company-card {
  border-color: var(--line-soft);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.company-card:hover {
  border-color: color-mix(in srgb, var(--green) 22%, #fff);
  box-shadow: var(--shadow-lift);
  transform: translateY(-6px);
}

.screen {
  border-bottom-color: var(--line-soft);
  background: var(--surface-accent);
}

.screen img {
  transition: transform .45s ease;
}

.company-card:hover .screen img {
  transform: scale(1.025);
}

.screen-placeholder {
  background: linear-gradient(145deg, var(--surface-accent), var(--surface-highlight));
}

.screen-placeholder span {
  color: color-mix(in srgb, var(--green) 55%, #8da397);
}

.company-body {
  padding: 27px;
}

.company-body .eyebrow {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--surface-soft);
  letter-spacing: .08em;
  line-height: 1.3;
}

.company-body h3 {
  margin: 13px 0 9px;
  color: #17241e;
  font-size: 19px;
  letter-spacing: -.025em;
}

.company-body > p {
  color: #6b756f;
}

.nap {
  padding-top: 13px;
  border-top-color: var(--line-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

.page-hero {
  padding: 62px 0 72px;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 15%, color-mix(in srgb, var(--lime) 20%, transparent), transparent 28%),
    linear-gradient(130deg, var(--surface-accent), #fff 72%);
  border-bottom: 1px solid var(--line-soft);
}

.page-hero h1 {
  color: #16231d;
  font-size: clamp(34px, 4.4vw, 50px);
}

.page-hero p {
  color: var(--muted);
}

.page-hero .breadcrumbs {
  color: var(--muted);
}

.page-hero .breadcrumbs a {
  color: var(--green);
}

.subcategory-inline {
  color: var(--muted);
}

.subcategory-inline a {
  color: var(--green-dark);
  text-decoration-color: color-mix(in srgb, var(--green) 32%, transparent);
}

.category-page-description {
  color: var(--muted) !important;
}

.location-filter {
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.chips {
  gap: 10px;
}

.chip {
  border-color: var(--line-soft);
  background: #fff;
}

.chip:hover,
.chip.selected {
  border-color: var(--green);
  box-shadow: 0 7px 18px color-mix(in srgb, var(--green) 11%, transparent);
}

.pagination a {
  border-color: var(--line-soft);
  border-radius: 12px;
  background: #fff;
}

.pagination a:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-1px);
}

.detail-top {
  padding: 28px 0 73px;
  background:
    radial-gradient(circle at 8% 15%, color-mix(in srgb, var(--lime) 16%, transparent), transparent 27%),
    linear-gradient(125deg, var(--surface-soft), #fff 68%);
  border-bottom: 1px solid var(--line-soft);
}

.detail-grid {
  gap: 76px;
}

.detail-grid h1 {
  color: #15221c;
  font-size: clamp(30px, 3.2vw, 43px);
}

.detail-screen {
  border-width: 8px;
  border-radius: 26px;
  box-shadow: var(--shadow-lift);
}

.info-layout {
  gap: 54px;
}

.section.info-layout {
  padding-top: 72px;
  padding-bottom: 82px;
}

.prose {
  max-width: none;
  padding: 38px 42px;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.prose p {
  color: #626e67;
}

.company-description h3,
.company-description h4 {
  color: #19261f;
}

.company-sidebar {
  gap: 16px;
}

.contact-card {
  padding: 28px;
  border-color: var(--line-soft);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.contact-card:hover {
  border-color: color-mix(in srgb, var(--green) 20%, #fff);
}

.additional-info-card,
.hours-card,
.reviews-card {
  background: #fff;
}

.contact-reveal small,
.social-links a {
  background: var(--surface-soft);
}

.review-profile-link {
  background: var(--page-bg) !important;
}

.offer-hero {
  padding: 76px 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 12%, color-mix(in srgb, var(--lime) 20%, transparent), transparent 28%),
    linear-gradient(125deg, var(--surface-soft), #fff 65%, var(--surface-highlight));
  border-bottom: 1px solid var(--line-soft);
}

.offer-hero::after {
  border-color: color-mix(in srgb, var(--green) 7%, transparent);
}

.offer-hero-copy h1 {
  color: #15221c;
}

.offer-hero-copy h1 em,
.offer-hero-copy > p a {
  color: var(--green);
}

.offer-hero-copy > p {
  color: var(--muted);
}

.offer-hero-copy > p a:hover {
  color: var(--green-dark);
}

.offer-hero-card {
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(12px);
}

.offer-badge {
  color: #fff;
  background: var(--green);
  box-shadow: 0 0 0 12px color-mix(in srgb, var(--green) 8%, transparent);
}

.offer-panel-text {
  color: var(--muted);
}

.offer-panel-text strong {
  color: var(--ink);
}

.offer-content,
.legal-page > article {
  border-color: var(--line-soft);
  box-shadow: var(--shadow-soft);
}

footer {
  position: relative;
  margin-top: 0;
  padding-top: 64px;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -12px 38px rgba(25, 44, 35, .06);
}

.footer-grid > div:last-child a {
  width: fit-content;
  color: #d9e3dd;
}

.footer-grid > div:last-child a:hover {
  color: #fff;
  transform: translateX(3px);
}

.fine {
  border-top-color: rgba(255, 255, 255, .12);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    width: min(650px, 100%);
    margin: 6px auto 0;
    transform: none;
  }

  .hero-choice-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .category-grid,
  .company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card,
  .category-card:nth-child(3n),
  .category-card:nth-child(2n),
  .category-card:nth-last-child(-n+3),
  .category-card:nth-last-child(-n+2) {
    border: 1px solid var(--line-soft);
  }

  .detail-grid,
  .info-layout {
    gap: 42px;
  }

  .prose {
    padding: 34px;
  }
}

@media (max-width: 620px) {
  .nav {
    height: 70px;
  }

  .nav nav {
    gap: 5px;
  }

  .nav nav a {
    padding: 9px 10px;
  }

  .nav nav .nav-add-company {
    margin-left: 0;
    padding: 9px 12px;
    font-size: 11px;
  }

  .hero {
    padding: 58px 0 54px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 47px);
  }

  .hero-visual {
    margin-top: 12px;
    border-radius: 22px;
  }

  .hero-choice-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .template-choice-grid {
    grid-template-columns: 1fr;
  }

  .hero > .shell > div > p,
  .hero-grid > div > p {
    font-size: 17px;
  }

  .search {
    border: 0;
  }

  .search input {
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
  }

  .stats span {
    padding: 6px 10px;
  }

  .section {
    padding: 66px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .category-grid,
  .company-grid {
    grid-template-columns: 1fr;
  }

  .category-card,
  .category-card:nth-child(3n),
  .category-card:nth-child(2n),
  .category-card:nth-last-child(-n+3),
  .category-card:nth-last-child(-n+2) {
    min-height: auto;
    padding: 24px;
    border: 1px solid var(--line-soft) !important;
  }

  .catalog-description {
    padding: 23px;
  }

  .company-body {
    padding: 24px;
  }

  .page-hero {
    padding: 55px 0;
  }

  .detail-top {
    padding: 18px 0 53px;
  }

  .detail-grid {
    gap: 34px;
  }

  .detail-screen {
    width: calc(100% - 12px);
    border-width: 6px;
    border-radius: 20px;
  }

  .info-layout {
    gap: 30px;
  }

  .legal-page {
    padding-top: 25px;
    padding-bottom: 66px;
  }

  .legal-page > article {
    margin-top: 18px;
    padding: 30px 22px;
  }

  .legal-page h1 {
    font-size: 32px;
  }

  .legal-content {
    font-size: 15px;
  }

  .legal-content h2 {
    font-size: 20px;
  }

  .section.info-layout {
    padding-top: 46px;
    padding-bottom: 56px;
  }

  .prose {
    padding: 27px 23px;
    border-radius: 20px;
  }

  .contact-card {
    padding: 24px;
  }

  .offer-hero {
    padding: 56px 0;
  }

  .offer-hero-card {
    border-radius: 22px;
  }

  footer {
    border-radius: 23px 23px 0 0;
  }
}

.advanced-search { max-width: 1080px; margin-top: 26px; padding: 16px; color: var(--ink); background: rgba(255,255,255,.96); border: 1px solid var(--line-soft); border-radius: 18px; box-shadow: var(--shadow); }
.advanced-search-main { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr) 76px max-content; gap: 10px; align-items: end; }
.advanced-search label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 800; }
.advanced-search input:not([type=checkbox]), .advanced-search select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #fff; font: inherit; font-size: 13px; font-weight: 400; }
.advanced-search-main > button { min-height: 46px; padding: 0 17px; border: 0; border-radius: 11px; color: #fff; background: var(--green); font-weight: 800; }
.advanced-search-options { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; padding-top: 13px; }
.advanced-search-options > label:not(.search-sort) { display: flex; grid-template-columns: none; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.advanced-search-options input[type=checkbox] { width: 15px; height: 15px; accent-color: var(--green); }
.advanced-search-options .search-sort { display: flex; grid-template-columns: none; align-items: center; gap: 7px; margin-left: auto; }
.advanced-search-options .search-sort select { min-height: 34px; width: auto; padding: 5px 28px 5px 9px; }
.search-clear { color: var(--green); font-size: 11px; font-weight: 800; }
.hero-search { max-width: 920px; }
.hero-search + .stats { margin-top: 20px; }
.nap .hours-state.open { color: #24734c; }
.nap .hours-state.closed { color: #9b4940; }
.nap .company-list-tag { font-weight: 400; }
.nap .company-list-tag.verified { color: #24734c; }
.nap .company-list-tag.provider-type-tag { color: #465a50; }
.public-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 0; }
.copy-address { display: inline-flex; margin-top: 8px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--green); background: #fff; font-size: 11px; font-weight: 800; }
.company-map { margin-top: 34px; overflow: hidden; }
.company-map h2, .share-box > strong { display: block; margin: 0 0 12px; font: inherit; font-weight: 700; }
.company-map iframe { display: block; width: 100%; height: 340px; border: 0; border-radius: 16px; background: var(--cream); }
.company-map > a { display: inline-block; margin-top: 10px; color: var(--green); font-size: 12px; font-weight: 700; }
.share-box { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.share-box > div { display: flex; flex-wrap: wrap; gap: 8px; }
.share-box a, .share-box button { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--green); background: #fff; font-size: 11px; font-weight: 800; }
.report-box { margin-top: 24px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 13px; background: #fafbf9; }
.report-box summary { color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 800; }
.report-box form { display: grid; gap: 12px; margin-top: 14px; }
.report-box textarea { min-height: 80px; }
.similar-companies { padding-top: 62px; padding-bottom: 82px; background: var(--cream); }
@media (max-width: 900px) {
  .similar-companies { padding-top: 36px; padding-bottom: 56px; }
}
.admin-filter-form { display: grid; grid-template-columns: minmax(220px,1.4fr) minmax(180px,.8fr) minmax(230px,1fr) auto auto; gap: 10px; margin-top: 24px; }
.admin-filter-form input, .admin-filter-form select { min-height: 44px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.admin-list-tools { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.admin-table-shell { width: min(1480px,calc(100% - 32px)); margin: 0 auto; }
.admin-list-section .table-wrap { overflow-x: visible; }
.admin-companies-table { min-width: 0; table-layout: fixed; }
.admin-companies-table th, .admin-companies-table td { padding: 12px 10px; }
.admin-companies-table th:nth-child(1) { width: 3%; }
.admin-companies-table th:nth-child(2) { width: 13%; }
.admin-companies-table th:nth-child(3) { width: 9%; }
.admin-companies-table th:nth-child(4) { width: 8%; }
.admin-companies-table th:nth-child(5) { width: 8%; }
.admin-companies-table th:nth-child(6) { width: 5%; }
.admin-companies-table th:nth-child(7) { width: 28%; }
.admin-companies-table th:nth-child(8) { width: 8%; }
.admin-companies-table th:nth-child(9) { width: 11%; }
.admin-companies-table .number-cell { padding-left: 7px; padding-right: 5px; font-size: 10px; }
.admin-companies-table .admin-company-name { display: block; font-size: 13px; line-height: 1.35; font-weight: 600; }
.admin-companies-table td:nth-child(2) small { font-size: 12px; line-height: 1.45; }
.admin-companies-table .branch-cell { color: var(--muted); font-size: 12px; line-height: 1.45; }
.admin-companies-table .completeness-cell { padding-left: 4px; padding-right: 4px; text-align: center; font-size: 9px; }
.admin-companies-table .completeness-cell strong { font-size: 10px; }
.admin-company-actions { display: grid; align-content: start; justify-items: start; gap: 7px; }
.admin-company-actions a { font-weight: 400; }
.admin-company-actions form { display: block; margin: 0; }
.admin-company-actions button { text-align: left; font-size: 11px; font-weight: 400; }
.marketing-admin-switch { align-items: flex-start; }
.marketing-admin-switch > span { display: grid; gap: 7px; font-weight: 400; }
.marketing-admin-switch .premium-status { margin-top: 0; }
.marketing-admin-switch small, .marketing-admin-inactive small { color: var(--muted); font-weight: 400; }
.marketing-admin-inactive p { margin: 9px 0 0; font-weight: 400; }
.marketing-settings-tools > p { margin: 0 0 12px; font-weight: 400; }
.marketing-settings-tools > div { display: flex; flex-wrap: wrap; gap: 10px; }
.status.warning { color: #755d19; background: #fff0b8; }
.status.error { color: #862e25; background: #fff0ed; }
.danger-link { color: #a13a2f !important; }
.public-submission-section { padding-top: 50px; background: #fff; }
.public-submission-shell { max-width: 1000px; }
.public-submission-section .section-head p { margin: 8px 0 0; }
.public-submission-section .section-head .public-free-notice { margin-top: 5px; }
.public-company-form { background: #fff; }
.public-company-form label { font-weight: 400; }
.public-company-form .field-label-text { display: inline; }
.public-company-form .required-star { color: #c62828; font-weight: 400; }
.public-company-form fieldset { scroll-margin-top: 100px; }
.public-company-form .service-pricing-fieldset { padding-top: 12px; }
.public-company-form .service-pricing-fieldset > p { margin: 0 0 20px; }
.public-company-form input,
.public-company-form textarea,
.public-company-form select { font-weight: 400; }
.public-company-form input::placeholder,
.public-company-form textarea::placeholder { font-weight: 400; }
.public-company-form .availability-switches .switch { font-weight: 400; }
.public-company-form label small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.55; font-weight: 400; }
.settings-form input, .settings-form textarea, .settings-form select { font-weight: 400; }
.mail-master-switch { align-items: flex-start; }
.mail-master-switch span { display: block; }
.mail-master-switch small { display: block; margin-top: 5px; }
.bot-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.consent-stack { display: grid; gap: 16px; }
.consent-check { display: grid !important; grid-template-columns: 20px 1fr; align-items: start; gap: 11px; color: var(--ink); font-size: 13px; line-height: 1.55; font-weight: 400; }
.consent-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); }
.consent-check span, .consent-check a { font-weight: 400; }
.consent-check a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.captcha-field { max-width: 280px; }
.turnstile-field { width: min(100%,420px); }
.turnstile-field small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }
.public-submit-button { min-height: 52px; padding-inline: 26px; }
.public-submit-success { margin-bottom: 24px; }
.moderation-admin-head h1 { font-size: clamp(18px,2.5vw,27px); font-weight: 400; letter-spacing: -.025em; }
.moderation-table { min-width: 1080px; table-layout: fixed; }
.moderation-table th, .moderation-table td { padding: 12px 10px; }
.moderation-table th:nth-child(1) { width: 5%; }
.moderation-table th:nth-child(2) { width: 36%; }
.moderation-table th:nth-child(3) { width: 9%; }
.moderation-table th:nth-child(4) { width: 12%; }
.moderation-table th:nth-child(5) { width: 38%; }
.moderation-table .moderation-number-cell { padding-left: 7px; padding-right: 5px; font-size: 10px; }
.moderation-table .moderation-company-name { display: block; font-size: 13px; line-height: 1.35; font-weight: 600; }
.moderation-table td:nth-child(2) small { font-size: 12px; line-height: 1.45; }
.moderation-compact-cell { font-size: 12px; }
.moderation-table .moderation-branch-cell { color: var(--muted); line-height: 1.45; }
.moderation-table .moderation-date-cell { line-height: 1.55; }
.actions.moderation-actions { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 8px; white-space: nowrap; }
.actions.moderation-actions > form { display: inline-flex; flex: 0 0 auto; margin: 0; }
.actions.moderation-actions > a { flex: 0 0 auto; }
.actions .moderation-approve-button,
.actions .moderation-reject-button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 8px 12px; border: 0; border-radius: 8px; color: #fff; font-size: 11px; font-weight: 400; }
.actions .moderation-approve-button { background: var(--green); }
.actions .moderation-reject-button { background: #b64035; }
.actions .moderation-edit-button,
.actions .moderation-generate-form .ghost-button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--green); background: #fff; font-size: 11px; font-weight: 400; white-space: nowrap; }
.company-verification-meta { display: grid; gap: 4px; margin: -12px 0 20px; color: var(--muted); font-size: 12px; }
.company-verification-meta strong { color: var(--ink); }
.company-verification-meta strong.active { color: #24734c; }
.company-verification-meta strong.inactive { color: #a13a2f; }
.inactive-company-notice { padding: 16px 0; color: #8b2d26; background: #fbe7e3; border-bottom: 1px solid #efc9c2; font-size: 13px; letter-spacing: .04em; }
.inactive-company-page .detail-top,
.inactive-company-page .info-layout { filter: grayscale(1); opacity: .58; }
.inactive-company-page .similar-companies { filter: none; opacity: 1; }
.verified-cell { color: var(--ink); font-size: 12px; line-height: 1.55; }

@media (max-width: 900px) {
  .advanced-search-main { grid-template-columns: 1fr 1fr; }
  .advanced-search-main > button { width: 100%; }
  .admin-filter-form { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1180px) {
  .admin-list-section .table-wrap { overflow-x: auto; }
  .admin-companies-table { min-width: 1040px; }
}

@media (max-width: 620px) {
  .advanced-search { padding: 13px; }
  .advanced-search-main, .admin-filter-form { grid-template-columns: 1fr; }
  .advanced-search-options { align-items: flex-start; flex-direction: column; }
  .advanced-search-options .search-sort { margin-left: 0; }
  .admin-list-tools { align-items: stretch; flex-direction: column; }
}

/* ========================================================================== 
   Szablon 3 — Enees modern
   Jasna, kremowa kompozycja z żółtym podkreśleniem i koralowymi CTA.
   Reguły dotyczą wyłącznie publicznej części katalogu.
   ========================================================================== */

.template-3:not(.admin-page) {
  --vip-cream: var(--modern-background, #fff7f0);
  --vip-cream-deep: #faeee5;
  --vip-yellow: #ffd400;
  --vip-coral: #dc6970;
  --vip-coral-dark: #c6535c;
  --vip-charcoal: #2c2e2d;
  --vip-muted: #7b7a77;
  --vip-line: #e7e2dc;
  --vip-shadow: 0 14px 38px rgba(50, 44, 39, .08);
  color: var(--vip-charcoal);
  background: #fff;
  font-family: var(--font-ui);
}

.template-3:not(.admin-page) main { overflow: clip; }

.template-3:not(.admin-page) .site-header {
  position: sticky;
  top: 0;
  padding: 12px 0 0;
  border: 0;
  background: var(--vip-cream);
  box-shadow: none;
  backdrop-filter: none;
}

.template-3:not(.admin-page) .nav {
  height: 66px;
  padding: 0 18px;
  border: 1px solid rgba(50, 46, 42, .08);
  border-radius: 7px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 7px 22px rgba(65, 54, 45, .11);
}

.template-3:not(.admin-page) .brand { color: var(--vip-charcoal); font-weight: 800; }
.template-3:not(.admin-page) .brand span {
  color: #fff;
  background: var(--green);
  border-radius: 5px;
  box-shadow: none;
}
.template-3:not(.admin-page) .brand-logo { max-width: 190px; height: 44px; }
.template-3:not(.admin-page) .nav nav { gap: 3px; font-size: 13px; }
.template-3:not(.admin-page) .nav nav a { padding: 12px 15px; border-radius: 4px; }
.template-3:not(.admin-page) .nav nav a:hover { color: var(--green); background: #f6f7f4; }
.template-3:not(.admin-page) .nav nav .nav-add-company {
  margin-left: 7px;
  padding-inline: 20px;
  color: #fff;
  background: var(--add-company-button, #dc6970);
  border-radius: 4px;
  box-shadow: none;
}
.template-3:not(.admin-page) .nav nav .nav-add-company:hover {
  color: #fff;
  background: var(--add-company-button-dark, #c6535c);
}

.template-3:not(.admin-page) .hero {
  min-height: 655px;
  padding: 88px 0 106px;
  color: var(--vip-charcoal);
  background:
    linear-gradient(154deg, transparent 0 62%, rgba(255,255,255,.72) 62.2% 70%, transparent 70.2%),
    var(--vip-cream);
  border: 0;
}
.template-3:not(.admin-page) .hero::before {
  width: 410px;
  height: 410px;
  right: -190px;
  bottom: -170px;
  border: 70px solid rgba(255,255,255,.62);
  background: transparent;
  filter: none;
}
.template-3:not(.admin-page) .hero::after {
  width: 560px;
  height: 150px;
  right: -80px;
  top: 80px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  transform: rotate(-24deg);
}
.template-3:not(.admin-page) .hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: 66px;
}
.template-3:not(.admin-page) .hero .kicker,
.template-3:not(.admin-page) .kicker.dark,
.template-3:not(.admin-page) .eyebrow {
  width: fit-content;
  padding: 7px 11px;
  color: #5d625f;
  background: rgba(255,255,255,.78);
  border-radius: 3px;
  letter-spacing: .035em;
  font-size: 11px;
  font-weight: 700;
}
.template-3:not(.admin-page) .hero h1 {
  max-width: 670px;
  margin: 24px 0 23px;
  color: var(--vip-charcoal);
  font-size: clamp(46px, 5.3vw, 68px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.07;
}
.template-3:not(.admin-page) .hero h1 em {
  display: inline;
  color: var(--vip-charcoal);
  font-style: normal;
  font-weight: 750;
  background: linear-gradient(transparent 78%, var(--vip-yellow) 78% 94%, transparent 94%);
}
.template-3:not(.admin-page) .hero-grid > div > p {
  max-width: 585px;
  margin-bottom: 25px;
  color: var(--vip-muted);
  font-size: 18px;
  line-height: 1.65;
}
.template-3:not(.admin-page) .hero-visual {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.template-3:not(.admin-page) .hero-visual::before { display: none; }
.template-3:not(.admin-page) .hero-visual img {
  aspect-ratio: 3/2;
  border-radius: 0;
  object-fit: contain;
  filter: saturate(.95) contrast(.99) drop-shadow(0 18px 22px rgba(75, 59, 47, .08));
  box-shadow: none;
}

.template-3:not(.admin-page) .advanced-search {
  max-width: 980px;
  padding: 13px;
  border: 1px solid rgba(63, 54, 47, .10);
  border-radius: 7px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--vip-shadow);
}
.template-3:not(.admin-page) .advanced-search label { font-weight: 600; }
.template-3:not(.admin-page) .advanced-search input:not([type=checkbox]),
.template-3:not(.admin-page) .advanced-search select {
  border-color: var(--vip-line);
  border-radius: 4px;
  background: #fff;
}
.template-3:not(.admin-page) .advanced-search-main > button,
.template-3:not(.admin-page) .search button,
.template-3:not(.admin-page) .primary-button {
  border-radius: 4px;
  background: var(--green);
  box-shadow: none;
  font-weight: 700;
}
.template-3:not(.admin-page) .advanced-search-main > button:hover,
.template-3:not(.admin-page) .search button:hover,
.template-3:not(.admin-page) .primary-button:hover { background: var(--green-dark); }
.template-3:not(.admin-page) .stats { gap: 32px; margin-top: 22px; }
.template-3:not(.admin-page) .stats span {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--vip-muted);
  background: transparent;
}
.template-3:not(.admin-page) .stats b { color: var(--green); font-size: 22px; }

.template-3:not(.admin-page) .section { padding: 50px 0; }
.template-3:not(.admin-page) .section-head { margin-bottom: 38px; }
.template-3:not(.admin-page) .section-head h2,
.template-3:not(.admin-page) .similar-companies .section-head h2 {
  color: var(--vip-charcoal);
  font-size: clamp(33px, 3.5vw, 46px);
  font-weight: 400;
  letter-spacing: -.035em;
}
.template-3:not(.admin-page) #kategorie {
  padding-top: 50px;
  background: #fff;
}
.template-3:not(.admin-page) .microtask-categories-section .section-head h2,
.template-3:not(.admin-page) .popular-services-section .section-head h2 { font-size: 26px; }

/* Wizytówka: pastelowy nagłówek, a treść i karty jak w katalogu Enees. */
.template-3:not(.admin-page) .profile-hero { background: var(--vip-cream); }
.template-3:not(.admin-page) .profile-hero { padding: 32px 0 50px; border-color: var(--vip-line); }
.template-3:not(.admin-page) .profile-hero .breadcrumbs { color: #647168; }
.template-3:not(.admin-page) .profile-hero .breadcrumbs a { color: #313534; }
.template-3:not(.admin-page) .profile-layout { grid-template-columns: minmax(0,1fr) 340px; gap: 50px; padding: 50px 0; background: transparent; }
.template-3:not(.admin-page) .profile-main,
.template-3:not(.admin-page) .profile-sidebar { gap: 16px; }
.template-3:not(.admin-page) .profile-section,
.template-3:not(.admin-page) .sidebar-card {
  border-color: var(--vip-line);
  background: #fff;
  box-shadow: var(--vip-shadow);
}
.template-3:not(.admin-page) .profile-section { padding: 38px 42px; }
.template-3:not(.admin-page) .sidebar-card { padding: 28px; }
.template-3:not(.admin-page) .profile-main > .company-map,
.template-3:not(.admin-page) .profile-main > .provider-reviews { margin-top: 0; }
.template-3:not(.admin-page) #kategorie::before,
.template-3:not(.admin-page) #kategorie::after { display: none; }
.template-3:not(.admin-page) .category-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}
.template-3:not(.admin-page) .category-card,
.template-3:not(.admin-page) .category-card:nth-child(3n),
.template-3:not(.admin-page) .category-card:nth-last-child(-n+3) {
  min-height: 222px;
  padding: 26px;
  border: 1px solid var(--vip-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(48,42,37,.045);
}
.template-3:not(.admin-page) .category-card:nth-child(4n+1),
.template-3:not(.admin-page) .category-card:nth-child(4n+4) { background: var(--vip-cream); }
.template-3:not(.admin-page) .category-card:hover {
  border-color: color-mix(in srgb, var(--green) 40%, #fff);
  box-shadow: 0 16px 34px rgba(48,42,37,.09);
  transform: translateY(-4px);
}
.template-3:not(.admin-page) .category-icon {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--green);
  background: #edf7f1;
  box-shadow: none;
}
.template-3:not(.admin-page) .category-card h3 {
  color: var(--vip-charcoal);
  font-size: 18px;
  font-weight: 400;
}
.template-3:not(.admin-page) .mini-links a { color: var(--vip-muted); }
.template-3:not(.admin-page) .catalog-description {
  border-color: var(--vip-line);
  border-radius: 7px;
  background: var(--vip-cream);
}

.template-3:not(.admin-page) .latest,
.template-3:not(.admin-page) .similar-companies {
  background: var(--vip-cream);
  border-color: var(--vip-line);
}
.template-3:not(.admin-page) .company-grid { gap: 22px; }
.template-3:not(.admin-page) .company-card {
  border-color: var(--vip-line);
  border-radius: 7px;
  box-shadow: 0 8px 26px rgba(51,44,39,.06);
}
.template-3:not(.admin-page) .company-card:hover {
  border-color: color-mix(in srgb, var(--green) 35%, #fff);
  box-shadow: 0 18px 38px rgba(51,44,39,.11);
  transform: translateY(-5px);
}
.template-3:not(.admin-page) .company-body { padding: 25px; }
.template-3:not(.admin-page) .company-body .eyebrow {
  color: var(--green);
  background: #edf7f1;
  border-radius: 3px;
}
.template-3:not(.admin-page) .company-body h3 { color: var(--vip-charcoal); font-weight: 700; }
.template-3:not(.admin-page) .company-body > p { color: var(--vip-muted); }
.template-3:not(.admin-page) .text-link { color: var(--vip-coral-dark); }

.template-3:not(.admin-page) .page-hero {
  padding: 72px 0 78px;
  color: var(--vip-charcoal);
  background: var(--vip-cream);
  border-color: var(--vip-line);
}
.template-3:not(.admin-page) .page-hero h1 {
  width: fit-content;
  color: var(--vip-charcoal);
  font-size: clamp(40px,4.7vw,58px);
  font-weight: 400;
  background: linear-gradient(transparent 80%, var(--vip-yellow) 80% 95%, transparent 95%);
}
.template-3:not(.admin-page) .page-hero p,
.template-3:not(.admin-page) .page-hero .breadcrumbs,
.template-3:not(.admin-page) .subcategory-inline { color: var(--vip-muted); }
.template-3:not(.admin-page) .page-hero .breadcrumbs a,
.template-3:not(.admin-page) .subcategory-inline a { color: var(--green); }
.template-3:not(.admin-page) .page-hero.companies-page-hero {
  padding-top: 50px;
  padding-bottom: 50px;
}
.template-3:not(.admin-page) .page-hero.companies-page-hero h1 {
  color: #20251f;
  font-family: var(--font-ui);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  background: none;
}
.template-3:not(.admin-page) .companies-results { padding-top: 50px; }
.template-3:not(.admin-page) .location-filter,
.template-3:not(.admin-page) .chip,
.template-3:not(.admin-page) .pagination a {
  border-color: var(--vip-line);
  border-radius: 5px;
  box-shadow: none;
}

.template-3:not(.admin-page) .detail-top {
  padding-top: 32px;
  background: var(--vip-cream);
  border-color: var(--vip-line);
}
.template-3:not(.admin-page) .detail-grid h1 {
  color: var(--vip-charcoal);
  font-weight: 500;
  background: none;
}
.template-3:not(.admin-page) .company-name-highlight {
  padding: 0 .035em;
  background: linear-gradient(transparent 82%, var(--vip-yellow) 82% 96%, transparent 96%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.template-3:not(.admin-page) .detail-screen {
  border-color: #fff;
  border-radius: 7px;
  box-shadow: var(--vip-shadow);
}
.template-3:not(.admin-page) .prose,
.template-3:not(.admin-page) .contact-card {
  border-color: var(--vip-line);
  border-radius: 7px;
  box-shadow: var(--vip-shadow);
}
.template-3:not(.admin-page) .contact-card:hover { border-color: var(--vip-line); }
.template-3:not(.admin-page) .prose p { color: #696865; }

.template-3:not(.admin-page) .offer-hero {
  padding: 78px 0 86px;
  color: var(--vip-charcoal);
  background: var(--vip-cream);
  border-color: var(--vip-line);
}
.template-3:not(.admin-page) .offer-hero::after {
  border: 0;
  background: rgba(255,255,255,.48);
}
.template-3:not(.admin-page) .offer-hero-copy h1 {
  color: var(--vip-charcoal);
  font-weight: 400;
}
.template-3:not(.admin-page) .offer-hero-copy h1 em {
  width: fit-content;
  color: var(--vip-charcoal);
  font-weight: 750;
  background: linear-gradient(transparent 78%, var(--vip-yellow) 78% 95%, transparent 95%);
}
.template-3:not(.admin-page) .offer-hero-copy > p { color: var(--vip-muted); }
.template-3:not(.admin-page) .offer-hero-copy > p a { color: var(--vip-coral-dark); }
.template-3:not(.admin-page) .offer-hero-card {
  border-color: var(--vip-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: var(--vip-shadow);
}
.template-3:not(.admin-page) .offer-badge {
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: none;
}
.template-3:not(.admin-page) .offer-panel-text { color: var(--vip-muted); }
.template-3:not(.admin-page) .offer-panel-text strong { color: var(--vip-charcoal); }
.template-3:not(.admin-page) .offer-content,
.template-3:not(.admin-page) .legal-page > article,
.template-3:not(.admin-page) .public-company-form {
  border-color: var(--vip-line);
  border-radius: 7px;
  box-shadow: var(--vip-shadow);
}
.template-3:not(.admin-page) .public-submission-section { padding-top: 50px; background: var(--vip-cream); }
.template-3:not(.admin-page) .public-company-form { padding: 28px; background: #fff; }
.template-3:not(.admin-page) .public-company-form fieldset { border-color: var(--vip-line); border-radius: 6px; }
.template-3:not(.admin-page) .public-submit-button { background: var(--vip-coral); }
.template-3:not(.admin-page) .public-submit-button:hover { background: var(--vip-coral-dark); }
.template-3:not(.admin-page) .legal-page h1 {
  width: fit-content;
  font-weight: 500;
  background: linear-gradient(transparent 80%, var(--vip-yellow) 80% 95%, transparent 95%);
}

.template-3:not(.admin-page) footer {
  margin-top: 0;
  padding-top: 62px;
  border-radius: 0;
  color: #e7e8e7;
  background: #252827;
  box-shadow: none;
}
.template-3:not(.admin-page) .footer-grid p { color: #a9aeab; }
.template-3:not(.admin-page) .footer-grid > div:last-child a { color: #d9ddda; }
.template-3:not(.admin-page) .footer-grid > div:last-child a:hover { color: #fff; }
.template-3:not(.admin-page) .fine { color: #858b87; }

/* Równe, 50-pikselowe odstępy w głównych sekcjach katalogu. */
.template-3:not(.admin-page) .hero.microtask-hero {
  min-height: auto;
  padding-top: 50px;
  padding-bottom: 50px;
}
.template-3:not(.admin-page) .microtask-promise .shell { padding-block: 49px; }
.template-3:not(.admin-page) #kategorie { padding-block: 50px; }
.template-3:not(.admin-page) #kategorie .catalog-description {
  margin-top: 50px;
  padding-bottom: 32px;
}
.template-3:not(.admin-page) #kategorie .catalog-description h2 {
  font-size: 18px;
  line-height: 1.35;
}
.template-3:not(.admin-page) #kategorie .catalog-description p {
  font-size: 14px;
}
.template-3:not(.admin-page) .popular-services-section { padding-block: 49px; }
.template-3:not(.admin-page) .microtask-directory-hero {
  padding-top: 50px;
  padding-bottom: 49px;
}
.template-3:not(.admin-page) .microtask-directory-hero .taxonomy-short-description > :last-child { margin-bottom: 0; }
.template-3:not(.admin-page) .microtask-directory-content { padding-block: 50px; }
.template-3:not(.admin-page) .microtask-directory-content .taxonomy-long-description {
  margin-top: 50px;
  padding: 30px 38px 34px;
}
.template-3:not(.admin-page) .service-page-hero { padding-bottom: 50px; }
.template-3:not(.admin-page) .service-results { padding-block: 50px; }
.template-3:not(.admin-page) .service-page-hero + .service-results { padding-top: 50px; }
.template-3:not(.admin-page) footer { padding-top: 50px; }

@media (max-width: 900px) {
  .template-3:not(.admin-page) .hero { min-height: auto; }
  .template-3:not(.admin-page) .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .template-3:not(.admin-page) .hero-visual { width: min(620px,100%); }
  .template-3:not(.admin-page) .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .template-3:not(.admin-page) .profile-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .template-3:not(.admin-page) .site-header { padding-top: 0; }
  .template-3:not(.admin-page) .nav { height: 70px; padding: 0 10px; border-radius: 0; border-width: 0 0 1px; }
  .template-3:not(.admin-page) .nav nav .nav-add-company { padding: 10px 11px; }
  .template-3:not(.admin-page) .hero { padding: 58px 0 68px; }
  .template-3:not(.admin-page) .hero h1 { font-size: clamp(39px,12vw,50px); }
  .template-3:not(.admin-page) .hero-grid { gap: 34px; }
  .template-3:not(.admin-page) .hero-visual img { border-radius: 5px; }
  .template-3:not(.admin-page) .stats { gap: 12px 20px; }
  .template-3:not(.admin-page) .category-grid { grid-template-columns: 1fr; }
  .template-3:not(.admin-page) .category-card,
  .template-3:not(.admin-page) .category-card:nth-child(3n),
  .template-3:not(.admin-page) .category-card:nth-last-child(-n+3) { border: 1px solid var(--vip-line) !important; }
  .template-3:not(.admin-page) .section { padding: 50px 0; }
  .template-3:not(.admin-page) .public-submission-section { padding-top: 50px; }
  .template-3:not(.admin-page) .public-company-form { padding: 20px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Końcowe nadpisania panelu muszą pozostać na końcu arkusza. */
.admin-page .admin-head { color:var(--ss-text); background:transparent; }
.admin-page .admin-head .ghost-button { color:var(--ss-text); border-color:#d5dbe6; background:#fff; }
.admin-page .admin-head .kicker { color:var(--ss-blue); }
.admin-page .admin-head h1 { font-size:29px; font-weight:700; letter-spacing:-.025em; }
.admin-page .admin-head .shell,
.admin-page .section.shell,
.admin-page .form-shell { width:auto; max-width:1700px; margin:0; }
.admin-page .primary-button { color:#fff; background:var(--ss-blue); box-shadow:none; }
.admin-page .primary-button:hover { background:#3e64b6; }
.account-auth{background:linear-gradient(135deg,#f8fbf8,#fff5eb)}
.account-register-card{width:min(620px,calc(100% - 32px))}
.account-connected-notice{padding:18px 20px;border:1px solid #b8decf;border-radius:14px;background:#effbf6;color:#174f3b;margin-bottom:22px}
.account-registration-fieldset{padding-top:12px!important;border-color:#b8decf!important;background:#f5fcf9}
.account-registration-fieldset>p{margin:0 0 20px}
.account-hero{padding:54px 0 42px;background:linear-gradient(120deg,#102a23,#174f3b);color:#fff}
.account-hero h1{margin:8px 0 10px;color:#fff;font-size:clamp(34px,5vw,58px)}
.account-hero p{margin:0;color:#d7ebe3}.account-hero a{color:#fff}
.account-dashboard-hero h1{font-size:22px}
.account-offer-edit-hero{padding:34px 0 30px;background:linear-gradient(120deg,#10382d,#176045)}
.account-offer-edit-hero .shell{display:grid;gap:12px}
.account-offer-edit-hero h1{margin:0;font-size:22px;font-weight:600;letter-spacing:-.025em}
.account-offer-edit-hero a{width:fit-content;font-size:14px;font-weight:400}
.account-offer-edit-shell{width:min(980px,calc(100% - 32px));padding-top:48px;padding-bottom:70px}
.account-offer-edit-form>fieldset,.account-offer-edit-shell .account-offer-pricing{border-radius:7px;border-color:#e2e1da;background:#fff;box-shadow:0 8px 24px rgba(35,44,38,.04)}
.account-offer-edit-form>fieldset{padding:28px}
.account-offer-edit-form>fieldset legend{padding-inline:10px}
.account-offer-edit-form label small{color:var(--muted);font-weight:400}
.account-offer-edit-shell input:not([type=checkbox]):not([type=radio]),
.account-offer-edit-shell textarea,
.account-offer-edit-shell select,
.account-offer-edit-shell input::placeholder,
.account-offer-edit-shell textarea::placeholder{font-weight:400}
.account-offer-edit-shell .primary-button{font-weight:400}
#opis-wykonawcy,#cennik-uslug{scroll-margin-top:30px}
.account-offer-pricing{margin-top:30px}
.travel-radius-label,.provider-type-label{align-self:start;grid-template-rows:auto 48px auto}
.travel-radius-label input,.provider-type-label select{height:48px}
.travel-radius-label small{line-height:1.45}
.forgot-password-link{margin:10px 0 16px;text-align:right;font-size:13px}
.account-auth .login-card label,.admin-login-card label{font-weight:400}
.account-auth .login-card input,.admin-login-card input{font-weight:400}
.account-login-turnstile{margin:16px 0}
.login-card>p.account-login-security{margin:0 0 16px;color:var(--muted);font-size:12px;line-height:1.55}
.account-login-captcha{margin:0 0 12px}
.password-reset-card{width:min(520px,calc(100% - 32px))}
.account-dashboard-hero{padding:42px 0;border-bottom:1px solid var(--vip-line,#e5e4dc);background:var(--vip-cream,#fffaf3);color:var(--ink)}
.account-dashboard-hero .eyebrow{color:#647168}
.account-dashboard-hero h1{color:var(--ink);font-weight:500}
.account-dashboard-hero p{color:var(--muted)}
.nav-logout{display:flex;margin:0}
.nav-logout button{padding:0;border:0;color:inherit;background:transparent;font:inherit;font-weight:inherit;cursor:pointer}
.template-3:not(.admin-page) .compare-cta{font-weight:400}
.template-3:not(.admin-page) .service-filter-actions .primary-button,
.template-3:not(.admin-page) .service-filter-actions .ghost-button{font-family:var(--font-ui);font-size:14px;font-weight:400;line-height:1.2}
.template-3:not(.admin-page) .service-page-hero .public-breadcrumbs,
.template-3:not(.admin-page) .service-page-hero .public-breadcrumbs a,
.template-3:not(.admin-page) .service-page-hero .public-breadcrumbs span{color:#000}
.account-dashboard{display:grid;gap:0;padding-top:0;padding-bottom:70px}.account-dashboard>.section-head{margin:50px 0}
.account-dashboard>.section-head h2,.account-dashboard>h2{font-size:22px;font-weight:500;letter-spacing:-.025em}
.account-dashboard>.section-head h2{margin:0}
.account-dashboard>h2{margin:50px 0}
.account-dashboard>.section-head .primary-button{font-weight:400}
.account-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.account-offer-grid{display:grid;gap:22px}
.account-offer-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:stretch}
.account-card,.account-profile-settings{border:1px solid #e2e4df;border-radius:7px;background:#fff;box-shadow:0 8px 24px rgba(35,44,38,.04)}
.account-card{display:flex;justify-content:space-between;gap:24px;padding:28px}
.account-card h2{margin:8px 0 4px;font-size:21px}.account-card p{margin:0;color:var(--muted)}
.account-card .account-company-categories{margin:7px 0 4px;color:#52655c;font-size:12px;font-weight:600;line-height:1.45}
.account-card .account-company-city{font-size:14px}
.account-card-actions{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:10px;text-align:right}.account-card-actions a{color:var(--green);font-size:13px;font-weight:400}
.account-card-actions a:first-child{padding-bottom:9px;border-bottom:1px solid #e2e4df}
.account-profile-settings{padding:28px}
.account-profile-settings h3{margin:0 0 18px;color:#242a25;font-size:19px}
.account-profile-dates{display:grid;gap:8px;color:#687069;font-size:13px}
.account-profile-dates span{display:flex;justify-content:space-between;gap:18px}
.account-profile-dates strong{color:#252b26;font-weight:600;text-align:right}
.account-profile-dates strong.active{color:#24734e}.account-profile-dates strong.inactive{color:#a13a2f}
.account-trust-setting{display:grid;justify-items:start;gap:7px;margin-top:20px;padding-top:20px;border-top:1px solid #e2e4df}
.account-trust-setting small{color:#687069;font-size:11px;font-weight:400}
.account-trust-setting.is-inactive .verification-badge{filter:grayscale(1);opacity:.58}
.account-trust-setting.is-inactive small{color:#8d5d58}
.account-profile-options{display:grid;gap:12px;margin-top:22px;padding-top:20px;border-top:1px solid #e2e4df}
.account-map-toggle{display:grid;grid-template-columns:20px 1fr;align-items:center;gap:10px;font-weight:400}
.account-map-toggle input{width:18px;height:18px;margin:0}
.account-profile-options .ghost-button{justify-self:start;font-weight:400}
.account-premium-disabled{display:grid;justify-items:start;gap:7px;margin-top:12px;cursor:not-allowed;user-select:none}
.account-premium-disabled small{color:#7b6a36;font-size:11px;font-weight:400}
.profile-price-action{display:flex;flex-direction:column;align-items:flex-end;gap:10px;min-width:165px}
.order-service-form{margin:0}.order-service-form button,.order-service-button{white-space:nowrap;font-size:13px;padding:10px 13px}
.provider-reviews{margin-top:24px}.review-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}
.review-summary>div{padding:15px;border-radius:14px;background:#f5f8f6;text-align:center}.review-summary b{display:block;font-size:21px;color:#173d31}.review-summary span{font-size:12px;color:var(--muted)}
.review-list{display:grid;gap:14px}.review-card{padding:20px;border:1px solid #e0e7e3;border-radius:16px;background:#fff}
.review-card-head{display:flex;align-items:center;justify-content:space-between}.review-card p{color:#354a43}.review-card dl{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:15px 0}.review-card dl div{padding:9px;border-radius:10px;background:#f7f8f7}.review-card dt{font-size:11px;text-transform:uppercase;color:var(--muted)}.review-card dd{margin:3px 0 0;font-weight:800}
.review-sentiment{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:12px;text-transform:uppercase;letter-spacing:.05em}.review-sentiment.recommend{background:#dff6e9;color:#167145}.review-sentiment.neutral{background:#fff1c7;color:#7c5a00}.review-sentiment.not_recommend{background:#ffe1df;color:#a2302a}
.sentiment-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.sentiment-options label{padding:16px;border:1px solid #dce5e0;border-radius:14px;background:#fff;font-weight:800}
.review-form>label{display:block;margin:18px 0}.review-form>label input,.review-form>label textarea{width:100%}
@media(max-width:760px){.account-card-grid,.account-offer-row{grid-template-columns:1fr}.account-card{flex-direction:column}.account-card-actions{align-items:flex-start;text-align:left}.account-profile-dates span{display:grid;gap:3px}.account-profile-dates strong{text-align:left}.review-summary,.review-card dl{grid-template-columns:repeat(2,1fr)}.sentiment-options{grid-template-columns:1fr}.profile-price-action{align-items:flex-start;min-width:0}}

/* ========================================================================== 
   Szablon 4 — ogłoszeniowy
   Dokładny system wizualny projektu nieruchomości, dostosowany do Doint.
   Reguły dotyczą wyłącznie publicznej części serwisu.
   ========================================================================== */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/open-sans-840d4244.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;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/open-sans-2808bca2.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;
}

.admin-page .template-choice-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }

.template-4:not(.admin-page) {
  --domio-ink: #202124;
  --domio-muted: #687078;
  --domio-line: #dfe3e7;
  --domio-soft: #f4f5f4;
  --domio-blue: #245fc5;
  --domio-blue-dark: #1d4fa4;
  --domio-coral: #e9584f;
  --domio-green: #24734c;
  margin: 0;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  color: var(--domio-ink);
  background: #fff;
  font: 14px/1.5 "Open Sans", Arial, sans-serif;
}
.template-4:not(.admin-page) a { color: inherit; text-decoration: none; }
.template-4:not(.admin-page) button,
.template-4:not(.admin-page) input,
.template-4:not(.admin-page) select,
.template-4:not(.admin-page) textarea { font: inherit; }
.template-4:not(.admin-page) .shell { width: min(1180px,calc(100% - 40px)); margin-inline: auto; }
.template-4:not(.admin-page) main { flex: 1 0 auto; overflow: visible; }
.template-4:not(.admin-page) footer { flex: 0 0 auto; }

/* Nagłówek */
.template-4:not(.admin-page) .site-header {
  position: relative;
  top: auto;
  z-index: 20;
  height: 72px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #eceeed;
  background: rgba(255,255,255,.97);
  box-shadow: none;
  backdrop-filter: none;
}
.template-4:not(.admin-page) .nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.template-4:not(.admin-page) .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-right: 8px;
  color: #111827;
  font-family: "Open Sans",Arial,sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 33px;
  letter-spacing: -.04em;
}
.template-4:not(.admin-page) .brand-name { font-family: "Open Sans",Arial,sans-serif; font-size: 22px; font-weight: 800; line-height: 33px; letter-spacing: -.04em; }
.template-4:not(.admin-page) .brand span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--domio-blue);
  border-radius: 8px;
  box-shadow: none;
  font-size: 17px;
}
.template-4:not(.admin-page) .brand-logo { width: auto; max-width: 190px; height: 44px; object-fit: contain; }
.template-4:not(.admin-page) .nav nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  color: #4c5259;
  font-size: 13px;
  font-weight: 400;
  line-height: 19.5px;
}
.template-4:not(.admin-page) .nav nav a { padding: 0; border-radius: 0; }
.template-4:not(.admin-page) .nav nav a:hover,
.template-4:not(.admin-page) .nav-logout button:hover { color: var(--domio-blue); background: transparent; }
.template-4:not(.admin-page) .nav nav .nav-add-company {
  display: flex;
  margin: 0;
  padding: 10px 16px;
  color: #b6362f;
  background: #fff8f7;
  border: 1px solid #f0c8c8;
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}
.template-4:not(.admin-page) .nav nav .nav-add-company:hover { color: #a9342f; background: #fff3f1; }
.template-4:not(.admin-page) .nav-logout { display: flex; margin: 0; }
.template-4:not(.admin-page) .nav-logout button { padding: 0; color: inherit; border: 0; background: transparent; cursor: pointer; }

/* Strona główna */
.template-4:not(.admin-page) .hero.microtask-hero {
  min-height: 0;
  padding: 50px 0;
  color: var(--domio-ink);
  background: linear-gradient(180deg,#eef4fc 0%,#f7f9fb 100%);
  border: 0;
  border-bottom: 1px solid #e4e9ef;
}
.template-4:not(.admin-page) .hero.microtask-hero::before,
.template-4:not(.admin-page) .hero.microtask-hero::after { display: none; }
.template-4:not(.admin-page) .hero-grid { display: block; text-align: center; }
.template-4:not(.admin-page) .hero-grid > div:first-child { width: 100%; }
.template-4:not(.admin-page) .hero .kicker,
.template-4:not(.admin-page) .kicker.dark,
.template-4:not(.admin-page) .eyebrow {
  display: block;
  width: auto;
  margin: 0 0 14px;
  padding: 0;
  color: var(--domio-blue);
  background: transparent;
  border-radius: 0;
  font-family: "Open Sans",Arial,sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.template-4:not(.admin-page) .kicker.dark,
.template-4:not(.admin-page) .eyebrow.dark { color: #5d6a65; }
.template-4:not(.admin-page) .hero h1,
.template-4:not(.admin-page) .hero.microtask-hero h1 {
  max-width: 850px;
  margin: 0 auto 18px;
  color: var(--domio-ink);
  font-family: "Open Sans",Arial,sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.template-4:not(.admin-page) .hero h1 em {
  color: inherit;
  background: none;
  font: inherit;
}
.template-4:not(.admin-page) .hero-grid > div > p {
  max-width: none;
  margin: 0 0 30px;
  color: #59636e;
  font-family: "Open Sans",Arial,sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}
.template-4:not(.admin-page) .microtask-hero-search {
  display: grid;
  grid-template-columns: 1.45fr 1fr auto;
  gap: 0;
  align-items: center;
  width: 100%;
  max-width: 1110px;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid #dbe3ed;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(28,45,78,.09);
  font-family: "Open Sans",Arial,sans-serif;
  font-size: 15px;
  line-height: 24px;
  text-align: left;
}
.template-4:not(.admin-page) .microtask-hero-search label {
  display: block;
  padding: 3px 14px;
  color: inherit;
  border-right: 1px solid #e4e7ea;
  font-size: inherit;
  font-weight: 400;
}
.template-4:not(.admin-page) .microtask-hero-search label > span {
  display: block;
  color: #7a828b;
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.template-4:not(.admin-page) .microtask-hero-search input {
  width: 100%;
  height: 36px;
  min-height: 36px;
  padding: 1px 2px;
  color: #2b2f33;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
.template-4:not(.admin-page) .microtask-hero-search input::placeholder { color: #969da5; font-weight: 400; }
.template-4:not(.admin-page) .microtask-hero-search button {
  min-width: 100px;
  height: 57px;
  padding: 12px 20px;
  color: #fff;
  background: var(--domio-blue);
  border: 0;
  border-radius: 7px;
  box-shadow: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
  cursor: pointer;
}
.template-4:not(.admin-page) .microtask-hero-search button:hover { background: var(--domio-blue-dark); }
.template-4:not(.admin-page) .stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 22px;
  color: #536159;
  font-family: "Open Sans",Arial,sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}
.template-4:not(.admin-page) .stats span { display: inline-flex; align-items: baseline; gap: 5px; }
.template-4:not(.admin-page) .stats b { color: var(--domio-green); font-family: "Open Sans",Arial,sans-serif; font-size: 13px; font-weight: 700; }

.template-4:not(.admin-page) .template-four-hero-benefits {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  width: 670px;
  max-width: 100%;
  margin: 22px auto 0;
  font-family: "Open Sans",Arial,sans-serif;
}
.template-4:not(.admin-page) .template-four-hero-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
}
.template-4:not(.admin-page) .template-four-benefit-icon {
  flex: 0 0 auto;
  color: #516174;
  font-size: 17px;
  font-weight: 700;
  line-height: 26px;
}
.template-4:not(.admin-page) .template-four-hero-benefit p {
  margin: 0;
  color: #566171;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.template-4:not(.admin-page) .microtask-promise {
  padding: 50px 0;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e5e8e9;
}
.template-4:not(.admin-page) .microtask-promise .shell {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  padding: 0;
  color: #596169;
  font-size: 14px;
  line-height: 1.75;
}
.template-4:not(.admin-page) .microtask-promise .promise-primary { display: grid; gap: 4px; }
.template-4:not(.admin-page) .microtask-promise strong { color: var(--domio-ink); font-weight: 400; white-space: normal; }

.template-4:not(.admin-page) .section { padding: 50px 0; }
.template-4:not(.admin-page) .microtask-categories-section { padding: 50px 0; }
.template-4:not(.admin-page) .section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 26px;
}
.template-4:not(.admin-page) .section-head .kicker { margin-bottom: 8px; color: #5d6a65; }
.template-4:not(.admin-page) .section-head h2 {
  margin: 0;
  color: var(--domio-ink);
  font-family: "Open Sans",Arial,sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.template-4:not(.admin-page) .category-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}
.template-4:not(.admin-page) .category-card,
.template-4:not(.admin-page) .category-card:nth-child(3n),
.template-4:not(.admin-page) .category-card:nth-last-child(-n+3) {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 17px 18px;
  color: var(--domio-ink);
  background: #fff;
  border: 1px solid var(--domio-line) !important;
  border-radius: 7px;
  box-shadow: none;
  transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.template-4:not(.admin-page) .category-card:hover {
  transform: translateY(-2px);
  border-color: #b8c8df !important;
  box-shadow: 0 8px 20px rgba(31,42,55,.07);
}
.template-4:not(.admin-page) .category-icon {
  display: grid;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--domio-blue);
  background: #eef4ff;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
}
.template-4:not(.admin-page) .template-four-category-copy { display: grid; gap: 3px; min-width: 0; }
.template-4:not(.admin-page) .template-four-category-copy strong { font-size: 15px; font-weight: 400; line-height: 1.35; }
.template-4:not(.admin-page) .template-four-category-copy small { color: var(--domio-muted); font-size: 12px; }
.template-4:not(.admin-page) .template-four-category-arrow { margin-left: auto; color: #8d959e; font-size: 17px; }
.template-4:not(.admin-page) .catalog-description {
  max-width: none;
  margin: 50px 0 0;
  padding: 40px;
  text-align: left;
  background: #f7f8f8;
  border-block: 1px solid #e5e8e9;
}
.template-4:not(.admin-page) .catalog-description h2 {
  max-width: 720px;
  margin: 0 0 14px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.03em;
}
.template-4:not(.admin-page) .catalog-description p { margin: 0; color: #596169; font-size: 14px; line-height: 1.75; }

.template-4:not(.admin-page) .template-four-portal-copy {
  padding: 58px 0;
  color: #152033;
  background: #f7f9fb;
  font-family: "Open Sans",Arial,sans-serif;
}
.template-4:not(.admin-page) .template-four-portal-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 20px 80px;
  align-items: start;
}
.template-4:not(.admin-page) .template-four-portal-kicker {
  margin: 0 0 14px;
  color: #596169;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}
.template-4:not(.admin-page) .template-four-portal-copy h2 {
  margin: 0;
  color: #152033;
  font-family: "Open Sans",Arial,sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: normal;
}
.template-4:not(.admin-page) .template-four-portal-lead,
.template-4:not(.admin-page) .template-four-portal-extra {
  color: #596169;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
}
.template-4:not(.admin-page) .template-four-portal-extra { grid-column: 1 / -1; }
.template-4:not(.admin-page) .template-four-portal-copy p { margin: 0 0 14px; }
.template-4:not(.admin-page) .template-four-portal-copy p:last-child { margin-bottom: 0; }

.template-4:not(.admin-page) .popular-services-section {
  padding: 50px 0;
  background: #f6f7f7;
  border-block: 1px solid #eceeee;
}
.template-4:not(.admin-page) .popular-service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.template-4:not(.admin-page) .popular-service-card {
  display: grid;
  align-content: center;
  gap: 3px;
  min-height: 88px;
  padding: 17px 18px;
  color: var(--domio-ink);
  background: #fff;
  border: 1px solid var(--domio-line);
  border-radius: 7px;
  transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.template-4:not(.admin-page) .popular-service-card:hover { transform: translateY(-2px); border-color: #b8c8df; box-shadow: 0 8px 20px rgba(31,42,55,.07); }
.template-4:not(.admin-page) .popular-service-card span { font-size: 15px; font-weight: 400; line-height: 1.35; }
.template-4:not(.admin-page) .popular-service-card strong { color: var(--domio-muted); font-size: 12px; font-weight: 400; }
.template-4:not(.admin-page) .template-four-trust-strip { padding: 42px 0; color: #fff; background: #233856; }
.template-4:not(.admin-page) .template-four-trust-strip .shell { display: grid; grid-template-columns: repeat(3,1fr); gap: 50px; }
.template-4:not(.admin-page) .template-four-trust-strip .shell > div { display: grid; grid-template-columns: 38px 1fr; gap: 2px 13px; }
.template-4:not(.admin-page) .template-four-trust-strip span { grid-row: 1 / span 2; display: grid; place-items: center; width: 26px; height: 26px; color: #b7cff4; font-size: 22px; }
.template-4:not(.admin-page) .template-four-trust-strip strong { font-size: 15px; }
.template-4:not(.admin-page) .template-four-trust-strip p { margin: 3px 0 0; color: #c8d1de; font-size: 12px; }

/* Kategorie, katalog i porównywarka */
.template-4:not(.admin-page) .page-hero,
.template-4:not(.admin-page) .service-page-hero,
.template-4:not(.admin-page) .profile-hero {
  color: var(--domio-ink);
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e4e9ef;
}
.template-4:not(.admin-page) .page-hero { padding: 50px 0; }
.template-4:not(.admin-page) .page-hero::before,
.template-4:not(.admin-page) .service-page-hero::before,
.template-4:not(.admin-page) .profile-hero::before { display: none; }
.template-4:not(.admin-page) .breadcrumbs,
.template-4:not(.admin-page) .public-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 22px;
  color: #646c75;
  font-size: 11px;
  font-weight: 400;
}
.template-4:not(.admin-page) .breadcrumbs a,
.template-4:not(.admin-page) .public-breadcrumbs a,
.template-4:not(.admin-page) .public-breadcrumbs span { color: #646c75; }
.template-4:not(.admin-page) .breadcrumbs a:hover,
.template-4:not(.admin-page) .public-breadcrumbs a:hover { color: var(--domio-blue); }
.template-4:not(.admin-page) .page-hero h1 {
  margin: 10px 0;
  color: var(--domio-ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.03em;
}
.template-4:not(.admin-page) .page-hero p { max-width: 770px; margin: 0; color: #5d656d; font-size: 14px; }
.template-4:not(.admin-page) .microtask-directory-hero {
  padding: 0 0 50px;
  background: linear-gradient(180deg,#eef4fc 0%,#f7f9fb 100%);
}
.template-4:not(.admin-page) .microtask-directory-hero .eyebrow { margin-top: 28px; }
.template-4:not(.admin-page) .taxonomy-short-description { margin-top: 16px; color: #5d656d; font-size: 14px; line-height: 1.7; }
.template-4:not(.admin-page) .service-group-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.template-4:not(.admin-page) .service-group-card,
.template-4:not(.admin-page) .service-directory-link {
  color: var(--domio-ink);
  background: #fff;
  border: 1px solid var(--domio-line);
  border-radius: 7px;
  box-shadow: none;
}
.template-4:not(.admin-page) .service-group-card { min-height: 88px; padding: 17px 18px; }
.template-4:not(.admin-page) .service-group-card h2 { margin: 8px 0 3px; font-size: 15px; }
.template-4:not(.admin-page) .service-group-card p { margin: 0; color: var(--domio-muted); font-size: 12px; }
.template-4:not(.admin-page) .service-group-icon { color: var(--domio-blue); background: #eef4ff; }
.template-4:not(.admin-page) .service-directory-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.template-4:not(.admin-page) .service-directory-link { min-height: 70px; padding: 14px 16px; }
.template-4:not(.admin-page) .service-directory-link span { font-size: 14px; font-weight: 400; }
.template-4:not(.admin-page) .service-directory-link strong { color: var(--domio-blue); font-size: 12px; font-weight: 400; }
.template-4:not(.admin-page) .taxonomy-long-description {
  max-width: none;
  margin-top: 50px;
  padding: 20px 22px;
  color: #546173;
  background: #f7f9fc;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  box-shadow: none;
  font-family: "Open Sans",Arial,sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}
.template-4:not(.admin-page) .taxonomy-long-description h2,
.template-4:not(.admin-page) .taxonomy-long-description h3,
.template-4:not(.admin-page) .taxonomy-long-description h4 {
  margin: 0 0 12px;
  padding: 0;
  color: #152033;
  font-family: "Open Sans",Arial,sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}
.template-4:not(.admin-page) .taxonomy-long-description h2:not(:first-child),
.template-4:not(.admin-page) .taxonomy-long-description h3:not(:first-child),
.template-4:not(.admin-page) .taxonomy-long-description h4:not(:first-child) { margin-top: 22px; }
.template-4:not(.admin-page) .taxonomy-long-description p {
  margin: 0 0 16px;
  color: #546173;
  font-size: 14px;
  line-height: 1.7;
}
.template-4:not(.admin-page) .taxonomy-long-description > :last-child { margin-bottom: 0; }
.template-4:not(.admin-page) .microtask-directory-content { padding: 50px 0; background: #fff; }

.template-4:not(.admin-page) .companies-page-hero { padding: 50px 0; background: #f2f6fc; }
.template-4:not(.admin-page) .companies-page-hero h1 { font-size: 28px; }
.template-4:not(.admin-page) .companies-page-hero > .shell > p { color: #626c76; }
.template-4:not(.admin-page) .advanced-search,
.template-4:not(.admin-page) .service-filters {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--domio-line);
  border-radius: 7px;
  box-shadow: none;
}
.template-4:not(.admin-page) .companies-page-hero .advanced-search { margin-top: 26px; }
.template-4:not(.admin-page) .advanced-search label,
.template-4:not(.admin-page) .service-filters label { color: #343a40; font-size: 12px; font-weight: 600; }
.template-4:not(.admin-page) .advanced-search input:not([type=checkbox]),
.template-4:not(.admin-page) .advanced-search select,
.template-4:not(.admin-page) .service-filters input:not([type=checkbox]),
.template-4:not(.admin-page) .service-filters select {
  min-height: 42px;
  padding: 10px 12px;
  color: #30363b;
  background: #fff;
  border: 1px solid #cfd5db;
  border-radius: 4px;
  font-weight: 400;
  outline: none;
}
.template-4:not(.admin-page) .advanced-search input:focus,
.template-4:not(.admin-page) .advanced-search select:focus,
.template-4:not(.admin-page) .service-filters input:focus,
.template-4:not(.admin-page) .service-filters select:focus { border-color: #6f96cf; box-shadow: 0 0 0 3px rgba(36,95,197,.1); }
.template-4:not(.admin-page) .companies-results { padding: 50px 0; }
.template-4:not(.admin-page) .company-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.template-4:not(.admin-page) .company-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--domio-line);
  border-radius: 7px;
  box-shadow: none;
  transition: box-shadow .18s,transform .18s;
}
.template-4:not(.admin-page) .company-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(35,44,51,.08); }
.template-4:not(.admin-page) .company-card .screen { aspect-ratio: 1.55; background: #e8ebed; }
.template-4:not(.admin-page) .company-card .company-body { padding: 15px 16px 17px; }
.template-4:not(.admin-page) .company-card .eyebrow { margin: 0; color: #7b828a; font-size: 10px; letter-spacing: 0; }
.template-4:not(.admin-page) .company-card h3 { min-height: 43px; margin: 9px 0 6px; font-size: 15px; line-height: 1.42; }
.template-4:not(.admin-page) .company-card p { color: #626a72; font-size: 12px; }
.template-4:not(.admin-page) .company-card .nap { padding: 10px 0; border-block: 1px solid #eceeef; color: #505860; font-size: 11px; }
.template-4:not(.admin-page) .company-list-tag { border-radius: 4px; font-size: 9px; }
.template-4:not(.admin-page) .company-card .text-link { color: var(--domio-blue); font-size: 12px; font-weight: 400; }

.template-4:not(.admin-page) .service-page-hero {
  padding: 0 0 50px;
  background: linear-gradient(180deg,#eef4fc 0%,#f7f9fb 100%);
}
.template-4:not(.admin-page) .service-hero-copy { align-items: end; gap: 30px; padding: 28px 0 31px; }
.template-4:not(.admin-page) .service-hero-copy .eyebrow { margin-bottom: 10px; }
.template-4:not(.admin-page) .service-hero-copy h1 { margin: 0 0 10px; font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.template-4:not(.admin-page) .service-hero-copy p { max-width: 770px; margin: 0; color: #5d656d; font-size: 14px; }
.template-4:not(.admin-page) .service-result-count {
  display: grid;
  min-width: 170px;
  padding: 15px 18px;
  background: #f4f7fb;
  border: 0;
  border-left: 3px solid var(--domio-blue);
  border-radius: 0;
  text-align: left;
}
.template-4:not(.admin-page) .service-result-count strong { color: var(--domio-ink); font-size: 23px; }
.template-4:not(.admin-page) .service-result-count span { color: #6b747e; font-size: 11px; }
.template-4:not(.admin-page) .service-filter-grid { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
.template-4:not(.admin-page) .service-filters .filter-check {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  background: #fafafa;
  border: 1px solid #e1e4e5;
  border-radius: 4px;
  font-weight: 400;
}
.template-4:not(.admin-page) .service-filters .filter-check input { width: 15px; height: 15px; min-height: 15px; margin: 0 8px 0 0; accent-color: var(--domio-blue); }
.template-4:not(.admin-page) .service-filter-actions { gap: 8px; margin-top: 18px; }
.template-4:not(.admin-page) .primary-button,
.template-4:not(.admin-page) .ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 5px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.template-4:not(.admin-page) .primary-button { color: #fff; background: var(--domio-blue); border: 1px solid var(--domio-blue); }
.template-4:not(.admin-page) .primary-button:hover { color: #fff; background: var(--domio-blue-dark); }
.template-4:not(.admin-page) .ghost-button { color: var(--domio-ink); background: #fff; border: 1px solid #d4dbe3; font-weight: 400; }
.template-4:not(.admin-page) .service-results { padding: 50px 0; background: #f6f7f7; border: 0; }
.template-4:not(.admin-page) .comparison-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.template-4:not(.admin-page) .comparison-card:only-child { grid-column: 1 / -1; }
.template-4:not(.admin-page) .comparison-card:only-child .comparison-main { grid-template-columns: minmax(220px,.9fr) minmax(0,1.1fr); gap: 24px; }
.template-4:not(.admin-page) .comparison-card:only-child .comparison-price { padding: 0 0 0 24px; border-top: 0; border-left: 1px solid #eceeef; }
.template-4:not(.admin-page) .comparison-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--domio-line);
  border-radius: 7px;
  box-shadow: none;
  transition: box-shadow .18s,transform .18s;
}
.template-4:not(.admin-page) .comparison-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(35,44,51,.08); }
.template-4:not(.admin-page) .comparison-main { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
.template-4:not(.admin-page) .comparison-name .provider-type { color: #7b828a; font-size: 10px; }
.template-4:not(.admin-page) .comparison-name h2 { margin: 9px 0 6px; font-size: 15px; line-height: 1.42; }
.template-4:not(.admin-page) .comparison-name > p { margin: 0 0 12px; color: #626a72; font-size: 12px; }
.template-4:not(.admin-page) .comparison-price {
  align-items: flex-start;
  min-width: 0;
  padding: 14px 0 0;
  border-top: 1px solid #eceeef;
  border-left: 0;
}
.template-4:not(.admin-page) .comparison-price strong { font-size: 16px; line-height: 1.45; letter-spacing: -.02em; }
.template-4:not(.admin-page) .comparison-price span { color: #697078; font-size: 11px; line-height: 1.55; }
.template-4:not(.admin-page) .compare-badges { gap: 5px; }
.template-4:not(.admin-page) .compare-badge { padding: 3px 7px; border-radius: 4px; color: #5f676f; background: #f0f2f3; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.template-4:not(.admin-page) .compare-badge.verified { color: #23684e; background: #e7f4ee; }
.template-4:not(.admin-page) .compare-badge.premium { color: #6f5607; background: #fff3c5; }
.template-4:not(.admin-page) .comparison-facts { margin: 14px 0; padding: 10px 0; border-block: 1px solid #eceeef; color: #505860; font-size: 11px; }
.template-4:not(.admin-page) .compare-cta { align-self: flex-end; width: auto; margin-top: auto; font-weight: 600; }
.template-4:not(.admin-page) .service-empty { grid-column: 1 / -1; padding: 55px 25px; background: #fafbfb; border: 1px dashed #cbd2d9; border-radius: 7px; }

/* Wizytówka */
.template-4:not(.admin-page) .profile-hero {
  padding: 38px 0 50px;
  background: linear-gradient(180deg,#eef4fc 0%,#f7f9fc 100%);
  border-bottom: 1px solid #dce3ec;
}
.template-4:not(.admin-page) .profile-hero .breadcrumbs { padding-top: 0; margin-bottom: 0; color: #62738a; font-size: 13px; line-height: 1.55; }
.template-4:not(.admin-page) .profile-hero .breadcrumbs a { color: #245fc5; }
.template-4:not(.admin-page) .profile-hero-grid { grid-template-columns: minmax(0,1fr) minmax(320px,560px); gap: 44px; align-items: center; padding-top: 19px; }
.template-4:not(.admin-page) .profile-hero-grid:not(.profile-hero-with-screen) { grid-template-columns: 1fr; }
.template-4:not(.admin-page) .provider-profile-identity { padding-bottom: 25px; border-bottom: 1px solid var(--domio-line); }
.template-4:not(.admin-page) .provider-service-categories { margin: 0 0 10px; color: var(--domio-blue); font-weight: 400; }
.template-4:not(.admin-page) .profile-hero h1 { margin: 10px 0 8px; font-size: 27px; font-weight: 700; line-height: 1.25; letter-spacing: -.03em; }
.template-4:not(.admin-page) .provider-verification-meta { gap: 5px; margin: 16px 0 20px; color: #636b74; font-size: 12px; }
.template-4:not(.admin-page) .provider-verification-meta strong { font-weight: 600; }
.template-4:not(.admin-page) .provider-visit-company { margin-top: 17px; }
.template-4:not(.admin-page) .profile-trust-badges { gap: 6px; margin-top: 14px; }
.template-4:not(.admin-page) .verification-badge { display: flex; width: fit-content; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 5px; font-size: 10px; font-weight: 400; line-height: 14px; }
.template-4:not(.admin-page) .profile-verified { color: #11724e; background: #e6f5ee; }
.template-4:not(.admin-page) .profile-premium { color: #7b5900; background: #fff0b9; }
.template-4:not(.admin-page) .provider-website-screen { overflow: hidden; margin: 0; padding: 0; background: #e4eae5; border: 1px solid #dce3ec; border-radius: 7px; box-shadow: 0 8px 24px rgba(35,56,86,.08); }
.template-4:not(.admin-page) .profile-hero-with-screen .provider-website-screen { transform: translateY(-39px); }
.template-4:not(.admin-page) .provider-website-screen img { display: block; width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; object-position: top; }
.template-4:not(.admin-page) .profile-layout { grid-template-columns: minmax(0,1fr) 330px; gap: 36px; align-items: start; padding: 50px 0; background: #fff; }
.template-4:not(.admin-page) .profile-main { gap: 0; }
.template-4:not(.admin-page) .profile-section {
  margin: 0;
  padding: 28px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--domio-line);
  border-radius: 0;
  box-shadow: none;
}
.template-4:not(.admin-page) .profile-section:first-child { padding-top: 0; }
.template-4:not(.admin-page) .profile-section h2,
.template-4:not(.admin-page) .profile-section-head h2 { margin: 0 0 18px; font-size: 18px; font-weight: 700; }
.template-4:not(.admin-page) .profile-section-head { align-items: end; gap: 20px; margin-bottom: 18px; }
.template-4:not(.admin-page) .profile-section-head .eyebrow { margin-bottom: 7px; font-weight: 400; }
.template-4:not(.admin-page) .profile-section-head > span { color: #737b84; font-size: 10px; }
.template-4:not(.admin-page) .profile-price-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 18px;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--domio-line);
  border-radius: 6px;
}
.template-4:not(.admin-page) .profile-price-row + .profile-price-row { margin-top: 8px; }
.template-4:not(.admin-page) .profile-price-row a { color: var(--domio-ink); font-size: 13px; font-weight: 700; }
.template-4:not(.admin-page) .profile-price-row p { margin: 5px 0; color: #4f575f; font-size: 12px; line-height: 1.65; }
.template-4:not(.admin-page) .profile-price-row small { color: #737b84; font-size: 10px; }
.template-4:not(.admin-page) .profile-price-action { align-items: flex-end; min-width: 150px; }
.template-4:not(.admin-page) .profile-price-action strong { font-size: 16px; font-weight: 400; letter-spacing: -.02em; }
.template-4:not(.admin-page) .profile-price-row a.order-service-button { font-weight: 400; }
.template-4:not(.admin-page) .portfolio-grid { grid-template-columns: repeat(3,1fr); gap: 8px; }
.template-4:not(.admin-page) .portfolio-grid figure { overflow: hidden; border-radius: 7px; }
.template-4:not(.admin-page) .company-map iframe { height: 300px; margin-top: 15px; border: 1px solid var(--domio-line); border-radius: 6px; }
.template-4:not(.admin-page) .profile-description p,
.template-4:not(.admin-page) .profile-description li { color: #4f575f; font-size: 14px; line-height: 1.78; }
.template-4:not(.admin-page) .profile-sidebar { position: sticky; top: 18px; display: grid; gap: 12px; }
.template-4:not(.admin-page) .sidebar-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--domio-line);
  border-radius: 7px;
  box-shadow: none;
}
.template-4:not(.admin-page) .sidebar-card h2 { margin: 0 0 14px; font-size: 16px; font-weight: 700; }
.template-4:not(.admin-page) .sidebar-card h3 { margin: 19px 0 8px; padding-top: 18px; border-top: 1px solid var(--domio-line); font-size: 12px; }
.template-4:not(.admin-page) .contact-actions { display: grid; gap: 8px; margin: 0; }
.template-4:not(.admin-page) .contact-actions a,
.template-4:not(.admin-page) .contact-reveal { min-height: 42px; padding: 10px 12px; color: #303940; background: #f6f7f8; border: 1px solid #bfc8d1; border-radius: 5px; font-size: 12px; font-weight: 600; }
.template-4:not(.admin-page) .social-actions { gap: 6px; }
.template-4:not(.admin-page) .social-actions a { padding: 7px 9px; color: #56616c; background: #eef0f2; border-radius: 4px; font-size: 11px; }
.template-4:not(.admin-page) .opening-hours-list,
.template-4:not(.admin-page) .additional-list,
.template-4:not(.admin-page) .company-legal dl { color: #626b74; font-size: 11px; line-height: 1.65; }
.template-4:not(.admin-page) .review-summary > div,
.template-4:not(.admin-page) .review-card { border-radius: 7px; }

/* Formularze, logowanie i konto */
.template-4:not(.admin-page) .public-submission-section { padding: 50px 0; background: #f5f7f8; }
.template-4:not(.admin-page) .public-submission-shell { width: min(1000px,calc(100% - 40px)); }
.template-4:not(.admin-page) .public-submission-section > .shell > .section-head { text-align: center; }
.template-4:not(.admin-page) .public-submission-section > .shell > .section-head > div { width: 100%; }
.template-4:not(.admin-page) .public-submission-section .section-head h2 { font-size: 32px; letter-spacing: -.035em; }
.template-4:not(.admin-page) .public-submission-section .section-head p { margin: 9px 0 0; color: #626c76; }
.template-4:not(.admin-page) .public-company-form { display: grid; gap: 18px; padding: 0; background: transparent; border: 0; box-shadow: none; }
.template-4:not(.admin-page) .public-company-form > fieldset,
.template-4:not(.admin-page) .account-registration-fieldset {
  margin: 0;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--domio-line) !important;
  border-radius: 7px;
  box-shadow: none;
}
.template-4:not(.admin-page) .public-company-form legend { padding: 0 8px; color: var(--domio-ink); font-size: 18px; font-weight: 700; }
.template-4:not(.admin-page) .public-company-form .form-grid { gap: 17px; }
.template-4:not(.admin-page) .public-company-form label { gap: 7px; color: #343a40; font-size: 12px; font-weight: 600; }
.template-4:not(.admin-page) .public-company-form input:not([type=checkbox]):not([type=radio]),
.template-4:not(.admin-page) .public-company-form select,
.template-4:not(.admin-page) .public-company-form textarea,
.template-4:not(.admin-page) .account-auth input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: #30363b;
  background: #fff;
  border: 1px solid #cfd5db;
  border-radius: 4px;
  font-weight: 400;
  outline: none;
}
.template-4:not(.admin-page) .public-company-form input:focus,
.template-4:not(.admin-page) .public-company-form select:focus,
.template-4:not(.admin-page) .public-company-form textarea:focus,
.template-4:not(.admin-page) .account-auth input:focus { border-color: #6f96cf; box-shadow: 0 0 0 3px rgba(36,95,197,.1); }
.template-4:not(.admin-page) .public-company-form label small { color: #6c747d; font-size: 12px; font-weight: 400; }
.template-4:not(.admin-page) .consent-check { font-weight: 400; }
.template-4:not(.admin-page) .public-submit-button { justify-self: start; min-width: 245px; min-height: 48px; font-size: 14px; }
.template-4:not(.admin-page) .account-auth,
.template-4:not(.admin-page) .login-page { min-height: 680px; padding: 50px 20px; background: #f5f7f8; }
.template-4:not(.admin-page) .account-auth .login-card,
.template-4:not(.admin-page) .account-auth .account-register-card,
.template-4:not(.admin-page) .account-auth .password-reset-card {
  display: grid;
  gap: 18px;
  width: min(470px,100%);
  margin: 0 auto;
  padding: 32px 36px;
  background: #fff;
  border: 1px solid var(--domio-line);
  border-radius: 8px;
  box-shadow: 0 12px 35px rgba(31,42,55,.06);
}
.template-4:not(.admin-page) .account-auth .account-register-card { width: min(620px,100%); }
.template-4:not(.admin-page) .account-auth .login-card h1 { margin: 0 0 7px; font-size: 26px; font-weight: 700; }
.template-4:not(.admin-page) .account-auth .login-card label { gap: 7px; color: #343a40; font-size: 12px; font-weight: 600; }
.template-4:not(.admin-page) .forgot-password-link { color: var(--domio-blue); font-size: 11px; }
.template-4:not(.admin-page) .login-page.account-auth {
  min-height: calc(100vh - 72px);
  padding: 60px 20px;
  background: #f4f7fb;
}
.template-4:not(.admin-page) .account-auth .account-login-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: min(440px,100%);
  padding: 30px;
  border-radius: 12px;
}
.template-4:not(.admin-page) .account-auth .account-login-card > * { margin-top: 0; margin-bottom: 0; }
.template-4:not(.admin-page) .account-auth .account-login-card .eyebrow { margin-bottom: 0; }
.template-4:not(.admin-page) .account-auth .account-login-card h1 { margin: 0; font-size: 28px; }
.template-4:not(.admin-page) .account-auth .account-login-card label + label { margin-top: 0; }
.template-4:not(.admin-page) .account-auth .account-login-card .account-login-lead,
.template-4:not(.admin-page) .account-auth .account-login-card .account-login-security,
.template-4:not(.admin-page) .account-auth .account-login-card .forgot-password-link,
.template-4:not(.admin-page) .account-auth .account-login-card .account-login-register {
  color: #697381;
  font-family: "Open Sans",Arial,sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}
.template-4:not(.admin-page) .account-auth .account-login-card .account-login-turnstile {
  width: 100%;
  margin: 0;
}
.template-4:not(.admin-page) .account-auth .account-login-card .account-login-security { margin-top: -11px; }
.template-4:not(.admin-page) .account-auth .account-login-card .full { margin-top: 0; }
.template-4:not(.admin-page) .account-auth .account-login-card .forgot-password-link { text-align: left; }
.template-4:not(.admin-page) .account-auth .account-login-card .account-login-register a { font-weight: 700; }

@media (max-width: 520px) {
  .template-4:not(.admin-page) .login-page.account-auth { padding: 34px 16px; }
  .template-4:not(.admin-page) .account-auth .account-login-card { padding: 26px 22px; }
}

.template-4:not(.admin-page) .account-dashboard-hero {
  padding: 50px 0;
  color: var(--domio-ink);
  background: #f6f7f7;
  border: 0;
}
.template-4:not(.admin-page) .account-dashboard-hero .eyebrow { color: #5d6a65; }
.template-4:not(.admin-page) .account-dashboard-hero h1 { margin: 0 0 6px; color: var(--domio-ink); font-size: 24px; font-weight: 600; }
.template-4:not(.admin-page) .account-dashboard-hero p { margin: 0; color: #687079; }
.template-4:not(.admin-page) .account-dashboard { padding: 0 0 50px; background: #f6f7f7; }
.template-4:not(.admin-page) .account-dashboard > .section-head { margin: 26px 0 16px; }
.template-4:not(.admin-page) .account-dashboard > .section-head h2,
.template-4:not(.admin-page) .account-dashboard > h2 { font-size: 20px; font-weight: 700; }
.template-4:not(.admin-page) .account-dashboard > h2 { margin: 50px 0 16px; }
.template-4:not(.admin-page) .account-offer-row { grid-template-columns: 1fr 1fr; gap: 20px; }
.template-4:not(.admin-page) .account-card,
.template-4:not(.admin-page) .account-profile-settings {
  padding: 25px 28px;
  background: #fff;
  border: 1px solid #e0e4e6;
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(35,44,38,.035);
}
.template-4:not(.admin-page) .account-card h2 { font-size: 19px; }
.template-4:not(.admin-page) .account-card-actions a { color: #3e5f88; font-size: 11px; }
.template-4:not(.admin-page) .account-profile-settings h3 { font-size: 15px; }
.template-4:not(.admin-page) .account-profile-dates { font-size: 11px; }

/* Stopka */
.template-4:not(.admin-page) footer.site-footer {
  position: relative;
  margin: 0;
  padding: 54px 0 22px;
  color: #c9d1dc;
  background: #18263a;
  border-radius: 0;
  box-shadow: none;
}
.template-4:not(.admin-page) footer .footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 60px; padding: 0; }
.template-4:not(.admin-page) footer .footer-grid > div { display: grid; align-content: start; gap: 9px; }
.template-4:not(.admin-page) footer .footer-grid > div:first-child { width: auto; max-width: none; }
.template-4:not(.admin-page) footer .footer-grid b { margin-bottom: 6px; color: #fff; font-size: 13px; }
.template-4:not(.admin-page) footer .footer-brand { margin: 0; color: #fff; font-size: 24px; font-weight: 700; letter-spacing: -.04em; }
.template-4:not(.admin-page) footer .footer-grid p { max-width: 330px; margin: 7px 0 0; color: #aeb9c7; font-size: 12px; line-height: 1.7; }
.template-4:not(.admin-page) footer .footer-grid a { color: #bfc8d5; font-size: 12px; }
.template-4:not(.admin-page) footer .footer-grid a:hover { color: #fff; }
.template-4:not(.admin-page) footer .footer-bottom { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 20px; color: #8492a5; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }

@media (max-width: 1050px) {
  .template-4:not(.admin-page) .company-grid { grid-template-columns: repeat(2,1fr); }
  .template-4:not(.admin-page) .service-filter-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .admin-page .template-choice-grid { grid-template-columns: 1fr; }
  .template-4:not(.admin-page) .site-header nav { display: none; }
  .template-4:not(.admin-page) .microtask-hero-search { grid-template-columns: 1fr 1fr; gap: 10px; }
  .template-4:not(.admin-page) .microtask-hero-search label { padding: 9px 12px; border: 1px solid var(--domio-line); border-radius: 5px; }
  .template-4:not(.admin-page) .microtask-hero-search button { grid-column: 1 / -1; width: 100%; }
  .template-4:not(.admin-page) .category-grid,
  .template-4:not(.admin-page) .popular-service-grid,
  .template-4:not(.admin-page) .service-group-grid { grid-template-columns: repeat(2,1fr); }
  .template-4:not(.admin-page) .microtask-promise .shell { grid-template-columns: 1fr; gap: 24px; }
  .template-4:not(.admin-page) .template-four-trust-strip .shell { grid-template-columns: 1fr; gap: 24px; }
  .template-4:not(.admin-page) footer .footer-grid { grid-template-columns: 1fr; }
  .template-4:not(.admin-page) footer .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .template-4:not(.admin-page) .comparison-list,
  .template-4:not(.admin-page) .profile-layout,
  .template-4:not(.admin-page) .profile-hero-grid,
  .template-4:not(.admin-page) .account-offer-row { grid-template-columns: 1fr; }
  .template-4:not(.admin-page) .profile-sidebar { position: static; }
  .template-4:not(.admin-page) .provider-website-screen { max-width: 600px; }
  .template-4:not(.admin-page) .profile-hero-with-screen .provider-website-screen { transform: none; }
  .template-4:not(.admin-page) .service-filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .template-4:not(.admin-page) .hero-grid > div > p { font-size: 15px; line-height: 1.6; }
  .template-4:not(.admin-page) .section-head h2 { font-size: 24px; }
  .template-4:not(.admin-page) .template-four-portal-grid { grid-template-columns: 1fr; gap: 20px; }
  .template-4:not(.admin-page) .template-four-portal-extra { grid-column: auto; }
  .template-4:not(.admin-page) .template-four-portal-copy h2 { font-size: 27px; }
}

@media (max-width: 620px) {
  .template-4:not(.admin-page) .shell { width: min(calc(100% - 28px),1180px); }
  .template-4:not(.admin-page) .site-header { height: 64px; }
  .template-4:not(.admin-page) .brand { font-size: 20px; }
  .template-4:not(.admin-page) .hero.microtask-hero { padding-top: 48px; }
  .template-4:not(.admin-page) .hero h1,
  .template-4:not(.admin-page) .hero.microtask-hero h1 { font-size: 36px; }
  .template-4:not(.admin-page) .microtask-hero-search,
  .template-4:not(.admin-page) .category-grid,
  .template-4:not(.admin-page) .popular-service-grid,
  .template-4:not(.admin-page) .company-grid,
  .template-4:not(.admin-page) .service-group-grid,
  .template-4:not(.admin-page) .service-directory-list,
  .template-4:not(.admin-page) .service-filter-grid,
  .template-4:not(.admin-page) .portfolio-grid { grid-template-columns: 1fr; }
  .template-4:not(.admin-page) .template-four-hero-benefits { grid-template-columns: 1fr; gap: 10px; width: 100%; }
  .template-4:not(.admin-page) .section-head,
  .template-4:not(.admin-page) .service-hero-copy,
  .template-4:not(.admin-page) .profile-section-head { align-items: flex-start; flex-direction: column; }
  .template-4:not(.admin-page) .service-result-count { width: 100%; }
  .template-4:not(.admin-page) .comparison-main,
  .template-4:not(.admin-page) .comparison-card:only-child .comparison-main,
  .template-4:not(.admin-page) .profile-price-row { grid-template-columns: 1fr; }
  .template-4:not(.admin-page) .comparison-price,
  .template-4:not(.admin-page) .comparison-card:only-child .comparison-price,
  .template-4:not(.admin-page) .profile-price-action { align-items: flex-start; min-width: 0; }
  .template-4:not(.admin-page) .comparison-card:only-child .comparison-price { padding: 14px 0 0; border-top: 1px solid #eceeef; border-left: 0; }
  .template-4:not(.admin-page) .compare-cta { align-self: stretch; }
  .template-4:not(.admin-page) .public-submission-shell { width: min(calc(100% - 28px),1000px); }
  .template-4:not(.admin-page) .public-company-form > fieldset,
  .template-4:not(.admin-page) .account-registration-fieldset { padding: 22px 18px; }
}
.service-short-description {
  margin-top: 22px;
  max-width: 780px;
  color: #425047;
  font-size: 14px;
  line-height: 1.75;
}
.catalog-search-services { margin-top: 24px; font-size: 14px; }
.catalog-search-services p { margin: 0 0 10px; }
.catalog-search-services > div { display: flex; flex-wrap: wrap; gap: 10px; }
.catalog-search-services a { padding: 9px 14px; border: 1px solid #dce3ec; border-radius: 5px; background: #fff; color: #245fc5; font-weight: 400; }
.service-short-description p { margin: 0 0 10px; }
.service-seo-description {
  margin: 50px 0 0;
  padding: 34px 38px;
  border: 1px solid #dbe4df;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  line-height: 1.8;
}
.taxonomy-service-seo-list { margin-top: 22px; }
.taxonomy-service-seo-list > summary { cursor: pointer; font-weight: 600; }
.taxonomy-service-seo-list > div { display: grid; gap: 8px; margin-top: 14px; }
.taxonomy-service-seo-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px;
  border: 1px solid #dfe6e2;
  border-radius: 7px;
  background: #fff;
  color: #18221d;
  text-decoration: none;
}
.taxonomy-service-seo-list a small { color: #68756e; font-weight: 400; }
.service-seo-editor label { display: grid; gap: 8px; }

/* Gotowe logotypy Doint: pełny znak zamiast ikony i powtórzonej nazwy. */
body .brand .catalog-brand-logo { display: block; position: relative; flex: 0 0 auto; width: 120px; height: 40px; overflow: hidden; }
body .brand .catalog-brand-logo img { position: absolute; top: 50%; left: 50%; width: 150px; max-width: none; height: 75px; transform: translate(-50%,-50%); object-fit: contain; }
/* v55: scoped administrator company editor; public pages stay unchanged. */
body.admin-company-editor .admin-head .shell,
body.admin-company-editor .company-editor-shell { max-width: 1180px; margin-inline: auto; }
body.admin-company-editor .admin-head h1 { font-size: 26px; line-height: 1.3; margin-bottom: 18px; }
.company-editor-navigation { display: flex; flex-wrap: wrap; gap: 10px; }
body.admin-company-editor .company-editor-shell { padding-top: 24px; }
body.admin-company-editor .company-form { padding: 0; background: transparent; box-shadow: none; }
body.admin-company-editor .company-form fieldset { min-width: 0; margin: 0 0 24px; padding: 24px; border: 1px solid #dce3ec; border-radius: 12px; background: #fff; }
body.admin-company-editor .company-form legend { padding: 0 8px; font-size: 16px; font-weight: 600; color: #23344d; }
body.admin-company-editor .company-form .form-grid { gap: 20px 24px; }
body.admin-company-editor .company-form label { font-size: 13px; font-weight: 500; line-height: 1.6; }
body.admin-company-editor .company-form input:not([type=checkbox]):not([type=radio]),
body.admin-company-editor .company-form select,
body.admin-company-editor .company-form textarea { font-size: 14px; font-weight: 400; border-radius: 8px; border-color: #cbd5e1; background-color: #fff; }
body.admin-company-editor .company-form textarea { line-height: 1.75; }
body.admin-company-editor #company_description { min-height: 260px; }
body.admin-company-editor #editor-description { scroll-margin-top: 30px; }
body.admin-company-editor .company-form small { font-weight: 400; line-height: 1.6; }
body.admin-company-editor .company-form .switch { font-weight: 400; }
.company-description-ai { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 12px 0 18px; padding: 20px; background: #f0f5fc; border: 1px solid #d6e3f5; border-radius: 10px; }
.company-description-ai strong { display: block; font-size: 15px; font-weight: 600; color: #23344d; }
.company-description-ai p { margin: 6px 0 0; font-size: 13px; line-height: 1.65; font-weight: 400; color: #52627a; }
body.admin-company-editor .company-description-ai button { flex: 0 0 auto; min-height: 44px; margin: 0; font-size: 14px; font-weight: 400; }
body.admin-company-editor .form-actions { padding: 20px 0; border-top: 1px solid #dce3ec; gap: 12px; }
body.admin-company-editor .form-actions button,
body.admin-company-editor .company-editor-navigation a { font-weight: 400; }
@media(max-width:800px) {
  .company-description-ai { flex-direction: column; align-items: stretch; gap: 14px; }
  body.admin-company-editor .company-form fieldset { padding: 18px; }
  body.admin-company-editor .company-form .form-grid { grid-template-columns: minmax(0,1fr); }
}

.catalog-logo-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.settings-form .catalog-logo-option { display: grid; grid-template-columns: 20px minmax(0,1fr); align-content: start; align-items: center; gap: 10px; padding: 16px; border: 1px solid #dce3ec; border-radius: 12px; background: #fff; cursor: pointer; font-weight: 400; }
.settings-form .catalog-logo-option:has(input:checked) { border-color: #245fc5; box-shadow: 0 0 0 2px #245fc5; background: #f6f9ff; }
.settings-form .catalog-logo-option input[type=radio] { width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; accent-color: #245fc5; }
.catalog-logo-option img { grid-column: 1/-1; width: 100%; aspect-ratio: 2/1; object-fit: contain; background: #fff; border-radius: 6px; }
.catalog-logo-option small { grid-column: 1/-1; line-height: 1.6; }
@media(max-width:800px) { .catalog-logo-options { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:520px) { .catalog-logo-options { grid-template-columns: minmax(0,1fr); } }
