/* UkrPoslugy premium visual system. Only presentation; no retired features restored. */
:root{
 --navy:#102749;--blue:#1754bc;--yellow:#efbf60;--gold:#e8b44d;
 --bg:#f4f7fc;--muted:#61718a;--line:#dce5f1;--white:#fff;
 --radius:18px;--surface:#fff;--surface-alt:#edf4fc;--shadow:0 16px 45px rgba(16,39,73,.08);
}
html{scroll-behavior:smooth}
body{background:#fbfcff;color:var(--navy);font-family:"Manrope",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.6;letter-spacing:-.005em}
main{min-height:55vh}
.container{max-width:1400px;padding-inline:32px}
.section{padding-top:38px;padding-bottom:38px}
h1,h2,h3{letter-spacing:-.045em;line-height:1.18;color:#102749}
h1{font-size:clamp(28px,3vw,46px);margin:12px 0 20px;font-weight:800}
h2{font-size:clamp(22px,2.05vw,30px);font-weight:800}
h3{font-size:18px;font-weight:800}
p{margin:10px 0;line-height:1.65}
a{color:var(--blue)}
a:hover{color:#0a3d99}
.ui-icon{display:inline-block;flex-shrink:0;vertical-align:middle}
.button{min-height:43px;padding:10px 19px;border-radius:13px;background:linear-gradient(140deg,#ffe5a4 0%,#efc166 53%,#dba446 100%);border:1px solid #e6bb62;color:#1c2a42;box-shadow:0 3px 8px rgba(211,153,42,.1);font-size:13px;font-weight:800;transition:filter .2s ease,box-shadow .2s ease,transform .2s ease}
.button:hover{background:linear-gradient(140deg,#ffeab9,#edba52);border-color:#deb05d;color:#1c2a42;box-shadow:0 8px 22px rgba(211,153,42,.23);transform:translateY(-1px)}
.button:active{transform:translateY(0)}
.button .ui-icon{margin:0 1px}
.button.secondary{background:#fff;color:var(--navy);border-color:var(--line);box-shadow:none}
.button.secondary:hover{background:#eef4fd;color:var(--blue);border-color:#b6d0f7}
.text-btn{font:inherit;font-weight:700;color:var(--blue)}
label{color:#243d60;font-size:12.5px;gap:6px;margin-bottom:13px;font-weight:800}
input,select,textarea{min-height:43px;padding:10px 13px;border:1px solid #d8e3f2;border-radius:11px;color:var(--navy);background:#fff;font-size:13px;transition:border-color .18s ease,box-shadow .18s ease}
input:focus,textarea:focus,select:focus{border-color:#6496db;box-shadow:0 0 0 3px #dbeafe}
fieldset{border-color:var(--line);border-radius:16px;padding:24px;margin-bottom:22px}
legend{padding:0 8px;color:var(--navy)}
label.check{font-weight:600;font-size:13px}
.narrow{max-width:860px}
.narrow>form,.business-first-step,.narrow>.prose{background:#fff}
.notice,.errors,.panel,.review{border:1px solid var(--line);box-shadow:0 5px 18px rgba(26,53,91,.035);border-radius:16px}
.eyebrow,.muted{color:var(--muted)}
.crumb{font-size:12px;color:#657893;margin-bottom:18px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.crumb a{color:#2a63b3;font-weight:650}
.crumb span[aria-current]{font-weight:700;color:#405978}

/* Header / brand */
.site-header{background:rgba(255,255,255,.96);border-bottom:1px solid #e3eaf5;position:relative;z-index:30;box-shadow:0 2px 12px rgba(14,42,79,.025)}
.site-header .nav{min-height:71px;gap:25px}
.brand{display:inline-flex;align-items:center;gap:11px;color:#102749!important;font-size:23px;letter-spacing:-1.1px;font-weight:800;text-decoration:none!important}
.brand .brand-word>span{color:#225fc6}
.brand-heart{width:28px;height:26px;background:linear-gradient(180deg,#126ed3 0% 51%,#f6c648 51% 100%);clip-path:polygon(50% 98%,8% 57%,1% 39%,2% 20%,14% 5%,32% 4%,50% 22%,68% 4%,86% 5%,98% 20%,99% 39%,92% 57%);border-radius:7px;filter:drop-shadow(0 2px 3px #174b9030)}
.brand .brand-word{white-space:nowrap}
.brand i{display:none}
.nav-links{gap:25px}
.nav-links>a:not(.button){display:inline-flex;gap:8px;align-items:center;color:#243e65;font-size:13px;font-weight:750;white-space:nowrap}
.nav-links>a:not(.button):hover{color:var(--blue);text-decoration:none}
.nav-links .nav-cta{min-height:39px;padding:8px 17px;white-space:nowrap}
.nav-links form{margin:0}
.nav-links .text-btn{font-size:13px}
.nav-links .ui-icon{stroke-width:1.9}

/* Homepage hero */
.premium-hero{position:relative;isolation:isolate;min-height:420px;padding:56px 0 28px;overflow:visible;background:linear-gradient(112deg,#eaf2ff,#f8efe5 78%,#fff7e5);border-bottom:1px solid #e9eff8}
.premium-hero .hero-backdrop{position:absolute;inset:0;z-index:-1;pointer-events:none;background:
 linear-gradient(90deg,rgba(238,245,255,.96) 0%,rgba(239,246,255,.94) 34%,rgba(243,245,250,.63) 55%,rgba(233,241,249,.06) 100%),
 url("https://images.unsplash.com/photo-1467269204594-9661b134dd2b?auto=format&fit=crop&w=1700&q=82") right 43%/cover no-repeat}
.premium-hero .hero-backdrop::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(250,252,255,.64),transparent 56%)}
.hero-inner{position:relative}
.hero-intro{max-width:710px;padding-bottom:25px}
.hero-kicker{display:inline-flex;align-items:center;gap:9px;background:rgba(255,255,255,.79);border:1px solid #dbe6fa;border-radius:30px;font-size:11px;font-weight:800;color:#2553a0;padding:7px 13px;box-shadow:0 4px 15px #243a7010}
.kicker-dot{width:8px;height:8px;background:#ecbb50;border-radius:50%}
.premium-hero h1{font-size:clamp(37px,3.8vw,58px);font-weight:800;line-height:1.13;letter-spacing:-.055em;max-width:640px;margin:22px 0 13px;text-wrap:balance}
.premium-hero .hero-text{max-width:500px;font-size:16px;line-height:1.65;color:#435b7d;font-weight:500}
.premium-hero .hero-search{background:rgba(255,255,255,.97);backdrop-filter:blur(10px);box-shadow:0 24px 60px rgba(14,48,97,.16);border:1px solid rgba(255,255,255,.93);border-radius:20px;padding:16px;gap:11px;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(125px,.65fr);margin:16px 0 0;align-items:stretch;position:relative;z-index:10}
.hero-search label{background:#fbfcff;border:1px solid #e5ebf5;border-radius:12px;padding:9px 12px 8px;min-width:0;margin:0}
.hero-search label:focus-within{border-color:#87ace6;background:#fff}
.search-field-label{display:flex;align-items:center;gap:6px;color:#34527d;font-weight:800;font-size:11px;line-height:1.2}
.search-field-label .ui-icon{color:#2660b4}
.hero-search select,.hero-search .combo-input{min-height:30px;height:34px;padding:4px 7px;border:0!important;background:transparent!important;color:#163761;font-size:12px;font-weight:650;box-shadow:none!important}
.hero-search .combo::after{top:10px}
.hero-search>.button{min-height:100%;padding-inline:9px;gap:8px}
.hero-search .combo-options{top:calc(100% + 11px)}
.hero-search .combo-input:focus{outline:2px dashed #3772cc!important;outline-offset:-1px!important;border-radius:6px}

/* Section chrome */
.section-heading{margin-bottom:18px}
.section-heading h2{margin:2px 0 0}
.section-kicker{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.18em;color:#4e79b2}
.section-link{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:800;white-space:nowrap}
.tile-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.category-tile{position:relative;min-height:98px;display:flex;flex-direction:row;align-items:center;gap:14px;padding:18px;border:1px solid #e5ebf4;background:#fff;border-radius:17px;box-shadow:0 9px 28px rgba(14,39,77,.055);color:var(--navy)}
.category-tile:hover{border-color:#9abde6;box-shadow:0 15px 32px #122d5a18;transform:translateY(-2px);text-decoration:none}
.tile-icon{width:43px;height:43px;flex-shrink:0;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#e9f2ff;color:#2365c3}
.category-tile:nth-child(4n+2) .tile-icon{background:#fff0eb;color:#d95a58}
.category-tile:nth-child(4n+3) .tile-icon{background:#fff1d8;color:#b8792d}
.category-tile:nth-child(4n+4) .tile-icon{background:#ecf8f1;color:#32916f}
.tile-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.tile-info strong{font-size:13px;line-height:1.35;font-weight:800;overflow-wrap:anywhere}
.tile-info>span{font-size:10px;color:#7d899b}
.tile-arrow{margin-left:auto;color:#3567ae;align-self:end;display:flex}
.home-cities{padding-top:16px}
.city-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.city-tile{min-height:128px;position:relative;display:flex;align-items:flex-end;gap:12px;padding:18px 14px;border-radius:17px;overflow:hidden;color:#fff!important;text-decoration:none!important;background:linear-gradient(140deg,#224775 5%,#255ea1 50%,#749ec7)}
.city-tile:nth-child(5n+2){background:linear-gradient(140deg,#173d73,#3776b3 70%,#8cb9c2)}
.city-tile:nth-child(5n+3){background:linear-gradient(140deg,#2b4a7a,#536aa1 68%,#c3a8ba)}
.city-tile:nth-child(5n+4){background:linear-gradient(140deg,#28456e,#466d95 65%,#dfa87a)}
.city-tile:nth-child(5n){background:linear-gradient(140deg,#102f5b,#547ab4 70%,#9ec7dd)}
.city-tile::before{content:"";position:absolute;inset:auto -12% -65px -12%;height:118px;background:#0c2d60;opacity:.26;border-radius:50%}
.city-tile-art{position:absolute;top:11px;right:12px;opacity:.21;transform:scale(1.75)}
.city-tile-text{display:flex;flex-direction:column;gap:2px;position:relative;min-width:0;flex:1}
.city-tile strong{font-size:14px;letter-spacing:-.03em}
.city-tile small{font-size:10px;line-height:1.45;opacity:.9}
.city-tile>.ui-icon{position:relative;flex-shrink:0;align-self:flex-end;opacity:.9}
.city-tile:hover{transform:translateY(-2px);box-shadow:0 12px 30px #164f8a2e}
.home-how{background:linear-gradient(165deg,#f0f5fc,#f8fbff);margin:14px 0 6px}
.steps{margin:20px 0 0;gap:15px}
.step-card{position:relative;border:1px solid #e5ebf5;background:#fff;padding:21px;min-height:136px;border-radius:18px;box-shadow:0 8px 20px #132d5110}
.steps .step-icon{display:flex;width:43px;height:43px;border-radius:14px;background:#e6f0ff;color:#215cc0;align-items:center;justify-content:center}
.step-index{position:absolute;top:20px;right:20px;color:#cdd9e9;font-weight:800;font-size:19px}
.steps h3{font-size:14px;margin:17px 0 0;line-height:1.5}

/* Business CTA */
.premium-cta{position:relative;min-height:172px;display:flex;gap:24px;align-items:center;border-radius:20px;background:linear-gradient(112deg,#0b2244 0%,#123568 61%,#15559c 100%);color:#fff;overflow:hidden;padding:30px 36px;box-shadow:0 18px 32px #102b4a21}
.premium-cta .cta-copy{position:relative;z-index:1;max-width:590px}
.premium-cta .cta-eyebrow{font-size:11px;font-weight:800;color:#f1c466;letter-spacing:.1em;text-transform:uppercase}
.premium-cta h2{color:#fff;font-size:clamp(20px,2.1vw,29px);line-height:1.28;margin:7px 0}
.premium-cta p{color:#d5e2f5;margin:0;font-size:12px}
.premium-cta .cta-button{position:relative;z-index:1;flex-shrink:0;margin-left:auto}
.cta-art{position:absolute;right:-20px;bottom:-145px;width:370px;height:370px;border-radius:50%;border:1px solid #8cafda44;box-shadow:0 0 0 40px #8cafda12,0 0 0 100px #8cafda0d;pointer-events:none}
.cta-art::before{content:"";position:absolute;inset:25%;border:1px dashed #e6be6d77;border-radius:50%}

/* Search listing: tasteful top, practical filters, three dense cards */
.directory-search-page{max-width:1560px;padding-top:30px}
.directory-search-page::before{content:"";position:absolute;top:72px;left:0;right:0;height:232px;background:linear-gradient(110deg,#e7f1ff 3%,#f9fafc 62%,#eaf2ff);z-index:-1;pointer-events:none}
.directory-search-page>h1{font-size:clamp(27px,2.9vw,41px);margin:10px 0 8px}
.directory-search-page>p{font-size:13px;font-weight:650;color:#5e7392;margin:0 0 25px}
.directory-search-page .listing{grid-template-columns:minmax(260px,296px) minmax(0,1fr);gap:22px}
.filter-sidebar{align-self:start}
.directory-search-page .filter-panel{background:linear-gradient(180deg,#fff,#f9fbff);border:1px solid #e2e9f4;border-radius:17px;box-shadow:0 10px 35px #173a7010;padding:20px}
.filter-panel summary{display:flex;align-items:center;gap:9px;cursor:pointer;list-style:none;margin-bottom:7px}
.filter-panel summary::-webkit-details-marker{display:none}
.filter-panel summary::after{content:"⌄";margin-left:auto;font-size:17px;color:#6786ac}
.directory-search-page .filter-panel summary{font-size:16px}
.directory-search-page .filter-panel label{font-size:12px;margin-bottom:12px;color:#294362}
.directory-search-page .filter-panel input:not([type=checkbox]),.directory-search-page .filter-panel select{font-size:12px!important;min-height:40px;border-radius:10px;padding:8px 12px}
.directory-search-page .filter-panel input[type=checkbox]{width:17px;height:17px;min-height:17px}
.filter-panel .button{width:100%;margin:4px 0 9px}
.filter-panel form>a[href="/search/"]{display:block;text-align:center;font-size:12px;font-weight:750;padding:5px}
.directory-search-page .result-toolbar{margin-bottom:13px}
.result-toolbar .chips>span{border:1px solid #dce8f8;background:#eaf2ff;color:#28518e;font-size:11px;font-weight:700;padding:7px 12px}
.directory-search-page .results{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.card-entire-link{border:1px solid #e0e9f5;border-radius:17px;box-shadow:0 9px 25px rgba(19,53,100,.055);background:#fff;min-height:260px;display:flex;flex-direction:column;overflow:hidden;transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.card-entire-link:hover{color:var(--navy);border-color:#b3caec;box-shadow:0 18px 38px #153e791f;transform:translateY(-3px)}
.card-cover{height:110px;overflow:hidden;position:relative;background:#e8f1fb}
.card-cover img{height:100%;width:100%;object-fit:cover;transition:transform .3s ease}
.card-entire-link:hover .card-cover img{transform:scale(1.035)}
.card-cover--abstract{height:65px;background:linear-gradient(115deg,#e8f2fe,#f1f5fe 53%,#faf5e9);display:flex;justify-content:flex-end;align-items:center;padding-right:20px;color:#7d9dc8}
.card-cover--abstract>.ui-icon{position:relative;opacity:.5}
.cover-lines{position:absolute;left:-12%;top:-75px;width:60%;height:180px;border:1px solid #89addd5f;border-radius:50%;box-shadow:0 0 0 25px #8bafe012,0 0 0 55px #8bafe00a}
.card-entire-link .card-body{padding:16px 17px 13px;display:flex;flex-direction:column;flex:1;gap:0}
.card-entire-link .eyebrow{font-size:10.5px;line-height:1.3;color:#4d6b91;font-weight:750;margin:0 0 7px}
.card-entire-link h3{font-size:16px;line-height:1.35;letter-spacing:-.03em;font-weight:800;margin:0 0 6px;overflow-wrap:anywhere}
.card-entire-link .card-city{font-size:11px;color:#52749b;margin:0 0 8px;display:flex;align-items:center;gap:4px}
.card-entire-link .card-city .ui-icon{color:#3f78ba}
.card-entire-link .clamp{font-size:11.5px;line-height:1.5;color:#65748b;margin:1px 0 9px;-webkit-line-clamp:2}
.card-trust-row{display:flex;gap:5px;flex-wrap:wrap;margin-top:auto}
.card-trust-row:empty{display:none}
.badge{display:inline-flex;align-items:center;gap:3px;font-size:10px;font-weight:700;border-radius:7px;padding:4px 7px;color:#4b617d}
.badge-verified{color:#1551af;background:#e5efff}
.badge-gold,.badge-rating{color:#966116;background:#fff3db}
.badge-rating .ui-icon{fill:#f0c05d;stroke:#dca334}
.card-bottom{display:flex;align-items:center;gap:6px;justify-content:space-between;margin-top:11px}
.card-tags{display:flex;flex-wrap:wrap;gap:4px}
.card-tags span{font-size:10px;border-radius:12px;padding:4px 7px;color:#3e6496;background:#eef4fc}
.card-go{height:30px;width:30px;flex-shrink:0;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e9f2ff;color:#1761c0}
.card-entire-link:hover .card-go{background:#195ac1;color:#fff}
.pagination{gap:16px;align-items:center;margin:26px 0 16px}
.pagination>a,.pagination>span{border-radius:10px;background:#fff;border:1px solid #dce7f5;padding:8px 14px;font-weight:700;font-size:12px}
.zero{background:#fff;border:1px solid var(--line);border-radius:18px}
.directory-search-page>.section{margin-top:18px;border-top:1px solid #e5edf7}
.directory-search-page>.section h2{font-size:22px}
.directory-search-page>.section h3{font-size:15px;margin:17px 0 5px}
.directory-search-page>.section p{font-size:12px;color:#667b92}
.chips a,.chips>span{border-color:#dce6f3;border-radius:22px;font-size:12px}

/* Business profile: prominent information, polished contact hierarchy */
.profile-directory-page{max-width:1460px;padding-top:26px}
.profile-directory-page .profile-layout{gap:30px;grid-template-columns:minmax(0,1fr) 340px;margin-top:0;align-items:start}
.profile-directory-page .profile-primary{min-width:0}
.profile-identity{border:1px solid #e1eafa;position:relative;overflow:hidden;border-radius:19px;padding:28px 30px 26px;background:linear-gradient(112deg,#eaf3ff 0%,#f5f8fe 61%,#fff7e9 100%);margin-bottom:24px}
.profile-identity::after{content:"";position:absolute;right:-40px;top:-65px;width:310px;height:310px;border:1px solid #9cc3ea4c;border-radius:50%;box-shadow:0 0 0 45px #9cc3ea1c,0 0 0 100px #9cc3ea0c;pointer-events:none}
.profile-identity>*{position:relative;z-index:1}
.profile-primary .profile-identity .eyebrow{display:inline-flex;gap:7px;align-items:center;color:#275bb1;background:#deebfc;border-radius:100px;padding:6px 11px;font-size:11px;margin:0 0 16px}
.profile-identity .profile-logo{width:78px;height:78px;object-fit:contain;border-radius:14px;background:#fff;border:1px solid #dce7f5;padding:5px;display:block;margin-bottom:13px;box-shadow:0 4px 15px #193e6f12}
.profile-identity h1{font-size:clamp(29px,3vw,43px);margin:0 0 9px;max-width:720px;overflow-wrap:anywhere}
.profile-location{display:flex;align-items:center;gap:7px;font-weight:750;font-size:12px;color:#365f90}
.profile-identity .chips{margin-top:10px}
.profile-identity .chips span{padding:6px 10px;background:#fff;border:1px solid #dce8f6;border-radius:24px;font-size:11px;font-weight:700}
.profile-identity .profile-updated{font-size:10px;margin-top:14px}
.profile-primary .profile-detail-section{background:#fff;border:1px solid #e7edf6;box-shadow:0 7px 22px rgba(15,50,93,.03);border-radius:17px;padding:23px 25px;margin:17px 0}
.profile-primary .profile-detail-section h2{display:flex;align-items:center;gap:11px;margin:0 0 14px;font-size:19px;font-weight:800}
.profile-primary .profile-detail-section h2>.ui-icon{color:#1a5fbd}
.profile-primary .profile-detail-section p{font-size:13px;line-height:1.78;color:#52647e}
.profile-primary .preline{white-space:pre-line}
.profile-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.profile-service{background:#fafcff;border:1px solid #e3eaf6;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:7px;min-width:0}
.service-symbol{width:35px;height:35px;border-radius:12px;background:#e9f2ff;color:#1e63c3;display:flex;align-items:center;justify-content:center}
.profile-service strong{font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.profile-service p{margin:0!important;font-size:11px!important;color:#6c7b91!important}
.profile-service .service-price{font-size:12px;font-weight:800;color:#153e84;margin-top:auto}
.profile-primary .gallery{padding:8px 0 14px;margin:10px 0;gap:10px}
.profile-primary .gallery img{width:240px;height:166px;max-width:100%;object-fit:cover;border-radius:14px;box-shadow:0 7px 22px #162d5412}
.profile-sidebar{position:sticky;top:20px;gap:16px}
.profile-sidebar .contact-box{padding:22px;background:#fff;border-radius:19px;border:1px solid #e2eaf5;box-shadow:0 16px 36px rgba(14,39,79,.09)}
.profile-sidebar .contact-box h2{display:flex;align-items:center;gap:9px;font-size:17px;margin:0 0 6px}
.profile-sidebar .contact-box h2 .ui-icon{color:#236ac7}
.contact-intro{font-size:11px;color:#6b7b92;line-height:1.5;margin:0 0 11px}
.contact-row{display:grid;grid-template-columns:31px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:10px 0;row-gap:1px}
.contact-symbol{width:30px;height:30px;border-radius:10px;display:flex;align-items:center;justify-content:center;grid-row:1/span 2;grid-column:1;color:#2464c1;background:#eaf2ff}
.contact-label{grid-column:2;grid-row:1;font-size:10px;line-height:1.3;color:#6b7f9a!important;font-weight:750!important}
.contact-row .contact-value,.contact-row .contact-value-muted{grid-column:2;grid-row:2;font-size:12px;font-weight:750;line-height:1.45;display:block;min-width:0}
.contact-row .contact-value:hover{text-decoration:underline}
.contact-row--phone .contact-value{color:#194d9d;font-size:16px;font-weight:800}
.contact-row--phone .contact-symbol{background:#fff2d6;color:#ae781c}
.contact-address .contact-row{width:100%}
.contact-address .contact-mode{margin-left:40px;font-size:10px;color:#6382a5}
.contact-box .contact-value{overflow-wrap:anywhere}
.profile-directory-page>.section{padding-top:10px}
.profile-directory-page>.section h2{margin-bottom:17px}
.profile-directory-page>.section .cards{gap:16px}
.review{padding:15px;border:1px solid #e3ebf6;background:#fafcff;margin:10px 0;border-radius:12px}
.review strong{color:#ad781b}
.review p{font-size:12px!important;margin:7px 0}
.review img{max-width:100%;height:auto;border-radius:9px}
.profile-directory-page .chips>span{background:#edf5ff;border:1px solid #d8e5f7;color:#315e98;font-size:11px}

/* Account, auth, administration, moderation and forms */
.narrow.section:not(.hero){background:transparent}
.narrow.section>h1{margin-bottom:16px}
.narrow.section>form:not(.hero-search){border:1px solid #e2eaf5;border-radius:18px;padding:24px;background:#fff;box-shadow:0 10px 35px #1133660b}
.narrow.section .business-form-fields{display:grid;gap:6px}
.narrow.section label{font-size:12.5px}
.narrow.section .business-contact-fields{gap:16px}
.business-first-step{border:1px solid #e4eafa;background:#fcfdff;border-radius:18px}
.panel{background:#fff}
.panel h3{font-size:18px}
.admin-nav{border:1px solid #e4eafa;border-radius:16px;background:#fff;padding:16px}
.table-wrap{border:1px solid #e3ebf6;border-radius:16px;background:#fff}
th{font-size:12px;background:#f3f7fc;color:#244c82}
td{font-size:12px}
.notice{color:#1d5e49;background:#eef8f3;border-color:#c9ead9}
.errors{color:#92334c;background:#fff2f4;border-color:#f4cad2}
.account-delete-dialog{background:#fff}
.cookie{background:#fff;border:1px solid #e1e9f4;box-shadow:0 24px 55px #18345b34}

/* Footer */
.site-footer{background:linear-gradient(140deg,#0c2548,#102f5a);color:#d1e1f4;border:0;margin-top:33px;padding:32px 0 20px}
.site-footer .footer-top{display:grid;grid-template-columns:260px 1fr;gap:45px;align-items:start;padding-bottom:26px}
.site-footer .brand{color:#fff!important;font-size:22px}
.site-footer .brand .brand-word span{color:#aaccff}
.site-footer .footer-brand p{font-size:11px;color:#bbcee4;max-width:235px;margin:11px 0 0}
.site-footer .footer-links{gap:11px 22px;padding-top:7px;justify-content:flex-end}
.site-footer .footer-links a,.site-footer .footer-links button{color:#d5e1f2;font-size:11px;font-weight:650;white-space:nowrap}
.site-footer .footer-links a:hover,.site-footer .footer-links button:hover{color:#f6cd7a}
.site-footer .footer-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid #5a749555;padding-top:17px;font-size:10px;color:#9bb3d1}
.site-footer p{color:#d1e1f4}

/* Breakpoints */
@media(min-width:1450px){.container{max-width:1440px}.directory-search-page{max-width:1560px}}
@media(max-width:1190px){
 .tile-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .city-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
 .directory-search-page .listing{grid-template-columns:270px minmax(0,1fr);gap:18px}
 .directory-search-page .results{grid-template-columns:repeat(2,minmax(0,1fr))}
 .profile-directory-page .profile-layout{grid-template-columns:minmax(0,1fr) 310px;gap:20px}
}
@media(max-width:960px){
 .container{padding-inline:22px}
 .nav-links{gap:13px}
 .nav-links>a:not(.button){font-size:12px;gap:5px}
 .tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .city-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .premium-hero .hero-search{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hero-search>.button{min-height:44px}
 .profile-directory-page .profile-layout{grid-template-columns:minmax(0,1fr)}
 .profile-sidebar{position:static;max-width:none}
 .profile-primary .profile-identity{margin-bottom:18px}
 .profile-sidebar .contact-box{margin-bottom:18px}
}
@media(max-width:767px){
 .site-header .nav{min-height:65px;align-items:center;flex-wrap:wrap;gap:8px;padding-block:11px}
 .brand{font-size:20px}
 .brand-heart{width:24px;height:23px}
 .nav-links{flex:1 1 100%;justify-content:space-between;gap:10px;overflow-x:auto;padding:3px 0}
 .nav-links>a:not(.button),.nav-links .text-btn{font-size:11px}
 .nav-links .nav-cta{padding:7px 11px;min-height:36px;font-size:11px}
 .nav-links .nav-cta .ui-icon{display:none}
 .premium-hero{padding:33px 0 24px;min-height:unset}
 .premium-hero .hero-backdrop{background:linear-gradient(95deg,#edf5ffdd,#fff5e6ab),url("https://images.unsplash.com/photo-1467269204594-9661b134dd2b?auto=format&fit=crop&w=900&q=70") 58% 30%/cover}
 .premium-hero h1{font-size:clamp(31px,7vw,43px)}
 .premium-hero .hero-text{font-size:13px}
 .premium-hero .hero-search{grid-template-columns:repeat(2,minmax(0,1fr));padding:11px}
 .section{padding-block:27px}
 .category-tile{padding:14px;min-height:93px}
 .city-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .directory-search-page .listing{grid-template-columns:minmax(0,1fr)}
 .directory-search-page .results{grid-template-columns:repeat(2,minmax(0,1fr))}
 .directory-search-page::before{top:108px}
 .directory-search-page .filter-panel{padding:15px}
 .profile-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .site-footer .footer-top{grid-template-columns:1fr;gap:18px}
 .site-footer .footer-links{justify-content:flex-start}
 .site-footer .footer-bottom{flex-direction:column;align-items:flex-start;gap:8px}
}
@media(max-width:540px){
 .container{padding-inline:16px}
 .hero-inner{padding-inline:16px}
 .premium-hero h1{font-size:32px}
 .premium-hero .hero-search{grid-template-columns:minmax(0,1fr)}
 .hero-search label{padding:6px 10px}
 .hero-search>.button{min-height:43px}
 .tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .category-tile{flex-wrap:wrap;gap:7px;padding:13px 11px;align-content:center}
 .category-tile .tile-icon{width:35px;height:35px}
 .tile-info strong{font-size:11px}
 .tile-info>span{font-size:9px}
 .tile-arrow{display:none}
 .city-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .city-tile{min-height:108px;padding:12px}
 .city-tile small{font-size:9px}
 .steps{grid-template-columns:1fr;gap:9px}
 .step-card{min-height:90px;padding:14px}
 .steps h3{font-size:13px;margin:9px 0 0}
 .premium-cta{flex-direction:column;align-items:flex-start;gap:17px;padding:24px}
 .premium-cta .cta-button{margin-left:0}
 .directory-search-page .results{grid-template-columns:minmax(0,1fr);gap:11px}
 .card-cover--abstract{height:60px}
 .directory-search-page>h1{font-size:30px}
 .profile-identity{padding:20px}
 .profile-identity h1{font-size:29px}
 .profile-primary .profile-detail-section{padding:16px}
 .profile-service-grid{grid-template-columns:1fr}
 .profile-sidebar .contact-box{padding:19px}
 .section-heading{align-items:start}
 .section-heading .section-link{font-size:10px}
 .narrow.section>form:not(.hero-search){padding:16px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* 2026-10-09: Keep every home discovery dropdown above following sections.
   The hero uses isolation; without its own explicit stack level, later category
   cards paint over dropdowns even though .combo-options has z-index:60. */
.premium-hero{z-index:20;overflow:visible}
.premium-hero .hero-search{overflow:visible}
.premium-hero .hero-search label:focus-within{position:relative;z-index:70}
.premium-hero .hero-search .combo-options{z-index:80}

/* Service icons are derived from their actual taxonomy slug, never from tile position. */
.category-tile .tile-icon{flex-shrink:0}
.category-tile .tile-icon .taxonomy-icon{display:block;width:23px;height:23px}
.home-categories .category-tile .tile-icon.tone-business{background:#e8f0ff;color:#315eae}
.home-categories .category-tile .tile-icon.tone-beauty{background:#fff0ed;color:#cf5573}
.home-categories .category-tile .tile-icon.tone-education{background:#f0eaff;color:#7352bc}
.home-categories .category-tile .tile-icon.tone-construction{background:#fff1dd;color:#af721e}
.home-categories .category-tile .tile-icon.tone-automotive{background:#e7f6f4;color:#217a76}
.home-categories .category-tile .tile-icon.tone-creative{background:#f7eaff;color:#9456ab}
.home-categories .category-tile .tile-icon.tone-events{background:#fff0e8;color:#c45e38}
.home-categories .category-tile .tile-icon.tone-travel{background:#e5f5ff;color:#317cb3}
.home-categories .category-tile .tile-icon.tone-household{background:#eaf5e7;color:#478750}
.home-categories .category-tile .tile-icon.tone-transport{background:#eaf0fb;color:#4064ae}
.home-categories .category-tile .tile-icon.tone-animals{background:#e8f7e9;color:#3c8460}
.home-categories .category-tile .tile-icon.tone-care{background:#ffedf3;color:#b34d7e}
.home-categories .category-tile .tile-icon.tone-cleaning{background:#e4f7f5;color:#2c8d88}
.home-categories .category-tile .tile-icon.tone-technology{background:#eaf0fb;color:#4a6593}
.home-categories .category-tile .tile-icon.tone-general{background:#f0f2f6;color:#5f718e}
.card-cover--abstract.tone-business{background:linear-gradient(120deg,#e9f1ff,#eaf5fc);color:#5483c1}
.card-cover--abstract.tone-beauty{background:linear-gradient(120deg,#fff0f3,#fce9e5);color:#bd7190}
.card-cover--abstract.tone-education{background:linear-gradient(120deg,#f4efff,#eaf1fc);color:#8972c4}
.card-cover--abstract.tone-construction{background:linear-gradient(120deg,#fff2df,#f3ece2);color:#bc914d}
.card-cover--abstract.tone-automotive{background:linear-gradient(120deg,#e6f5f4,#eef8f3);color:#549a92}
.card-cover--abstract.tone-creative{background:linear-gradient(120deg,#f7eafe,#f3eefc);color:#9972bb}
.card-cover--abstract.tone-events{background:linear-gradient(120deg,#fff2e8,#fbecec);color:#c38a70}
.card-cover--abstract.tone-travel{background:linear-gradient(120deg,#e6f5ff,#eaf0fd);color:#648eb7}
.card-cover--abstract.tone-household{background:linear-gradient(120deg,#e9f7ed,#f0f5e7);color:#719b73}
.card-cover--abstract.tone-transport{background:linear-gradient(120deg,#eaf0fa,#e8f3fc);color:#7292c4}
.card-cover--abstract.tone-animals{background:linear-gradient(120deg,#e9f7ed,#f6f8e5);color:#649b76}
.card-cover--abstract.tone-care{background:linear-gradient(120deg,#ffedf4,#fcf1e9);color:#be8296}
.card-cover--abstract.tone-cleaning{background:linear-gradient(120deg,#e5f8f6,#edf4fd);color:#5baba4}
.card-cover--abstract.tone-technology{background:linear-gradient(120deg,#eaf0fa,#edf2fc);color:#7490bb}
.card-entire-link .eyebrow{display:flex;align-items:center;gap:6px}
.card-entire-link .eyebrow .taxonomy-icon{flex:0 0 auto}
.profile-identity .eyebrow .taxonomy-icon{flex:0 0 auto}
.profile-service .service-symbol.tone-beauty{background:#fff0ed;color:#c55b7a}
.profile-service .service-symbol.tone-education{background:#f0eaff;color:#7458b7}
.profile-service .service-symbol.tone-construction{background:#fff2df;color:#ac7528}
.profile-service .service-symbol.tone-automotive{background:#e7f6f4;color:#2d827e}
.profile-service .service-symbol.tone-creative{background:#f5eaff;color:#8b5aad}
.profile-service .service-symbol.tone-events{background:#fff0e8;color:#c06445}
.profile-service .service-symbol.tone-travel{background:#e6f5ff;color:#317cb3}
.profile-service .service-symbol.tone-household,.profile-service .service-symbol.tone-animals{background:#edf7e9;color:#568656}
.profile-service .service-symbol.tone-transport,.profile-service .service-symbol.tone-technology{background:#ebf0fa;color:#506eab}
.profile-service .service-symbol.tone-care{background:#ffedf3;color:#b34d7e}
.profile-service .service-symbol.tone-cleaning{background:#e4f7f5;color:#2c8d88}

/* Semantic taxonomy glyphs inside the same searchable option widgets. */
.combo-option[data-has-taxonomy-icon="true"]{display:flex;gap:9px;align-items:center}
.combo-option .combo-taxonomy-icon{order:-1;color:#4574af;flex-shrink:0;width:18px;height:18px}

/* Grouped site navigation and accessible catalogue FAQ. */
.site-footer .footer-top{grid-template-columns:230px minmax(0,1fr);gap:40px}
.footer-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.footer-column h2{font-size:14px;font-weight:800;color:#fff;margin:0 0 6px}
.footer-column a,.footer-column button{font-size:12px;line-height:1.6;color:#c9daee;text-align:left;padding:0;white-space:normal}
.footer-column a:hover,.footer-column button:hover{color:#f6cd7a}
.directory-faq{max-width:880px;margin:48px auto 0}
.directory-faq h2{margin-bottom:24px}
.faq-accordion{border:1px solid #dae4ef;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 8px 30px #183e6810}
.faq-item+.faq-item{border-top:1px solid #e1e8f0}
.faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:24px;cursor:pointer;padding:20px 24px;font-size:15px;font-weight:750;line-height:1.55;list-style:none;color:#183657}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary span{font-size:23px;line-height:1;flex-shrink:0;color:#2a65ac;transition:transform .15s}
.faq-item[open] summary{background:#f4f8fd}
.faq-item[open] summary span{transform:rotate(45deg)}
.faq-item summary:focus-visible{outline:3px solid #407fc8;outline-offset:-3px}
.faq-answer{padding:4px 24px 20px;font-size:14px;line-height:1.85;color:#52647a}
.faq-answer p{margin:12px 0 0}
.faq-help{font-size:14px;line-height:1.8;margin-top:18px}
@media(max-width:1000px){.site-footer .footer-top{grid-template-columns:1fr;gap:28px}.site-footer .footer-brand p{max-width:480px}.footer-columns{gap:24px}}
@media(max-width:650px){.footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.footer-column:last-child{grid-column:1/-1}.faq-item summary{padding:17px 18px;font-size:14px;gap:16px}.faq-answer{padding:2px 18px 18px}.directory-faq{margin-top:32px}}
@media(max-width:380px){.footer-columns{grid-template-columns:1fr}}

/* Search result cards: independent, accessible contact actions. */
.directory-card{display:flex;flex-direction:column;min-width:0;border:1px solid #e0e9f5;border-radius:17px;background:#fff;overflow:visible;box-shadow:0 9px 25px #1335640e}
.directory-card-content{padding:16px;flex:1;min-width:0}
.directory-card-header{display:flex;align-items:flex-start;gap:12px;background:none;border:0;padding:0;margin:0;min-width:0}
.directory-card .directory-card-image{width:72px;height:72px;flex:0 0 72px;border-radius:12px;overflow:hidden;padding:0;display:flex;align-items:center;justify-content:center}
.directory-card .directory-card-image img{width:72px;height:72px;object-fit:cover;display:block}
.directory-card .directory-card-image.is-logo img{object-fit:contain;background:#fff}
.directory-card-identity{min-width:0}
.directory-card .eyebrow{display:flex;align-items:center;gap:5px;font-size:11px;line-height:1.4;font-weight:650;color:#52749b;margin:0 0 5px}
.directory-card h3{font-size:17px;line-height:1.35;margin:0 0 6px;overflow-wrap:anywhere}
.directory-card .card-entire-link{display:inline;min-height:0;height:auto;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--navy);font:inherit;text-decoration:none;transform:none;overflow:visible}
.directory-card .card-entire-link:hover{color:var(--blue);text-decoration:underline;transform:none;box-shadow:none}
.directory-card .card-city{font-size:12px;line-height:1.4;color:#52749b;margin:0;overflow-wrap:anywhere}
.directory-card .card-city .ui-icon{vertical-align:middle}
.directory-card .card-trust-row{margin:12px 0 0}
.directory-card .badge{font-size:11px}
.directory-card .directory-card-description{font-size:13px;line-height:1.5;color:#5f6b7a;margin:12px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}
.directory-card-services{margin:10px 0 0;padding-left:16px;font-size:12px;line-height:1.45;color:#314d70;overflow-wrap:anywhere}
.directory-card-services li+li{margin-top:3px}
.directory-card .directory-card-price{font-size:16px;font-weight:750;color:#173f7a;margin:10px 0 0}
.directory-card-price span{font-size:12px;font-weight:400}
.directory-card .directory-card-languages{font-size:11.5px;line-height:1.45;color:#52749b;margin:10px 0 0;overflow-wrap:anywhere}
.directory-card-languages span{font-weight:650}
.directory-card .directory-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:12px 14px;border:0;border-top:1px solid #e8eef6;border-radius:0 0 17px 17px;background:#f9fbfe}
.directory-card .card-action{display:flex;align-items:center;justify-content:center;gap:5px;flex:1 1 110px;min-height:44px;padding:8px 10px;border:1px solid #d8e4f3;border-radius:9px;background:#fff;font-size:12px;line-height:1.35;font-weight:650;color:#234d83;text-decoration:none;cursor:pointer;white-space:normal}
.directory-card .card-action-primary{background:#195ac1;color:#fff;border-color:#195ac1;flex-basis:128px}
.directory-card .card-action:hover{border-color:#195ac1;background:#edf4ff;color:#174e9e}
.directory-card .card-action-primary:hover{background:#154b9f;color:#fff}
.directory-card .card-action:focus-visible,.directory-card .card-entire-link:focus-visible,.card-message-links a:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.card-message-options{flex:1 1 110px;min-width:0}
.directory-card .card-message-options>summary{list-style:none;width:100%}
.card-message-options>summary::-webkit-details-marker{display:none}
.card-message-options[open]{flex-basis:100%;order:3}
.card-message-links{display:flex;flex-wrap:wrap;gap:6px;padding-top:8px}
.card-message-links a{display:flex;align-items:center;justify-content:center;min-height:44px;flex:1 1 80px;border:1px solid #d8e4f3;border-radius:8px;padding:8px;background:#fff;font-size:12px;font-weight:600;text-decoration:none}
@media(max-width:620px){.directory-card-content{padding:14px}.directory-card .directory-card-image,.directory-card .directory-card-image img{width:64px;height:64px}.directory-card .directory-card-image{flex-basis:64px}.directory-card h3{font-size:17px}}

/* Keep informative result cards readable beside the filters at every viewport. */
.directory-search-page .results{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))}

/* Specialist profile: contact first, readable sections, mobile contact bar. */
.profile-directory-page .profile-identity{padding:22px 24px;margin:14px 0 16px;overflow:visible}
.profile-identity::after{display:none}
.profile-hero-row{display:flex;align-items:flex-start;gap:18px}
.profile-hero-text{min-width:0;flex:1}
.profile-identity .profile-logo{width:88px;height:88px;flex:0 0 88px;margin:0;object-fit:contain}
.profile-identity .profile-logo.is-photo{object-fit:cover;padding:0}
.profile-identity .eyebrow{display:flex;align-items:center;gap:7px;margin:0 0 8px;font-size:12px;color:#275bb1}
.profile-identity h1{font-size:clamp(26px,3vw,36px);line-height:1.2;margin:0 0 8px;max-width:100%}
.profile-identity .profile-location{margin:0;font-size:13px;flex-wrap:wrap}
.profile-rating{margin:8px 0 0;font-size:13px}
.profile-contact-actions{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap;margin-top:16px}
.profile-contact-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;padding:11px 18px;border:1px solid #b8cdec;border-radius:10px;background:#fff;color:#174d98;font-size:14px;font-weight:750;line-height:1.4;text-decoration:none;cursor:pointer}
.profile-contact-button:hover{background:#edf4ff;text-decoration:none}
.profile-contact-primary{background:#195ac1;color:#fff;border-color:#195ac1}
.profile-contact-primary:hover{background:#154b9f;color:#fff}
.profile-message-options{min-width:160px;max-width:100%}
.profile-message-options summary{list-style:none}
.profile-message-options summary::-webkit-details-marker{display:none}
.profile-message-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;padding:8px;border:1px solid #d8e4f3;background:#fff;border-radius:10px}
.profile-message-links a{display:flex;align-items:center;min-height:44px;padding:8px 12px;border-radius:7px;background:#edf4ff;font-size:14px}
.profile-social-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.profile-social-action{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;min-height:44px;border:1px solid #d8e4f3;border-radius:9px;background:#ffffffaa;font-size:13px;color:#315e98}
.profile-identity .profile-updated{margin:10px 0 0;font-size:11px}
.profile-section-nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.profile-section-nav a{display:flex;align-items:center;min-height:44px;padding:8px 12px;background:#f4f8fe;border:1px solid #e1e9f5;border-radius:9px;font-size:13px;color:#315e98}
.profile-directory-page [id^="profile-"]{scroll-margin-top:20px}
.profile-directory-page .profile-layout{gap:24px}
.profile-primary .profile-detail-section{padding:20px;margin:0 0 16px}
.profile-primary .profile-detail-section p{font-size:14px;line-height:1.65}
.profile-sidebar{position:static}
.profile-primary .review{margin:14px 0;padding:16px}
.profile-primary .gallery{margin:0;padding:0 0 8px}
.profile-contact-button:focus-visible,.profile-section-nav a:focus-visible,.profile-message-links a:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.profile-mobile-bar{display:none}
@media(max-width:960px){.profile-directory-page .profile-layout{grid-template-columns:minmax(0,1fr)}.profile-sidebar{max-width:none}}
@media(max-width:767px){
 .profile-directory-page .profile-identity{padding:16px;margin:12px 0}
 .profile-hero-row{gap:12px}
 .profile-identity .profile-logo{width:64px;height:64px;flex-basis:64px;border-radius:10px}
 .profile-identity h1{font-size:26px}
 .profile-identity .eyebrow{font-size:11px}
 .profile-contact-actions{gap:8px}
 .profile-contact-actions>.profile-contact-button,.profile-contact-actions>.profile-message-options{flex:1 1 130px;min-width:0}
 .profile-contact-button{padding:10px 12px;font-size:13px}
 .profile-section-nav{gap:6px;margin-bottom:14px}
 .profile-section-nav a{font-size:12px;padding:8px 10px}
 .profile-primary .profile-detail-section{padding:16px;margin-bottom:14px}
 .profile-service-grid{grid-template-columns:minmax(0,1fr)}
 .profile-mobile-bar{display:block;position:fixed;bottom:0;left:0;right:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #d8e4f3;box-shadow:0 -4px 18px #15396412;z-index:9}
 .profile-mobile-bar .profile-contact-actions{margin:0;flex-wrap:nowrap}
 .profile-mobile-bar .profile-message-options{position:relative}
 .profile-mobile-bar .profile-message-links{position:absolute;bottom:calc(100% + 10px);right:0;width:min(300px,calc(100vw - 24px));box-shadow:0 6px 20px #15396422}
 body:has(.profile-mobile-bar){padding-bottom:calc(90px + env(safe-area-inset-bottom))}
 body:has(.profile-mobile-bar) .cookie{bottom:calc(88px + env(safe-area-inset-bottom));max-height:calc(100dvh - 110px);overflow:auto}
 body:has(input:focus,textarea:focus,select:focus) .profile-mobile-bar{display:none}
}

/* Put complete contacts first whenever the profile becomes one column. */
@media(max-width:960px){.profile-directory-page .profile-layout>.profile-sidebar{order:-1}.profile-directory-page .profile-layout>.profile-primary{order:0}}

/* Search shortcuts share the submitted filters in both directory views. */
.filter-panel .quick-filters{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 0}
.filter-panel .quick-filter{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid var(--line,#d7e0ed);border-radius:22px;background:#fff;color:#26364a;font-size:13px;font-weight:600;line-height:1.25;text-decoration:none}
.filter-panel .quick-filter[aria-pressed="true"]{background:#185ad6;border-color:#185ad6;color:#fff}
.filter-panel .quick-filter:hover{border-color:#185ad6}
.filter-panel .quick-filter:focus-visible,.quick-filters-reset:focus-visible{outline:3px solid #84b7ff;outline-offset:3px}
.filter-panel .quick-filters-reset{display:flex;align-items:center;min-height:44px;font-size:13px}

.search-empty-state{min-width:0}.search-empty-state .zero{padding:20px;margin-bottom:24px}.search-empty-state h2{font-size:22px;line-height:1.3}.search-alternative-group{margin:28px 0}.search-alternative-group>.cards{margin:16px 0}.search-alternative-group>.button{min-height:44px}.search-alternative-group>p{color:#4a617c;line-height:1.6}

/* Site language switch: same-page links in both versions. */
.language-switch{margin-left:auto;display:inline-flex;align-items:center;gap:2px;flex-shrink:0;border:1px solid #d7e2ee;border-radius:9px;padding:2px;background:#fff}
.language-switch a{display:block;padding:5px 7px;border-radius:6px;color:#355376;font-size:12px;font-weight:750;text-decoration:none}
.language-switch a[aria-current=page]{background:#e7f0ff;color:#155cb5}
@media(max-width:767px){.language-switch a{font-size:11px;padding:5px 6px}.nav-links{overflow-x:visible;flex-wrap:wrap}}
