/* Additive styles: existing header, home layout, brand and palette stay in the theme. */
.kosz-search-options{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:12px;margin-top:8px;color:var(--ink,#10284d)}
.kosz-search-options label{display:flex;align-items:center;gap:7px}.kosz-search-options select{padding:8px;border:1px solid var(--line,#e5edf7);border-radius:8px;background:white;color:inherit}
.kosz-search-options .button{padding:8px 12px;white-space:nowrap}.kosz-search-options [data-location-status]{flex-basis:100%}
.kosz-company-visual{height:150px;position:relative;background:var(--pale,#f3f8ff);isolation:isolate;overflow:hidden}
.kosz-company-visual>a{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.kosz-company-visual img{width:100%;height:100%;display:block;object-fit:cover}.kosz-company-visual .icon{width:48px;height:48px}
.kosz-category-label{position:absolute;left:10px;bottom:10px;display:flex;align-items:center;gap:6px;padding:6px 9px;color:white;background:#50545acc;border-radius:6px;font-size:11px;max-width:calc(100% - 20px);line-height:1.3;pointer-events:none}
.kosz-category-label .icon{width:16px;height:16px;flex-shrink:0}.kosz-featured-badge{position:absolute;right:10px;top:10px;background:#0069f5;color:white;border-radius:6px;padding:6px 10px;font-size:11px;font-weight:700;pointer-events:none}
.company-actions>a:last-child{margin-left:auto;text-align:right}.kosz-distance{font-size:11px;color:var(--muted,#5d7190);margin:0}
.kosz-profile{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(280px,1fr);grid-template-areas:'main sidebar' 'description sidebar';gap:24px;align-items:start}
.kosz-profile-main{grid-area:main;min-width:0}.kosz-profile-sidebar{grid-area:sidebar;min-width:0;position:sticky;top:105px}.kosz-profile-description{grid-area:description;min-width:0;overflow-wrap:anywhere}
.kosz-profile h1{font-size:clamp(28px,3.8vw,48px);color:var(--navy,#062356);overflow-wrap:anywhere;line-height:1.15}.kosz-cover{height:auto;aspect-ratio:1.9;border-radius:14px}.kosz-cover .kosz-category-label{font-size:13px;padding:8px 11px}.kosz-cover .kosz-featured-badge{font-size:13px}
.kosz-profile-contact{background:var(--pale,#f3f8ff);padding:20px;border-radius:14px;border:1px solid var(--line,#e5edf7);overflow-wrap:anywhere}.kosz-profile-contact dl{margin:0 0 20px;display:grid;gap:20px}.kosz-profile-contact dl>div{position:relative;padding-left:34px}.kosz-profile-contact dl .icon{position:absolute;left:0;top:3px;color:var(--blue,#0069f5);width:22px;height:22px}.kosz-profile-contact dt{font-size:12px;color:var(--muted,#5d7190);margin-bottom:3px}.kosz-profile-contact dd{margin:0;line-height:1.6;font-size:15px}
.kosz-profile-actions{display:flex;gap:10px}.kosz-profile-actions .button{flex:1;min-width:0;white-space:nowrap;padding:13px 12px}.kosz-desktop-actions{flex-direction:column}.kosz-mobile-actions{display:none}
.kosz-profile-map{height:190px;position:relative;margin-top:20px;isolation:isolate;overflow:hidden;border-radius:12px}.kosz-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.kosz-gallery img{width:100%;height:90px;object-fit:cover;border-radius:9px;display:block}.kosz-profile-description h2{font-size:26px;margin:0 0 16px}.kosz-profile-description>section{margin-bottom:24px}.kosz-offer{padding:20px;background:var(--pale,#f3f8ff);border-radius:12px}.kosz-social,.kosz-share{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;font-size:13px}
.kosz-cluster{border:3px solid white;border-radius:50%;background:#0069f5;color:white;box-shadow:0 2px 10px #06235650;font:bold 13px/36px 'Segoe UI',sans-serif;text-align:center;cursor:pointer}
.kosz-firm-pin{background:#ff0736;border:3px solid white;border-radius:50%;box-shadow:0 2px 8px #06235650}.kosz-firm-pin.featured{background:#0069f5}.region-map .leaflet-control-layers{max-width:170px;font-size:11px}.region-map:focus-visible{outline:3px solid #0069f5}
.map-card [data-map-status]{max-height:60px;overflow:auto;pointer-events:auto}.kosz-map-tools{margin:8px}.kosz-map-tools button{background:white;border:1px solid #ddd;padding:8px;border-radius:6px;color:#062356;box-shadow:0 2px 6px #0002}
@media(max-width:640px){.kosz-company-visual{height:120px}.kosz-featured-badge{right:6px;top:6px;font-size:9px;padding:5px 7px}.kosz-category-label{left:6px;bottom:6px;font-size:9px;padding:5px 6px;max-width:calc(100% - 12px)}.kosz-profile{grid-template-columns:minmax(0,1fr);grid-template-areas:'main' 'sidebar' 'description';gap:20px}.kosz-profile-sidebar{position:static}.kosz-profile-contact{background:white;padding:0;border:0}.kosz-profile-contact dl{gap:14px;margin-bottom:0}.kosz-profile-contact dt{display:none}.kosz-profile-contact dd{font-size:14px}.kosz-profile-contact dl>div{padding-left:30px}.kosz-profile h1{font-size:29px;margin-bottom:16px}.kosz-cover{aspect-ratio:1.6}.kosz-desktop-actions{display:none}.kosz-mobile-actions{position:fixed;z-index:1100;bottom:0;left:0;right:0;display:flex;background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid #e5edf7;padding:10px 14px max(10px,env(safe-area-inset-bottom));box-shadow:0 -4px 20px #0623560c}.single-kosz_firma .bottom-nav{display:none}.single-kosz_firma{padding-bottom:90px}.kosz-gallery img{height:65px}.kosz-profile-description h2{font-size:23px}.kosz-search-options{gap:9px}.directory-search .kosz-search-options .button{width:auto;height:auto;border-radius:8px;padding:9px 12px}.kosz-profile-actions .icon{width:20px;height:20px}.map-card-heading h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){.kosz-profile *{scroll-behavior:auto}}

@media(max-width:640px){.kosz-profile-main{display:flex;flex-direction:column}.kosz-profile-main>.kosz-cover{order:0}.kosz-profile-main>h1{order:1;margin-top:16px;margin-bottom:0}.kosz-profile-main>.kosz-gallery{order:2}}
.kosz-company-visual.kosz-cover{height:auto}.portal-footer a{color:#d4e1f3}
